diff --git a/.prettierignore b/.prettierignore index 3fb187bebd9..bed06c0370e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -27,4 +27,6 @@ apps/cms/config/api.ts # files auto-generated by payload cms apps/cms/src/app/* apps/cms/src/migrations/* -apps/cms/src/payload-types.ts \ No newline at end of file +apps/cms/src/payload-types.ts +# ignore because of

+apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdx diff --git a/DEVELOPERS.md b/DEVELOPERS.md index dd9828d7625..ae379939f1d 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -35,7 +35,7 @@ To ensure a positive and inclusive environment, please read our [code of conduct You will need to install and configure the following dependencies on your machine to build [Supabase](https://supabase.com): - [Git](https://git-scm.com/) -- [Node.js v20.x (LTS)](https://nodejs.org) +- [Node.js v22.x or higher](https://nodejs.org) - [pnpm](https://pnpm.io/) version 9.x.x or higher - [make](https://www.gnu.org/software/make/) or the equivalent to `build-essentials` for your OS - [Docker](https://docs.docker.com/get-docker/) (to run studio locally) diff --git a/apps/docs/app/api/graphql/tests/searchDocs.test.ts b/apps/docs/app/api/graphql/tests/searchDocs.test.ts index f767021daa2..2f1f9524a92 100644 --- a/apps/docs/app/api/graphql/tests/searchDocs.test.ts +++ b/apps/docs/app/api/graphql/tests/searchDocs.test.ts @@ -13,7 +13,7 @@ vi.mock(import('~/lib/openAi'), () => ({ })) const rpcSpy = vi.fn().mockImplementation((funcName, params) => { - if (funcName === 'search_content') { + if (funcName === 'search_content_hybrid') { const limit = params?.max_result || 2 const mockResults = [ { @@ -88,7 +88,7 @@ describe('/api/graphql searchDocs', () => { expect(json.data).toBeDefined() expect(json.data.searchDocs).toBeDefined() expect(json.data.searchDocs.nodes).toBeInstanceOf(Array) - expect(json.data.searchDocs.nodes).toHaveLength(2) + expect(json.data.searchDocs.nodes).toHaveLength(3) expect(json.data.searchDocs.nodes[0]).toMatchObject({ title: 'Test Guide', href: '/guides/test', @@ -117,7 +117,7 @@ describe('/api/graphql searchDocs', () => { expect(json.data.searchDocs.nodes).toHaveLength(1) expect(json.data.searchDocs.nodes[0].title).toBe('Test Guide') expect(rpcSpy).toHaveBeenCalledWith( - 'search_content', + 'search_content_hybrid', expect.objectContaining({ max_result: 1, }) @@ -146,7 +146,7 @@ describe('/api/graphql searchDocs', () => { expect(json.errors).toBeUndefined() expect(json.data.searchDocs.nodes[0].content).toBe('Test content') expect(rpcSpy).toHaveBeenCalledWith( - 'search_content', + 'search_content_hybrid', expect.objectContaining({ include_full_content: true, }) diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 367dc2d10b4..df0dfca94ee 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -718,8 +718,12 @@ export const auth = { { name: 'Password Security', url: '/guides/auth/password-security' }, { name: 'Rate Limits', url: '/guides/auth/rate-limits' }, { name: 'Bot Detection (CAPTCHA)', url: '/guides/auth/auth-captcha' }, - { name: 'JWTs', url: '/guides/auth/jwts' }, - { name: 'JWT Fields Reference', url: '/guides/auth/jwt-fields' }, + { + name: 'JSON Web Tokens (JWT)', + url: '/guides/auth/jwts', + items: [{ name: 'Claims Reference', url: '/guides/auth/jwt-fields' }], + }, + { name: 'JWT Signing Keys', url: '/guides/auth/signing-keys' }, { name: 'Row Level Security', url: '/guides/database/postgres/row-level-security' }, { name: 'Column Level Security', @@ -1713,6 +1717,25 @@ export const storage: NavMenuConstant = { { name: 'API Compatibility', url: '/guides/storage/s3/compatibility' }, ], }, + { + name: 'Analytics Buckets', + url: undefined, + items: [ + { name: 'Introduction', url: '/guides/storage/analytics/introduction' }, + { + name: 'Creating Analytics Buckets', + url: '/guides/storage/analytics/creating-analytics-buckets', + }, + { + name: 'Connecting to Analytics Buckets', + url: '/guides/storage/analytics/connecting-to-analytics-bucket', + }, + { + name: 'Limits', + url: '/guides/storage/analytics/limits', + }, + ], + }, { name: 'CDN', url: undefined, @@ -2065,6 +2088,7 @@ export const security: NavMenuConstant = { name: 'Product security', url: undefined, items: [ + { name: 'Platform configuration', url: '/guides/security/platform-security' }, { name: 'Product configuration', url: '/guides/security/product-security' }, { name: 'Security testing', url: '/guides/security/security-testing' }, ], @@ -2147,12 +2171,8 @@ export const platform: NavMenuConstant = { url: '/guides/platform/multi-factor-authentication', items: [ { - name: 'Enable MFA', - url: '/guides/platform/multi-factor-authentication', - }, - { - name: 'Require MFA for organization members', - url: '/guides/platform/org-mfa-enforcement', + name: 'Enforce MFA on organization', + url: '/guides/platform/mfa/org-mfa-enforcement', }, ], }, @@ -2337,6 +2357,10 @@ export const telemetry: NavMenuConstant = { name: 'Log drains', url: '/guides/telemetry/log-drains', }, + { + name: 'Reports', + url: '/guides/telemetry/reports', + }, { name: 'Metrics', url: '/guides/telemetry/metrics', @@ -2430,7 +2454,26 @@ export const deployment: NavMenuConstant = { items: [ { name: 'Managing environments', url: '/guides/deployment/managing-environments' }, { name: 'Database migrations', url: '/guides/deployment/database-migrations' }, - { name: 'Branching', url: '/guides/deployment/branching' }, + ], + }, + { + name: 'Branching', + url: undefined, + items: [ + { name: 'Overview', url: '/guides/deployment/branching' }, + { name: 'GitHub integration', url: '/guides/deployment/branching/github-integration' }, + { + name: 'Branching 2.0 (Alpha)', + url: '/guides/deployment/branching/branching-2', + }, + { + name: 'Working with branches', + url: '/guides/deployment/branching/working-with-branches', + }, + { name: 'Configuration', url: '/guides/deployment/branching/configuration' }, + { name: 'Integrations', url: '/guides/deployment/branching/integrations' }, + { name: 'Troubleshooting', url: '/guides/deployment/branching/troubleshooting' }, + { name: 'Billing', url: '/guides/platform/manage-your-usage/branching' }, ], }, { diff --git a/apps/docs/content/guides/auth/auth-hooks/send-email-hook.mdx b/apps/docs/content/guides/auth/auth-hooks/send-email-hook.mdx index 4da5443d9cb..d18fd214ab2 100644 --- a/apps/docs/content/guides/auth/auth-hooks/send-email-hook.mdx +++ b/apps/docs/content/guides/auth/auth-hooks/send-email-hook.mdx @@ -585,7 +585,7 @@ const subjects = { signup: 'Confirm Your Email', recovery: 'Reset Your Password', invite: 'You have been invited', - magic_link: 'Your Magic Link', + magiclink: 'Your Magic Link', email_change: 'Confirm Email Change', email_change_new: 'Confirm New Email Address', reauthentication: 'Confirm Reauthentication', @@ -594,7 +594,7 @@ const subjects = { signup: 'Confirma tu correo electrónico', recovery: 'Restablece tu contraseña', invite: 'Has sido invitado', - magic_link: 'Tu enlace mágico', + magiclink: 'Tu enlace mágico', email_change: 'Confirma el cambio de correo electrónico', email_change_new: 'Confirma la Nueva Dirección de Correo', reauthentication: 'Confirma la reautenticación', @@ -603,7 +603,7 @@ const subjects = { signup: 'Confirmez votre adresse e-mail', recovery: 'Réinitialisez votre mot de passe', invite: 'Vous avez été invité', - magic_link: 'Votre Lien Magique', + magiclink: 'Votre Lien Magique', email_change: 'Confirmez le changement d’adresse e-mail', email_change_new: 'Confirmez la nouvelle adresse e-mail', reauthentication: 'Confirmez la réauthentification', @@ -616,7 +616,7 @@ const templates = { signup: `

Confirm your email

Follow this link to confirm your email:

Confirm your email address

Alternatively, enter the code: {{token}}

`, recovery: `

Reset password

Follow this link to reset the password for your user:

Reset password

Alternatively, enter the code: {{token}}

`, invite: `

You have been invited

You have been invited to create a user on {{site_url}}. Follow this link to accept the invite:

Accept the invite

Alternatively, enter the code: {{token}}

`, - magic_link: `

Magic Link

Follow this link to login:

Log In

Alternatively, enter the code: {{token}}

`, + magiclink: `

Magic Link

Follow this link to login:

Log In

Alternatively, enter the code: {{token}}

`, email_change: `

Confirm email address change

Follow this link to confirm the update of your email address from {{old_email}} to {{new_email}}:

Change email address

Alternatively, enter the codes: {{token}} and {{new_token}}

`, email_change_new: `

Confirm New Email Address

Follow this link to confirm your new email address:

Confirm new email address

Alternatively, enter the code: {{new_token}}

`, reauthentication: `

Confirm reauthentication

Enter the code: {{token}}

`, @@ -625,7 +625,7 @@ const templates = { signup: `

Confirma tu correo electrónico

Sigue este enlace para confirmar tu correo electrónico:

Confirma tu correo electrónico

Alternativamente, ingresa el código: {{token}}

`, recovery: `

Restablece tu contraseña

Sigue este enlace para restablecer la contraseña de tu usuario:

Restablece tu contraseña

Alternativamente, ingresa el código: {{token}}

`, invite: `

Has sido invitado

Has sido invitado para crear un usuario en {{site_url}}. Sigue este enlace para aceptar la invitación:

Aceptar la invitación

Alternativamente, ingresa el código: {{token}}

`, - magic_link: `

Tu enlace mágico

Sigue este enlace para iniciar sesión:

Iniciar sesión

Alternativamente, ingresa el código: {{token}}

`, + magiclink: `

Tu enlace mágico

Sigue este enlace para iniciar sesión:

Iniciar sesión

Alternativamente, ingresa el código: {{token}}

`, email_change: `

Confirma el cambio de correo electrónico

Sigue este enlace para confirmar la actualización de tu correo electrónico de {{old_email}} a {{new_email}}:

Cambiar correo electrónico

Alternativamente, ingresa los códigos: {{token}} y {{new_token}}

`, email_change_new: `

Confirma la Nueva Dirección de Correo

Sigue este enlace para confirmar tu nueva dirección de correo electrónico:

Confirma la nueva dirección de correo

Alternativamente, ingresa el código: {{new_token}}

`, reauthentication: `

Confirma la reautenticación

Ingresa el código: {{token}}

`, @@ -634,7 +634,7 @@ const templates = { signup: `

Confirmez votre adresse e-mail

Suivez ce lien pour confirmer votre adresse e-mail :

Confirmez votre adresse e-mail

Vous pouvez aussi saisir le code : {{token}}

`, recovery: `

Réinitialisez votre mot de passe

Suivez ce lien pour réinitialiser votre mot de passe :

Réinitialisez votre mot de passe

Vous pouvez aussi saisir le code : {{token}}

`, invite: `

Vous avez été invité

Vous avez été invité à créer un utilisateur sur {{site_url}}. Suivez ce lien pour accepter l'invitation :

Acceptez l'invitation

Vous pouvez aussi saisir le code : {{token}}

`, - magic_link: `

Votre Lien Magique

Suivez ce lien pour vous connecter :

Connectez-vous

Vous pouvez aussi saisir le code : {{token}}

`, + magiclink: `

Votre Lien Magique

Suivez ce lien pour vous connecter :

Connectez-vous

Vous pouvez aussi saisir le code : {{token}}

`, email_change: `

Confirmez le changement d’adresse e-mail

Suivez ce lien pour confirmer la mise à jour de votre adresse e-mail de {{old_email}} à {{new_email}} :

Changez d’adresse e-mail

Vous pouvez aussi saisir les codes : {{token}} et {{new_token}}

`, email_change_new: `

Confirmez la nouvelle adresse e-mail

Suivez ce lien pour confirmer votre nouvelle adresse e-mail :

Confirmez la nouvelle adresse e-mail

Vous pouvez aussi saisir le code : {{new_token}}

`, reauthentication: `

Confirmez la réauthentification

Saisissez le code : {{token}}

`, @@ -736,7 +736,7 @@ const subjects = { signup: 'Confirm Your Email', recovery: 'Reset Your Password', invite: 'You have been invited', - magic_link: 'Your Magic Link', + magiclink: 'Your Magic Link', email_change: 'Confirm Email Change', email_change_new: 'Confirm New Email Address', reauthentication: 'Confirm Reauthentication' @@ -747,7 +747,7 @@ const templates = { signup: `

Confirm your email

Follow this link to confirm your email:

Confirm your email address

Alternatively, enter the code: {{token}}

`, recovery: `

Reset password

Follow this link to reset the password for your user:

Reset password

Alternatively, enter the code: {{token}}

`, invite: `

You have been invited

You have been invited to create a user on {{site_url}}. Follow this link to accept the invite:

Accept the invite

Alternatively, enter the code: {{token}}

`, - magic_link: `

Magic Link

Follow this link to login:

Log In

Alternatively, enter the code: {{token}}

`, + magiclink: `

Magic Link

Follow this link to login:

Log In

Alternatively, enter the code: {{token}}

`, email_change: `

Confirm email address change

Follow this link to confirm the update of your email address from {{old_email}} to {{new_email}}:

Change email address

Alternatively, enter the codes: {{token}} and {{new_token}}

`, email_change_new: `

Confirm New Email Address

Follow this link to confirm your new email address:

Confirm new email address

Alternatively, enter the code: {{new_token}}

`, reauthentication: `

Confirm reauthentication

Enter the code: {{token}}

` diff --git a/apps/docs/content/guides/auth/jwt-fields.mdx b/apps/docs/content/guides/auth/jwt-fields.mdx index 2a154286456..8ee9029fe6e 100644 --- a/apps/docs/content/guides/auth/jwt-fields.mdx +++ b/apps/docs/content/guides/auth/jwt-fields.mdx @@ -1,10 +1,10 @@ --- id: 'jwt-fields' -title: 'JWT Fields Reference' -subtitle: 'Complete reference for JWT fields in Supabase' +title: 'JWT Claims Reference' +subtitle: 'Complete reference for claims appearing in JWTs created by Supabase Auth' --- -This page provides a comprehensive reference for all JWT fields used in Supabase authentication tokens. This information is essential for server-side JWT validation and serialization, especially when implementing authentication in languages like Rust where field names like `ref` are reserved keywords. +This page provides a comprehensive reference for all JWT claims used in Supabase authentication tokens. This information is essential for server-side JWT validation and serialization, especially when implementing authentication in languages like Rust where field names like `ref` are reserved keywords. ## JWT structure overview @@ -46,7 +46,7 @@ These claims may be present depending on the authentication context: | `user_metadata` | `object` | **User Metadata** - User-specific data | `{"name": "John Doe"}` | | `amr` | `array` | **Authentication Methods Reference** - List of authentication methods used | `[{"method": "password", "timestamp": 1640991600}]` | -## Special fields +## Special claims | Field | Type | Description | Example | Context | | ----- | -------- | --------------------------------------------------- | ------------------------ | ----------------------------- | @@ -167,7 +167,7 @@ struct JwtClaims { role: String, iat: i64, exp: i64, - // ... other fields + // ... other claims } ``` diff --git a/apps/docs/content/guides/auth/jwts.mdx b/apps/docs/content/guides/auth/jwts.mdx index 0e68d9952f4..a20b58a6cb1 100644 --- a/apps/docs/content/guides/auth/jwts.mdx +++ b/apps/docs/content/guides/auth/jwts.mdx @@ -1,180 +1,245 @@ --- id: 'auth-jwts' -title: 'JWTs' -subtitle: 'JSON Web Tokens' -tocVideo: 'v3Exg5YpJvE' +title: 'JSON Web Token (JWT)' +subtitle: 'Information on how best to use JSON Web Tokens with Supabase' --- A [JSON Web Token](https://jwt.io/introduction) is a type of data structure, represented as a string, that usually contains identity and authorization information about a user. It encodes information about its lifetime and is signed with a cryptographic key to make it tamper-resistant. -Supabase Access Tokens are JWTs. The JWT is sent along with every request to Supabase services. By verifying the token and inspecting the included claims, you can allow or deny access to resources. [Row Level Security](/docs/guides/database/postgres/row-level-security) policies are based on the information present in JWTs. +Supabase Auth continuously issues a new JWT for each user session, for as long as the user remains signed in. Check the comprehensive guide on [Sessions](/docs/guides/sessions) to find out how you can tailor this process for your needs. -## Encoding and signing JWTs +JWTs provide the foundation for [Row Level Security](/docs/guides/database/row-level-security). Each Supabase product is able to securely decode and verify the validity of a JWT it receives before using Postgres policies and roles to authorize access to the project's data. -JWTs are encoded and signed as follows. +Supabase provides a comprehensive system of managing [JWT Signing Keys](/docs/guides/auth/signing-keys) used to create and verify JSON Web Tokens. -The JSON object starts out looking something like this: +## Introduction -```js +JWTs are strings that have the following structure: + +``` +
.. +``` + +Each part is a string of [Base64-URL](https://en.wikipedia.org/wiki/Base64#Variants_summary_table) encoded JSON, or bytes for the signature. + +**Header** + +```json { - "sub": "0001", - "name": "Sam Vimes", - "iat": 1516239022, - "exp": 1518239022 + "typ": "JWT", + "alg": "", + "kid": "" } ``` -`sub` is the "subject", which is usually the UUID of the user. `name` is self-explanatory, and `iat` is the Unix timestamp at which the token was created. Many JWTs will also have an `exp`, which is the date at which the token is set to expire and can no longer be used. These are some of the standard fields you may find in a JWT, but you can pretty much store whatever you want in there, for example: +Gives some basic identifying information about the string, indicating its type `typ`, the cryptographic algorithm `alg` that can be used to verify the data, and optionally the unique key identifier that should be used when verifying it. -```js +**Payload** + +```json { - "sub": "0002", - "name": "Věra Hrabánková", - "iat": 1516239022, - "exp": 1518239022, - "theme": { - "primary" : "#D80C14", - "secondary" : "#FFFFFF" - } + "iss": "https://project_id.supabase.co/auth/v1", + "exp": 12345678, + "sub": "", + "role": "authenticated", + "email": "someone@example.com", + "phone": "+15552368" + // ... } ``` -Just note that the more data you store in your token, the longer the encoded string will be. +Provides identifying information (called "claims") about the user (or other entity) that is represented by the token. Usually a JWT conveys information about what the user can access (then called Access Token) or who the user is (then called ID Token). You can use a [Custom Access Token Hook](/docs/guides/auth/auth-hooks/custom-access-token-hook) to add, remove or change claims present in the token. A few claims are important: -When we want to send the JWT to the user, we first encode the data using an algorithm such as `HS256`. There are many libraries (and several different algorithms) that can be used to do this encoding/decoding, such as [`jsonwebtoken`](https://www.npmjs.com/package/jsonwebtoken). The signing is as simple as: +| Claim | Description | +| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `iss` | Identifies the server which issued the token. If you append `/.well-known/jwks.json` to this URL you'll get access to the public keys with which you can verify the token. | +| `exp` | Sets a time limit after which the token should not be trusted and is considered expired, even if it is properly signed. | +| `sub` | Means _subject_, is the unique ID of the user represented by the token. | +| `role` | The Postgres role to use when applying Row Level Security policies. | +| ... | All other claims are useful for quick access to profile information without having to query the database or send a request to the Auth server. | -```js -// from https://replit.com/@awalias/jsonwebtokens#index.js -let token = jwt.sign({ name: 'Sam Vimes' }, 'some-secret') -``` +**Signature** -And the resulting string will look like this: +A [digital signature](https://en.wikipedia.org/wiki/Digital_signature) using a [shared secret](https://en.wikipedia.org/wiki/HMAC) or [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography). The purpose of the signature is to verify the authenticity of the `
.` string without relying on database access, liveness or performance of the Auth server. To verify the signature avoid implementing the algorithms yourself and instead rely on `supabase.auth.getClaims()`, or other high-quality JWT verification libraries for your language. -```js -eyJhbGciOiJIUzI1NiJ9 - .eyJzdWIiOiIwMDAxIiwibmFtZSI6IlNhbSBWaW1lcyIsImlhdCI6MTUxNjIzOTAyMiwiZXhwIjoxNTE4MjM5MDIyfQ - .zMcHjKlkGhuVsiPIkyAkB2rjXzyzJsMMgpvEGvGtjvA -``` +## Supabase and JWTs -You will notice that the string is actually made up of three components: +Supabase creates JWTs in these cases for you: -The first segment `eyJhbGciOiJIUzI1NiJ9` is known as the "header", and when decoded just tells us which algorithm was used to do the encoding: +1. When using Supabase Auth, an access token (JWT) is created for each user while they remain signed in. These are short lived, so they are continuously issued as your user interacts with Supabase APIs. +2. As the legacy JWT-based [API keys](/docs/guides/api/api-keys) `anon` and `service_role`. These have a 10 year expiry and are signed with a shared secret, making them hard to rotate or expire. These JWTs express public access via the `anon` key, or elevated access via the `service_role` key. We strongly recommend switching to publishable and secret API keys. +3. On-the-fly when using publishable or secret API keys. Each API key is transformed into a short-lived JWT that is then used to authorize access to your data. Accessing these short-lived tokens is generally not possible. -```js -{ - "alg": "HS256" -} -``` +In addition to creating JWTs, Supabase can also accept JWTs from other Auth servers via the [Third-Party Auth](/docs/guides/auth/third-party/overview) feature or ones you've made yourself using the legacy JWT secret or if you've imported in [JWT Signing Key](/docs/guides/auth/signing-keys). -The second segment eyJzdWIiOiIwMDAxIiwibmFtZSI6IlNhbSBWaW1lcyIsImlhdCI6MTUxNjIzOTAyMiwiZXhwIjoxNTE4MjM5MDIyfQ contains our original payload: +## Using custom or third-party JWTs -```js -{ - "sub": "0001", - "name": "Sam Vimes", - "iat": 1516239022, - "exp": 1518239022 -} -``` + -The last segment `zMcHjKlkGhuVsiPIkyAkB2rjXzyzJsMMgpvEGvGtjvA` is the signature itself, which is the part used by the website or service provider to verify that a token sent by some user is legitimate. It is produced in the first instance by running the cryptographic function HS256 on the following input: +The `supabase.auth.getClaims()` method is meant to be used only with JWTs issued by Supabase Auth. If you make your own JWTs using the legacy JWT secret or a key you've imported, the verification may fail. We strongly recommend using a JWT verification library for your language to verify this type of JWT based on the claims you're adding in them. -```js -HMACSHA256( - base64UrlEncode(header) + "." + - base64UrlEncode(payload) - -) -``` + -You can test out minting your own tokens on [https://jwt.io](https://jwt.io). +Your Supabase project accepts a JWT in the `Authorization: Bearer ` header. If you're using the Supabase client library, it does this for you. -It is important to note that anyone who possesses the `jwt_secret` here can create new tokens, and also verify existing ones. More advanced JWT algorithms use two secrets: one for the creation of tokens, and a separate one to verify the validity of signed tokens. +If you are already using Supabase Auth, when a user is signed in, their access token JWT is automatically managed and sent for you with every API call. -You might wonder why JWTs are so popular all of a sudden. The answer is that with the mass adoption of microservice architecture, we were in a situation where several distinct microservices (APIs, websites, servers, etc.) want to validate that a user is who they say they are, or are in other words a "logged-in" user. Traditional session tokens are no use here, since they would require each microservice to either maintain a record of currently valid session tokens or to query a central database each time a user wants to access a resource in order to check the validity of the session token – very inefficient indeed. JWT-based auth in this sense is decentralized, since anyone with the `jwt_secret` can verify a token without needing access to a centralized database. +If you wish to send a JWT from a Third-Party Auth provider, or one you made yourself by using the legacy JWT secret or a JWT signing key you imported, you can pass it to the client library using the `accessToken` option. -{/* supa-mdx-lint-disable-next-line Rule004ExcludeWords */} + -Note: One downside of JWTs is that they are not easily voidable, unlike session tokens. If a JWT is leaked to a malicious actor, they will be able to redeem it anywhere until the expiry date is reached – unless of course the system owner updates the `jwt_secret` (which will of course invalidate _everyone's_ existing tokens). + -## JWTs in Supabase +```typescript +import { createClient } from '@supabase/supabase-js' -In Supabase we issue JWTs for three different purposes: - -1. `anon key`: This key is used to bypass the Supabase API gateway and can be used in your client-side code. -2. `service role key`: This key has super admin rights and can bypass your Row Level Security. Do not put it in your client-side code. Keep it private. -3. `user specific jwts`: These are tokens we issue to users who log into your project/service/website. It's the modern equivalent of a session token, and can be used by a user to access content or permissions specific to them. - -The first token here, the `anon key` token, is for developers to send along with their API requests whenever they want to interact with their Supabase database. - -Let's say you want to read the names of all the rows in a table `colors`. We would make a request like: - -```bash -curl 'https://xscduanzzfseqszwzhcy.supabase.co/rest/v1/colors?select=name' \ --H "apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxNDIwNTE3NCwiZXhwIjoxOTI5NzgxMTc0fQ.-NBR1WnZyQGpRLdXJfgfpszoZ0EeE6KHatJsDPLIX8c" -``` - -If we put this token into https://jwt.io, we see it decodes to: - -```js -{ - "role": "anon", - "iss": "supabase", - "iat": 1614205174, - "exp": 1929781174 -} -``` - -This JWT is signed by a `jwt_secret` specific to the developer's Supabase token (you can find this secret alongside this encoded "anon key" on your Dashboard under Settings > API page) and is required to get past the Supabase API gateway and access the developer's project. - -The idea with this particular key is that it's safe to put into your client, meaning it's okay if your end users see this key – but _only_ if you first enable Row Level Security. - -The second key, `service role key`, should only ever be used on one of your own servers or environments, and should never be shared with end users. You might use this token to do things like make batch inserts of data. - -The `user access token` is the JWT issued when you call for example: - -```js -supabase.auth.signIn({ - email: 'valid.email@supabase.io', - password: 'They_Live_1988!', +const supabase = createClient('https://.supabase.co', 'SUPABASE_ANON_KEY', { + accessToken: async () => { + return '' + }, }) ``` -This token should be passed in addition to the `apikey` header as an `Authorization Bearer` header like: + -```bash -curl 'https://xscduanzzfseqszwzhcy.supabase.co/rest/v1/colors?select=name' \ --H "apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxNDIwNTE3NCwiZXhwIjoxOTI5NzgxMTc0fQ.-NBR1WnZyQGpRLdXJfgfpszoZ0EeE6KHatJsDPLIX8c" \ --H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNjE1ODI0Mzg4LCJzdWIiOiIwMzM0NzQ0YS1mMmEyLTRhYmEtOGM4YS02ZTc0OGY2MmExNzIiLCJlbWFpbCI6InNvbWVvbmVAZW1haWwuY29tIiwiYXBwX21ldGFkYXRhIjp7InByb3ZpZGVyIjoiZW1haWwifSwidXNlcl9tZXRhZGF0YSI6bnVsbCwicm9sZSI6ImF1dGhlbnRpY2F0ZWQifQ.I-_oSsJamtinGxniPETBf-ezAUwDW2sY9bJIThvdX9s" + + +```dart +await Supabase.initialize( + url: supabaseUrl, + anonKey: supabaseKey, + debug: false, + accessToken: () async { + return ""; + }, +); ``` -You'll notice that this token is quite a bit longer, since it contains information specific to the user such as: + -```js -{ - "aud": "authenticated", - "exp": 1615824388, - "sub": "0334744a-f2a2-4aba-8c8a-6e748f62a172", - "email": "valid.email@supabase.io", - "app_metadata": { - "provider": "email" - }, - "user_metadata": null, - "role": "authenticated" + + +```swift +import Supabase + +let supabase = SupabaseClient( + supabaseURL: URL(string: "https://.supabase.co")!, + supabaseKey: "SUPABASE_ANON_KEY", + options: SupabaseClientOptions( + auth: SupabaseClientOptions.AuthOptions( + accessToken: { + return "" + } + ) + ) +) +``` + + + + + +```kotlin +val supabase = createSupabaseClient( + "https://.supabase.co", + "SUPABASE_ANON_KEY" +) { + accessToken = { + "" + } } ``` -If using the service role key, you'll need to pass it into both the `apikey` and `authorization` headers (again, only do this from a secure environment such as your own server): + -```bash -curl "$YOUR_PROJECT_URL/rest/v1/colors?select=name" \ - -H "apikey: $YOUR_SERVICE_ROLE_KEY" \ - -H "authorization: Bearer $YOUR_SERVICE_ROLE_KEY" + + +In the past there was a recommendation to set custom headers on the Supabase client with the `Authorization` header including your custom JWT. This is no longer recommended as it's less flexible and causes confusion when combined with a user session from Supabase Auth. + +## Verifying a JWT from Supabase + +If you're not able to use the Supabase client libraries, the following can be used to help you securely verify JWTs issued by Supabase. + +Supabase Auth exposes a [JSON Web Key](https://datatracker.ietf.org/doc/html/rfc7517) Set URL for each Supabase project: + +```http +GET https://project-id.supabase.co/auth/v1/.well-known/jwks.json ``` -Now that you understand what JWTs are and where they're used in Supabase, you can explore how to use them in combination with Row Level Security to start restricting access to certain tables, rows, and columns in your Postgres database. +Which responds with JWKS object containing one or more asymmetric [JWT signing keys](/docs/guides/auth/signing-keys) (only their public keys). + +```json +{ + "keys": [ + { + "kid": "", + "alg": "", + "kty": "", + "key_ops": ["verify"] + // public key fields + } + ] +} +``` + +This endpoint is served directly from the Auth server, but is also additionally cached by the Supabase Edge for 10 minutes, significantly speeding up access to this data regardless of where you're performing the verification. It's important to be aware of the cache expiry time to prevent unintentionally rejecting valid user access tokens. We recommend waiting at least 20 minutes when creating a standby signing key, or revoking a previously used key. + +Make sure that you do not cache this data for longer in your application, as it might make revocation difficult. If you do, make sure to provide a way to purge this cache when rotating signing keys to avoid unintentionally rejecting valid user access tokens. + +Below is an example of how to use the [jose TypeScript JWT verification library](https://github.com/panva/jose) with Supabase JWTs: + +```typescript +import { jwtVerify, createRemoteJWKSet } from 'jose' + +const PROJECT_JWKS = createRemoteJWKSet( + new URL('https://project-id.supabase.co/auth/v1/.well-known/jwks.json') +) + +/** + * Verifies the provided JWT against the project's JSON Web Key Set. + */ +async function verifyProjectJWT(jwt: string) { + return jwtVerify(jwt, PROJECT_JWKS) +} +``` + +### Verifying with the legacy JWT secret or a shared secret signing key + +If your project is still using the legacy JWT secret, or you're using a shared secret (HS256) signing key, we recommend always verifying a user access token directly with the Auth server by sending a request like so: + +```http +GET https://project-id.supabase.co/auth/v1/user +apikey: publishable or anon legacy API key +Authorization: Bearer +``` + +If the server responds with HTTP 200 OK, the JWT is valid, otherwise it is not. + +Because the Auth server runs only in your project's specified region and is not globally distributed, doing this check can be quite slow depending on where you're performing the check. Avoid doing checks like this from servers or functions running on the edge, and prefer routing to a server within the same geographical region as your project. + +If you are using the legacy JWT secret, or you've imported your own shared secret (HS256) signing key, you may wish to verify using the shared secret. **We strongly recommend against this approach.** + + + +There is almost no benefit from using a JWT signed with a shared secret. Although it's computationally more efficient and verification is simpler to code by hand, using this approach can expose your project's data to significant security vulnerabilities or weaknesses. + +Consider the following: + +- Using a shared secret can make it more difficult to keep aligned with security compliance frameworks such as SOC2, PCI-DSS, ISO27000, HIPAA, etc. +- A shared secret that is in the hands of a malicious actor can be used to impersonate your users, give them access to privileged actions or data. +- It is difficult to detect or identify when or how a shared secret has been given to a malicious actor. +- Consider who might have even accidental access to the shared secret: systems, staff, devices (and their disk encryption and vulnerability patch status). +- A malicious actor can use a shared secret **far into the future**, so lacking current evidence of compromise does not mean your data is secure. +- It can be very easy to accidentally leak the shared secret in publicly available source code such as in your website or frontend, mobile app package or other executable. This is especially true if you accidentally add the secret in environment variables prefixed with `NEXT_PUBLIC_`, `VITE_`, `PUBLIC_` or other conventions by web frameworks. +- Rotating shared secrets might require careful coordination to avoid downtime of your app. + + + +Check the JWT verification libraries for your language on how to securely verify JWTs signed with the legacy JWT secret or a shared secret (HS256) signing key. We strongly recommend relying on the Auth server as described above, or switching to a different signing key based on public key cryptography (RSA, Elliptic Curves) instead. ## Resources - JWT debugger: https://jwt.io/ -- [JWT Fields Reference](/docs/guides/auth/jwt-fields) - Complete reference for all JWT fields in Supabase +- [JWT Signing Keys](/docs/guides/auth/signing-keys) +- [JWT Claims Reference](/docs/guides/auth/jwt-fields) - Complete reference for all JWT claims used by Supabase Auth +- [API keys](/docs/guides/api/api-keys) diff --git a/apps/docs/content/guides/auth/signing-keys.mdx b/apps/docs/content/guides/auth/signing-keys.mdx new file mode 100644 index 00000000000..1810a3861f7 --- /dev/null +++ b/apps/docs/content/guides/auth/signing-keys.mdx @@ -0,0 +1,189 @@ +--- +id: 'auth-signing-keys' +title: 'JWT Signing Keys' +subtitle: 'Best practices on managing keys used by Supabase Auth to create and verify JSON Web Tokens' +--- + +Supabase Auth continuously issues a new JWT for each user session, for as long as the user remains signed in. JWT signing keys provide fine grained control over this important process for the security of your application. + +Before continuing check the comprehensive guide on [Sessions](/docs/guides/auth/sessions) for all the details about how Auth creates tokens for a user's session. Read up on [JWTs](/docs/guides/auth/jwts) if you are not familiar with the basics. + +## Overview + +When a JWT is issued by Supabase Auth, the key used to create its [signature](https://en.wikipedia.org/wiki/Digital_signature) is known as the signing key. Supabase provides two systems for dealing with signing keys: the Legacy system based on the JWT secret, and the new Signing keys system. + +| System | Type | Description | +| ----------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Legacy | JWT secret | Initially Supabase was designed to use a single shared secret key to sign all JWTs. This includes the `anon` and `service_role` keys, all user access tokens including some [Storage pre-signed URLs](/docs/reference/javascript/storage-from-createsignedurl). **No longer recommended.** Available for backward compatibility. | +| Signing keys | Asymmetric key (RSA, Elliptic Curves) | A JWT signing key based on [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography) (RSA, Elliptic Curves) that follows industry best practices and significantly improves the security, reliability and performance of your applications. | +| Signing keys | Shared secret key | A JWT signing key based on a [shared secret](https://en.wikipedia.org/wiki/HMAC). | + +### Benefits of the signing keys system + +We've designed the Signing keys system to address many problems the legacy system had. It goes hand-in-hand with the [publishable and secret API keys](/docs/guides/api/api-keys). + +| Benefit | Legacy JWT secret | JWT signing keys | +| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Performance | Increased app latency as JWT validation is done by Auth server. | If using asymmetric signing key, JWT validation is fast and does not involve Auth server. | +| Reliability | To ensure secure revocation, Auth server is in the hot path of your application. | If using asymmetric signing key, JWT validation is local and fast and does not involve Auth server. | +| Security | Requires changing of your application's backend components to fully revoke a compromised secret. | If using asymmetric signing key, revocation is automatic via the key discovery endpoint. | +| Zero-downtime rotation | Downtime, sometimes being significant. Requires careful coordination with [API keys](/docs/guides/api/api-keys). | No downtime, as each rotation step is independent and reversible. | +| Users signed out during rotation | Currently active users get immediately signed out. | No users get signed out. | +| Independence from API keys | `anon` and `service_role` must be rotated simultaneously. | [Publishable and secret API keys](/docs/guides/api/api-keys) no longer are based on the JWT signing key and can be independently managed. | +| Security compliance frameworks (SOC2, etc.) | Difficult to remain aligned as the secret can be extracted from Supabase. | Easier alignment as the private key or shared secret can't be extracted. [Row Level Security](/docs/guides/database/postgres/row-level-security) has strong key revocation guarantees. | + +## Getting started + +You can start migrating away from the legacy JWT secret through the Supabase dashboard. This process does not cause downtime for your application. + +1. Start off by clicking the _Migrate JWT secret_ button on the [JWT signing keys](/dashboard/project/_/settings/jwt/signing-keys) page. This step will import the existing legacy JWT secret into the new JWT signing keys system. Once this process completes, you will no longer be able to rotate the legacy JWT secret using the old system. +2. Simultaneously, we're creating a new asymmetric JWT signing key for you to rotate to. This key starts off as standby key -- meaning it's being advertised as a key that Supabase Auth will use in the future to create JWTs. +3. If you're not ready to switch away from the legacy JWT secret right now, you can stop here without any issue. If you wish to use a different signing key -- either to use a different signing algorithm (RSA, Elliptic Curve or shared secret) or to import a private key or shared secret you already have -- feel free to move the standby key to _Previously used_ before finally moving it to _Revoked._ +4. If you do wish to start using the standby key for all new JWT use the _Rotate keys_ button. A few important notes: + - Make sure your app does not directly rely on the legacy JWT secret. If it's verifying every JWT against the legacy JWT secret (using a library like `jose`, `jsonwebtoken` or similar), continuing with the rotation might break those components. + - If you're using [Edge Functions](/docs/guides/functions) that have the Verify JWT setting, continuing with the rotation might break your app. You will need to turn off this setting. + - In both cases, change or add code to your app or Edge Function that verifies the JWT. Use the `supabase.auth.getClaims()` function or read more about [Verifying a JWT from Supabase](/docs/guides/auth/jwts#verifying-a-jwt-from-supabase) on the best way to do this. +5. Rotating the keys immediately causes the Auth server to issue new JWT access tokens for signed in users signed with the new key. Non-expired access tokens will remain to be accepted, so no users will be forcefully signed out. +6. Plan for revocation of the legacy JWT secret. + - If your access token expiry time is configured to be 1 hour, wait at least 1 hour and 15 minutes before revoking the legacy JWT secret -- now under the _Previously used_ section. + - This prevents currently active users from being forcefully signed out. + - In some situations, such as an active security incident you may want to revoke the legacy JWT secret immediately. + +## Rotating and revoking keys + +Key rotation and revocation are one of the most important processes for maintaining the security of your project and applications. The signing keys system allows you to efficiently execute these without causing downtime of your app, a deficiency present in the legacy system. Below are some common reasons when and why you should consider key rotation and revocation. + +**Malicious actors abusing the legacy JWT secret, or imported private key** + +- The legacy JWT secret has been leaked in logs, committed to source control, or accidentally exposed in the frontend build of your application, a library, desktop or mobile app package, etc. +- You suspect that a [member of your organization](/docs/guides/platform/access-control) has lost control of their devices, and a malicious actor may have accessed the JWT secret via the Supabase dashboard or by accessing your application's backend configuration. +- You suspect that an ex-team-member of your organization may be a malicious actor, by abusing the power the legacy JWT secret provides. +- Make sure you also switch to [publishable and secret API keys](/docs/guides/api/api-keys) and disable the `anon` and `service_role` keys. +- If you've imported a private key, and you're suspecting that this private key has been compromised on your end similarly. + +**Closer alignment to security best practices and compliance frameworks (SOC2, PCI-DSS, ISO27000, HIPAA, ...)** + +- It is always prudent to rotate signing keys at least once a year. +- Some security compliance frameworks strongly encourage or require frequent cryptographic key rotation. +- If you're using Supabase as part of a large enterprise, this may be required by your organization's security department. +- Creating muscle memory for the time you'll need to respond to an active security incident. + +**Changing key algorithm for technical reasons** + +- You may wish to switch signing algorithms due to compatibility problems or to simplify development on your end. + +### Lifetime of a signing key + +
+ +Diagram showing the state transitions of a signing key + +
+ +A newly created key starts off as standby, before being rotated into in use (becoming the current key) while the existing current key becomes previously used. + +At any point you can move a key from the previously used or revoked states back to being a standby key, and rotate to it. This gives you the confidence to revert back to an older key if you identify problems with the rotation, such as forgetting to update a component of your application that is relying on a specific key (for example, the legacy JWT secret). + +Each action on a key is reversible (except permanent deletion). + +
+ +
+ +| Action | Accepted JWT signatures | Description | +| -------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Create a new key | Current key only, new key has not created any JWTs yet. | When you initially create a key, after choosing the signing algorithm or importing a private key you already have, it starts out in the standby state. If using an asymmetric key (RSA, Elliptic Curve) its public key will be available in the discovery endpoint. Supabase Auth does not use this key to create new JWTs. | +| Rotate keys | Both keys in the rotation. | Rotation only changes the key used by Supabase Auth to create new JWTs, but the trust relationship with both keys remains. | +| Revoke key | Only from the current key. | Once all regularly valid JWTs have expired (or sooner) revoke the previously used key to revoke trust in it. | +| Move to standby from revoked | Current and previously revoked key. | If you've made a mistake or need more time to adjust your application, you can move a revoked key to standby. Follow up with a rotation to ensure Auth starts using the originally revoked key again to make new JWTs. | +| Move to standby from previously used | Both keys. | This only prepares the key from the last rotation to be used by Auth to make new JWTs with it. | +| Delete key | - | Permanently destroys the private key or shared secret of a key, so it will not be possible to re-use or rotate again into it. | + +### Public key discovery and caching + +When your signing keys use an asymmetric algorithm based on [public-key cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography) Supabase Auth exposes the public key in the JSON Web Key Set discovery endpoint, for anyone to see. This is an important security feature allowing you to rotate and revoke keys without needing to deploy new versions of your app's backend infrastructure. + +Access the currently trusted signing keys at the following endpoint: + +```http +GET https://project-id.supabase.co/auth/v1/.well-known/jwks.json +``` + +Note that this is secure as public keys are irreversible and can only be used to verify the signature of JSON Web Tokens, but not create new ones. + +This discovery endpoint is cached by Supabase's edge servers for 10 minutes. Furthermore the Supabase client libraries may cache the keys in memory for an additional 10 minutes. Your application may be using different caching behavior if you're not relying only on the Supabase client library. + +This multi-level cache is a trade-off allowing fast JWT verification without placing the Auth server in the hot path of your application, increasing its reliability and performance. + +Importantly Supabase products **do not rely on this cache**, so stronger security guarantees are provided especially when keys are revoked. If your application only uses [Row Level Security](/docs/guides/database/postgres/row-level-security) policies and does not have any other backend components (such as APIs, Edge Functions, servers, etc.) key rotation and revocation are instantaneous. + +Finally this multi-level cache is cleared every 20 minutes, or longer if you have a custom setup. Consider the following problems that may arise due to it: + +- **Urgent key revocation.** If you are in a security incident where a signing key must be urgently revoked, due to the multi-level cache your application components may still trust and authenticate JWTs signed with the revoked key. Supabase products (Auth, Data API, Storage, Realtime) **do not rely on this cache and revocation is instantaneous.** Should this be an issue for you, ensure you've built a cache busting mechanism as part of your app's backend infrastructure. +- **Quick key creation and rotation.** If you're migrating away from the legacy JWT secret or when only using the `supabase.auth.getClaims()` method this case is handled for you automatically. If you're verifying JWTs on your own, without the help of the Supabase client library, ensure that **all caches in your app** have picked up the newly created standby key before proceeding to rotation. + +## Choosing the right signing algorithm + +To strike the right balance between performance, security and ease-of-use, JWT signing keys are based on capabilities available in the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API). + +| Algorithm | JWT `alg` | Information | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [NIST P-256 Curve](https://en.wikipedia.org/wiki/Elliptic-curve_cryptography)
(Asymmetric) | `ES256` | Elliptic Curves are a faster alternative than RSA, while providing comparable security. Especially important for Auth use cases is the fact that signatures using the P-256 curve are significantly shorter than those created by RSA, which reduces data transfer sizes and helps in managing cookie size. Web Crypto and most other cryptography libraries and runtimes support this curve. | +| [RSA 2048](https://en.wikipedia.org/wiki/RSA_cryptosystem)
(Asymmetric) | `RS256` | RSA is the oldest and most widely supported public-key cryptosystem in use. While being easy to code by hand, it can be significantly slower than elliptic curves in certain aspects. We recommend using the P-256 elliptic curve instead. | +| [Ed25519 Curve](https://en.wikipedia.org/wiki/EdDSA#Ed25519)
(Asymmetric) | `EdDSA` | Coming soon. This algorithm is based on a different elliptic curve cryptosystem developed in the open, unlike the P-256 curve. Web Crypto or other crypto libraries may not support it in all runtimes, making it difficult to work with. | +| [HMAC with shared secret](https://en.wikipedia.org/wiki/HMAC)
(Symmetric) | `HS256` | **Not recommended for production applications.** A shared secret uses a message authentication code to verify the authenticity of a JSON Web Token. This requires that both the creator of the JWT (Auth) and the system verifying the JWT know the secret. As there is no public key counterpart, revoking this key might require deploying changes to your app's backend infrastructure. | + + + +There is almost no benefit from using a JWT signed with a shared secret. Although it's computationally more efficient and verification is simpler to code by hand, using this approach can expose your project's data to significant security vulnerabilities or weaknesses. + +Consider the following: + +- Using a shared secret can make it more difficult to keep aligned with security compliance frameworks such as SOC2, PCI-DSS, ISO27000, HIPAA, etc. +- A shared secret that is in the hands of a malicious actor can be used to impersonate your users, give them access to privileged actions or data. +- It is difficult to detect or identify when or how a shared secret has been given to a malicious actor. +- Consider who might have even accidental access to the shared secret: systems, staff, devices (and their disk encryption and vulnerability patch status). +- A malicious actor can use a shared secret **far into the future**, so lacking current evidence of compromise does not mean your data is secure. +- It can be very easy to accidentally leak the shared secret in publicly available source code such as in your website or frontend, mobile app package or other executable. This is especially true if you accidentally add the secret in environment variables prefixed with `NEXT_PUBLIC_`, `VITE_`, `PUBLIC_` or other conventions by web frameworks. +- Rotating shared secrets might require careful coordination to avoid downtime of your app. + + + +## Frequently asked questions + +### Why is it not possible to extract the private key or shared secret from Supabase? + +You can only extract the legacy JWT secret. Once you've moved to using the JWT signing keys feature extracting of the private key or shared secret from Supabase is not possible. This ensures that no one in your organization is able to impersonate your users or gain privileged access to your project's data. + +This guarantee provides your application with close alignment with security compliance frameworks (SOC2, PCI-DSS, ISO27000, HIPAA) and security best practices. + +### How to create (mint) JWTs if access to the private key or shared secret is not possible? + +If you wish to make your own JWTs or have access to the private key or shared secret used by Supabase, you can create a new JWT signing key by importing a private key or setting a shared secret yourself. + +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 +``` + +Make sure you store this private key in a secure location, as it will not be extractable from Supabase. + +### Why is a 5 minute wait imposed when changing signing key states? + +Changing a JWT signing key's state sets off many changes inside the Supabase platform. To ensure a consistent setup, most actions that change the state of a JWT signing key are throttled for approximately 5 minutes. + +### Why is deleting the legacy JWT secret disallowed? + +This is to ensure you have the ability, should you need it, to go back to the legacy JWT secret. In the future this capability will be allowed from the dashboard. + +### Why does revoking the legacy JWT secret require disabling of `anon` and `service_role` API keys? + +Unfortunately `anon` and `service_role` are not just API keys, but are also valid JSON Web Tokens, signed by the legacy JWT secret. Revoking the legacy JWT secret means that your application no longer trusts any JWT signed with it. Therefore before you revoke the legacy JWT secret, you must disable the `anon` and `service_role` to ensure a consistent security setup. diff --git a/apps/docs/content/guides/database/connection-management.mdx b/apps/docs/content/guides/database/connection-management.mdx index 4a13b4aa4e5..bd763d7e7cf 100644 --- a/apps/docs/content/guides/database/connection-management.mdx +++ b/apps/docs/content/guides/database/connection-management.mdx @@ -23,6 +23,32 @@ These numbers are generalizations and depends on other Supabase products that yo ### Capturing historical usage +#### Dashboard monitoring charts + +Database client connections chart + +For Teams and Enterprise plans, Supabase provides Advanced Telemetry charts directly within the Dashboard. The `Database client connections` chart displays historical connection data broken down by connection type: + +- **Postgres**: Direct connections from your application +- **PostgREST**: Connections from the PostgREST API layer +- **Reserved**: Administrative connections for Supabase services +- **Auth**: Connections from Supabase Auth service +- **Storage**: Connections from Supabase Storage service +- **Other roles**: Miscellaneous database connections + +This chart helps you monitor connection pool usage, identify connection leaks, and plan capacity. It also shows a reference line for your compute size's maximum connection limit. + +For more details on using these monitoring charts, see the [Reports guide](/docs/guides/telemetry/reports#advanced-telemetry). + +#### Grafana Dashboard + Supabase offers a Grafana Dashboard that records and visualizes over 200 project metrics, including connections. For setup instructions, check the [metrics docs](/docs/guides/platform/metrics). Its "Client Connections" graph displays connections for both Supavisor and Postgres diff --git a/apps/docs/content/guides/deployment/branching.mdx b/apps/docs/content/guides/deployment/branching.mdx index bd714019414..dafdb4d0c37 100644 --- a/apps/docs/content/guides/deployment/branching.mdx +++ b/apps/docs/content/guides/deployment/branching.mdx @@ -1,772 +1,16 @@ --- title: 'Branching' -description: 'Use Supabase Branches to test and preview changes.' subtitle: 'Use Supabase Branches to test and preview changes' --- Use branching to safely experiment with changes to your Supabase project. -Supabase branches work like Git branches. They let you create and test changes like new configurations, database schemas, or features in a separate, temporary instance without affecting your production setup. - -When you're ready to ship your changes, merge your branch to update your production instance with the new changes. - -If you understand Git, you already understand Supabase Branching. +Supabase branches create separate environments that spin off from your main project. You can use these branching environments to create and test changes like new configurations, database schemas, or features without affecting your production setup. When you're ready to ship your changes, merge your branch to update your production instance with the new changes. ## How branching works - **Separate Environments**: Each branch is a separate environment with its own Supabase instance and API credentials. -- **Git Integration**: Branching works with Git, currently supporting GitHub repositories. - **Preview Branches**: You can create multiple Preview Branches for testing. -- **Migrations and Seeding**: Branches run migrations from your repository and can seed data using a `seed.sql` file. - -## Prerequisites - -- **Supabase Project**: You need an existing Supabase project. -- **GitHub Repository**: Your project must be connected to a GitHub repository containing your Supabase directory. - -You can run multiple Preview Branches for every Supabase project. Branches contain all the Supabase features with their own API credentials. - -Preview Environments auto-pause after branching.inactivity_period_in_minutes minutes of inactivity. Upon receiving a new request to your database or REST API, the paused branch will automatically resume to serve the request. The implications of this architecture means - -- `pg_cron` jobs will not execute in an auto-paused database. -- Larger variance in request latency due to database cold starts. - -If you need higher performance guarantees on your Preview Environment, you can switch individual branches to [persistent](/docs/guides/deployment/branching#persistent-branches) so they are not auto-paused. - -Each branch has a separate Supabase instance. - -### Branching workflow - -Preview Branch instances contain no data by default. You must include a seed file to seed your preview instance with sample data when the Preview Branch is created. Future versions of Branching may allow for automated data seeding and cloning after we are confident that we can provide safe data masking. - -## Git providers - -To manage code changes, your Supabase project must be connected to a Git repository. At this stage, we only support [GitHub](#branching-with-github). If you are interested in other Git providers, join the [discussion](https://github.com/orgs/supabase/discussions/18936) for GitLab, Bitbucket, and non-Git based Branching. - -### Branching with GitHub - -Supabase Branching uses the Supabase GitHub integration to read files from your GitHub repository. With this integration, Supabase watches all commits, branches, and pull requests of your GitHub repository. - -You can create a corresponding Preview Branch for any Git branch in your repository. Each time a new Preview Branch is created and configured based on the [`config.toml`](/docs/guides/local-development/cli/config) configuration on this branch, the migrations from the corresponding Git branch are run on the Preview Branch. - -The Preview Branch is also [seeded](/docs/guides/local-development/seeding-your-database) with sample data based on `./supabase/seed.sql` by default, if that file exists. - -Supabase Branching follows the [Trunk Based Development](https://trunkbaseddevelopment.com/) workflow, with one main Production branch and multiple development branches: - -Each GitHub branch can have its own Supabase preview branch. - -When you merge your Git branch into the production branch, all new migrations will be applied to your Production environment. If you have declared Storage buckets or Edge Functions in `config.toml`, they will also be deployed automatically. All other configurations, including API, Auth, and seed files, will be ignored by default. - - - -### Preparing your Git repository - -You can use the [Supabase CLI](/docs/guides/cli) to manage changes inside a 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:6543/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 - ``` - - - - - - - - - - -Use the Next.js example template to try out branching. This template includes sample migration and seed files to get you started. Run the following command in your terminal to clone the example: - -```bash -npx create-next-app -e with-supabase -``` - -Push your new project to a GitHub repo. For more information, see the GitHub guides on [creating](https://docs.github.com/en/get-started/quickstart/create-a-repo) and [pushing code](https://docs.github.com/en/get-started/using-git/pushing-commits-to-a-remote-repository) to a new repository. - - - - -### Enable Supabase branching - -Once your repository is [correctly prepared](#preparing-your-git-repository), you can enable branching from the Supabase dashboard. - - - -If your repository doesn't have all the migration files, your production branch could run an incomplete set of migrations. Make sure your [GitHub repository is prepared](#preparing-your-git-repository). - - - - - - -
- -
-
-
- - - - - When clicking `Enable branching` you will see the following dialog: - -
- -
- - If you don't have the GitHub integration installed, click `Add new project connection`. The integration is required to run migration files and the optional database seed file. - - You're taken to the GitHub integration page. Click `Install`. - -
- -
- - Follow the instructions to link your Supabase project to its GitHub repository. - -
- -
- - Return to your project and re-click `Enable branching`. - -
-
- - - - - Type in the branch you want to use for production. The name of the branch will be validated to make sure it exists in your GitHub repository. - - - - To change your production branch, you need to disable branching and re-enable it with a different branch. - - - -
- -
- -
-
- - - - - - -
- -### Open a pull request - -When you open a pull request on GitHub, the Supabase integration automatically checks for a matching preview branch. If one doesn't exist, it gets created. - -A comment is added to your PR with the deployment status of your preview branch. Statuses are shown separately for Database, Services, and APIs. - -GitHub view of the deployment status of your preview branch - -Every time a new commit is pushed that changes the migration files in `./supabase/migrations`, the new migrations are run against the preview branch. You can check the status of these runs in the comment's Tasks table. - -### Preventing migration failures - -We highly recommend turning on a 'required check' for the Supabase integration. You can do this from your GitHub repository settings. This prevents PRs from being merged when migration checks fail, and stops invalid migrations from being merged into your production branch. - -Check the "Require status checks to pass before merging" option. - -### Manually create a preview branch - -Preview branches are automatically created for each pull request, but you can also manually create one. - - - - - - You need at least one other branch aside from your Supabase production branch. - -
- -
You can use the GitHub dashboard or command line to create a new branch. In this example, the new branch is called `feat/add-members`.
-
-
-
- - - - In the Supabase dashboard, look for the branch dropdown on the right-hand side of the top bar. It should be set to your production branch by default. Open the dropdown and click [`Manage branches`](/dashboard/project/_/branches). - -
- -
- -
-
- - - - - Click `Create preview branch`. - -
- -
- - Type in the branch name you want to add. Click `Create branch` to confirm. - - - - Git branches from external contributors currently can't support a Preview Branch - - - -
- -
- -
-
- -
- -The Git integration watches for changes in the `supabase` directory. This includes: - -- All SQL migration files, under the subdirectory `migrations` -- An optional `seed.sql` file, used to seed preview instances with sample data - -You can create new migrations either [locally](#develop-locally) or [remotely](#develop-remotely). Local development is recommended. - - - - -The Supabase CLI provides two options: [manual migrations](https://supabase.com/docs/guides/deployment/database-migrations) and [generated migrations](https://supabase.com/docs/guides/deployment/database-migrations#diffing-changes) using Supabase's local studio and the `supabase db-diff` command. Let's use the latter and push the change to our Preview Branch: - - - - - - - Start Supabase locally: - - ```bash - supabase start - ``` - - Then proceed to [localhost:54323](http://localhost:54323) to access your local Supabase dashboard. - - You can make changes in either the [Table Editor](http://localhost:54323/project/default/editor) or the [SQL Editor]((http://localhost:54323/project/default/sql)). - - - - - - - - Once you are finished making database changes, run `supabase db diff` to create a new migration file. For example: - - ```bash - supabase db diff -f "add_employees_table" - ``` - - This will create a SQL file called `./supabase/migrations/[timestamp]add_employees_table.sql`. This file will reflect the changes that you made in your local dashboard. - - If you want to continue making changes, you can manually edit this migration file, then use the `db reset` command to pick up your edits: - - ```bash - supabase db reset - ``` - - This will reset the database and run all the migrations again. The local dashboard at [localhost:54323](http://localhost:54323) will reflect the new changes you made. - - - - - - - - Commit and push your migration file to your remote GitHub repository. For example: - - ```bash - git add supabase/migrations - git commit -m "Add employees table" - git push --set-upstream origin new-employee - ``` - - The Supabase integration detects the new migration and runs it on the remote Preview Branch. It can take up to 10 minutes for migrations to be applied. If you have a PR for your branch, errors are reflected in the GitHub check run status and in a PR comment. - - If you need to reset your database to a clean state (that is, discard any changes that aren't reflected in the migration files), run `supabase db reset` locally. Then, delete the preview branch and recreate it by closing, and reopening your pull request. - - - - - - - - - - - -As an alternative to developing locally, you can make changes on your remote Supabase dashboard. You can then pull these changes to your local machine and commit them to GitHub. - - - -Dashboard changes aren't automatically reflected in your Git repository. If you'd like to see automatic syncing in a future release, [join the discussion](https://github.com/orgs/supabase/discussions/18937). - - - - - - - - Select the branch you wish to use in your Supabase [project](https://supabase.com/dashboard/project/_). - -
- -
- -
-
- - - - - Make changes to your schema with either the [Table Editor](https://supabase.com/dashboard/project/_/editor) or the [SQL Editor]((https://supabase.com/dashboard/project/_/sql)). - - - - - - - - If you don't know the password, you must reset the database password so you know the password. Go to the [database setting page](https://supabase.com/dashboard/project/_/settings/database) and click `Reset database password`. - - Save the new password securely for future use. - - - - - - - - In your local terminal, navigate to the directory for your Supabase project and use the Supabase CLI to pull changes from your branch to your local migrations directory. - - Make sure to use the database URL for your branch: - - ```bash - supabase db pull --db-url "postgres://postgres.xxxx:password@xxxx.pooler.supabase.com:6543/postgres" - ``` - - - - - - - - No new migrations will be run on your remote Preview Branch after pushing your changes. This is expected, because your database is already up-to-date, based on the changes you made in the dashboard. But this ensures that your migration files are in GitHub, so they can be correctly merged into production. - - - - -
- -
-
- -### Disable branching - -You can disable branching at any time. Navigate to the [Branches](/dashboard/project/_/branches) page, which can be found via the Branches dropdown menu on the top navigation, then click "Manage Branches" in the menu. Click the 'Disable branching' button at the top of the Overview section. - -### Persistent branches - -Persistent branches are the type of branches that will remain active even after the underlying PR is closed. Any PR based on a persistent branch will also have a corresponding preview branch created automatically. - -You can change any branch to be persistent on the [Branches](/dashboard/project/_/branches) page by clicking the triple dots icon next to the branch you want to modify, and selecting "Switch to persistent". - -All persistent branches can be toggled back to be an ephemeral branch in the exact same way. - -## Migration and seeding behavior - -Migrations are run in sequential order. Each migration builds upon the previous one. - -The preview branch has a record of which migrations have been applied, and only applies new migrations for each commit. This can create an issue when rolling back migrations. - -### Using ORM or custom seed scripts - -If you want to use your own ORM for managing migrations and seed scripts, you will need to run them in GitHub Actions after the preview branch is ready. The branch credentials can be fetched using the following example GHA workflow. - -```yaml -on: - pull_request: - types: - - opened - - reopened - - synchronize - branches: - - main - paths: - - 'supabase/**' - -jobs: - wait: - runs-on: ubuntu-latest - outputs: - status: ${{ steps.check.outputs.conclusion }} - steps: - - uses: fountainhead/action-wait-for-check@v1.2.0 - id: check - with: - checkName: Supabase Preview - ref: ${{ github.event.pull_request.head.sha }} - token: ${{ secrets.GITHUB_TOKEN }} - - migrate: - needs: - - wait - if: ${{ needs.wait.outputs.status == 'success' }} - runs-on: ubuntu-latest - steps: - - uses: supabase/setup-cli@v1 - with: - version: latest - - run: supabase --experimental branches get "$GITHUB_HEAD_REF" -o env >> $GITHUB_ENV - - name: Custom ORM migration - run: psql "$POSTGRES_URL_NON_POOLING" -c 'select 1' -``` - -## Branch configuration with remotes - -When Branching is enabled, your `config.toml` settings automatically sync to all ephemeral branches through a one-to-one mapping between your Git and Supabase branches. - -### Basic configuration - -To update configuration for a Supabase branch, modify `config.toml` and push to git. The Supabase integration will detect the changes and apply them to the corresponding branch. - -### Remote-specific configuration - -For persistent branches that need specific settings, you can use the `[remotes]` block in your `config.toml`. Each remote configuration must reference an existing project ID. - -Here's an example of configuring a separate seed script for a staging environment: - -```toml -[remotes.staging] -project_id = "your-project-ref" - -[remotes.staging.db.seed] -sql_paths = ["./seeds/staging.sql"] -``` - -Since the `project_id` field must reference an existing branch, you need to create the persistent branch before adding its configuration. Use the CLI to create a persistent branch first: - -```bash -supabase --experimental branches create --persistent -# Do you want to create a branch named develop? [Y/n] -``` - -### Configuration merging - -When merging a PR into a persistent branch, the Supabase integration: - -1. Checks for configuration changes -2. Logs the changes -3. Applies them to the target remote - -If no remote is declared or the project ID is incorrect, the configuration step is skipped. - -### Available configuration options - -All standard configuration options are available in the `[remotes]` block. This includes: - -- Database settings -- API configurations -- Authentication settings -- Edge Functions configuration -- And more - -You can use this to maintain different configurations for different environments while keeping them all in version control. - -### Managing secrets for branches - -For sensitive configuration like SMTP credentials or API keys, you can use the Supabase CLI to manage secrets for your branches. This is especially useful for custom SMTP setup or other services that require secure credentials. - -To set secrets for a persistent branch: - -```bash -# Set secrets from a .env file -supabase secrets set --env-file ./supabase/.env - -# Or set individual secrets -supabase secrets set SMTP_HOST=smtp.example.com -supabase secrets set SMTP_USER=your-username -supabase secrets set SMTP_PASSWORD=your-password -``` - -These secrets will be available to your branch's services and can be used in your configuration. For example, in your `config.toml`: - -```toml -[auth.smtp] -host = "env(SMTP_HOST)" -user = "env(SMTP_USER)" -password = "env(SMTP_PASSWORD)" -``` - - - -Secrets set for one branch are not automatically available in other branches. You'll need to set them separately for each branch that needs them. - - - -#### Using dotenvx for git-based workflow - -For managing environment variables across different branches, you can use [dotenvx](https://dotenvx.com/) to securely manage your configurations. This approach is particularly useful for teams working with Git branches and preview deployments. - -##### Environment file structure - -Following the conventions used in the [example repository](https://github.com/supabase/supabase/blob/master/examples/slack-clone/nextjs-slack-clone-dotenvx/README.md), environments are configured using dotenv files in the `supabase` directory: - -| File | Environment | `.gitignore` it? | Encrypted | -| --------------- | ----------- | ---------------- | --------- | -| .env.keys | All | Yes | No | -| .env.local | Local | Yes | No | -| .env.production | Production | No | Yes | -| .env.preview | Branches | No | Yes | -| .env | Any | Maybe | Yes | - -##### Setting up encrypted secrets - -1. Generate key pair and encrypt your secrets: - -```bash -npx @dotenvx/dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "" -f supabase/.env.preview -``` - -This creates a new encryption key in `supabase/.env.preview` and a new decryption key in `supabase/.env.keys`. - -2. Update project secrets: - -```bash -npx supabase secrets set --env-file supabase/.env.keys -``` - -3. Choose your configuration approach in `config.toml`: - -Option A: Use encrypted values directly: - -```toml -[auth.external.github] -enabled = true -secret = "encrypted:" -``` - -Option B: Use environment variables: - -```toml -[auth.external.github] -enabled = true -client_id = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_CLIENT_ID)" -secret = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET)" -``` - - - -The `encrypted:` syntax only works for designated "secret" fields in the configuration (like `secret` in auth providers). Using encrypted values in other fields will not be automatically decrypted and may cause issues. For non-secret fields, use environment variables with the `env()` syntax instead. - - - -##### Using with preview branches - -When you commit your `.env.preview` file with encrypted values, the branching executor will automatically retrieve and use these values when deploying your branch. This allows you to maintain different configurations for different branches while keeping sensitive information secure. - -### Rolling back migrations - -You might want to roll back changes you've made in an earlier migration change. For example, you may have pushed a migration file containing schema changes you no longer want. - -To fix this, push the latest changes, then delete the preview branch in Supabase and reopen it. - -The new preview branch is reseeded from the `./supabase/seed.sql` file by default. Any additional data changes made on the old preview branch are lost. This is equivalent to running `supabase db reset` locally. All migrations are rerun in sequential order. - -### Seeding behavior - -Your Preview Branches are seeded with sample data using the same as [local seeding behavior](/docs/guides/local-development/seeding-your-database). - -The database is only seeded once, when the preview branch is created. To rerun seeding, delete the preview branch and recreate it by closing, and reopening your pull request. - -## Branching and hosting providers - -Branching works with hosting providers that support preview deployments. - -With the Supabase branching integration, you can sync the Git branch used by the hosting provider with the corresponding Supabase preview branch. This means that the preview deployment built by your hosting provider is matched to the correct database schema, edge functions, and other Supabase configurations. - -### Vercel - -Install the Vercel integration: - -- From the [Vercel marketplace](https://vercel.com/integrations/supabase) or -- By clicking the blue `Deploy` button in a Supabase example app's `README` file - - - -For branching to work with Vercel, you also need the [Vercel GitHub integration](https://vercel.com/docs/deployments/git/vercel-for-github). - - - -And make sure you have [connected](/dashboard/org/_/integrations) your Supabase project to your Vercel project. - -Supabase automatically updates your Vercel project with the correct environment variables for the corresponding preview branches. The synchronization happens at the time of Pull Request being opened, not at the time of branch creation. - -As branching integration is tied to the Preview Deployments feature in Vercel, there are possible race conditions between Supabase setting correct variables, and Vercel running a deployment process. Because of that, Supabase is always automatically re-deploying the most recent deployment of the given pull request. - -## Other Git providers - -There are multiple alternative Git providers under consideration. If you're interested in branching for GitLab, Bitbucket, or some other provider, [join the GitHub discussion](https://github.com/orgs/supabase/discussions/18938). - -## Alternatives to branching - -Under the hood, you can see Supabase branching as a way to programmatically "duplicate" your Supabase project via git flow. This allows spawning a new configured (via [`config.toml`](/docs/guides/local-development/cli/config)) and seeded instance of the database and the adjacent Supabase services (buckets, edge functions, etc.). - -1. A new project is deployed on behalf of the user on the Supabase side as the new "branch" if it doesn't already exist. This includes the database, storage, edge-function, and all Supabase-related services. -2. The branch is cloned and the new project is configured based on the [`config.toml`](/docs/guides/local-development/cli/config) committed into this project branch. -3. Migrations are applied and seeding scripts are run (the first time) for this branch. - -You can make a similar setup with a distinct project for each environment. Or just have two environments, the localhost and the production one. - -## Pricing - -Branching is available on the Pro Plan and above. The price is: - -- Each Preview branch costs per hour -- Each Preview branch is billed until it is removed - -## Troubleshooting - -### Rolling back migrations - -You might want to roll back changes you've made in an earlier migration change. For example, you may have pushed a migration file containing schema changes you no longer want. - -To fix this, push the latest changes, then delete the preview branch in Supabase and reopen it. - -The new preview branch is reseeded from the `./supabase/seed.sql` file by default. Any additional data changes made on the old preview branch are lost. This is equivalent to running `supabase db reset` locally. All migrations are rerun in sequential order. - -### Deployment failures - -A deployment might fail for various reasons, including invalid SQL statements and schema conflicts in migrations, errors within the `config.toml` config, or something else. - -To check the error message, see the Supabase workflow run for your branch under the [View logs](/dashboard/project/_/branches) section. - -### Network restrictions - -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` - -Network restrictions to allow connections from branching cluster - -### Schema drift between preview branches - -If multiple preview branches exist, each preview branch might contain different schema changes. This is similar to Git branches, where each branch might contain different code changes. - -When a preview branch is merged into the production branch, it creates a schema drift between the production branch and the preview branches that haven't been merged yet. - -These conflicts can be resolved in the same way as normal Git Conflicts: merge or rebase from the production Git branch to the preview Git branch. Since migrations are applied sequentially, ensure that migration files are timestamped correctly after the rebase. Changes that build on top of earlier changes should always have later timestamps. - -### Changing production branch - -It's not possible to change the Git branch used as the Production branch for Supabase Branching. The only way to change it is to disable and re-enable branching. See [Disable Branching](#disable-branching). - -## Feedback - -Supabase branching is a new and exciting part of the Supabase development ecosystem. Feedback is welcome. - -You can join the [conversation over in GitHub discussions](https://github.com/orgs/supabase/discussions/18937). +- **Persistent Branches**: Persistent branches are long-lived branches. They aren't automatically paused or deleted due to non-inactivity or merging. +- **GitHub integration and Branching 2.0**: You can use branching with the GitHub integration, or use Branching 2.0 to manage your branches without Git (in Feature Preview). +- **Data-less**: New branches do not start with any data from your main project. This is meant to better protect your sensitive production data. To start your branches with data, you can use a [seed file](/docs/guides/deployment/branching/github-integration#seeding) if using the GitHub integration. diff --git a/apps/docs/content/guides/deployment/branching/branching-2.mdx b/apps/docs/content/guides/deployment/branching/branching-2.mdx new file mode 100644 index 00000000000..06ff6b67a8c --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/branching-2.mdx @@ -0,0 +1,67 @@ +--- +title: 'Branching 2.0 (Alpha)' +subtitle: 'Create and manage branches without using Git' +--- + +Branching 2.0 allows you to create and manage Supabase branches without connecting to a Git repository. This is useful for quick testing, prototyping, or when you prefer to manage your database changes outside of Git. + + + +Branching 2.0 is currently in public alpha. Features and functionality may change. + + + +## How Branching 2.0 works + +With Branching 2.0, you can do the following directly from the Supabase dashboard: + +- Create preview branches +- Make changes to your public schema or edge functions +- Merge these changes back into production when ready +- Pull in updates from production + +## Enable Branching 2.0 + +Branching 2.0 is available as a Feature Preview. To enable Branching 2.0 in the Supabase Dashboard: + +1. Open the user menu by clicking on your user icon in the top right. +1. Select **Branching 2.0**. +1. Click **Enable feature**. + +## Creating a branch + +Once you've enabled Branching 2.0, you can create a new branch: + +1. Click the arrows next to the branch name in the top menu bar. (The top menu bar has the format `YOUR_ORGANIZATION / YOUR_PROJECT / CURRENT_BRANCH_NAME`.) +2. Click `Create branch`. + +## Making changes to a branch + +Use the branch selector in the top bar to change to your branch. Any changes you make (including SQL run in the SQL editor, table editor changes, and configuration changes) are now made against the currently selected branch. + +You can also use the branch's API keys and connection strings to run changes against the branch from your own code or SQL client. + +## Creating a merge request + +To review and merge changes from a branch back into your production branch, you must first create a merge request. There are two ways to do this. + +The first is to click the merge request button next to the branch selector that's located in the top menu. This will create the merge request and redirect you to the merge page where you can review and merge any changes. + +The second is to click on manage branches from within the branch selector, then in the left hand navigation you can click on merge requests. From here you can view all open merge requests and create new ones. + +## Pulling changes from production into a branch + +When reviewing a merge request you may see a notice at the top of the page asking you to update your branch. This appears when your preview branch has drifted from your production branch. There may be public schema or edge function changes that have been made after your preview branch was created. Clicking update branch will attempt to pull in these changes, but be aware that by doing this your existing edge functions will be replaced. Any new edge functions created on the preview branch will remain untouched. + +## Limitations + +There are a few limitations you should be aware of before deciding to use branching without git. + +- Custom roles created through the dashboard are not captured on branch creation +- Only public schema changes are supported right now +- Extensions are not included in the diff process +- Branches can only be merged to main; merging between preview branches is not supported +- If your branch is out of date, you can pull in latest changes from main, but keep in mind that all functions will be overwritten +- Deleting functions must be done manually on main branch +- Migration conflicts must be manually resolved on the preview branch +- If you have run migrations on main, new branches will be created from existing migrations instead of a full schema dump diff --git a/apps/docs/content/guides/deployment/branching/configuration.mdx b/apps/docs/content/guides/deployment/branching/configuration.mdx new file mode 100644 index 00000000000..5355264fff2 --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/configuration.mdx @@ -0,0 +1,207 @@ +--- +title: 'Configuration' +subtitle: 'Configure your Supabase branches using configuration as code' +--- + +This guide covers how to configure your Supabase branches, using the `config.toml` file. In one single file, you can configure all your branches, including branch settings and secrets. + +## Branch configuration with remotes + +When Branching is enabled, your `config.toml` settings automatically sync to all ephemeral branches through a one-to-one mapping between your Git and Supabase branches. + +### Basic configuration + +To update configuration for a Supabase branch, modify `config.toml` and push to git. The Supabase integration will detect the changes and apply them to the corresponding branch. + +### Remote-specific configuration + +For persistent branches that need specific settings, you can use the `[remotes]` block in your `config.toml`. Each remote configuration must reference an existing project ID. + +Here's an example of configuring a separate seed script for a staging environment: + +```toml +[remotes.staging] +project_id = "your-project-ref" + +[remotes.staging.db.seed] +sql_paths = ["./seeds/staging.sql"] +``` + +Since the `project_id` field must reference an existing branch, you need to create the persistent branch before adding its configuration. Use the CLI to create a persistent branch first: + +```bash +supabase --experimental branches create --persistent +# Do you want to create a branch named develop? [Y/n] +``` + +### Configuration merging + +When merging a PR into a persistent branch, the Supabase integration: + +1. Checks for configuration changes +2. Logs the changes +3. Applies them to the target remote + +If no remote is declared or the project ID is incorrect, the configuration step is skipped. + +### Available configuration options + +All standard configuration options are available in the `[remotes]` block. This includes: + +- Database settings +- API configurations +- Authentication settings +- Edge Functions configuration +- And more + +You can use this to maintain different configurations for different environments while keeping them all in version control. + +## Managing secrets for branches + +For sensitive configuration like SMTP credentials or API keys, you can use the Supabase CLI to manage secrets for your branches. This is especially useful for custom SMTP setup or other services that require secure credentials. + +To set secrets for a persistent branch: + +```bash +# Set secrets from a .env file +supabase secrets set --env-file ./supabase/.env + +# Or set individual secrets +supabase secrets set SMTP_HOST=smtp.example.com +supabase secrets set SMTP_USER=your-username +supabase secrets set SMTP_PASSWORD=your-password +``` + +These secrets will be available to your branch's services and can be used in your configuration. For example, in your `config.toml`: + +```toml +[auth.smtp] +host = "env(SMTP_HOST)" +user = "env(SMTP_USER)" +password = "env(SMTP_PASSWORD)" +``` + + + +Secrets set for one branch are not automatically available in other branches. You'll need to set them separately for each branch that needs them. + + + +### Using dotenvx for git-based workflow + +For managing environment variables across different branches, you can use [dotenvx](https://dotenvx.com/) to securely manage your configurations. This approach is particularly useful for teams working with Git branches and preview deployments. + +#### Environment file structure + +Following the conventions used in the [example repository](https://github.com/supabase/supabase/blob/master/examples/slack-clone/nextjs-slack-clone-dotenvx/README.md), environments are configured using dotenv files in the `supabase` directory: + +| File | Environment | `.gitignore` it? | Encrypted | +| --------------- | ----------- | ---------------- | --------- | +| .env.keys | All | Yes | No | +| .env.local | Local | Yes | No | +| .env.production | Production | No | Yes | +| .env.preview | Branches | No | Yes | +| .env | Any | Maybe | Yes | + +#### Setting up encrypted secrets + +1. Generate key pair and encrypt your secrets: + +```bash +npx @dotenvx/dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "" -f supabase/.env.preview +``` + +This creates a new encryption key in `supabase/.env.preview` and a new decryption key in `supabase/.env.keys`. + +2. Update project secrets: + +```bash +npx supabase secrets set --env-file supabase/.env.keys +``` + +3. Choose your configuration approach in `config.toml`: + +Option A: Use encrypted values directly: + +```toml +[auth.external.github] +enabled = true +secret = "encrypted:" +``` + +Option B: Use environment variables: + +```toml +[auth.external.github] +enabled = true +client_id = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_CLIENT_ID)" +secret = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET)" +``` + + + +The `encrypted:` syntax only works for designated "secret" fields in the configuration (like `secret` in auth providers). Using encrypted values in other fields will not be automatically decrypted and may cause issues. For non-secret fields, use environment variables with the `env()` syntax instead. + + + +#### Using with preview branches + +When you commit your `.env.preview` file with encrypted values, the branching executor will automatically retrieve and use these values when deploying your branch. This allows you to maintain different configurations for different branches while keeping sensitive information secure. + +## Configuration examples + +### Multi-environment setup + +Here's an example of a complete multi-environment configuration: + +```toml +# Default configuration for all branches +[api] +enabled = true +port = 54321 +schemas = ["public", "storage", "graphql_public"] + +[db] +port = 54322 +pool_size = 10 + +# Staging-specific configuration +[remotes.staging] +project_id = "staging-project-ref" + +[remotes.staging.api] +max_rows = 1000 + +[remotes.staging.db.seed] +sql_paths = ["./seeds/staging.sql"] + +# Production-specific configuration +[remotes.production] +project_id = "prod-project-ref" + +[remotes.production.api] +max_rows = 500 + +[remotes.production.db] +pool_size = 25 +``` + +### Feature branch configuration + +For feature branches that need specific settings: + +```toml +[remotes.feature-oauth] +project_id = "feature-branch-ref" + +[remotes.feature-oauth.auth.external.google] +enabled = true +client_id = "env(GOOGLE_CLIENT_ID)" +secret = "env(GOOGLE_CLIENT_SECRET)" +``` + +## Next steps + +- Explore [branching integrations](/docs/guides/deployment/branching/integrations) +- Learn about [troubleshooting branches](/docs/guides/deployment/branching/troubleshooting) +- Review [branching pricing](/docs/guides/deployment/branching/pricing) diff --git a/apps/docs/content/guides/deployment/branching/github-integration.mdx b/apps/docs/content/guides/deployment/branching/github-integration.mdx new file mode 100644 index 00000000000..661730e0521 --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/github-integration.mdx @@ -0,0 +1,102 @@ +--- +title: 'GitHub integration' +subtitle: 'Connect with GitHub to sync branches with your repository' +--- + +Supabase Branching uses the Supabase GitHub integration to read files from your GitHub repository. With this integration, Supabase watches all commits, branches, and pull requests of your GitHub repository. + +## Installation + +In the Supabase Dashboard: + +1. Go to **Project Settings** > [**Integrations**](/dashboard/project/_/settings/integrations). +2. Under **GitHub Integration**, click **Authorize GitHub**. +3. You are redirected to a GitHub authorization page. Click **Authorize Supabase**. +4. You are redirected back to the Integrations page. Choose a GitHub repository to connect your project to. +5. Fill in the relative path to the Supabase directory from your repository root. +6. Configure the other options as needed to automate your GitHub connection. +7. Click **Enable integration**. + +## Syncing GitHub branches + +Enable the **Automatic branching** option in your GitHub Integration configuration to automatically sync GitHub branches with Supabase branches. + +When a new branch is created in GitHub, a corresponding branch is created in Supabase. (You can enable the **Supabase changes only** option to only create Supabase branches when Supabase files change.) + +### Configuration + +You can test configuration changes on your Preview Branch by configuring the `config.toml` file in your Supabase directory. See the [Configuration docs](/docs/guides/deployment/branching/configuration) for more information. + +A comment is added to your PR with the deployment status of your preview branch. + +### Migrations + +The migrations in the `migrations` subdirectory of your Supabase directory are automatically run. + +### Seeding + +No production data is copied to your Preview branch. This is meant to protect your sensitive production data. + +You can seed your Preview Branch with sample data using the `seed.sql` file in your Supabase directory. See the [Seeding docs](/docs/guides/local-development/seeding-your-database) for more information. + +Data changes in your seed files are not merged to production. + +## Deploying changes to production + +Enable the **Deploy to production** option in your GitHub Integration configuration to automatically deploy changes when you push or merge to production branch. + +The following changes are deployed: + +- New migrations are applied +- Edge Functions declared in `config.toml` are deployed +- Storage buckets declared in `config.toml` are deployed + +All other configurations, including API, Auth, and seed files, are ignored by default. + +## Preventing migration failures + +We highly recommend turning on a 'required check' for the Supabase integration. You can do this from your GitHub repository settings. This prevents PRs from being merged when migration checks fail, and stops invalid migrations from being merged into your production branch. + +Check the "Require status checks to pass before merging" option. + +### Email notifications + +To catch failures early, we also recommend subscribing to email notifications on your branch. Common errors include migration conflict, function deployment failure, or invalid configuration file. + +You can setup a custom GitHub Action to monitor the status of any Supabase Branch. + +```yaml name=.github/workflows/notify-failure.yaml +name: Branch Status + +on: + pull_request: + types: + - opened + - reopened + - synchronize + branches: + - main + - develop + paths: + - 'supabase/**' + +jobs: + failed: + runs-on: ubuntu-latest + steps: + - uses: fountainhead/action-wait-for-check@v1.2.0 + id: check + with: + checkName: Supabase Preview + ref: ${{ github.event.pull_request.head.sha || github.sha }} + token: ${{ secrets.GITHUB_TOKEN }} + + - if: ${{ steps.check.outputs.conclusion == 'failure' }} + run: exit 1 +``` diff --git a/apps/docs/content/guides/deployment/branching/integrations.mdx b/apps/docs/content/guides/deployment/branching/integrations.mdx new file mode 100644 index 00000000000..e1d89e75a9b --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/integrations.mdx @@ -0,0 +1,30 @@ +--- +title: 'Integrations' +description: 'Use Supabase branching with hosting providers and other tools.' +subtitle: 'Use Supabase branching with hosting providers and other tools' +--- + +Branching works with hosting providers that support preview deployments. Learn how to integrate Supabase branching with various platforms and tools. + +## Hosting providers + +With the Supabase branching integration, you can sync the Git branch used by the hosting provider with the corresponding Supabase preview branch. This means that the preview deployment built by your hosting provider is matched to the correct database schema, edge functions, and other Supabase configurations. + +### Vercel + +Install the Vercel integration: + +- From the [Vercel marketplace](https://vercel.com/integrations/supabase) or +- By clicking the blue `Deploy` button in a Supabase example app's `README` file + + + +For branching to work with Vercel, you also need the [Vercel GitHub integration](https://vercel.com/docs/deployments/git/vercel-for-github). + + + +And make sure you have [connected](/dashboard/org/_/integrations) your Supabase project to your Vercel project. + +Supabase automatically updates your Vercel project with the correct environment variables for the corresponding preview branches. The synchronization happens at the time of Pull Request being opened, not at the time of branch creation. + +As branching integration is tied to the Preview Deployments feature in Vercel, there are possible race conditions between Supabase setting correct variables, and Vercel running a deployment process. Because of that, Supabase is always automatically re-deploying the most recent deployment of the given pull request. diff --git a/apps/docs/content/guides/deployment/branching/troubleshooting.mdx b/apps/docs/content/guides/deployment/branching/troubleshooting.mdx new file mode 100644 index 00000000000..a5c2a2f2362 --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/troubleshooting.mdx @@ -0,0 +1,169 @@ +--- +title: 'Troubleshooting' +description: 'Common issues and solutions for Supabase branching.' +subtitle: 'Common issues and solutions for Supabase branching' +--- + +This guide covers common issues you might encounter when using Supabase branching and how to resolve them. + +## Common issues + +### Rolling back migrations + +You might want to roll back changes you've made in an earlier migration change. For example, you may have pushed a migration file containing schema changes you no longer want. + +To fix this, push the latest changes, then delete the preview branch in Supabase and reopen it. + +The new preview branch is reseeded from the `./supabase/seed.sql` file by default. Any additional data changes made on the old preview branch are lost. This is equivalent to running `supabase db reset` locally. All migrations are rerun in sequential order. + +### Deployment failures + +A deployment might fail for various reasons, including invalid SQL statements and schema conflicts in migrations, errors within the `config.toml` config, or something else. + +To check the error message, see the Supabase workflow run for your branch under the [View logs](/dashboard/project/_/branches) section. + +### Network restrictions + +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` + +Network restrictions to allow connections from branching cluster + +### Schema drift between preview branches + +If multiple preview branches exist, each preview branch might contain different schema changes. This is similar to Git branches, where each branch might contain different code changes. + +When a preview branch is merged into the production branch, it creates a schema drift between the production branch and the preview branches that haven't been merged yet. + +These conflicts can be resolved in the same way as normal Git Conflicts: merge or rebase from the production Git branch to the preview Git branch. Since migrations are applied sequentially, ensure that migration files are timestamped correctly after the rebase. Changes that build on top of earlier changes should always have later timestamps. + +### Changing production branch + +It's not possible to change the Git branch used as the Production branch for Supabase Branching. The only way to change it is to disable and re-enable branching. See [Disable Branching](#disable-branching). + +## Migration issues + +### Failed migrations + +When migrations fail, check: + +1. **SQL syntax**: Ensure your migration files contain valid SQL +2. **Dependencies**: Check if migrations depend on objects that don't exist +3. **Permissions**: Verify the migration doesn't require superuser privileges + +To debug: + +```bash +# Test migrations locally first +supabase db reset + +# Check migration logs in the dashboard +# Navigate to Branches > Your Branch > View Logs +``` + +### Migration order problems + +Migrations must run in the correct order. Common issues: + +1. **Timestamp conflicts**: Ensure migration files have unique timestamps +2. **Dependency issues**: Later migrations depending on earlier ones +3. **Rebase problems**: Timestamps getting out of order after Git rebase + +Fix by: + +```bash +# Rename migration files to fix timestamp order +mv 20240101000000_old.sql 20240102000000_old.sql + +# Reset local database to test +supabase db reset +``` + +## Connection issues + +### Cannot connect to preview branch + +If you can't connect to a preview branch: + +1. **Check credentials**: Ensure you're using the correct branch-specific credentials +2. **Auto-pause**: The branch might be paused. It will resume on the first request +3. **Network restrictions**: Check if network restrictions are blocking access + +### Connection timeouts + +Preview branches auto-pause after inactivity. First connections after pause may timeout: + +1. **Retry**: The branch will wake up after the first request +2. **Persistent branches**: Convert frequently-used branches to persistent + +## Configuration problems + +### Config.toml not applying + +If configuration changes aren't applying: + +1. **Syntax errors**: Validate your `config.toml` syntax +2. **Git sync**: Ensure changes are committed and pushed +3. **Branch refresh**: Try deleting and recreating the branch + +### Secrets not available + +If secrets aren't working in your branch: + +1. **Branch-specific**: Remember secrets are set per branch +2. **Syntax**: Use correct syntax: `env(SECRET_NAME)` +3. **CLI version**: Ensure you're using the latest CLI version + +## Performance issues + +### Slow branch creation + +Branch creation might be slow due to: + +1. **Large migrations**: Many or complex migration files +2. **Seed data**: Large seed files take time to process +3. **Network latency**: Geographic distance from the branch region + +### Query performance + +Preview branches may have different performance characteristics: + +1. **Cold starts**: First queries after auto-pause are slower +2. **Resource limits**: Preview branches have different resource allocations +3. **Indexing**: Ensure proper indexes exist in your migrations + +## Data issues + +### Seed data not loading + +If seed data isn't loading: + +1. **File location**: Ensure `seed.sql` is in `./supabase/` directory +2. **SQL errors**: Check for syntax errors in seed file +3. **Dependencies**: Seed data might reference non-existent tables + +### Data persistence + +Remember that preview branch data: + +1. **Is temporary**: Data is lost when branch is deleted +2. **Isn't migrated**: Data doesn't move between branches +3. **Resets on recreation**: Deleting and recreating branch loses data + +## Getting help + +If you're still experiencing issues: + +1. **Check logs**: Review branch logs in the dashboard +2. **Community**: Ask in [GitHub discussions](https://github.com/orgs/supabase/discussions/18937) +3. **Support**: Contact support for project-specific issues +4. **Documentation**: Review the latest documentation for updates diff --git a/apps/docs/content/guides/deployment/branching/working-with-branches.mdx b/apps/docs/content/guides/deployment/branching/working-with-branches.mdx new file mode 100644 index 00000000000..f04727d7504 --- /dev/null +++ b/apps/docs/content/guides/deployment/branching/working-with-branches.mdx @@ -0,0 +1,128 @@ +--- +title: 'Working with branches' +description: 'Learn how to develop and manage your Supabase branches.' +subtitle: 'Learn how to develop and manage your Supabase branches' +--- + +This guide covers how to work with Supabase branches effectively, including migration management, seeding behavior, and development workflows. + +## Migration and seeding behavior + +Migrations are run in sequential order. Each migration builds upon the previous one. + +The preview branch has a record of which migrations have been applied, and only applies new migrations for each commit. This can create an issue when rolling back migrations. + +### Using ORM or custom seed scripts + +If you want to use your own ORM for managing migrations and seed scripts, you will need to run them in GitHub Actions after the preview branch is ready. The branch credentials can be fetched using the following example GHA workflow. + +```yaml name=.github/workflows/custom-orm.yaml +name: Custom ORM + +on: + pull_request: + types: + - opened + - reopened + - synchronize + branches: + - main + paths: + - 'supabase/**' + +jobs: + wait: + runs-on: ubuntu-latest + outputs: + status: ${{ steps.check.outputs.conclusion }} + steps: + - uses: fountainhead/action-wait-for-check@v1.2.0 + id: check + with: + checkName: Supabase Preview + ref: ${{ github.event.pull_request.head.sha || github.sha }} + token: ${{ secrets.GITHUB_TOKEN }} + + migrate: + needs: + - wait + if: ${{ needs.wait.outputs.status == 'success' }} + runs-on: ubuntu-latest + steps: + - uses: supabase/setup-cli@v1 + with: + version: latest + - run: supabase --experimental branches get "$GITHUB_HEAD_REF" -o env >> $GITHUB_ENV + - name: Custom ORM migration + run: psql "$POSTGRES_URL_NON_POOLING" -c 'select 1' +``` + +### Rolling back migrations + +You might want to roll back changes you've made in an earlier migration change. For example, you may have pushed a migration file containing schema changes you no longer want. + +To fix this, push the latest changes, then delete the preview branch in Supabase and reopen it. + +The new preview branch is reseeded from the `./supabase/seed.sql` file by default. Any additional data changes made on the old preview branch are lost. This is equivalent to running `supabase db reset` locally. All migrations are rerun in sequential order. + +### Seeding behavior + +Your Preview Branches are seeded with sample data using the same as [local seeding behavior](/docs/guides/local-development/seeding-your-database). + +The database is only seeded once, when the preview branch is created. To rerun seeding, delete the preview branch and recreate it by closing, and reopening your pull request. + +## Developing with branches + +You can develop with branches using either local or remote development workflows. + +### Local development workflow + +1. Create a new Git branch for your feature +2. Make schema changes using the Supabase CLI +3. Generate migration files with `supabase db diff` +4. Test your changes locally +5. Commit and push to GitHub +6. Open a pull request to create a preview branch + +### Remote development workflow + +1. Create a preview branch in the Supabase dashboard +2. Switch to the branch using the branch dropdown +3. Make schema changes in the dashboard +4. Pull changes locally using `supabase db pull` +5. Commit the generated migration files +6. Push to your Git repository + +## Managing branch environments + +### Switching between branches + +Use the branch dropdown in the Supabase dashboard to switch between different branches. Each branch has its own: + +- Database instance +- API endpoints +- Authentication settings +- Storage buckets + +### Accessing branch credentials + +Each branch has unique credentials that you can find in the dashboard: + +1. Switch to your desired branch +2. Navigate to Settings > API +3. Copy the branch-specific URLs and keys + +### Branch isolation + +Branches are completely isolated from each other. Changes made in one branch don't affect others, including: + +- Database schema and data +- Storage objects +- Edge Functions +- Auth configurations + +## Next steps + +- Learn about [branch configuration](/docs/guides/deployment/branching/configuration) +- Explore [integrations](/docs/guides/deployment/branching/integrations) +- Review [troubleshooting guide](/docs/guides/deployment/branching/troubleshooting) diff --git a/apps/docs/content/guides/local-development.mdx b/apps/docs/content/guides/local-development.mdx index 7ea2ec792e1..e8ba56d4654 100644 --- a/apps/docs/content/guides/local-development.mdx +++ b/apps/docs/content/guides/local-development.mdx @@ -27,6 +27,12 @@ Develop locally while running the Supabase stack on your machine. pnpm add supabase --save-dev --allow-build=supabase ``` + + + The `--allow-build=supabase` flag is required on pnpm version 10 or higher. If you're using an older version of pnpm, omit this flag. + + + ```sh diff --git a/apps/docs/content/guides/local-development/declarative-database-schemas.mdx b/apps/docs/content/guides/local-development/declarative-database-schemas.mdx index bc71dc34edf..bcbacbe281a 100644 --- a/apps/docs/content/guides/local-development/declarative-database-schemas.mdx +++ b/apps/docs/content/guides/local-development/declarative-database-schemas.mdx @@ -42,12 +42,6 @@ create table "employees" ( - - -Make sure your local database is stopped before diffing your schema. - - - diff --git a/apps/docs/content/guides/platform/org-mfa-enforcement.mdx b/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx similarity index 93% rename from apps/docs/content/guides/platform/org-mfa-enforcement.mdx rename to apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx index 6f5a3b95bc9..3fd7a1ff4ec 100644 --- a/apps/docs/content/guides/platform/org-mfa-enforcement.mdx +++ b/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx @@ -9,8 +9,6 @@ Supabase provides multi-factor authentication (MFA) enforcement on the organizat MFA enforcement is only available on the [Pro, Team and Enterprise plans](https://supabase.com/pricing). -This feature is currently in limited preview. If you would like to opt-in to try it, contact support. -
## Manage MFA enforcement diff --git a/apps/docs/content/guides/platform/privatelink.mdx b/apps/docs/content/guides/platform/privatelink.mdx index a20f129cdfe..9cd13f47579 100644 --- a/apps/docs/content/guides/platform/privatelink.mdx +++ b/apps/docs/content/guides/platform/privatelink.mdx @@ -35,33 +35,122 @@ To use PrivateLink with your Supabase project: - AWS VPC in the same region as your Supabase project - Appropriate permissions to accept Resource Shares, and create and manage endpoints - - -PrivateLink connections are region-specific. Your VPC and Supabase project must be in the same AWS region to establish the connection. - - - ## Getting started -PrivateLink setup requires coordination between your team and Supabase. The process involves sharing your AWS Account ID(s) and accepting a Resource Share. +#### Step 1: Contact Supabase support -### Setup process +Reach out to your Enterprise account manager or [contact our team](https://supabase.com/contact/enterprise) to initiate PrivateLink setup. During this initial contact, be prepared to provide: -1. **Contact Supabase Support**: Reach out to your Enterprise account manager or [contact our team](https://supabase.com/contact/enterprise) to initiate PrivateLink setup -2. **Provide AWS Account Details**: Share your AWS Account ID(s) with our team. Optionally specify which Supabase projects you want to enable (otherwise all projects in your organization will be included) -3. **Accept Resource Share**: Supabase will send you an AWS Resource Share containing the VPC Lattice Resource Configurations for your projects. Accept this share from your AWS console -4. **Create Connection**: In your AWS account, either [create a PrivateLink endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-access-resources.html) or [attach the Resource Configuration](https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html) to an existing VPC Lattice Service Network -5. **Test Connectivity**: Verify the private connection is working correctly from your VPC -6. **Update Applications**: Configure your applications to use the private connection details -7. **Disable Public Connectivity**: Optionally, disable public internet access for your database to enforce private-only connectivity +- Your Supabase organization slug +- The specific projects you want to enable PrivateLink for (optional) +- Your AWS Account ID(s) -### DNS and connectivity +#### Step 2: Accept resource share -Once PrivateLink is configured: +Supabase will send you an AWS Resource Share containing the VPC Lattice Resource Configurations for your projects. To accept this share: -- You may configure a custom DNS record to point to your PrivateLink endpoint interface or the endpoints on.aws DNS record within your VPC -- Applications will need to be updated to use the PrivateLink endpoint -- Standard database monitoring and observability tools will continue to work through the private connection +1. Login to your AWS Management Console, ensure you are in the AWS region where your Supabase project is located +2. Navigate to the AWS Resource Access Manager (RAM) console + {/* supa-mdx-lint-disable-next-line Rule004ExcludeWords */} +3. Go to [Shared with me > Resource shares](https://console.aws.amazon.com/ram/home#SharedResourceShares) +4. Locate the resource share from Supabase. + - The resource share will have the format `cust-prod-[region]-pl-[organisation]-rc-share` +5. Click on the resource share name to view details. Review the list of resource shares - it should only include resources of type vpc-lattice:ResourceConfiguration. +6. Click **Accept resource share** +7. Confirm the acceptance in the dialog box + +{/* supa-mdx-lint-disable-next-line Rule004ExcludeWords */} +After accepting, you'll see the resource configurations appear in your [Shared with me > Shared resources](https://console.aws.amazon.com/ram/home#SharedResources) section of the RAM console and the [PrivateLink and Lattice > Resource configurations](https://console.aws.amazon.com/vpcconsole/home#ResourceConfigs) section of the VPC console. + +#### Step 3: Configure security groups + +Ensure your security groups allow traffic on the appropriate ports: + +1. Navigate to the [VPC console > Security Groups](https://console.aws.amazon.com/vpcconsole/home#SecurityGroups:) +2. Create a new security group for the endpoint or service network by clicking [Create security group](https://console.aws.amazon.com/vpcconsole/home#CreateSecurityGroup:) +3. Give your security group a descriptive name and select the appropriate VPC +4. Add an inbound rule for: + - Type: Postgres (TCP, port 5432) + - Destination that is appropriate for your network. i.e. the subnet of your VPC or security group of your application instances +5. Finish creating the security group by clicking **Create security group** + +#### Step 4: Create connection + +In your AWS account, you have two options to establish connectivity: + +##### Option A: Create a PrivateLink endpoint + +1. Navigate to the VPC console in your AWS account +2. Go to [Endpoints](https://console.aws.amazon.com/vpcconsole/home#Endpoints:) in the left sidebar +3. Click [Create endpoint](https://console.aws.amazon.com/vpcconsole/home#CreateVpcEndpoint:) +4. Give your endpoint a name (e.g. `supabase-privatelink-[project name]`) +5. Under Type, select **Resources** +6. In the **Resource configurations** section select the appropriate resource configuration + - The resource configuration name will be in the format `[organisation]-[project-ref]-rc` +7. Select your VPC from the dropdown. This should match the VPC you selected for your security group in Step 3 +8. Enable the **Enable DNS name** option if you want to use a DNS record instead of the endpoints IP address(es) +9. Choose the appropriate subnets for your network + - AWS will provision a private ENI for you in each selected subnet + - IP address type should be set to IPv4 +10. Choose the security group you created in Step 3. +11. Click **Create endpoint** +12. After creation, you will see the endpoint in the [Endpoints](https://console.aws.amazon.com/vpcconsole/home#Endpoints:) section with a status of "Available" +13. For connectivity: + - The IP addresses of the endpoint will be listed in the **Subnets** section of the endpoint details + - The DNS record will be in the **Associations** section of the endpoint details in the **DNS Name** field if you enabled it in step 8 + +##### Option B: Attach resource configuration to an existing VPC lattice service network + +1. **This method is only recommended if you have an existing VPC Lattice Service Network** +2. Navigate to the VPC Lattice console in your AWS account +3. Go to [Service networks](https://console.aws.amazon.com/vpcconsole/home#ServiceNetworks) in the left sidebar and select your service network +4. In the service network details, go to the **Resource configuration associations** tab +5. Click **Create associations** +6. Select the appropriate **Resource configuration** from the dropdown +7. Click **Save changes** +8. After creation, you will see the resource configuration in the Resource configurations section of your service network with the status "Active" +9. For connectivity, click on the association details and the domain name will be listed in the **DNS entries** section + +#### Step 5: Test connectivity + +Verify the private connection is working correctly from your VPC: + +1. Launch an EC2 instance or use an existing instance in your VPC +2. Install a Postgres client (e.g., `psql`) +3. Test the connection using the private endpoint: + +```bash +psql "postgresql://[username]:[password]@[private-endpoint]:5432/postgres" +``` + +You should see a successful connection without any public internet traffic. + +#### Step 6: Update applications + +Configure your applications to use the private connection details: + +1. Update your database connection strings to use the private endpoint hostname +2. Ensure your application instances are in the same VPC or connected VPCs +3. Update any database connection pooling configurations +4. Test application connectivity thoroughly + +Example connection string update: + +``` +# Before (public) +postgresql://user:pass@db.[project-ref].supabase.co:5432/postgres + +# After (private) +postgresql://user:pass@your-private-endpoint.vpce.amazonaws.com:5432/postgres +``` + +#### Step 8: Disable public connectivity (optional) + +For maximum security, you can disable public internet access for your database: + +1. Contact Supabase support to disable public connectivity +2. Ensure all applications are successfully using the private connection +3. Update any monitoring or backup tools to use the private endpoint ## Alpha limitations @@ -72,20 +161,10 @@ During the alpha phase: ## Compatibility -The PrivateLink endpoint behaves like a standard Postgres endpoint, allowing you to connect using: +The PrivateLink endpoint is a layer 3 solution so behaves like a standard Postgres endpoint, allowing you to connect using: - Direct Postgres connections using standard tools - Third-party database tools and ORMs (with the appropriate routing) -- (PgBouncer Projects Only) Directly to the pooler. - -## Use cases - -PrivateLink is ideal for organizations requiring: - -- **Regulatory Compliance**: Meeting strict data governance requirements that mandate private network connectivity -- **Enhanced Security**: Eliminating public internet exposure for sensitive database workloads -- **Corporate Policies**: Adhering to enterprise security policies that prohibit database connections over public networks -- **Performance Optimization**: Benefiting from reduced latency through AWS's private network infrastructure ## Next steps diff --git a/apps/docs/content/guides/realtime/authorization.mdx b/apps/docs/content/guides/realtime/authorization.mdx index 3dce5b919f7..66c854efcb7 100644 --- a/apps/docs/content/guides/realtime/authorization.mdx +++ b/apps/docs/content/guides/realtime/authorization.mdx @@ -18,6 +18,12 @@ Realtime Authorization is in Public Beta. To use Authorization for your Realtime + + +To enforce private channels you need to disable the 'Allow public access' setting in [Realtime Settings](https://supabase.com/dashboard/project/_?featurePreviewModal=supabase-ui-realtime-settings) + + + ## How it works Realtime uses the `messages` table in your database's `realtime` schema to generate access policies for your clients when they connect to a Channel topic. diff --git a/apps/docs/content/guides/realtime/concepts.mdx b/apps/docs/content/guides/realtime/concepts.mdx index 867a53f4a05..79ea841817d 100644 --- a/apps/docs/content/guides/realtime/concepts.mdx +++ b/apps/docs/content/guides/realtime/concepts.mdx @@ -26,6 +26,18 @@ const supabase = createClient('https://.supabase.co', '' const roomOne = supabase.channel('room-one') // set your topic here ``` +## Authorization + +Authorization is done via RLS policies against the table `realtime.messages` which will determine if a user can connect to a Channel and if they are allowed to send messages to a Channel. + +By default, channels are public and you need to set that you want to use a private channel. + +```js +import { createClient } from '@supabase/supabase-js' +const supabase = createClient('https://.supabase.co', '') +const roomOne = supabase.channel('private-room-one', { config: { private: true } }) +``` + ## Broadcast Realtime Broadcast follows the [publish-subscribe pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) where a client publishes messages to a channel based on a unique topic. For example, a user could send a message to a channel with topic `room-one`. @@ -45,6 +57,8 @@ 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. + An example use-case is sharing a user's cursor position with other clients in an online game. ## Presence @@ -93,6 +107,36 @@ Anyone with access to a valid JWT signed with the project's JWT secret is able t Clients can choose to receive `INSERT`, `UPDATE`, `DELETE`, or `*` (all) changes for all changes in a schema, a table in a schema, or a column's value in a table. Your clients should only listen to tables in the `public` schema and you must first enable the tables you want your clients to listen to. +## Settings + + + +Realtime settings are currently under Feature Preview section in the dashboard. + + + +Usage page navigation bar + +You can set the following settings using the Realtime Settings screen in your Dashboard: + +- Channel Restrictions: You can toggle this settings to set Realtime to allow public channels or set it to use only private channels with [Realtime Authorization](/docs/content/guides/realtime/authorization). +- Database connection pool size: Determines the number of connections used for Realtime Authorization RLS checking + {/* supa-mdx-lint-disable-next-line Rule004ExcludeWords */} +- Max concurrent clients: Determines the maximum number of clients that can be connected + +All changes made in this screen will disconnect all your connected clients to ensure Realtime starts with the appropriate settings and all changes are stored in Supabase middleware. + +## Choosing between Broadcast and Postgres Changes for database changes + +We recommend using Broadcast by default and using Broadcast from Database specifically as it will allow you to scale your application compared to Postgres Changes. + ## Choosing between Broadcast and Presence We recommend using Broadcast by default, and then Presence when required. Presence utilizes an in-memory conflict-free replicated data type (CRDT) to track and synchronize shared state in an eventually consistent manner. It computes the difference between existing state and new state changes and sends the necessary updates to clients via Broadcast. This is computationally heavy, so you should use it sparingly. If you use Presence, it's best to throttle your changes so that you are sending updates less frequently. diff --git a/apps/docs/content/guides/security.mdx b/apps/docs/content/guides/security.mdx index 6d7e4cb7356..f798002bb9c 100644 --- a/apps/docs/content/guides/security.mdx +++ b/apps/docs/content/guides/security.mdx @@ -17,6 +17,12 @@ The [HIPAA Compliance Guide](/docs/guides/security/hipaa-compliance) explains Su # Platform configuration +As a hosted platform, Supabase provides additional security controls to further enhance the security posture depending on organizations' own requirements or obligations. + +These can be found under the [dedicated security page](https://supabase.com/dashboard/org/_/security) under organization settings. And are described in greater detail [here](/docs/guides/security/platform-security). + +# Product configuration + Each product offered by Supabase comes with customizable security controls and these security controls help ensure that applications built on Supabase are secure, compliant, and resilient against various threats. The [security configuration guides](/docs/guides/security/product-security) provide detailed information for configuring individual products. diff --git a/apps/docs/content/guides/security/platform-security.mdx b/apps/docs/content/guides/security/platform-security.mdx new file mode 100644 index 00000000000..8fee881ff3f --- /dev/null +++ b/apps/docs/content/guides/security/platform-security.mdx @@ -0,0 +1,66 @@ +--- +id: 'platform-security' +title: 'Secure configuration of Supabase platform' +description: 'Supabase provides a secure yet flexible platform. Here is how to adjust various security settings across the platform.' +--- + +The Supabase hosted platform provides a secure by default configuration. Some organizations may however require further security controls to meet their own security policies or compliance requirements. + +Access to additional security controls can be found under the [security tab](https://supabase.com/dashboard/org/_/security) for organizations. + +## Available controls + + + +Additional security controls are under active development. Any changes will be published here and +in our [changelog](https://supabase.com/changelog). + + + +### Enforce multi-factor authentication (MFA) + +Organization owners can choose to enforce MFA for all team members. + +For configuration information, see [Enforce MFA on Organization](/docs/guides/platform/mfa/org-mfa-enforcement) + +### SSO for organizations + +Supabase offers single sign-on (SSO) as a login option to provide additional account security for your team. This allows company administrators to enforce the use of an identity provider when logging into Supabase. + +For configuration information, see [Enable SSO for Your Organization](/docs/guides/platform/sso). + +### Postgres SSL enforcement + +Supabase projects support connecting to the Postgres DB without SSL enforced to maximize client compatibility. For increased security, you can prevent clients from connecting if they're not using SSL. + +For configuration information, see [Postgres SSL Enforcement](/docs/guides/platform/ssl-enforcement) + + + + Controlling this at the organization level is on our roadmap. + + + +### Network restrictions + +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 the database. If a connection is not restricted by IP, it still needs to authenticate successfully with valid database credentials. + +For configuration information, see [Network Restrictions](/docs/guides/platform/network-restrictions) + + + + Controlling this at the organization level is on our roadmap. + + + +### PrivateLink + +PrivateLink provides enterprise-grade private network connectivity between your AWS VPC and your Supabase database using AWS VPC Lattice. This eliminates exposure to the public internet by creating a secure, private connection that keeps your database traffic within the AWS network backbone. + +For configuration information, see [PrivateLink](/docs/guides/platform/privatelink) + + + +PrivateLink is currently in alpha and available exclusively to Enterprise customers. + + diff --git a/apps/docs/content/guides/security/product-security.mdx b/apps/docs/content/guides/security/product-security.mdx index 006d5658374..2c46fe215b4 100644 --- a/apps/docs/content/guides/security/product-security.mdx +++ b/apps/docs/content/guides/security/product-security.mdx @@ -1,7 +1,7 @@ --- id: 'product-security' title: 'Secure configuration of Supabase products' -description: 'Supabase provides a secure yet flexible platform. Here is how to adjust various security settings across the platform.' +description: 'Supabase provides a secure yet flexible set of products. Here is how to adjust various security settings across the various products.' --- The Supabase [production checklist](/docs/guides/deployment/going-into-prod) provides detailed advice on preparing an app for production. While our [SOC 2](/docs/guides/security/soc-2-compliance) and [HIPAA](/docs/guides/security/hipaa-compliance) compliance documents outline the roles and responsibilities for building a secure and compliant app. 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 new file mode 100644 index 00000000000..a3d193e0ecf --- /dev/null +++ b/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx @@ -0,0 +1,187 @@ +--- +title: 'Connecting to Analytics Buckets' +--- + + + +This feature is in **Private Alpha**. API stability and backward compatibility are not guaranteed at this stage. Reach out from this [Form](https://forms.supabase.com/analytics-buckets) to request access + + + +When interacting with Analytics Buckets, you authenticate against two main services - the Iceberg REST Catalog and the S3-Compatible Storage Endpoint. + +The **Iceberg REST Catalog** acts as the central management system for Iceberg tables. It allows Iceberg clients, such as PyIceberg and Apache Spark, to perform metadata operations including: + +- Creating and managing tables and namespaces +- Tracking schemas and handling schema evolution +- Managing partitions and snapshots +- Ensuring transactional consistency and isolation + +The REST Catalog itself does not store the actual data. Instead, it stores metadata describing the structure, schema, and partitioning strategy of Iceberg tables. + +Actual data storage and retrieval operations occur through the separate S3-compatible endpoint, optimized for reading and writing large analytical datasets stored in Parquet files. + +## Authentication + +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. + +- 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) + +You will now have an **Access Key** and a **Secret Key** that you can use to authenticate your Iceberg client. + +## Connecting via PyIceberg + +PyIceberg is a Python client for Apache Iceberg, facilitating interaction with Iceberg Buckets. + +**Installation** + +```bash +pip install pyiceberg pyarrow +``` + +Here's a comprehensive example using PyIceberg with clearly separated configuration: + +```python +from pyiceberg.catalog import load_catalog +import pyarrow as pa +import datetime + +# Supabase project ref +PROJECT_REF = "" + +# Configuration for Iceberg REST Catalog +WAREHOUSE = "your-analytics-bucket-name" +TOKEN = "SERVICE_KEY" + +# Configuration for S3-Compatible Storage +S3_ACCESS_KEY = "KEY" +S3_SECRET_KEY = "SECRET" +S3_REGION = "PROJECT_REGION" + +S3_ENDPOINT = f"https://{PROJECT_REF}.supabase.co/storage/v1/s3" +CATALOG_URI = f"https://{PROJECT_REF}.supabase.co/storage/v1/iceberg" + +# Load the Iceberg catalog +catalog = load_catalog( + "analytics-bucket", + type="rest", + warehouse=WAREHOUSE, + uri=CATALOG_URI, + token=TOKEN, + **{ + "py-io-impl": "pyiceberg.io.pyarrow.PyArrowFileIO", + "s3.endpoint": S3_ENDPOINT, + "s3.access-key-id": S3_ACCESS_KEY, + "s3.secret-access-key": S3_SECRET_KEY, + "s3.region": S3_REGION, + "s3.force-virtual-addressing": False, + }, +) + +# Create namespace if it doesn't exist +catalog.create_namespace_if_not_exists("default") + +# Define schema for your Iceberg table +schema = pa.schema([ + pa.field("event_id", pa.int64()), + pa.field("event_name", pa.string()), + pa.field("event_timestamp", pa.timestamp("ms")), +]) + +# Create table (if it doesn't exist already) +table = catalog.create_table_if_not_exists(("default", "events"), schema=schema) + +# Generate and insert sample data +current_time = datetime.datetime.now() +data = pa.table({ + "event_id": [1, 2, 3], + "event_name": ["login", "logout", "purchase"], + "event_timestamp": [current_time, current_time, current_time], +}) + +# Append data to the Iceberg table +table.append(data) + +# Scan table and print data as pandas DataFrame +df = table.scan().to_pandas() +print(df) +``` + +## Connecting via Apache Spark + +Apache Spark allows distributed analytical queries against Iceberg Buckets. + +```python +from pyspark.sql import SparkSession + +# Supabase project ref +PROJECT_REF = "" + +# Configuration for Iceberg REST Catalog +WAREHOUSE = "your-analytics-bucket-name" +TOKEN = "SERVICE_KEY" + +# Configuration for S3-Compatible Storage +S3_ACCESS_KEY = "KEY" +S3_SECRET_KEY = "SECRET" +S3_REGION = "PROJECT_REGION" + +S3_ENDPOINT = f"https://{PROJECT_REF}.supabase.co/storage/v1/s3" +CATALOG_URI = f"https://{PROJECT_REF}.supabase.co/storage/v1/iceberg" + +# Initialize Spark session with Iceberg configuration +spark = SparkSession.builder \ + .master("local[*]") \ + .appName("SupabaseIceberg") \ + .config("spark.driver.host", "127.0.0.1") \ + .config("spark.driver.bindAddress", "127.0.0.1") \ + .config('spark.jars.packages', 'org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.6.1,org.apache.iceberg:iceberg-aws-bundle:1.6.1') \ + .config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions") \ + .config("spark.sql.catalog.my_catalog", "org.apache.iceberg.spark.SparkCatalog") \ + .config("spark.sql.catalog.my_catalog.type", "rest") \ + .config("spark.sql.catalog.my_catalog.uri", CATALOG_URI) \ + .config("spark.sql.catalog.my_catalog.warehouse", WAREHOUSE) \ + .config("spark.sql.catalog.my_catalog.token", TOKEN) \ + .config("spark.sql.catalog.my_catalog.s3.endpoint", S3_ENDPOINT) \ + .config("spark.sql.catalog.my_catalog.s3.path-style-access", "true") \ + .config("spark.sql.catalog.my_catalog.s3.access-key-id", S3_ACCESS_KEY) \ + .config("spark.sql.catalog.my_catalog.s3.secret-access-key", S3_SECRET_KEY) \ + .config("spark.sql.catalog.my_catalog.s3.remote-signing-enabled", "false") \ + .config("spark.sql.defaultCatalog", "my_catalog") \ + .getOrCreate() + +# SQL Operations +spark.sql("CREATE NAMESPACE IF NOT EXISTS analytics") + +spark.sql(""" + CREATE TABLE IF NOT EXISTS analytics.users ( + user_id BIGINT, + username STRING + ) + USING iceberg +""") + +spark.sql(""" + INSERT INTO analytics.users (user_id, username) + VALUES (1, 'Alice'), (2, 'Bob'), (3, 'Charlie') +""") + +result_df = spark.sql("SELECT * FROM analytics.users") +result_df.show() +``` + +## Connecting to the Iceberg REST Catalog directly + +To authenticate with the Iceberg REST Catalog directly, you need to provide a valid Supabase **Service key** as a Bearer token. + +``` +curl \ + --request GET -sL \ + --url 'https://.supabase.co/storage/v1/iceberg/v1/config?warehouse=' \ + --header 'Authorization: Bearer ' +``` diff --git a/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx b/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx new file mode 100644 index 00000000000..dd0093161d5 --- /dev/null +++ b/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx @@ -0,0 +1,38 @@ +--- +title: 'Creating Analytics Buckets' +subtitle: '' +--- + + + +This feature is in **Private Alpha**. API stability and backward compatibility are not guaranteed at this stage. Reach out from this [Form](https://forms.supabase.com/analytics-buckets) to request access + + + +Analytics Buckets use [Apache Iceberg](https://iceberg.apache.org/), an open-table format for managing large analytical datasets. +You can interact with them using tools such as [PyIceberg](https://py.iceberg.apache.org/), [Apache Spark](https://spark.apache.org/) or any client which supports the [standard Iceberg REST Catalog API](https://editor-next.swagger.io/?url=https://raw.githubusercontent.com/apache/iceberg/main/open-api/rest-catalog-open-api.yaml). + +You can create an Analytics Bucket using either the Supabase SDK or the Supabase Dashboard. + +### Using the Supabase SDK + +```ts +import { createClient } from '@supabase/supabase-js' + +const supabase = createClient('https://your-project.supabase.co', 'your-service-key') + +supabase.storage.createBucket('my-analytics-bucket', { + type: 'ANALYTICS', +}) +``` + +### Using the Supabase Dashboard + +1. Navigate to the Storage section in the Supabase Dashboard. +2. Click on "Create Bucket". +3. Enter a name for your bucket (e.g., my-analytics-bucket). +4. Select "Analytics Bucket" as the bucket type. + +Storage schema design + +Now, that you have created your Analytics Bucket, you can start [connecting to it](/docs/guides/storage/analytics/connecting-to-analytics-bucket) with Iceberg clients like PyIceberg or Apache Spark. diff --git a/apps/docs/content/guides/storage/analytics/introduction.mdx b/apps/docs/content/guides/storage/analytics/introduction.mdx new file mode 100644 index 00000000000..0f4249efe97 --- /dev/null +++ b/apps/docs/content/guides/storage/analytics/introduction.mdx @@ -0,0 +1,24 @@ +--- +title: 'Analytics Buckets' +subtitle: '' +--- + + + +This feature is in **Private Alpha**. API stability and backward compatibility are not guaranteed at this stage. Reach out from this [Form](https://forms.supabase.com/analytics-buckets) to request access + + + +**Analytics Buckets** are designed for analytical workflows on large datasets without impacting your main database. + +Postgres tables are optimized for handling real-time, transactional workloads with frequent inserts, updates, deletes and low-latency queries. **Analytical workloads** have very different requirements: processing large volumes of historical data, running complex queries and aggregations, minimizing storage costs, and ensuring these analytical queries do not interfere with the production traffic. + +**Analytics Buckets** address these requirements using [Apache Iceberg](https://iceberg.apache.org/), an open-table format for managing large analytical datasets efficiently. + +Analytics Buckets are ideal for +• Data warehousing and business intelligence +• Historical data archiving +• Periodically refreshed real-time analytics +• Complex analytical queries over large datasets + +By separating transactional and analytical workloads, Supabase makes it easy to build scalable analytics pipelines without impacting your primary Postgres performance. diff --git a/apps/docs/content/guides/storage/analytics/limits.mdx b/apps/docs/content/guides/storage/analytics/limits.mdx new file mode 100644 index 00000000000..0eac0b0f57c --- /dev/null +++ b/apps/docs/content/guides/storage/analytics/limits.mdx @@ -0,0 +1,23 @@ +--- +title: 'Analytics Buckets Limits' +subtitle: '' +--- + + + +This feature is in **Private Alpha**. API stability and backward compatibility are not guaranteed at this stage. Reach out from this [Form](https://forms.supabase.com/analytics-buckets) to request access + + + +The following default limits are applied when this feature is in the private alpha stage, they can be adjusted on a case-by-case basis: + +| **Category** | **Limit** | +| --------------------------------------- | --------- | +| Number of Analytics Buckets per project | 2 | +| Number of namespaces per bucket | 10 | +| Number of tables per namespace | 10 | + +## Pricing + +Analytics Buckets are Free to use during the Private Alpha phase, +however, you'll still be charged for the underlying egress. diff --git a/apps/docs/content/guides/telemetry/reports.mdx b/apps/docs/content/guides/telemetry/reports.mdx new file mode 100644 index 00000000000..34fbd117671 --- /dev/null +++ b/apps/docs/content/guides/telemetry/reports.mdx @@ -0,0 +1,309 @@ +--- +id: 'reports' +title: 'Reports' +description: 'Built-in observability for your Supabase project' +--- + +Supabase Reports provide comprehensive observability for your project through dedicated monitoring dashboards that visualize key metrics across your database, auth, storage, realtime, and API systems. Each report offers self-debugging tools to gain actionable insights for optimizing performance and troubleshooting issues. + + + +Reports are only available for projects hosted on the Supabase Cloud platform and are not available for self-hosted instances. + + + +## Using reports + +Reports can be filtered by time range to focus your analysis on specific periods. Available time ranges are gated by your organization's plan, with higher-tier plans providing access to longer historical periods. + +| Time Range | Free | Pro | Team | Enterprise | +| --------------- | ---- | --- | ---- | ---------- | +| Last 10 minutes | ✅ | ✅ | ✅ | ✅ | +| Last 30 minutes | ✅ | ✅ | ✅ | ✅ | +| Last 60 minutes | ✅ | ✅ | ✅ | ✅ | +| Last 3 hours | ✅ | ✅ | ✅ | ✅ | +| Last 24 hours | ✅ | ✅ | ✅ | ✅ | +| Last 7 days | ❌ | ✅ | ✅ | ✅ | +| Last 14 days | ❌ | ❌ | ✅ | ✅ | +| Last 28 days | ❌ | ❌ | ✅ | ✅ | + +--- + +## Database + +The Database report provides the most comprehensive view into your Postgres instance's health and performance characteristics. These charts help you identify performance bottlenecks, resource constraints, and optimization opportunities at a glance. + +The following charts are available for Free and Pro plans: + +| Chart | Available Plans | Description | Key Insights | +| ---------------------------- | --------------- | -------------------------------------------- | --------------------------------------------- | +| Memory usage | Free, Pro | RAM usage percentage by the database | Memory pressure and resource utilization | +| CPU usage | Free, Pro | Average CPU usage percentage | CPU-intensive query identification | +| Disk IOPS | Free, Pro | Read/write operations per second with limits | IO bottleneck detection and workload analysis | +| Database connections | Free, Pro | Number of pooler connections to the database | Connection pool monitoring | +| Shared Pooler connections | All | Client connections to the shared pooler | Shared pooler usage patterns | +| Dedicated Pooler connections | All | Client connections to PgBouncer | Dedicated pooler connection monitoring | + +{/* supa-mdx-lint-disable-next-line Rule001HeadingCase */} + +### Advanced Telemetry + +The following charts provide a more advanced and detailed view of your database performance and are available only for Teams and Enterprise plans. + +### Memory usage + +Memory usage chart + +| Component | Description | +| ------------------- | ------------------------------------------------------ | +| **Used** | RAM actively used by Postgres and the operating system | +| **Cache + buffers** | Memory used for page cache and Postgres buffers | +| **Free** | Available unallocated memory | + +How it helps debug issues: + +| Issue | Description | +| ------------------------------ | ------------------------------------------------ | +| Memory pressure detection | Identify when free memory is consistently low | +| Cache effectiveness monitoring | Monitor cache performance for query optimization | +| Memory leak detection | Detect inefficient memory usage patterns | + +Actions you can take: + +| Action | Description | +| ----------------------------------------------------------------------------------------------- | ---------------------------------------------- | +| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk#compute-size) | Increase available memory resources | +| Optimize queries | Reduce memory consumption of expensive queries | +| Tune Postgres configuration | Improve memory management settings | +| Implement application caching | Add query result caching to reduce memory load | + +### CPU usage + +CPU usage chart + +| Category | Description | +| ---------- | ------------------------------------------------ | +| **System** | CPU time for kernel operations | +| **User** | CPU time for database queries and user processes | +| **IOWait** | CPU time waiting for disk/network IO | +| **IRQs** | CPU time handling interrupts | +| **Other** | CPU time for miscellaneous tasks | + +How it helps debug issues: + +| Issue | Description | +| ---------------------------------- | -------------------------------------------------- | +| CPU-intensive query identification | Identify expensive queries when User CPU is high | +| IO bottleneck detection | Detect disk/network issues when IOWait is elevated | +| System overhead monitoring | Monitor resource contention and kernel overhead | + +Actions you can take: + +| Action | Description | +| -------------------------------------------------------------- | --------------------------------------------------------------------------- | +| Optimize CPU-intensive queries | Target queries causing high User CPU usage | +| Address IO bottlenecks | Resolve disk/network issues when IOWait is high | +| [Upgrade compute size](/docs/guides/platform/compute-and-disk) | Increase available CPU capacity | +| Implement proper indexing | Use [query optimization](/docs/guides/database/postgres/indexes) techniques | + +### Disk input/output operations per second (IOPS) + +Disk IOPS chart + +This chart displays read and write IOPS with a reference line showing your compute size's maximum IOPS capacity. + +How it helps debug issues: + +| Issue | Description | +| --------------------------------- | ---------------------------------------------------------------- | +| Disk IO bottleneck identification | Identify when disk IO becomes a performance constraint | +| Workload pattern analysis | Distinguish between read-heavy vs write-heavy operations | +| Performance correlation | Spot disk activity spikes that correlate with performance issues | + +Actions you can take: + +| Action | Description | +| ---------------------------------------------------------------------------------- | --------------------------------------------------------- | +| Optimize indexing | Reduce high read IOPS through better query indexing | +| Consider read replicas | Distribute read-heavy workloads across multiple instances | +| Batch write operations | Reduce write IOPS by grouping database writes | +| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances | + +### Disk IO Usage + +Disk IO Usage chart + +This chart displays the percentage of your allocated IOPS (Input/Output Operations Per Second) currently being used. + +How it helps debug issues: + +| Issue | Description | +| --------------------------- | ----------------------------------------------------------- | +| IOPS limit monitoring | Identify when approaching your allocated IOPS capacity | +| Performance correlation | Correlate high IO usage with application performance issues | +| Operation impact assessment | Monitor how database operations affect disk performance | + +Actions you can take: + +| Action | Description | +| ---------------------------------------------------------------------------------- | -------------------------------------------------- | +| Optimize disk-intensive queries | Reduce queries that perform excessive reads/writes | +| Add strategic indexes | Reduce sequential scans with appropriate indexing | +| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances | +| Review database design | Optimize schema and query patterns for efficiency | + +### Disk size + +Disk Size chart + +| Component | Description | +| ------------ | --------------------------------------------------------- | +| **Database** | Space used by your actual database data (tables, indexes) | +| **WAL** | Space used by Write-Ahead Logging | +| **System** | Reserved space for system operations | + +How it helps debug issues: + +| Issue | Description | +| ----------------------------- | ------------------------------------------- | +| Space consumption monitoring | Track disk usage trends over time | +| Growth pattern identification | Identify rapid growth requiring attention | +| Capacity planning | Plan upgrades before hitting storage limits | + +Actions you can take: + +| Action | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------- | +| Run [VACUUM](https://www.postgresql.org/docs/current/sql-vacuum.html) operations | Reclaim dead tuple space and optimize storage | +| Analyze large tables | Use CLI commands like `table-sizes` to identify optimization targets | +| Implement data archival | Archive historical data to reduce active storage needs | +| [Upgrade disk size](https://supabase.com/docs/guides/platform/database-size) | Increase storage capacity when approaching limits | + +### Database connections + +Database connections chart + +| Connection Type | Description | +| --------------- | ------------------------------------------------ | +| **Postgres** | Direct connections from your application | +| **PostgREST** | Connections from the PostgREST API layer | +| **Reserved** | Administrative connections for Supabase services | +| **Auth** | Connections from Supabase Auth service | +| **Storage** | Connections from Supabase Storage service | +| **Other roles** | Miscellaneous database connections | + +How it helps debug issues: + +| Issue | Description | +| ------------------------------- | ----------------------------------------------------------- | +| Connection pool exhaustion | Identify when approaching maximum connection limits | +| Connection leak detection | Spot applications not properly closing connections | +| Service distribution monitoring | Monitor connection usage across different Supabase services | + +Actions you can take: + +| Action | Description | +| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | +| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk#compute-size) | Increase maximum connection limits | +| Implement [connection pooling](https://supabase.com/docs/guides/database/connecting-to-postgres#shared-pooler) | Optimize connection management for high direct connection usage | +| Review application code | Ensure proper connection handling and cleanup | + +## Auth + +The Auth report focuses on user authentication patterns and behaviors within your Supabase project. + +| Chart | Description | Key Insights | +| ------------------------ | --------------------------------------------- | ----------------------------------------------- | +| Active Users | Count of unique users performing auth actions | User engagement and retention patterns | +| Sign In Attempts by Type | Breakdown of authentication methods used | Password vs OAuth vs magic link preferences | +| Sign Ups | Total new user registrations | Growth trends and onboarding funnel performance | +| Auth Errors | Error rates grouped by status code | Authentication friction and security issues | +| Password Reset Requests | Volume of password recovery attempts | User experience pain points | + +## Storage + +The Storage report provides visibility into how your Supabase Storage is being utilized, including request patterns, performance characteristics, and caching effectiveness. + +| Chart | Description | Key Insights | +| --------------- | ------------------------------------------ | ------------------------------------------------------ | +| Total Requests | Overall request volume to Storage | Traffic patterns and usage trends | +| Response Speed | Average response time for storage requests | Performance bottlenecks and optimization opportunities | +| Network Traffic | Ingress and egress bandwidth usage | Data transfer costs and CDN effectiveness | +| Request Caching | Cache hit rates and miss patterns | CDN performance and cost optimization | +| Top Routes | Most frequently accessed storage paths | Popular content and usage patterns | + +## Realtime + +The Realtime report tracks WebSocket connections, channel activity, and real-time event patterns in your Supabase project. + +| Chart | Description | Key Insights | +| --------------------- | ------------------------------------------------------------- | ------------------------------------------------- | +| Realtime Connections | Active WebSocket connections over time | Concurrent user activity and connection stability | +| Channel Events | Breakdown of broadcast, Postgres changes, and presence events | Real-time feature usage patterns | +| Rate of Channel Joins | Frequency of new channel subscriptions | User engagement with real-time features | +| Total Requests | HTTP requests to Realtime endpoints | API usage alongside WebSocket activity | +| Response Speed | Performance of Realtime API endpoints | Infrastructure optimization opportunities | + +## Edge Functions + +The Edge Functions report provides insights into serverless function performance, execution patterns, and regional distribution across Supabase's global edge network. + +| Chart | Description | Key Insights | +| ---------------------- | ----------------------------------------- | ---------------------------------------------- | +| Execution Status Codes | Function response codes and error rates | Function reliability and error patterns | +| Execution Time | Average function duration and performance | Performance optimization opportunities | +| Invocations by Region | Geographic distribution of function calls | Global usage patterns and latency optimization | + +## API gateway + +The API Gateway report analyzes traffic patterns and performance characteristics of requests flowing through your Supabase project's API layer. + +| Chart | Description | Key Insights | +| --------------- | ----------------------------------------- | ------------------------------------------------ | +| Total Requests | Overall API request volume | Traffic patterns and growth trends | +| Response Errors | Error rates with 4XX and 5XX status codes | API reliability and user experience issues | +| Response Speed | Average API response times | Performance bottlenecks and optimization targets | +| Network Traffic | Request and response bandwidth usage | Data transfer patterns and cost implications | +| Top Routes | Most frequently accessed API endpoints | Usage patterns and optimization priorities | diff --git a/apps/docs/docs/ref/kotlin/installing.mdx b/apps/docs/docs/ref/kotlin/installing.mdx index 93a918c49ff..5c4a05158b2 100644 --- a/apps/docs/docs/ref/kotlin/installing.mdx +++ b/apps/docs/docs/ref/kotlin/installing.mdx @@ -151,25 +151,25 @@ custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supab ```kotlin - val commonMain by getting { + commonMain { dependencies { - //supabase modules + //Supabase modules } } - val jvmMain by getting { + jvmMain { dependencies { implementation("io.ktor:ktor-client-cio:KTOR_VERSION") } } - val androidMain by getting { - dependsOn(jvmMain) + androidMain { + dependsOn(jvmMain.get()) } - val jsMain by getting { + jsMain { dependencies { implementation("io.ktor:ktor-client-js:KTOR_VERSION") } } - val iosMain by getting { + iosMain { dependencies { implementation("io.ktor:ktor-client-darwin:KTOR_VERSION") } diff --git a/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap b/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap index 8ce82c331b9..874648f9b51 100644 --- a/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap +++ b/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap @@ -1500,6 +1500,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -1945,6 +1953,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -2678,6 +2694,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -3120,6 +3144,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -3588,6 +3620,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -4341,6 +4381,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -4914,6 +4962,20 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" }, "isOptional": true + }, + { + "name": "userStorage", + "isOptional": true, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, \`storage\` will only store a JSON object containing the access and refresh token and some adjacent metadata, while \`userStorage\` will only contain the user object under the key \`storageKey + '-user'\`.", + "text": "When this option is set and cookie storage is used, \`getSession()\` and other functions that load a session from the cookie store might not return back a user. It's very important to always use \`getUser()\` to fetch a user object in those scenarios.\\n", + "tags": [ + { + "tag": "experimental", + "text": "\\n" + } + ] + } } ] } @@ -5105,6 +5167,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -5400,6 +5470,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -5466,6 +5539,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -5826,13 +5907,97 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "string" }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "An optional specific JWT you wish to verify, not the one you\\n can obtain from {@link #getSession}." + } }, { - "name": "jwks", + "name": "options", "type": { "type": "object", "properties": [ + { + "name": "allowExpired", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true, + "comment": { + "shortText": "If set to \`true\` the \`exp\` claim will not be validated against the current time." + } + }, + { + "name": "jwks", + "type": { + "type": "object", + "properties": [ + { + "name": "keys", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "JWK", + "properties": [ + { + "name": "alg", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "key_ops", + "type": { + "type": "array", + "elemType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "name": "kid", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "kty", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ] + } + } + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + } + }, { "name": "keys", "type": { @@ -5889,9 +6054,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] } - } + }, + "isOptional": true, + "comment": {} } ] + }, + "comment": { + "shortText": "Various additional options that allow you to customize the\\n behavior of this method.\\n" } } ], @@ -6021,7 +6191,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } }, - "comment": {} + "comment": { + "shortText": "Extracts the JWT claims present in the access token by first verifying the\\nJWT against the server's JSON Web Key Set endpoint\\n\`/.well-known/jwks.json\` which is often cached, resulting in significantly\\nfaster responses. Prefer this method over {@link #getUser} which always\\nsends a request to the Auth server for each JWT.", + "text": "If the project is not using an asymmetric JWT signing key (like ECC or\\nRSA) it always sends a request to the Auth server (similar to {@link\\n#getUser}) to verify the JWT.\\n" + } }, "@supabase/auth-js.GoTrueClient.getSession": { "name": "@supabase/auth-js.GoTrueClient.getSession", @@ -6196,6 +6369,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -6491,6 +6672,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -6663,6 +6847,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -7822,6 +8014,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -8117,6 +8317,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -8378,6 +8581,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -8673,6 +8884,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -8895,6 +9109,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -9190,6 +9412,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -9265,6 +9490,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -9819,6 +10052,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -10114,6 +10355,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -10189,6 +10433,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -11080,6 +11332,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -11375,6 +11635,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -11450,6 +11713,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -12027,6 +12298,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -12322,6 +12601,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -12397,6 +12679,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -13023,6 +13313,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -13318,6 +13616,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -13384,6 +13685,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -14725,6 +15034,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -15020,6 +15337,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -15086,6 +15406,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -15660,6 +15988,1154 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "text": "You can use it by providing a SSO domain. Typically you can extract this\\ndomain by asking users for their email address. If this domain is\\nregistered on the Auth instance the redirect will use that organization's\\ncurrently active SSO Identity Provider for the login.\\n\\nIf you have built an organization-specific login page, you can use the\\norganization's SSO Identity Provider UUID directly instead.\\n" } }, + "@supabase/auth-js.GoTrueClient.signInWithWeb3": { + "name": "@supabase/auth-js.GoTrueClient.signInWithWeb3", + "params": [ + { + "name": "credentials", + "type": { + "type": "union", + "name": "SolanaWeb3Credentials", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "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." + } + } + ] + }, + "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\`." + } + } + ] + }, + { + "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." + } + } + ] + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "object", + "name": "Session", + "properties": [ + { + "name": "access_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + } + }, + { + "name": "expires_at", + "type": { + "type": "intrinsic", + "name": "number" + }, + "isOptional": true, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + }, + { + "name": "expires_in", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + }, + { + "name": "provider_refresh_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + } + }, + { + "name": "provider_token", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + } + }, + { + "name": "refresh_token", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "A one-time used refresh token that never expires." + } + }, + { + "name": "token_type", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "Factor", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "subTypes": [ + null, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "verified" + }, + { + "type": "literal", + "value": "unverified" + } + ] + }, + "comment": { + "shortText": "Factor's status." + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + } + } + ] + } + }, + { + "name": "user", + "type": { + "type": "object", + "name": "User", + "properties": [ + { + "name": "action_link", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "app_metadata", + "type": { + "type": "object", + "name": "UserAppMetadata", + "properties": [ + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + } + ] + } + }, + { + "name": "aud", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "confirmation_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_change_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "email_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "factors", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "Factor", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "factor_type", + "type": { + "type": "union", + "subTypes": [ + null, + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + }, + "comment": { + "shortText": "Type of factor. \`totp\` and \`phone\` supported with this version" + } + }, + { + "name": "friendly_name", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + } + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "ID of the factor." + } + }, + { + "name": "status", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "verified" + }, + { + "type": "literal", + "value": "unverified" + } + ] + }, + "comment": { + "shortText": "Factor's status." + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identities", + "type": { + "type": "array", + "elemType": { + "type": "object", + "name": "UserIdentity", + "properties": [ + { + "name": "created_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "identity_data", + "type": { + "type": "index signature", + "keyType": { + "type": "intrinsic", + "name": "string" + }, + "valueType": { + "type": "intrinsic", + "name": "any" + } + }, + "isOptional": true + }, + { + "name": "identity_id", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "provider", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_id", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "isOptional": true + }, + { + "name": "invited_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "is_anonymous", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "is_sso_user", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "last_sign_in_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_email", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "new_phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "phone_confirmed_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "recovery_sent_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "role", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "updated_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "user_metadata", + "type": { + "type": "object", + "name": "UserMetadata", + "properties": [] + } + } + ] + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "session", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "user", + "type": { + "type": "literal", + "value": null + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + } + ] + } + } + }, + "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." + } + }, "@supabase/auth-js.GoTrueClient.signOut": { "name": "@supabase/auth-js.GoTrueClient.signOut", "params": [ @@ -16061,6 +17537,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -16356,6 +17840,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -16431,6 +17918,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -17118,6 +18613,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -17883,6 +19386,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -18178,6 +19689,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] @@ -18253,6 +19767,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -19190,6 +20712,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -20902,6 +22432,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -21443,6 +22981,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "string" } }, + { + "name": "deleted_at", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, { "name": "email", "type": { @@ -21738,6 +23284,9 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } ] + }, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." } } ] diff --git a/apps/docs/lib/supabase.ts b/apps/docs/lib/supabase.ts index 65621a38ab3..e7c1768a374 100644 --- a/apps/docs/lib/supabase.ts +++ b/apps/docs/lib/supabase.ts @@ -7,7 +7,10 @@ type Database = { public: { Tables: DatabaseGenerated['public']['Tables'] Views: DatabaseGenerated['public']['Views'] - Functions: Omit & { + Functions: Omit< + DatabaseGenerated['public']['Functions'], + 'search_content' | 'search_content_hybrid' + > & { search_content: { Args: Omit< DatabaseGenerated['public']['Functions']['search_content']['Args'], @@ -28,6 +31,26 @@ type Database = { } > } + search_content_hybrid: { + Args: Omit< + DatabaseGenerated['public']['Functions']['search_content_hybrid']['Args'], + 'query_embedding' + > & { query_embedding: Array } + Returns: Array< + Omit< + DatabaseGenerated['public']['Functions']['search_content_hybrid']['Returns'][number], + 'subsections' | 'metadata' + > & { + metadata: { + subtitle?: string + language?: string + methodName?: string + platform?: string + } + subsections: Array<{ title?: string; href?: string; content?: string }> + } + > + } } Enums: DatabaseGenerated['public']['Enums'] CompositeTypes: DatabaseGenerated['public']['CompositeTypes'] diff --git a/apps/docs/public/humans.txt b/apps/docs/public/humans.txt index 05741bbcdc6..604be8a1f41 100644 --- a/apps/docs/public/humans.txt +++ b/apps/docs/public/humans.txt @@ -71,6 +71,7 @@ Laura C Laurence Isla Lenny Urbanowski Long Hoang +Luca Forstner Łukasz Niemier Margarita Sandomirskaia Mark Burggraf diff --git a/apps/docs/public/img/database/reports/cpu-usage-chart-dark.png b/apps/docs/public/img/database/reports/cpu-usage-chart-dark.png new file mode 100644 index 00000000000..191ae831653 Binary files /dev/null and b/apps/docs/public/img/database/reports/cpu-usage-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/cpu-usage-chart-light.png b/apps/docs/public/img/database/reports/cpu-usage-chart-light.png new file mode 100644 index 00000000000..0b688ec967d Binary files /dev/null and b/apps/docs/public/img/database/reports/cpu-usage-chart-light.png differ diff --git a/apps/docs/public/img/database/reports/db-connections-chart-dark.png b/apps/docs/public/img/database/reports/db-connections-chart-dark.png new file mode 100644 index 00000000000..44d7f75f02d Binary files /dev/null and b/apps/docs/public/img/database/reports/db-connections-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/db-connections-chart-light.png b/apps/docs/public/img/database/reports/db-connections-chart-light.png new file mode 100644 index 00000000000..27d5ff8d70c Binary files /dev/null and b/apps/docs/public/img/database/reports/db-connections-chart-light.png differ diff --git a/apps/docs/public/img/database/reports/disk-io-chart-dark.png b/apps/docs/public/img/database/reports/disk-io-chart-dark.png new file mode 100644 index 00000000000..5f9f8282e34 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-io-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/disk-io-chart-light.png b/apps/docs/public/img/database/reports/disk-io-chart-light.png new file mode 100644 index 00000000000..5eb835474c5 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-io-chart-light.png differ diff --git a/apps/docs/public/img/database/reports/disk-iops-chart-dark.png b/apps/docs/public/img/database/reports/disk-iops-chart-dark.png new file mode 100644 index 00000000000..74ffd527949 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-iops-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/disk-iops-chart-light.png b/apps/docs/public/img/database/reports/disk-iops-chart-light.png new file mode 100644 index 00000000000..ce7cf5d40e4 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-iops-chart-light.png differ diff --git a/apps/docs/public/img/database/reports/disk-size-chart-dark.png b/apps/docs/public/img/database/reports/disk-size-chart-dark.png new file mode 100644 index 00000000000..beb3df95327 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-size-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/disk-size-chart-light.png b/apps/docs/public/img/database/reports/disk-size-chart-light.png new file mode 100644 index 00000000000..8a1fa264a57 Binary files /dev/null and b/apps/docs/public/img/database/reports/disk-size-chart-light.png differ diff --git a/apps/docs/public/img/database/reports/memory-usage-chart-dark.png b/apps/docs/public/img/database/reports/memory-usage-chart-dark.png new file mode 100644 index 00000000000..93b6d401930 Binary files /dev/null and b/apps/docs/public/img/database/reports/memory-usage-chart-dark.png differ diff --git a/apps/docs/public/img/database/reports/memory-usage-chart-light.png b/apps/docs/public/img/database/reports/memory-usage-chart-light.png new file mode 100644 index 00000000000..006626c2027 Binary files /dev/null and b/apps/docs/public/img/database/reports/memory-usage-chart-light.png differ diff --git a/apps/docs/public/img/guides/auth-signing-keys/states.mermaid b/apps/docs/public/img/guides/auth-signing-keys/states.mermaid new file mode 100644 index 00000000000..4422a737677 --- /dev/null +++ b/apps/docs/public/img/guides/auth-signing-keys/states.mermaid @@ -0,0 +1,9 @@ +stateDiagram-v2 + [*] --> standby : A new key is created and advertized + standby --> in_use : Once all components have picked up the new key, new JWTs can be issued with it + in_use --> previously_used : Rotation, JWT remain accepted + previously_used --> revoked : Once all JWTs created with the previous key expire (or sooner) + revoked --> [*] : Delete permanently after 7 days + + revoked --> standby + previously_used --> standby diff --git a/apps/docs/public/img/guides/auth-signing-keys/states.svg b/apps/docs/public/img/guides/auth-signing-keys/states.svg new file mode 100644 index 00000000000..fc49db026d7 --- /dev/null +++ b/apps/docs/public/img/guides/auth-signing-keys/states.svg @@ -0,0 +1,2 @@ + +

A new key is created and advertized

Once all components have picked up the new key, new JWTs can be issued with it

Rotation, JWT remain accepted

Once all JWTs created with the previous key expire (or sooner)

Delete permanently after 7 days

standby

in_use

previously_used

revoked

diff --git a/apps/docs/public/img/guides/platform/realtime-settings--dark.png b/apps/docs/public/img/guides/platform/realtime-settings--dark.png new file mode 100644 index 00000000000..b9ee8747b55 Binary files /dev/null and b/apps/docs/public/img/guides/platform/realtime-settings--dark.png differ diff --git a/apps/docs/public/img/guides/platform/realtime-settings--light.png b/apps/docs/public/img/guides/platform/realtime-settings--light.png new file mode 100644 index 00000000000..3587df9ebd2 Binary files /dev/null and b/apps/docs/public/img/guides/platform/realtime-settings--light.png differ diff --git a/apps/docs/public/img/storage/iceberg-bucket.png b/apps/docs/public/img/storage/iceberg-bucket.png new file mode 100644 index 00000000000..57c557b2426 Binary files /dev/null and b/apps/docs/public/img/storage/iceberg-bucket.png differ diff --git a/apps/docs/resources/globalSearch/globalSearchModel.ts b/apps/docs/resources/globalSearch/globalSearchModel.ts index 47cdd2f12dd..8c63f28f493 100644 --- a/apps/docs/resources/globalSearch/globalSearchModel.ts +++ b/apps/docs/resources/globalSearch/globalSearchModel.ts @@ -40,6 +40,34 @@ export abstract class SearchResultModel { return matchResult }) } + + static async searchHybrid( + args: RootQueryTypeSearchDocsArgs, + requestedFields: Array + ): Promise> { + const query = args.query.trim() + const includeFullContent = requestedFields.includes('content') + const embeddingResult = await openAI().createContentEmbedding(query) + + return embeddingResult.flatMapAsync(async (embedding) => { + const matchResult = new Result( + await supabase().rpc('search_content_hybrid', { + query_text: query, + query_embedding: embedding, + include_full_content: includeFullContent, + max_result: args.limit ?? 30, + }) + ) + .map((matches) => + matches + .map(createModelFromMatch) + .filter((item): item is SearchResultInterface => item !== null) + ) + .mapError(convertPostgrestToApiError) + + return matchResult + }) + } } function createModelFromMatch({ diff --git a/apps/docs/resources/globalSearch/globalSearchResolver.ts b/apps/docs/resources/globalSearch/globalSearchResolver.ts index 238f567c97d..f730ce99e81 100644 --- a/apps/docs/resources/globalSearch/globalSearchResolver.ts +++ b/apps/docs/resources/globalSearch/globalSearchResolver.ts @@ -53,7 +53,7 @@ async function resolveSearchImpl( ): Promise, ApiErrorGeneric>> { const fieldsInfo = graphQLFields(info) const requestedFields = Object.keys(fieldsInfo.nodes ?? fieldsInfo.edges?.node ?? {}) - return await SearchResultModel.search(args, requestedFields) + return await SearchResultModel.searchHybrid(args, requestedFields) } export const searchRoot = { diff --git a/apps/docs/scripts/search/sources/lint-warnings-guide.ts b/apps/docs/scripts/search/sources/lint-warnings-guide.ts index 61d4f5e4e34..77713504e01 100644 --- a/apps/docs/scripts/search/sources/lint-warnings-guide.ts +++ b/apps/docs/scripts/search/sources/lint-warnings-guide.ts @@ -111,6 +111,6 @@ export class LintWarningsGuideSource extends BaseSource { extractIndexedContent(): string { const sections = this.sections ?? [] const sectionText = sections.map(({ content }) => content).join('\n\n') - return `# ${this.lint.path}\n\n${sectionText}` + return `# Database Advisor: Lint ${this.lint.path}\n\nThis is a database lint rule for Supabase, targeting the lint ID ${this.lint.path}. Lint rules help enforce performance and security best practices for your Supabase database.\n\n${sectionText}` } } diff --git a/apps/docs/spec/Makefile b/apps/docs/spec/Makefile index b52e7a7c554..73f5b2dadcc 100644 --- a/apps/docs/spec/Makefile +++ b/apps/docs/spec/Makefile @@ -118,7 +118,7 @@ combine-raw.tsdoc.v2: generate: generate.sections.api.v1 generate.sections.api.v1: - node $(REPO_DIR)/sections/generateMgmtApiSections.ts $(REPO_DIR)/transforms/api_v1_openapi_deparsed.json $(REPO_DIR)/common-api-sections.json + npx tsx $(REPO_DIR)/sections/generateMgmtApiSections.cts $(REPO_DIR)/transforms/api_v1_openapi_deparsed.json $(REPO_DIR)/common-api-sections.json ############################################################################### # Validate OpenAPI 3.0 diff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yaml index dc23b492a0b..f68d0515e6a 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.30.4 + version: 2.31.4 title: Supabase CLI language: sh source: https://github.com/supabase/cli @@ -74,7 +74,7 @@ flags: name: --workdir description: path to a Supabase project directory default_value: '' - - id: "yes" + - id: 'yes' name: --yes description: answer yes to all prompts default_value: 'false' diff --git a/apps/docs/spec/common-api-sections.json b/apps/docs/spec/common-api-sections.json index 49207e11edf..c2549bc3b09 100644 --- a/apps/docs/spec/common-api-sections.json +++ b/apps/docs/spec/common-api-sections.json @@ -3,7 +3,8 @@ "title": "Introduction", "id": "introduction", "slug": "introduction", - "type": "markdown" + "type": "markdown", + "items": [] }, { "type": "category", @@ -57,6 +58,12 @@ "type": "category", "title": "Database", "items": [ + { + "id": "v1-apply-a-migration", + "title": "Apply a migration", + "slug": "v1-apply-a-migration", + "type": "operation" + }, { "id": "v1-disable-readonly-mode-temporarily", "title": "Disable readonly mode temporarily", @@ -105,12 +112,6 @@ "slug": "v1-get-ssl-enforcement-config", "type": "operation" }, - { - "id": "v1-get-supavisor-config", - "title": "Get supavisor config", - "slug": "v1-get-supavisor-config", - "type": "operation" - }, { "id": "v1-list-all-backups", "title": "List all backups", @@ -123,6 +124,12 @@ "slug": "v1-list-all-snippets", "type": "operation" }, + { + "id": "v1-list-migrations", + "title": "List migrations", + "slug": "v1-list-migrations", + "type": "operation" + }, { "id": "v1-remove-a-read-replica", "title": "Remove a read replica", @@ -158,12 +165,6 @@ "title": "Update ssl enforcement config", "slug": "v1-update-ssl-enforcement-config", "type": "operation" - }, - { - "id": "v1-update-supavisor-config", - "title": "Update supavisor config", - "slug": "v1-update-supavisor-config", - "type": "operation" } ] }, @@ -309,6 +310,12 @@ "slug": "v1-list-all-branches", "type": "operation" }, + { + "id": "v1-merge-a-branch", + "title": "Merge a branch", + "slug": "v1-merge-a-branch", + "type": "operation" + }, { "id": "v1-push-a-branch", "title": "Push a branch", diff --git a/apps/docs/spec/common-client-libs-sections.json b/apps/docs/spec/common-client-libs-sections.json index b7087b1ef69..38b3bea908e 100644 --- a/apps/docs/spec/common-client-libs-sections.json +++ b/apps/docs/spec/common-client-libs-sections.json @@ -490,6 +490,13 @@ "product": "auth", "type": "function" }, + { + "id": "get-claims", + "title": "Get user claims from verified JWT", + "slug": "auth-getclaims", + "product": "auth", + "type": "function" + }, { "id": "sign-out", "title": "Sign out a user", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/combined.json b/apps/docs/spec/enrichments/tsdoc_v2/combined.json index 94da3187d4e..814548ebe4e 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/combined.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/combined.json @@ -7390,14 +7390,14 @@ "originalName": "", "children": [ { - "id": 1170, + "id": 1247, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1171, + "id": 1248, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7411,14 +7411,14 @@ ], "signatures": [ { - "id": 1172, + "id": 1249, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1173, + "id": 1250, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7429,7 +7429,7 @@ } }, { - "id": 1174, + "id": 1251, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7440,7 +7440,7 @@ } }, { - "id": 1175, + "id": 1252, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -7462,24 +7462,24 @@ ], "type": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1177, + "id": 1254, "name": "code", "kind": 1024, "kindString": "Property", @@ -7511,7 +7511,7 @@ { "type": "reflection", "declaration": { - "id": 1178, + "id": 1255, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7528,12 +7528,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1176, + "id": 1253, "name": "status", "kind": 1024, "kindString": "Property", @@ -7554,7 +7554,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -7563,12 +7563,12 @@ { "title": "Constructors", "kind": 512, - "children": [1171] + "children": [1248] }, { "title": "Properties", "kind": 1024, - "children": [1177, 1176] + "children": [1254, 1253] } ], "sources": [ @@ -7581,20 +7581,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1160, + "id": 1237, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1161, + "id": 1238, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7608,14 +7608,14 @@ ], "signatures": [ { - "id": 1162, + "id": 1239, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1163, + "id": 1240, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7626,7 +7626,7 @@ } }, { - "id": 1164, + "id": 1241, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7639,7 +7639,7 @@ } }, { - "id": 1165, + "id": 1242, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -7654,7 +7654,7 @@ ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, "overwrites": { @@ -7669,7 +7669,7 @@ } }, { - "id": 1166, + "id": 1243, "name": "code", "kind": 1024, "kindString": "Property", @@ -7701,7 +7701,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1244, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7718,7 +7718,7 @@ } }, { - "id": 1168, + "id": 1245, "name": "status", "kind": 1024, "kindString": "Property", @@ -7752,12 +7752,12 @@ { "title": "Constructors", "kind": 512, - "children": [1161] + "children": [1238] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1168] + "children": [1243, 1245] } ], "sources": [ @@ -7778,30 +7778,30 @@ "extendedBy": [ { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1228, + "id": 1305, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7815,14 +7815,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1306, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1307, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7833,7 +7833,7 @@ } }, { - "id": 1231, + "id": 1308, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -7848,14 +7848,14 @@ { "type": "reflection", "declaration": { - "id": 1232, + "id": 1309, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1234, + "id": 1311, "name": "code", "kind": 1024, "kindString": "Property", @@ -7873,7 +7873,7 @@ } }, { - "id": 1233, + "id": 1310, "name": "error", "kind": 1024, "kindString": "Property", @@ -7895,7 +7895,7 @@ { "title": "Properties", "kind": 1024, - "children": [1234, 1233] + "children": [1311, 1310] } ] } @@ -7907,24 +7907,24 @@ ], "type": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1328, "name": "code", "kind": 1024, "kindString": "Property", @@ -7956,7 +7956,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7973,12 +7973,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1235, + "id": 1312, "name": "details", "kind": 1024, "kindString": "Property", @@ -8000,14 +8000,14 @@ { "type": "reflection", "declaration": { - "id": 1236, + "id": 1313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1238, + "id": 1315, "name": "code", "kind": 1024, "kindString": "Property", @@ -8025,7 +8025,7 @@ } }, { - "id": 1237, + "id": 1314, "name": "error", "kind": 1024, "kindString": "Property", @@ -8047,7 +8047,7 @@ { "title": "Properties", "kind": 1024, - "children": [1238, 1237] + "children": [1315, 1314] } ] } @@ -8057,7 +8057,7 @@ "defaultValue": "null" }, { - "id": 1249, + "id": 1326, "name": "name", "kind": 1024, "kindString": "Property", @@ -8075,12 +8075,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1250, + "id": 1327, "name": "status", "kind": 1024, "kindString": "Property", @@ -8101,12 +8101,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1239, + "id": 1316, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -8120,7 +8120,7 @@ ], "signatures": [ { - "id": 1240, + "id": 1317, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -8128,14 +8128,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1241, + "id": 1318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1245, + "id": 1322, "name": "details", "kind": 1024, "kindString": "Property", @@ -8157,14 +8157,14 @@ { "type": "reflection", "declaration": { - "id": 1246, + "id": 1323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1248, + "id": 1325, "name": "code", "kind": 1024, "kindString": "Property", @@ -8182,7 +8182,7 @@ } }, { - "id": 1247, + "id": 1324, "name": "error", "kind": 1024, "kindString": "Property", @@ -8204,7 +8204,7 @@ { "title": "Properties", "kind": 1024, - "children": [1248, 1247] + "children": [1325, 1324] } ] } @@ -8214,7 +8214,7 @@ "defaultValue": "..." }, { - "id": 1243, + "id": 1320, "name": "message", "kind": 1024, "kindString": "Property", @@ -8233,7 +8233,7 @@ "defaultValue": "..." }, { - "id": 1242, + "id": 1319, "name": "name", "kind": 1024, "kindString": "Property", @@ -8252,7 +8252,7 @@ "defaultValue": "..." }, { - "id": 1244, + "id": 1321, "name": "status", "kind": 1024, "kindString": "Property", @@ -8275,7 +8275,7 @@ { "title": "Properties", "kind": 1024, - "children": [1245, 1243, 1242, 1244] + "children": [1322, 1320, 1319, 1321] } ] } @@ -8288,17 +8288,17 @@ { "title": "Constructors", "kind": 512, - "children": [1228] + "children": [1305] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1235, 1249, 1250] + "children": [1328, 1312, 1326, 1327] }, { "title": "Methods", "kind": 2048, - "children": [1239] + "children": [1316] } ], "sources": [ @@ -8311,20 +8311,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1219, + "id": 1296, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8338,14 +8338,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1297, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1298, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8358,24 +8358,24 @@ ], "type": { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1224, + "id": 1301, "name": "code", "kind": 1024, "kindString": "Property", @@ -8407,7 +8407,7 @@ { "type": "reflection", "declaration": { - "id": 1225, + "id": 1302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8424,12 +8424,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1222, + "id": 1299, "name": "name", "kind": 1024, "kindString": "Property", @@ -8447,12 +8447,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1223, + "id": 1300, "name": "status", "kind": 1024, "kindString": "Property", @@ -8473,7 +8473,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -8482,12 +8482,12 @@ { "title": "Constructors", "kind": 512, - "children": [1219] + "children": [1296] }, { "title": "Properties", "kind": 1024, - "children": [1224, 1222, 1223] + "children": [1301, 1299, 1300] } ], "sources": [ @@ -8500,20 +8500,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1304, + "id": 1381, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8527,14 +8527,14 @@ ], "signatures": [ { - "id": 1305, + "id": 1382, "name": "new AuthInvalidJwtError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1306, + "id": 1383, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8547,24 +8547,24 @@ ], "type": { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1309, + "id": 1386, "name": "code", "kind": 1024, "kindString": "Property", @@ -8596,7 +8596,7 @@ { "type": "reflection", "declaration": { - "id": 1310, + "id": 1387, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8613,12 +8613,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1307, + "id": 1384, "name": "name", "kind": 1024, "kindString": "Property", @@ -8636,12 +8636,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1308, + "id": 1385, "name": "status", "kind": 1024, "kindString": "Property", @@ -8662,7 +8662,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -8671,12 +8671,12 @@ { "title": "Constructors", "kind": 512, - "children": [1304] + "children": [1381] }, { "title": "Properties", "kind": 1024, - "children": [1309, 1307, 1308] + "children": [1386, 1384, 1385] } ], "sources": [ @@ -8689,20 +8689,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1211, + "id": 1288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8716,31 +8716,31 @@ ], "signatures": [ { - "id": 1212, + "id": 1289, "name": "new AuthInvalidTokenResponseError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1215, + "id": 1292, "name": "code", "kind": 1024, "kindString": "Property", @@ -8772,7 +8772,7 @@ { "type": "reflection", "declaration": { - "id": 1216, + "id": 1293, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8789,12 +8789,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1290, "name": "name", "kind": 1024, "kindString": "Property", @@ -8812,12 +8812,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1214, + "id": 1291, "name": "status", "kind": 1024, "kindString": "Property", @@ -8838,7 +8838,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -8847,12 +8847,12 @@ { "title": "Constructors", "kind": 512, - "children": [1211] + "children": [1288] }, { "title": "Properties", "kind": 1024, - "children": [1215, 1213, 1214] + "children": [1292, 1290, 1291] } ], "sources": [ @@ -8865,20 +8865,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1255, + "id": 1332, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8892,14 +8892,14 @@ ], "signatures": [ { - "id": 1256, + "id": 1333, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1257, + "id": 1334, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8910,7 +8910,7 @@ } }, { - "id": 1258, + "id": 1335, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -8925,14 +8925,14 @@ { "type": "reflection", "declaration": { - "id": 1259, + "id": 1336, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1261, + "id": 1338, "name": "code", "kind": 1024, "kindString": "Property", @@ -8950,7 +8950,7 @@ } }, { - "id": 1260, + "id": 1337, "name": "error", "kind": 1024, "kindString": "Property", @@ -8972,7 +8972,7 @@ { "title": "Properties", "kind": 1024, - "children": [1261, 1260] + "children": [1338, 1337] } ] } @@ -8984,24 +8984,24 @@ ], "type": { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1278, + "id": 1355, "name": "code", "kind": 1024, "kindString": "Property", @@ -9033,7 +9033,7 @@ { "type": "reflection", "declaration": { - "id": 1279, + "id": 1356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9050,12 +9050,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1262, + "id": 1339, "name": "details", "kind": 1024, "kindString": "Property", @@ -9077,14 +9077,14 @@ { "type": "reflection", "declaration": { - "id": 1263, + "id": 1340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1265, + "id": 1342, "name": "code", "kind": 1024, "kindString": "Property", @@ -9102,7 +9102,7 @@ } }, { - "id": 1264, + "id": 1341, "name": "error", "kind": 1024, "kindString": "Property", @@ -9124,7 +9124,7 @@ { "title": "Properties", "kind": 1024, - "children": [1265, 1264] + "children": [1342, 1341] } ] } @@ -9134,7 +9134,7 @@ "defaultValue": "null" }, { - "id": 1276, + "id": 1353, "name": "name", "kind": 1024, "kindString": "Property", @@ -9152,12 +9152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1277, + "id": 1354, "name": "status", "kind": 1024, "kindString": "Property", @@ -9178,12 +9178,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1266, + "id": 1343, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -9197,7 +9197,7 @@ ], "signatures": [ { - "id": 1267, + "id": 1344, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -9205,14 +9205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1268, + "id": 1345, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1272, + "id": 1349, "name": "details", "kind": 1024, "kindString": "Property", @@ -9234,14 +9234,14 @@ { "type": "reflection", "declaration": { - "id": 1273, + "id": 1350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1275, + "id": 1352, "name": "code", "kind": 1024, "kindString": "Property", @@ -9259,7 +9259,7 @@ } }, { - "id": 1274, + "id": 1351, "name": "error", "kind": 1024, "kindString": "Property", @@ -9281,7 +9281,7 @@ { "title": "Properties", "kind": 1024, - "children": [1275, 1274] + "children": [1352, 1351] } ] } @@ -9291,7 +9291,7 @@ "defaultValue": "..." }, { - "id": 1270, + "id": 1347, "name": "message", "kind": 1024, "kindString": "Property", @@ -9310,7 +9310,7 @@ "defaultValue": "..." }, { - "id": 1269, + "id": 1346, "name": "name", "kind": 1024, "kindString": "Property", @@ -9329,7 +9329,7 @@ "defaultValue": "..." }, { - "id": 1271, + "id": 1348, "name": "status", "kind": 1024, "kindString": "Property", @@ -9352,7 +9352,7 @@ { "title": "Properties", "kind": 1024, - "children": [1272, 1270, 1269, 1271] + "children": [1349, 1347, 1346, 1348] } ] } @@ -9365,17 +9365,17 @@ { "title": "Constructors", "kind": 512, - "children": [1255] + "children": [1332] }, { "title": "Properties", "kind": 1024, - "children": [1278, 1262, 1276, 1277] + "children": [1355, 1339, 1353, 1354] }, { "title": "Methods", "kind": 2048, - "children": [1266] + "children": [1343] } ], "sources": [ @@ -9388,20 +9388,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1282, + "id": 1359, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9415,14 +9415,14 @@ ], "signatures": [ { - "id": 1283, + "id": 1360, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1284, + "id": 1361, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9433,7 +9433,7 @@ } }, { - "id": 1285, + "id": 1362, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -9446,24 +9446,24 @@ ], "type": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1288, + "id": 1365, "name": "code", "kind": 1024, "kindString": "Property", @@ -9495,7 +9495,7 @@ { "type": "reflection", "declaration": { - "id": 1289, + "id": 1366, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9512,12 +9512,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1286, + "id": 1363, "name": "name", "kind": 1024, "kindString": "Property", @@ -9535,12 +9535,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1287, + "id": 1364, "name": "status", "kind": 1024, "kindString": "Property", @@ -9561,7 +9561,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -9570,12 +9570,12 @@ { "title": "Constructors", "kind": 512, - "children": [1282] + "children": [1359] }, { "title": "Properties", "kind": 1024, - "children": [1288, 1286, 1287] + "children": [1365, 1363, 1364] } ], "sources": [ @@ -9588,20 +9588,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1203, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9615,31 +9615,31 @@ ], "signatures": [ { - "id": 1204, + "id": 1281, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1207, + "id": 1284, "name": "code", "kind": 1024, "kindString": "Property", @@ -9671,7 +9671,7 @@ { "type": "reflection", "declaration": { - "id": 1208, + "id": 1285, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9688,12 +9688,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1205, + "id": 1282, "name": "name", "kind": 1024, "kindString": "Property", @@ -9711,12 +9711,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1206, + "id": 1283, "name": "status", "kind": 1024, "kindString": "Property", @@ -9737,7 +9737,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -9746,12 +9746,12 @@ { "title": "Constructors", "kind": 512, - "children": [1203] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1207, 1205, 1206] + "children": [1284, 1282, 1283] } ], "sources": [ @@ -9764,20 +9764,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1180, + "id": 1257, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1181, + "id": 1258, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9791,14 +9791,14 @@ ], "signatures": [ { - "id": 1182, + "id": 1259, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1183, + "id": 1260, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9809,7 +9809,7 @@ } }, { - "id": 1184, + "id": 1261, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -9822,24 +9822,24 @@ ], "type": { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1186, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -9871,7 +9871,7 @@ { "type": "reflection", "declaration": { - "id": 1187, + "id": 1264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9888,12 +9888,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1185, + "id": 1262, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -9911,7 +9911,7 @@ } }, { - "id": 1188, + "id": 1265, "name": "status", "kind": 1024, "kindString": "Property", @@ -9941,7 +9941,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -9950,12 +9950,12 @@ { "title": "Constructors", "kind": 512, - "children": [1181] + "children": [1258] }, { "title": "Properties", "kind": 1024, - "children": [1186, 1185, 1188] + "children": [1263, 1262, 1265] } ], "sources": [ @@ -9968,13 +9968,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -9984,7 +9984,7 @@ }, "children": [ { - "id": 1292, + "id": 1369, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9998,14 +9998,14 @@ ], "signatures": [ { - "id": 1293, + "id": 1370, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1294, + "id": 1371, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -10016,7 +10016,7 @@ } }, { - "id": 1295, + "id": 1372, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -10027,7 +10027,7 @@ } }, { - "id": 1296, + "id": 1373, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -10043,24 +10043,24 @@ ], "type": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1300, + "id": 1377, "name": "code", "kind": 1024, "kindString": "Property", @@ -10092,7 +10092,7 @@ { "type": "reflection", "declaration": { - "id": 1301, + "id": 1378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10109,12 +10109,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1298, + "id": 1375, "name": "name", "kind": 1024, "kindString": "Property", @@ -10132,12 +10132,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1297, + "id": 1374, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -10156,13 +10156,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } }, { - "id": 1299, + "id": 1376, "name": "status", "kind": 1024, "kindString": "Property", @@ -10183,7 +10183,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -10192,12 +10192,12 @@ { "title": "Constructors", "kind": 512, - "children": [1292] + "children": [1369] }, { "title": "Properties", "kind": 1024, - "children": [1300, 1298, 1297, 1299] + "children": [1377, 1375, 1374, 1376] } ], "sources": [ @@ -10210,20 +10210,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1190, + "id": 1267, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1191, + "id": 1268, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10237,14 +10237,14 @@ ], "signatures": [ { - "id": 1192, + "id": 1269, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1193, + "id": 1270, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -10255,7 +10255,7 @@ } }, { - "id": 1194, + "id": 1271, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -10266,7 +10266,7 @@ } }, { - "id": 1195, + "id": 1272, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -10277,7 +10277,7 @@ } }, { - "id": 1196, + "id": 1273, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -10299,24 +10299,24 @@ ], "type": { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1199, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -10348,7 +10348,7 @@ { "type": "reflection", "declaration": { - "id": 1200, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10365,12 +10365,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1197, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -10392,7 +10392,7 @@ } }, { - "id": 1198, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -10413,7 +10413,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -10422,12 +10422,12 @@ { "title": "Constructors", "kind": 512, - "children": [1191] + "children": [1268] }, { "title": "Properties", "kind": 1024, - "children": [1199, 1197, 1198] + "children": [1276, 1274, 1275] } ], "sources": [ @@ -10440,49 +10440,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" } ] @@ -10503,7 +10503,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -10541,7 +10541,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 44, + "line": 46, "character": 4 } ], @@ -10631,7 +10631,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 41, + "line": 43, "character": 4 } ], @@ -10678,7 +10678,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 40, + "line": 42, "character": 4 } ], @@ -10719,16 +10719,16 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 29, "character": 2 } ], "type": { "type": "reference", - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -10744,14 +10744,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -10771,17 +10771,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -10797,21 +10797,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -10822,7 +10822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -10832,7 +10832,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10843,7 +10843,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -10857,13 +10857,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -10878,7 +10878,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -10890,14 +10890,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10907,17 +10907,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -10933,21 +10933,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10958,7 +10958,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -10972,13 +10972,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -10993,7 +10993,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -11009,13 +11009,13 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] @@ -11031,7 +11031,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 152, + "line": 160, "character": 8 } ], @@ -11054,17 +11054,17 @@ "flags": {}, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -11078,7 +11078,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -11088,7 +11088,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -11102,7 +11102,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -11112,7 +11112,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -11125,7 +11125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -11139,7 +11139,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -11153,7 +11153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -11163,7 +11163,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -11177,7 +11177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -11187,7 +11187,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -11201,7 +11201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -11215,7 +11215,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -11228,7 +11228,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -11242,7 +11242,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -11256,7 +11256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -11266,7 +11266,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11279,7 +11279,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -11293,7 +11293,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -11307,7 +11307,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -11317,7 +11317,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -11331,7 +11331,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -11341,7 +11341,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -11355,7 +11355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -11370,14 +11370,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -11387,7 +11387,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -11409,7 +11409,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -11429,7 +11429,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 268, + "line": 280, "character": 8 } ], @@ -11479,7 +11479,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -11499,7 +11499,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 118, + "line": 126, "character": 8 } ], @@ -11522,10 +11522,10 @@ "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 974, "name": "GenerateLinkParams", "dereferenced": { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11533,7 +11533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -11541,7 +11541,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11549,21 +11549,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -11571,7 +11571,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -11581,7 +11581,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -11591,7 +11591,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -11600,7 +11600,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -11623,7 +11623,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -11631,7 +11631,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -11641,7 +11641,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -11649,7 +11649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -11663,13 +11663,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -11677,7 +11677,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11685,21 +11685,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -11710,7 +11710,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -11720,7 +11720,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -11730,7 +11730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -11739,7 +11739,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -11762,7 +11762,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -11770,7 +11770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -11793,13 +11793,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -11807,7 +11807,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11815,21 +11815,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -11840,7 +11840,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -11850,7 +11850,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -11860,7 +11860,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -11869,7 +11869,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -11883,7 +11883,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -11891,7 +11891,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -11905,13 +11905,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -11919,7 +11919,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11927,21 +11927,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -11952,7 +11952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -11962,7 +11962,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -11973,7 +11973,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -11983,7 +11983,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -11993,7 +11993,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -12002,7 +12002,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -12016,7 +12016,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -12024,7 +12024,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -12047,13 +12047,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -12071,7 +12071,7 @@ "typeArguments": [ { "type": "reference", - "id": 900, + "id": 975, "name": "GenerateLinkResponse" } ], @@ -12091,7 +12091,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 221, + "line": 229, "character": 8 } ], @@ -12126,7 +12126,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -12146,7 +12146,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 85, + "line": 93, "character": 8 } ], @@ -12207,7 +12207,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 89, + "line": 97, "character": 6 } ], @@ -12230,7 +12230,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 92, + "line": 100, "character": 6 } ], @@ -12257,7 +12257,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -12277,7 +12277,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 174, + "line": 182, "character": 8 } ], @@ -12306,10 +12306,10 @@ }, "type": { "type": "reference", - "id": 1071, + "id": 1146, "name": "PageParams", "dereferenced": { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -12317,21 +12317,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -12344,7 +12344,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -12354,7 +12354,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -12367,7 +12367,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -12381,13 +12381,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -12421,7 +12421,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 8 } ], @@ -12446,7 +12446,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 31 } ], @@ -12464,7 +12464,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 16 } ], @@ -12472,7 +12472,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -12489,7 +12489,7 @@ }, { "type": "reference", - "id": 1064, + "id": 1139, "name": "Pagination" } ] @@ -12504,7 +12504,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 59 } ], @@ -12541,7 +12541,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 8 } ], @@ -12563,7 +12563,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 16 } ], @@ -12591,13 +12591,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 29 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -12630,7 +12630,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 60, + "line": 62, "character": 8 } ], @@ -12685,7 +12685,7 @@ } ] }, - "defaultValue": "'global'" + "defaultValue": "..." } ], "type": { @@ -12709,7 +12709,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 15 } ], @@ -12727,7 +12727,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 27 } ], @@ -12740,7 +12740,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -12773,7 +12773,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 243, + "line": 253, "character": 8 } ], @@ -12810,17 +12810,17 @@ }, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -12834,7 +12834,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -12844,7 +12844,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -12858,7 +12858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -12868,7 +12868,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -12881,7 +12881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -12895,7 +12895,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -12909,7 +12909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -12919,7 +12919,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -12933,7 +12933,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -12943,7 +12943,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -12957,7 +12957,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -12971,7 +12971,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -12984,7 +12984,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -12998,7 +12998,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -13012,7 +13012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -13022,7 +13022,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13035,7 +13035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -13049,7 +13049,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13063,7 +13063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -13073,7 +13073,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -13087,7 +13087,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -13097,7 +13097,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13111,7 +13111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -13126,14 +13126,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -13143,7 +13143,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -13165,7 +13165,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -13197,7 +13197,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 25, + "line": 27, "character": 21 } ] @@ -13218,7 +13218,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 193, + "line": 229, "character": 2 } ], @@ -13241,10 +13241,10 @@ "flags": {}, "type": { "type": "reference", - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "dereferenced": { - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -13252,21 +13252,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 578, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -13276,7 +13276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 67, + "line": 68, "character": 2 } ], @@ -13286,7 +13286,7 @@ } }, { - "id": 541, + "id": 584, "name": "debug", "kind": 1024, "kindString": "Property", @@ -13296,7 +13296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 2 } ], @@ -13310,7 +13310,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13318,20 +13318,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 21 } ], "signatures": [ { - "id": 543, + "id": 586, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 587, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -13342,7 +13342,7 @@ } }, { - "id": 545, + "id": 588, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -13370,7 +13370,7 @@ } }, { - "id": 535, + "id": 577, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -13380,7 +13380,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 66, "character": 2 } ], @@ -13390,7 +13390,7 @@ } }, { - "id": 539, + "id": 582, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13400,7 +13400,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 82, "character": 2 } ], @@ -13410,7 +13410,7 @@ } }, { - "id": 540, + "id": 583, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -13420,16 +13420,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 84, "character": 2 } ], "type": { "type": "reference", - "id": 802, + "id": 846, "name": "AuthFlowType", "dereferenced": { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -13437,7 +13437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -13458,7 +13458,7 @@ } }, { - "id": 547, + "id": 590, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -13477,7 +13477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 97, "character": 2 } ], @@ -13487,7 +13487,7 @@ } }, { - "id": 530, + "id": 572, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13497,14 +13497,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13512,19 +13512,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 12 } ], "indexSignature": { - "id": 532, + "id": 574, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 533, + "id": 575, "name": "key", "kind": 32768, "flags": {}, @@ -13543,7 +13543,7 @@ } }, { - "id": 546, + "id": 589, "name": "lock", "kind": 1024, "kindString": "Property", @@ -13562,16 +13562,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 92, "character": 2 } ], "type": { "type": "reference", - "id": 518, + "id": 560, "name": "LockFunc", "dereferenced": { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -13579,14 +13579,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13594,13 +13594,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13616,7 +13616,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -13625,7 +13625,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -13639,7 +13639,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -13653,7 +13653,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -13664,7 +13664,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13672,13 +13672,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13688,7 +13688,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -13707,7 +13707,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -13723,7 +13723,7 @@ } }, { - "id": 537, + "id": 579, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -13733,7 +13733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 2 } ], @@ -13743,7 +13743,7 @@ } }, { - "id": 538, + "id": 580, "name": "storage", "kind": 1024, "kindString": "Property", @@ -13753,16 +13753,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 2 } ], "type": { "type": "reference", - "id": 1051, + "id": 1126, "name": "SupportedStorage", "dereferenced": { - "id": 1051, + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13770,7 +13770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -13817,14 +13817,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -13837,7 +13837,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -13851,13 +13851,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -13869,7 +13869,7 @@ } }, { - "id": 534, + "id": 576, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -13879,7 +13879,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -13889,7 +13889,7 @@ } }, { - "id": 529, + "id": 571, "name": "url", "kind": 1024, "kindString": "Property", @@ -13899,7 +13899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -13907,6 +13907,142 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 581, + "name": "userStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, `storage` will only store a JSON object containing the access and refresh token and some adjacent metadata, while `userStorage` will only contain the user object under the key `storageKey + '-user'`.", + "text": "When this option is set and cookie storage is used, `getSession()` and other functions that load a session from the cookie store might not return back a user. It's very important to always use `getUser()` to fetch a user object in those scenarios.\n", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1126, + "name": "SupportedStorage", + "dereferenced": { + "id": 1126, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1140, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Storage", + "package": "typescript", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "PromisifyMethods" + }, + { + "type": "reflection", + "declaration": { + "id": 1127, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1128, + "name": "isServer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1150, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1128] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1142, + "character": 4 + } + ] + } + } + ] + } + } + } } ], "groups": [ @@ -13914,14 +14050,14 @@ "title": "Properties", "kind": 1024, "children": [ - 536, 541, 535, 539, 540, 547, 530, 546, 537, 538, 534, 529 + 578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 34 } ] @@ -13951,7 +14087,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 139, + "line": 156, "character": 2 } ], @@ -13975,7 +14111,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -14013,7 +14149,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 44, + "line": 46, "character": 4 } ], @@ -14103,7 +14239,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 41, + "line": 43, "character": 4 } ], @@ -14150,7 +14286,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 40, + "line": 42, "character": 4 } ], @@ -14191,16 +14327,16 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 29, "character": 2 } ], "type": { "type": "reference", - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -14216,14 +14352,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -14243,17 +14379,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -14269,21 +14405,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -14294,7 +14430,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -14304,7 +14440,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14315,7 +14451,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -14329,13 +14465,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -14350,7 +14486,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -14362,14 +14498,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14379,17 +14515,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -14405,21 +14541,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14430,7 +14566,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -14444,13 +14580,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -14465,7 +14601,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -14481,13 +14617,13 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] @@ -14503,7 +14639,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 152, + "line": 160, "character": 8 } ], @@ -14526,17 +14662,17 @@ "flags": {}, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -14550,7 +14686,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -14560,7 +14696,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -14574,7 +14710,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -14584,7 +14720,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -14597,7 +14733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -14611,7 +14747,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -14625,7 +14761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -14635,7 +14771,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -14649,7 +14785,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -14659,7 +14795,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -14673,7 +14809,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -14687,7 +14823,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -14700,7 +14836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -14714,7 +14850,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -14728,7 +14864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -14738,7 +14874,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14751,7 +14887,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -14765,7 +14901,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -14779,7 +14915,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -14789,7 +14925,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -14803,7 +14939,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -14813,7 +14949,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -14827,7 +14963,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -14842,14 +14978,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -14859,7 +14995,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -14881,7 +15017,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -14901,7 +15037,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 268, + "line": 280, "character": 8 } ], @@ -14951,7 +15087,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -14971,7 +15107,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 118, + "line": 126, "character": 8 } ], @@ -14994,10 +15130,10 @@ "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 974, "name": "GenerateLinkParams", "dereferenced": { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15005,7 +15141,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -15013,7 +15149,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15021,21 +15157,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -15043,7 +15179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -15053,7 +15189,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -15063,7 +15199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -15072,7 +15208,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15095,7 +15231,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -15103,7 +15239,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -15113,7 +15249,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -15121,7 +15257,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -15135,13 +15271,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -15149,7 +15285,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15157,21 +15293,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -15182,7 +15318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -15192,7 +15328,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -15202,7 +15338,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -15211,7 +15347,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15234,7 +15370,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -15242,7 +15378,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -15265,13 +15401,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -15279,7 +15415,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15287,21 +15423,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -15312,7 +15448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -15322,7 +15458,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -15332,7 +15468,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -15341,7 +15477,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15355,7 +15491,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -15363,7 +15499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -15377,13 +15513,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -15391,7 +15527,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15399,21 +15535,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -15424,7 +15560,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -15434,7 +15570,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -15445,7 +15581,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -15455,7 +15591,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -15465,7 +15601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -15474,7 +15610,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15488,7 +15624,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -15496,7 +15632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -15519,13 +15655,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -15543,7 +15679,7 @@ "typeArguments": [ { "type": "reference", - "id": 900, + "id": 975, "name": "GenerateLinkResponse" } ], @@ -15563,7 +15699,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 221, + "line": 229, "character": 8 } ], @@ -15598,7 +15734,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -15618,7 +15754,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 85, + "line": 93, "character": 8 } ], @@ -15679,7 +15815,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 89, + "line": 97, "character": 6 } ], @@ -15702,7 +15838,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 92, + "line": 100, "character": 6 } ], @@ -15729,7 +15865,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -15749,7 +15885,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 174, + "line": 182, "character": 8 } ], @@ -15778,10 +15914,10 @@ }, "type": { "type": "reference", - "id": 1071, + "id": 1146, "name": "PageParams", "dereferenced": { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -15789,21 +15925,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -15816,7 +15952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -15826,7 +15962,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -15839,7 +15975,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -15853,13 +15989,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -15893,7 +16029,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 8 } ], @@ -15918,7 +16054,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 31 } ], @@ -15936,7 +16072,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 16 } ], @@ -15944,7 +16080,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -15961,7 +16097,7 @@ }, { "type": "reference", - "id": 1064, + "id": 1139, "name": "Pagination" } ] @@ -15976,7 +16112,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 59 } ], @@ -16013,7 +16149,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 8 } ], @@ -16035,7 +16171,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 16 } ], @@ -16063,13 +16199,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 29 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -16102,7 +16238,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 60, + "line": 62, "character": 8 } ], @@ -16157,7 +16293,7 @@ } ] }, - "defaultValue": "'global'" + "defaultValue": "..." } ], "type": { @@ -16181,7 +16317,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 15 } ], @@ -16199,7 +16335,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 27 } ], @@ -16212,7 +16348,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -16245,7 +16381,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 243, + "line": 253, "character": 8 } ], @@ -16282,17 +16418,17 @@ }, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -16306,7 +16442,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -16316,7 +16452,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -16330,7 +16466,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -16340,7 +16476,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -16353,7 +16489,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -16367,7 +16503,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -16381,7 +16517,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -16391,7 +16527,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -16405,7 +16541,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -16415,7 +16551,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16429,7 +16565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -16443,7 +16579,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -16456,7 +16592,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -16470,7 +16606,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -16484,7 +16620,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -16494,7 +16630,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16507,7 +16643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -16521,7 +16657,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -16535,7 +16671,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -16545,7 +16681,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -16559,7 +16695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -16569,7 +16705,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -16583,7 +16719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -16598,14 +16734,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -16615,7 +16751,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -16637,7 +16773,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -16669,7 +16805,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 25, + "line": 27, "character": 21 } ] @@ -16688,16 +16824,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 143, + "line": 160, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "dereferenced": { - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -16707,14 +16843,14 @@ }, "children": [ { - "id": 1003, + "id": 1078, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1004, + "id": 1079, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -16724,17 +16860,17 @@ }, "parameters": [ { - "id": 1005, + "id": 1080, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "dereferenced": { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -16742,21 +16878,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16769,7 +16905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -16788,7 +16924,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16799,7 +16935,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -16813,13 +16949,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -16834,7 +16970,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 1036, "name": "AuthMFAChallengeResponse" } ], @@ -16846,14 +16982,14 @@ ] }, { - "id": 1012, + "id": 1087, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1013, + "id": 1088, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -16863,17 +16999,17 @@ }, "parameters": [ { - "id": 1014, + "id": 1089, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -16881,21 +17017,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -16906,7 +17042,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -16916,7 +17052,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16927,7 +17063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -16941,13 +17077,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -16962,7 +17098,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -16974,14 +17110,14 @@ ] }, { - "id": 996, + "id": 1071, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 997, + "id": 1072, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -16992,17 +17128,17 @@ }, "parameters": [ { - "id": 998, + "id": 1073, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17010,21 +17146,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17035,7 +17171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -17045,7 +17181,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17058,7 +17194,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -17068,7 +17204,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -17081,7 +17217,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -17095,13 +17231,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -17116,7 +17252,7 @@ "typeArguments": [ { "type": "reference", - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -17126,24 +17262,24 @@ } }, { - "id": 999, + "id": 1074, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1000, + "id": 1075, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -17151,21 +17287,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17176,7 +17312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -17186,7 +17322,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17199,7 +17335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -17209,7 +17345,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17220,7 +17356,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -17234,13 +17370,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -17255,7 +17391,7 @@ "typeArguments": [ { "type": "reference", - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -17265,24 +17401,24 @@ } }, { - "id": 1001, + "id": 1076, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1002, + "id": 1077, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 921, + "id": 996, "name": "MFAEnrollParams", "dereferenced": { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17290,7 +17426,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -17298,7 +17434,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17306,21 +17442,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17331,7 +17467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -17341,7 +17477,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17354,7 +17490,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -17364,7 +17500,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -17377,7 +17513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -17391,13 +17527,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -17405,7 +17541,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -17413,21 +17549,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17438,7 +17574,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -17448,7 +17584,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17461,7 +17597,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -17471,7 +17607,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17482,7 +17618,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -17496,13 +17632,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -17520,7 +17656,7 @@ "typeArguments": [ { "type": "reference", - "id": 951, + "id": 1026, "name": "AuthMFAEnrollResponse" } ], @@ -17532,14 +17668,14 @@ ] }, { - "id": 1017, + "id": 1092, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1018, + "id": 1093, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -17553,7 +17689,7 @@ "typeArguments": [ { "type": "reference", - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -17565,14 +17701,14 @@ ] }, { - "id": 1015, + "id": 1090, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1016, + "id": 1091, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -17599,7 +17735,7 @@ "typeArguments": [ { "type": "reference", - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse" } ], @@ -17611,14 +17747,14 @@ ] }, { - "id": 1009, + "id": 1084, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1010, + "id": 1085, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -17628,17 +17764,17 @@ }, "parameters": [ { - "id": 1011, + "id": 1086, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "dereferenced": { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17646,21 +17782,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17671,7 +17807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -17685,13 +17821,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -17706,7 +17842,7 @@ "typeArguments": [ { "type": "reference", - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse" } ], @@ -17718,14 +17854,14 @@ ] }, { - "id": 1006, + "id": 1081, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1007, + "id": 1082, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -17735,17 +17871,17 @@ }, "parameters": [ { - "id": 1008, + "id": 1083, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "dereferenced": { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17753,21 +17889,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -17778,7 +17914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -17788,7 +17924,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -17799,7 +17935,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -17809,7 +17945,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17820,7 +17956,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -17834,13 +17970,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -17855,7 +17991,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -17871,13 +18007,13 @@ { "title": "Methods", "kind": 2048, - "children": [1003, 1012, 996, 1017, 1015, 1009, 1006] + "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 935, + "line": 998, "character": 17 } ] @@ -17885,7 +18021,7 @@ } }, { - "id": 148, + "id": 157, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -17893,13 +18029,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 596, + "line": 640, "character": 8 } ], "signatures": [ { - "id": 149, + "id": 158, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -17909,7 +18045,7 @@ }, "parameters": [ { - "id": 150, + "id": 159, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -17925,7 +18061,7 @@ "typeArguments": [ { "type": "reference", - "id": 596, + "id": 639, "name": "AuthTokenResponse" } ], @@ -17937,7 +18073,7 @@ ] }, { - "id": 478, + "id": 508, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -17945,76 +18081,167 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2642, + "line": 3025, "character": 8 } ], "signatures": [ { - "id": 479, + "id": 509, "name": "getClaims", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "tags": [ - { - "tag": "experimental", - "text": "This method may change in future versions." - }, - { - "tag": "description", - "text": "Gets the claims from a JWT. If the JWT is symmetric JWTs, it will call getUser() to verify against the server. If the JWT is asymmetric, it will be verified against the JWKS using the WebCrypto API.\n" - } - ] + "shortText": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n`/.well-known/jwks.json` which is often cached, resulting in significantly\nfaster responses. Prefer this method over {@link #getUser} which always\nsends a request to the Auth server for each JWT.", + "text": "If the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to {@link\n#getUser}) to verify the JWT.\n" }, "parameters": [ { - "id": 480, + "id": 510, "name": "jwt", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "An optional specific JWT you wish to verify, not the one you\n can obtain from {@link #getSession}." + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 481, - "name": "jwks", + "id": 511, + "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, + "comment": { + "shortText": "Various additional options that allow you to customize the\n behavior of this method.\n" + }, "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, - "name": "keys", + "id": 514, + "name": "allowExpired", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` the `exp` claim will not be validated against the current time." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2644, - "character": 12 + "line": 3034, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 515, + "name": "jwks", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 517, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 15 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1210, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ] + } + } + }, + { + "id": 513, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Please use options.jwks instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3031, + "character": 6 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 1135, + "id": 1210, "name": "JWK" } } @@ -18024,12 +18251,12 @@ { "title": "Properties", "kind": 1024, - "children": [483] + "children": [514, 515, 513] } ] } }, - "defaultValue": "..." + "defaultValue": "{}" } ], "type": { @@ -18041,14 +18268,14 @@ { "type": "reflection", "declaration": { - "id": 484, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -18056,21 +18283,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 486, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 487, + "id": 521, "name": "claims", "kind": 1024, "kindString": "Property", @@ -18078,18 +18305,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 16 } ], "type": { "type": "reference", - "id": 1131, + "id": 1206, "name": "JwtPayload" } }, { - "id": 488, + "id": 522, "name": "header", "kind": 1024, "kindString": "Property", @@ -18097,18 +18324,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 36 } ], "type": { "type": "reference", - "id": 1116, + "id": 1191, "name": "JwtHeader" } }, { - "id": 489, + "id": 523, "name": "signature", "kind": 1024, "kindString": "Property", @@ -18116,7 +18343,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 55 } ], @@ -18132,14 +18359,14 @@ { "title": "Properties", "kind": 1024, - "children": [487, 488, 489] + "children": [521, 522, 523] } ] } } }, { - "id": 490, + "id": 524, "name": "error", "kind": 1024, "kindString": "Property", @@ -18147,7 +18374,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2648, + "line": 3042, "character": 8 } ], @@ -18161,7 +18388,7 @@ { "title": "Properties", "kind": 1024, - "children": [485, 490] + "children": [519, 524] } ] } @@ -18169,14 +18396,14 @@ { "type": "reflection", "declaration": { - "id": 491, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 526, "name": "data", "kind": 1024, "kindString": "Property", @@ -18184,7 +18411,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 8 } ], @@ -18194,7 +18421,7 @@ } }, { - "id": 493, + "id": 527, "name": "error", "kind": 1024, "kindString": "Property", @@ -18202,13 +18429,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -18217,7 +18444,7 @@ { "title": "Properties", "kind": 1024, - "children": [492, 493] + "children": [526, 527] } ] } @@ -18225,14 +18452,14 @@ { "type": "reflection", "declaration": { - "id": 494, + "id": 528, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "id": 529, "name": "data", "kind": 1024, "kindString": "Property", @@ -18240,7 +18467,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 8 } ], @@ -18250,7 +18477,7 @@ } }, { - "id": 496, + "id": 530, "name": "error", "kind": 1024, "kindString": "Property", @@ -18258,7 +18485,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 20 } ], @@ -18272,7 +18499,7 @@ { "title": "Properties", "kind": 1024, - "children": [495, 496] + "children": [529, 530] } ] } @@ -18288,7 +18515,7 @@ ] }, { - "id": 187, + "id": 217, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -18296,13 +18523,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 947, + "line": 1199, "character": 8 } ], "signatures": [ { - "id": 188, + "id": 218, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -18320,14 +18547,14 @@ { "type": "reflection", "declaration": { - "id": 189, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 190, + "id": 220, "name": "data", "kind": 1024, "kindString": "Property", @@ -18335,21 +18562,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1040, + "line": 1292, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 222, "name": "session", "kind": 1024, "kindString": "Property", @@ -18357,13 +18584,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1293, "character": 14 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -18372,14 +18599,14 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [222] } ] } } }, { - "id": 193, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -18387,7 +18614,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1295, "character": 12 } ], @@ -18401,7 +18628,7 @@ { "title": "Properties", "kind": 1024, - "children": [190, 193] + "children": [220, 223] } ] } @@ -18409,14 +18636,14 @@ { "type": "reflection", "declaration": { - "id": 194, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 195, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -18424,21 +18651,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1298, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 226, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 227, "name": "session", "kind": 1024, "kindString": "Property", @@ -18446,7 +18673,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1047, + "line": 1299, "character": 14 } ], @@ -18460,14 +18687,14 @@ { "title": "Properties", "kind": 1024, - "children": [197] + "children": [227] } ] } } }, { - "id": 198, + "id": 228, "name": "error", "kind": 1024, "kindString": "Property", @@ -18475,13 +18702,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1049, + "line": 1301, "character": 12 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -18490,7 +18717,7 @@ { "title": "Properties", "kind": 1024, - "children": [195, 198] + "children": [225, 228] } ] } @@ -18498,14 +18725,14 @@ { "type": "reflection", "declaration": { - "id": 199, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 200, + "id": 230, "name": "data", "kind": 1024, "kindString": "Property", @@ -18513,21 +18740,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1052, + "line": 1304, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 232, "name": "session", "kind": 1024, "kindString": "Property", @@ -18535,7 +18762,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1053, + "line": 1305, "character": 14 } ], @@ -18549,14 +18776,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [232] } ] } } }, { - "id": 203, + "id": 233, "name": "error", "kind": 1024, "kindString": "Property", @@ -18564,7 +18791,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1055, + "line": 1307, "character": 12 } ], @@ -18578,7 +18805,7 @@ { "title": "Properties", "kind": 1024, - "children": [200, 203] + "children": [230, 233] } ] } @@ -18594,7 +18821,7 @@ ] }, { - "id": 250, + "id": 280, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -18602,13 +18829,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1178, + "line": 1443, "character": 8 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -18618,7 +18845,7 @@ }, "parameters": [ { - "id": 252, + "id": 282, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -18639,7 +18866,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -18651,7 +18878,7 @@ ] }, { - "id": 359, + "id": 389, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -18659,13 +18886,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1736, + "line": 2001, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 390, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -18682,14 +18909,14 @@ { "type": "reflection", "declaration": { - "id": 361, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 362, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -18697,21 +18924,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 2003, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 363, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 364, + "id": 394, "name": "identities", "kind": 1024, "kindString": "Property", @@ -18719,7 +18946,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1739, + "line": 2004, "character": 10 } ], @@ -18727,7 +18954,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity" } } @@ -18737,14 +18964,14 @@ { "title": "Properties", "kind": 1024, - "children": [364] + "children": [394] } ] } } }, { - "id": 365, + "id": 395, "name": "error", "kind": 1024, "kindString": "Property", @@ -18752,7 +18979,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1741, + "line": 2006, "character": 8 } ], @@ -18766,7 +18993,7 @@ { "title": "Properties", "kind": 1024, - "children": [362, 365] + "children": [392, 395] } ] } @@ -18774,14 +19001,14 @@ { "type": "reflection", "declaration": { - "id": 366, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 397, "name": "data", "kind": 1024, "kindString": "Property", @@ -18789,7 +19016,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 8 } ], @@ -18799,7 +19026,7 @@ } }, { - "id": 368, + "id": 398, "name": "error", "kind": 1024, "kindString": "Property", @@ -18807,13 +19034,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -18822,7 +19049,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [397, 398] } ] } @@ -18838,7 +19065,7 @@ ] }, { - "id": 132, + "id": 141, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -18846,13 +19073,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 298, + "line": 342, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 142, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -18865,7 +19092,7 @@ "typeArguments": [ { "type": "reference", - "id": 1054, + "id": 1129, "name": "InitializeResult" } ], @@ -18877,7 +19104,7 @@ ] }, { - "id": 369, + "id": 399, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -18885,13 +19112,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1760, + "line": 2025, "character": 8 } ], "signatures": [ { - "id": 370, + "id": 400, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -18901,17 +19128,17 @@ }, "parameters": [ { - "id": 371, + "id": 401, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18919,21 +19146,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -18943,21 +19170,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -18970,14 +19197,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18985,19 +19212,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -19016,7 +19243,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19029,7 +19256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -19039,7 +19266,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -19052,7 +19279,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -19062,7 +19289,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -19075,7 +19302,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -19089,13 +19316,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -19103,7 +19330,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19114,16 +19341,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -19134,7 +19361,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -19239,13 +19466,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -19260,7 +19487,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -19272,7 +19499,7 @@ ] }, { - "id": 331, + "id": 361, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -19280,13 +19507,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1634, + "line": 1899, "character": 2 } ], "signatures": [ { - "id": 332, + "id": 362, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -19296,7 +19523,7 @@ }, "parameters": [ { - "id": 333, + "id": 363, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -19307,33 +19534,33 @@ "type": { "type": "reflection", "declaration": { - "id": 334, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 335, + "id": 365, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 366, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent" } }, { - "id": 337, + "id": 367, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19347,7 +19574,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -19384,14 +19611,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 369, "name": "data", "kind": 1024, "kindString": "Property", @@ -19399,21 +19626,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -19421,23 +19648,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 12 } ], "type": { "type": "reference", - "id": 741, + "id": 785, "name": "Subscription", "dereferenced": { - "id": 741, + "id": 785, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 742, + "id": 786, "name": "id", "kind": 1024, "kindString": "Property", @@ -19448,7 +19675,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 477, "character": 2 } ], @@ -19458,7 +19685,7 @@ } }, { - "id": 743, + "id": 787, "name": "callback", "kind": 2048, "kindString": "Method", @@ -19466,13 +19693,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 481, "character": 2 } ], "signatures": [ { - "id": 744, + "id": 788, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -19482,17 +19709,17 @@ }, "parameters": [ { - "id": 745, + "id": 789, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent", "dereferenced": { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -19500,7 +19727,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -19532,7 +19759,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -19540,7 +19767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -19555,7 +19782,7 @@ } }, { - "id": 746, + "id": 790, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19569,7 +19796,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -19584,7 +19811,7 @@ ] }, { - "id": 747, + "id": 791, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -19592,13 +19819,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 485, "character": 2 } ], "signatures": [ { - "id": 748, + "id": 792, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -19618,18 +19845,18 @@ { "title": "Properties", "kind": 1024, - "children": [742] + "children": [786] }, { "title": "Methods", "kind": 2048, - "children": [743, 747] + "children": [787, 791] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 459, + "line": 473, "character": 17 } ] @@ -19641,7 +19868,7 @@ { "title": "Properties", "kind": 1024, - "children": [341] + "children": [371] } ] } @@ -19652,7 +19879,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [369] } ] } @@ -19661,7 +19888,7 @@ ] }, { - "id": 180, + "id": 210, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -19669,13 +19896,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 863, + "line": 1115, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 211, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -19688,7 +19915,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -19700,7 +19927,7 @@ ] }, { - "id": 280, + "id": 310, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -19708,13 +19935,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 311, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -19724,7 +19951,7 @@ }, "parameters": [ { - "id": 282, + "id": 312, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -19737,14 +19964,14 @@ "type": { "type": "reflection", "declaration": { - "id": 283, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 284, + "id": 314, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19752,7 +19979,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 42 } ], @@ -19766,7 +19993,7 @@ { "title": "Properties", "kind": 1024, - "children": [284] + "children": [314] } ] } @@ -19778,7 +20005,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -19790,7 +20017,7 @@ ] }, { - "id": 184, + "id": 214, "name": "resend", "kind": 2048, "kindString": "Method", @@ -19798,13 +20025,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 898, + "line": 1150, "character": 8 } ], "signatures": [ { - "id": 185, + "id": 215, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -19814,17 +20041,17 @@ }, "parameters": [ { - "id": 186, + "id": 216, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 922, "name": "ResendParams", "dereferenced": { - "id": 847, + "id": 922, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -19832,7 +20059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 728, "character": 12 } ], @@ -19842,14 +20069,14 @@ { "type": "reflection", "declaration": { - "id": 848, + "id": 923, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 925, "name": "email", "kind": 1024, "kindString": "Property", @@ -19857,7 +20084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 731, "character": 6 } ], @@ -19867,7 +20094,7 @@ } }, { - "id": 851, + "id": 926, "name": "options", "kind": 1024, "kindString": "Property", @@ -19877,21 +20104,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 927, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 929, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19904,7 +20131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 736, "character": 8 } ], @@ -19914,7 +20141,7 @@ } }, { - "id": 853, + "id": 928, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -19927,7 +20154,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 734, "character": 8 } ], @@ -19941,13 +20168,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 853] + "children": [929, 928] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 16 } ] @@ -19955,7 +20182,7 @@ } }, { - "id": 849, + "id": 924, "name": "type", "kind": 1024, "kindString": "Property", @@ -19963,7 +20190,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 667, + "line": 730, "character": 6 } ], @@ -19972,7 +20199,7 @@ "typeArguments": [ { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" }, { @@ -19999,13 +20226,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 851, 849] + "children": [925, 926, 924] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 729, "character": 4 } ] @@ -20014,14 +20241,14 @@ { "type": "reflection", "declaration": { - "id": 855, + "id": 930, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 858, + "id": 933, "name": "options", "kind": 1024, "kindString": "Property", @@ -20031,21 +20258,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 859, + "id": 934, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 935, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20058,7 +20285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 744, "character": 8 } ], @@ -20072,13 +20299,13 @@ { "title": "Properties", "kind": 1024, - "children": [860] + "children": [935] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 16 } ] @@ -20086,7 +20313,7 @@ } }, { - "id": 857, + "id": 932, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20094,7 +20321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 741, "character": 6 } ], @@ -20104,7 +20331,7 @@ } }, { - "id": 856, + "id": 931, "name": "type", "kind": 1024, "kindString": "Property", @@ -20112,7 +20339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 677, + "line": 740, "character": 6 } ], @@ -20121,7 +20348,7 @@ "typeArguments": [ { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" }, { @@ -20148,13 +20375,13 @@ { "title": "Properties", "kind": 1024, - "children": [858, 857, 856] + "children": [933, 932, 931] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 739, "character": 4 } ] @@ -20171,7 +20398,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -20183,7 +20410,7 @@ ] }, { - "id": 345, + "id": 375, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -20191,13 +20418,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1690, + "line": 1955, "character": 8 } ], "signatures": [ { - "id": 346, + "id": 376, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -20207,7 +20434,7 @@ }, "parameters": [ { - "id": 347, + "id": 377, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -20221,7 +20448,7 @@ } }, { - "id": 348, + "id": 378, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -20229,14 +20456,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 381, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20249,7 +20476,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1694, + "line": 1959, "character": 6 } ], @@ -20259,7 +20486,7 @@ } }, { - "id": 350, + "id": 380, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20272,7 +20499,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1958, "character": 6 } ], @@ -20286,7 +20513,7 @@ { "title": "Properties", "kind": 1024, - "children": [351, 350] + "children": [381, 380] } ] } @@ -20303,14 +20530,14 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 382, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 383, "name": "data", "kind": 1024, "kindString": "Property", @@ -20318,14 +20545,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1698, + "line": 1963, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 354, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20334,7 +20561,7 @@ } }, { - "id": 355, + "id": 385, "name": "error", "kind": 1024, "kindString": "Property", @@ -20342,7 +20569,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1699, + "line": 1964, "character": 8 } ], @@ -20356,7 +20583,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 355] + "children": [383, 385] } ] } @@ -20364,14 +20591,14 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 357, + "id": 387, "name": "data", "kind": 1024, "kindString": "Property", @@ -20379,7 +20606,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 8 } ], @@ -20389,7 +20616,7 @@ } }, { - "id": 358, + "id": 388, "name": "error", "kind": 1024, "kindString": "Property", @@ -20397,13 +20624,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -20412,7 +20639,7 @@ { "title": "Properties", "kind": 1024, - "children": [357, 358] + "children": [387, 388] } ] } @@ -20428,7 +20655,7 @@ ] }, { - "id": 268, + "id": 298, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -20436,13 +20663,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1573, "character": 8 } ], "signatures": [ { - "id": 269, + "id": 299, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -20452,7 +20679,7 @@ }, "parameters": [ { - "id": 270, + "id": 300, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -20463,14 +20690,14 @@ "type": { "type": "reflection", "declaration": { - "id": 271, + "id": 301, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 272, + "id": 302, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -20478,7 +20705,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1574, "character": 4 } ], @@ -20488,7 +20715,7 @@ } }, { - "id": 273, + "id": 303, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -20496,7 +20723,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1310, + "line": 1575, "character": 4 } ], @@ -20510,7 +20737,7 @@ { "title": "Properties", "kind": 1024, - "children": [272, 273] + "children": [302, 303] } ] } @@ -20522,7 +20749,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -20534,7 +20761,7 @@ ] }, { - "id": 136, + "id": 145, "name": "signInAnonymously", "kind": 2048, "kindString": "Method", @@ -20542,13 +20769,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 401, + "line": 445, "character": 8 } ], "signatures": [ { - "id": 137, + "id": 146, "name": "signInAnonymously", "kind": 4096, "kindString": "Call signature", @@ -20559,7 +20786,7 @@ }, "parameters": [ { - "id": 138, + "id": 147, "name": "credentials", "kind": 32768, "kindString": "Parameter", @@ -20568,10 +20795,10 @@ }, "type": { "type": "reference", - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20579,21 +20806,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 795, "name": "options", "kind": 1024, "kindString": "Property", @@ -20603,21 +20830,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 752, + "id": 796, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 754, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20630,7 +20857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 497, "character": 4 } ], @@ -20640,7 +20867,7 @@ } }, { - "id": 753, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -20654,7 +20881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 495, "character": 4 } ], @@ -20668,13 +20895,13 @@ { "title": "Properties", "kind": 1024, - "children": [754, 753] + "children": [798, 797] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 12 } ] @@ -20686,13 +20913,13 @@ { "title": "Properties", "kind": 1024, - "children": [751] + "children": [795] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 43 } ] @@ -20707,7 +20934,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -20719,7 +20946,7 @@ ] }, { - "id": 168, + "id": 198, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -20727,13 +20954,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 656, + "line": 908, "character": 8 } ], "signatures": [ { - "id": 169, + "id": 199, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -20743,17 +20970,17 @@ }, "parameters": [ { - "id": 170, + "id": 200, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20761,21 +20988,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 820, + "id": 864, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -20788,7 +21015,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 606, + "line": 621, "character": 2 } ], @@ -20798,7 +21025,7 @@ } }, { - "id": 821, + "id": 865, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -20811,7 +21038,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 623, "character": 2 } ], @@ -20821,7 +21048,7 @@ } }, { - "id": 822, + "id": 866, "name": "options", "kind": 1024, "kindString": "Property", @@ -20831,21 +21058,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 823, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 868, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20858,7 +21085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 626, "character": 4 } ], @@ -20872,13 +21099,13 @@ { "title": "Properties", "kind": 1024, - "children": [824] + "children": [868] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 12 } ] @@ -20886,7 +21113,7 @@ } }, { - "id": 817, + "id": 861, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20897,7 +21124,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 2 } ], @@ -20934,7 +21161,7 @@ { "type": "reflection", "declaration": { - "id": 818, + "id": 862, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20942,7 +21169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 76 } ] @@ -20954,7 +21181,7 @@ } }, { - "id": 819, + "id": 863, "name": "token", "kind": 1024, "kindString": "Property", @@ -20965,7 +21192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 604, + "line": 619, "character": 2 } ], @@ -20979,13 +21206,13 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821, 822, 817, 819] + "children": [864, 865, 866, 861, 863] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 43 } ] @@ -21000,7 +21227,7 @@ "typeArguments": [ { "type": "reference", - "id": 596, + "id": 639, "name": "AuthTokenResponse" } ], @@ -21012,7 +21239,7 @@ ] }, { - "id": 145, + "id": 154, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -21020,13 +21247,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 628, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 155, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -21036,17 +21263,17 @@ }, "parameters": [ { - "id": 147, + "id": 156, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21054,21 +21281,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -21078,21 +21305,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -21105,14 +21332,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21120,19 +21347,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -21151,7 +21378,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21164,7 +21391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -21174,7 +21401,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -21187,7 +21414,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -21197,7 +21424,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -21210,7 +21437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -21224,13 +21451,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -21238,7 +21465,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21249,16 +21476,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -21269,7 +21496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -21374,13 +21601,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -21395,7 +21622,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -21407,7 +21634,7 @@ ] }, { - "id": 171, + "id": 201, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -21415,13 +21642,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 711, + "line": 963, "character": 8 } ], "signatures": [ { - "id": 172, + "id": 202, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -21432,17 +21659,17 @@ }, "parameters": [ { - "id": 173, + "id": 203, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21450,7 +21677,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 546, + "line": 561, "character": 12 } ], @@ -21460,14 +21687,14 @@ { "type": "reflection", "declaration": { - "id": 786, + "id": 830, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 831, "name": "email", "kind": 1024, "kindString": "Property", @@ -21478,7 +21705,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 549, + "line": 564, "character": 6 } ], @@ -21488,7 +21715,7 @@ } }, { - "id": 788, + "id": 832, "name": "options", "kind": 1024, "kindString": "Property", @@ -21498,21 +21725,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 789, + "id": 833, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 793, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21525,7 +21752,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 577, "character": 8 } ], @@ -21535,7 +21762,7 @@ } }, { - "id": 792, + "id": 836, "name": "data", "kind": 1024, "kindString": "Property", @@ -21549,7 +21776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 560, + "line": 575, "character": 8 } ], @@ -21559,7 +21786,7 @@ } }, { - "id": 790, + "id": 834, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -21572,7 +21799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 567, "character": 8 } ], @@ -21582,7 +21809,7 @@ } }, { - "id": 791, + "id": 835, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21595,7 +21822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 569, "character": 8 } ], @@ -21609,13 +21836,13 @@ { "title": "Properties", "kind": 1024, - "children": [793, 792, 790, 791] + "children": [837, 836, 834, 835] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 16 } ] @@ -21627,13 +21854,13 @@ { "title": "Properties", "kind": 1024, - "children": [787, 788] + "children": [831, 832] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 562, "character": 4 } ] @@ -21642,14 +21869,14 @@ { "type": "reflection", "declaration": { - "id": 794, + "id": 838, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 796, + "id": 840, "name": "options", "kind": 1024, "kindString": "Property", @@ -21659,21 +21886,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 797, + "id": 841, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 800, + "id": 844, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21686,7 +21913,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 578, + "line": 593, "character": 8 } ], @@ -21696,7 +21923,7 @@ } }, { - "id": 801, + "id": 845, "name": "channel", "kind": 1024, "kindString": "Property", @@ -21709,7 +21936,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 595, "character": 8 } ], @@ -21728,7 +21955,7 @@ } }, { - "id": 799, + "id": 843, "name": "data", "kind": 1024, "kindString": "Property", @@ -21742,7 +21969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 576, + "line": 591, "character": 8 } ], @@ -21752,7 +21979,7 @@ } }, { - "id": 798, + "id": 842, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21765,7 +21992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 585, "character": 8 } ], @@ -21779,13 +22006,13 @@ { "title": "Properties", "kind": 1024, - "children": [800, 801, 799, 798] + "children": [844, 845, 843, 842] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 16 } ] @@ -21793,7 +22020,7 @@ } }, { - "id": 795, + "id": 839, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21804,7 +22031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 582, "character": 6 } ], @@ -21818,13 +22045,13 @@ { "title": "Properties", "kind": 1024, - "children": [796, 795] + "children": [840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 580, "character": 4 } ] @@ -21841,7 +22068,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -21853,7 +22080,7 @@ ] }, { - "id": 142, + "id": 151, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -21861,13 +22088,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 521, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 152, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -21878,17 +22105,17 @@ }, "parameters": [ { - "id": 144, + "id": 153, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21896,7 +22123,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 539, "character": 12 } ], @@ -21906,14 +22133,14 @@ { "type": "reflection", "declaration": { - "id": 773, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 774, + "id": 818, "name": "email", "kind": 1024, "kindString": "Property", @@ -21924,7 +22151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 542, "character": 6 } ], @@ -21934,7 +22161,7 @@ } }, { - "id": 776, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -21944,21 +22171,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 777, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 778, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21971,7 +22198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 547, "character": 8 } ], @@ -21985,13 +22212,13 @@ { "title": "Properties", "kind": 1024, - "children": [778] + "children": [822] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 16 } ] @@ -21999,7 +22226,7 @@ } }, { - "id": 775, + "id": 819, "name": "password", "kind": 1024, "kindString": "Property", @@ -22010,7 +22237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 529, + "line": 544, "character": 6 } ], @@ -22024,13 +22251,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 776, 775] + "children": [818, 820, 819] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 540, "character": 4 } ] @@ -22039,14 +22266,14 @@ { "type": "reflection", "declaration": { - "id": 779, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -22056,21 +22283,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 783, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 828, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22083,7 +22310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 557, "character": 8 } ], @@ -22097,13 +22324,13 @@ { "title": "Properties", "kind": 1024, - "children": [784] + "children": [828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 16 } ] @@ -22111,7 +22338,7 @@ } }, { - "id": 781, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -22122,7 +22349,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 554, "character": 6 } ], @@ -22132,7 +22359,7 @@ } }, { - "id": 780, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22143,7 +22370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 537, + "line": 552, "character": 6 } ], @@ -22157,13 +22384,13 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781, 780] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 550, "character": 4 } ] @@ -22180,7 +22407,7 @@ "typeArguments": [ { "type": "reference", - "id": 609, + "id": 652, "name": "AuthTokenResponsePassword" } ], @@ -22192,7 +22419,7 @@ ] }, { - "id": 177, + "id": 207, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -22200,13 +22427,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 825, + "line": 1077, "character": 8 } ], "signatures": [ { - "id": 178, + "id": 208, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -22217,17 +22444,17 @@ }, "parameters": [ { - "id": 179, + "id": 209, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 861, + "id": 936, "name": "SignInWithSSO", "dereferenced": { - "id": 861, + "id": 936, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -22235,7 +22462,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 748, "character": 12 } ], @@ -22245,14 +22472,14 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 939, "name": "options", "kind": 1024, "kindString": "Property", @@ -22262,21 +22489,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 940, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, + "id": 942, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22289,7 +22516,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 694, + "line": 757, "character": 8 } ], @@ -22299,7 +22526,7 @@ } }, { - "id": 866, + "id": 941, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22312,7 +22539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 692, + "line": 755, "character": 8 } ], @@ -22326,13 +22553,13 @@ { "title": "Properties", "kind": 1024, - "children": [867, 866] + "children": [942, 941] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 16 } ] @@ -22340,7 +22567,7 @@ } }, { - "id": 863, + "id": 938, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -22351,7 +22578,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 751, "character": 6 } ], @@ -22365,13 +22592,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 863] + "children": [939, 938] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 749, "character": 4 } ] @@ -22380,14 +22607,14 @@ { "type": "reflection", "declaration": { - "id": 868, + "id": 943, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 869, + "id": 944, "name": "domain", "kind": 1024, "kindString": "Property", @@ -22398,7 +22625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 762, "character": 6 } ], @@ -22408,7 +22635,7 @@ } }, { - "id": 870, + "id": 945, "name": "options", "kind": 1024, "kindString": "Property", @@ -22418,21 +22645,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 871, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 873, + "id": 948, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22445,7 +22672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 768, "character": 8 } ], @@ -22455,7 +22682,7 @@ } }, { - "id": 872, + "id": 947, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22468,7 +22695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 766, "character": 8 } ], @@ -22482,13 +22709,13 @@ { "title": "Properties", "kind": 1024, - "children": [873, 872] + "children": [948, 947] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 16 } ] @@ -22500,13 +22727,13 @@ { "title": "Properties", "kind": 1024, - "children": [869, 870] + "children": [944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 760, "character": 4 } ] @@ -22523,7 +22750,7 @@ "typeArguments": [ { "type": "reference", - "id": 637, + "id": 680, "name": "SSOResponse" } ], @@ -22535,7 +22762,687 @@ ] }, { - "id": 321, + "id": 160, + "name": "signInWithWeb3", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 652, + "character": 8 + } + ], + "signatures": [ + { + "id": 161, + "name": "signInWithWeb3", + "kind": 4096, + "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." + }, + "parameters": [ + { + "id": 162, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials", + "dereferenced": { + "id": 882, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 883, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "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" + } + }, + { + "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": [ + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [890, 891, 889] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 16 + } + ] + } + } + }, + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 16 + } + ] + } + } + }, + { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [893, 894, 896, 895] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 661, + "character": 4 + } + ] + } + } + ] + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 164, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 166, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 167, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 34 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [166, 167] + } + ] + } + } + }, + { + "id": 168, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 655, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [164, 168] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 170, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 171, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 172, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 16 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 173, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 31 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [172, 173] + } + ] + } + } + }, + { + "id": 174, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [170, 174] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 351, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -22543,13 +23450,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 8 } ], "signatures": [ { - "id": 322, + "id": 352, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -22560,17 +23467,17 @@ }, "parameters": [ { - "id": 323, + "id": 353, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1075, + "id": 1150, "name": "SignOut", "dereferenced": { - "id": 1075, + "id": 1150, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -22578,21 +23485,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1076, + "id": 1151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1077, + "id": 1152, "name": "scope", "kind": 1024, "kindString": "Property", @@ -22605,7 +23512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1127, + "line": 1190, "character": 2 } ], @@ -22632,13 +23539,13 @@ { "title": "Properties", "kind": 1024, - "children": [1077] + "children": [1152] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 22 } ] @@ -22655,14 +23562,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 355, "name": "error", "kind": 1024, "kindString": "Property", @@ -22670,7 +23577,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 67 } ], @@ -22683,7 +23590,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -22694,7 +23601,7 @@ { "title": "Properties", "kind": 1024, - "children": [325] + "children": [355] } ] } @@ -22708,7 +23615,7 @@ ] }, { - "id": 139, + "id": 148, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -22716,13 +23623,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 444, + "line": 488, "character": 8 } ], "signatures": [ { - "id": 140, + "id": 149, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -22734,17 +23641,17 @@ }, "parameters": [ { - "id": 141, + "id": 150, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 755, + "id": 799, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 755, + "id": 799, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22752,7 +23659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 501, "character": 12 } ], @@ -22762,14 +23669,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 801, "name": "email", "kind": 1024, "kindString": "Property", @@ -22780,7 +23687,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 490, + "line": 504, "character": 6 } ], @@ -22790,7 +23697,7 @@ } }, { - "id": 759, + "id": 803, "name": "options", "kind": 1024, "kindString": "Property", @@ -22800,21 +23707,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 804, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 763, + "id": 807, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22827,7 +23734,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 503, + "line": 517, "character": 8 } ], @@ -22837,7 +23744,7 @@ } }, { - "id": 762, + "id": 806, "name": "data", "kind": 1024, "kindString": "Property", @@ -22851,7 +23758,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 515, "character": 8 } ], @@ -22861,7 +23768,7 @@ } }, { - "id": 761, + "id": 805, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -22874,7 +23781,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 509, "character": 8 } ], @@ -22888,13 +23795,13 @@ { "title": "Properties", "kind": 1024, - "children": [763, 762, 761] + "children": [807, 806, 805] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 16 } ] @@ -22902,7 +23809,7 @@ } }, { - "id": 758, + "id": 802, "name": "password", "kind": 1024, "kindString": "Property", @@ -22913,7 +23820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 492, + "line": 506, "character": 6 } ], @@ -22927,13 +23834,13 @@ { "title": "Properties", "kind": 1024, - "children": [757, 759, 758] + "children": [801, 803, 802] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 502, "character": 4 } ] @@ -22942,14 +23849,14 @@ { "type": "reflection", "declaration": { - "id": 764, + "id": 808, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 767, + "id": 811, "name": "options", "kind": 1024, "kindString": "Property", @@ -22959,21 +23866,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 768, + "id": 812, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 814, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22986,7 +23893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 533, "character": 8 } ], @@ -22996,7 +23903,7 @@ } }, { - "id": 771, + "id": 815, "name": "channel", "kind": 1024, "kindString": "Property", @@ -23009,7 +23916,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 535, "character": 8 } ], @@ -23028,7 +23935,7 @@ } }, { - "id": 769, + "id": 813, "name": "data", "kind": 1024, "kindString": "Property", @@ -23042,7 +23949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 531, "character": 8 } ], @@ -23056,13 +23963,13 @@ { "title": "Properties", "kind": 1024, - "children": [770, 771, 769] + "children": [814, 815, 813] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 16 } ] @@ -23070,7 +23977,7 @@ } }, { - "id": 766, + "id": 810, "name": "password", "kind": 1024, "kindString": "Property", @@ -23081,7 +23988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 524, "character": 6 } ], @@ -23091,7 +23998,7 @@ } }, { - "id": 765, + "id": 809, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23102,7 +24009,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 522, "character": 6 } ], @@ -23116,13 +24023,13 @@ { "title": "Properties", "kind": 1024, - "children": [767, 766, 765] + "children": [811, 810, 809] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 520, "character": 4 } ] @@ -23139,7 +24046,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -23151,7 +24058,7 @@ ] }, { - "id": 427, + "id": 457, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -23159,13 +24066,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2175, + "line": 2542, "character": 8 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -23190,7 +24097,7 @@ ] }, { - "id": 429, + "id": 459, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -23198,13 +24105,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2188, + "line": 2555, "character": 8 } ], "signatures": [ { - "id": 430, + "id": 460, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -23229,7 +24136,7 @@ ] }, { - "id": 372, + "id": 402, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -23237,13 +24144,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1796, + "line": 2061, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 403, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -23253,24 +24160,24 @@ }, "parameters": [ { - "id": 374, + "id": 404, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity", "dereferenced": { - "id": 670, + "id": 713, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 679, + "id": 722, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -23280,7 +24187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 285, + "line": 298, "character": 2 } ], @@ -23290,7 +24197,7 @@ } }, { - "id": 671, + "id": 714, "name": "id", "kind": 1024, "kindString": "Property", @@ -23298,7 +24205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 278, + "line": 291, "character": 2 } ], @@ -23308,7 +24215,7 @@ } }, { - "id": 673, + "id": 716, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -23318,27 +24225,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 293, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 717, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 675, + "id": 718, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 676, + "id": 719, "name": "key", "kind": 32768, "flags": {}, @@ -23357,7 +24264,7 @@ } }, { - "id": 677, + "id": 720, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -23365,7 +24272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 283, + "line": 296, "character": 2 } ], @@ -23375,7 +24282,7 @@ } }, { - "id": 680, + "id": 723, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -23385,7 +24292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 286, + "line": 299, "character": 2 } ], @@ -23395,7 +24302,7 @@ } }, { - "id": 678, + "id": 721, "name": "provider", "kind": 1024, "kindString": "Property", @@ -23403,7 +24310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 284, + "line": 297, "character": 2 } ], @@ -23413,7 +24320,7 @@ } }, { - "id": 681, + "id": 724, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -23423,7 +24330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 300, "character": 2 } ], @@ -23433,7 +24340,7 @@ } }, { - "id": 672, + "id": 715, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -23441,7 +24348,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 292, "character": 2 } ], @@ -23455,13 +24362,13 @@ { "title": "Properties", "kind": 1024, - "children": [679, 671, 673, 677, 680, 678, 681, 672] + "children": [722, 714, 716, 720, 723, 721, 724, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 277, + "line": 290, "character": 17 } ] @@ -23478,14 +24385,14 @@ { "type": "reflection", "declaration": { - "id": 375, + "id": 405, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 376, + "id": 406, "name": "data", "kind": 1024, "kindString": "Property", @@ -23493,14 +24400,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1798, + "line": 2063, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 377, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -23509,7 +24416,7 @@ } }, { - "id": 378, + "id": 408, "name": "error", "kind": 1024, "kindString": "Property", @@ -23517,7 +24424,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1799, + "line": 2064, "character": 8 } ], @@ -23531,7 +24438,7 @@ { "title": "Properties", "kind": 1024, - "children": [376, 378] + "children": [406, 408] } ] } @@ -23539,14 +24446,14 @@ { "type": "reflection", "declaration": { - "id": 379, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 380, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -23554,7 +24461,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 8 } ], @@ -23564,7 +24471,7 @@ } }, { - "id": 381, + "id": 411, "name": "error", "kind": 1024, "kindString": "Property", @@ -23572,13 +24479,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -23587,7 +24494,7 @@ { "title": "Properties", "kind": 1024, - "children": [380, 381] + "children": [410, 411] } ] } @@ -23603,7 +24510,7 @@ ] }, { - "id": 256, + "id": 286, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -23611,13 +24518,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1239, + "line": 1504, "character": 8 } ], "signatures": [ { - "id": 257, + "id": 287, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -23627,24 +24534,24 @@ }, "parameters": [ { - "id": 258, + "id": 288, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes", "dereferenced": { - "id": 722, + "id": 766, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 727, + "id": 771, "name": "data", "kind": 1024, "kindString": "Property", @@ -23658,7 +24565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 381, + "line": 395, "character": 2 } ], @@ -23668,7 +24575,7 @@ } }, { - "id": 723, + "id": 767, "name": "email", "kind": 1024, "kindString": "Property", @@ -23681,7 +24588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -23691,7 +24598,7 @@ } }, { - "id": 726, + "id": 770, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -23705,7 +24612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -23715,7 +24622,7 @@ } }, { - "id": 725, + "id": 769, "name": "password", "kind": 1024, "kindString": "Property", @@ -23728,7 +24635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -23738,7 +24645,7 @@ } }, { - "id": 724, + "id": 768, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23751,7 +24658,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -23765,13 +24672,13 @@ { "title": "Properties", "kind": 1024, - "children": [727, 723, 726, 725, 724] + "children": [771, 767, 770, 769, 768] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 366, "character": 17 } ] @@ -23779,7 +24686,7 @@ } }, { - "id": 259, + "id": 289, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -23787,14 +24694,14 @@ "type": { "type": "reflection", "declaration": { - "id": 260, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 261, + "id": 291, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -23804,7 +24711,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1242, + "line": 1507, "character": 6 } ], @@ -23818,7 +24725,7 @@ { "title": "Properties", "kind": 1024, - "children": [261] + "children": [291] } ] } @@ -23831,7 +24738,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -23843,7 +24750,7 @@ ] }, { - "id": 174, + "id": 204, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -23851,13 +24758,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 764, + "line": 1016, "character": 8 } ], "signatures": [ { - "id": 175, + "id": 205, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -23867,17 +24774,17 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 825, + "id": 900, "name": "VerifyOtpParams", "dereferenced": { - "id": 825, + "id": 900, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -23885,7 +24792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 678, "character": 12 } ], @@ -23893,14 +24800,14 @@ "type": "union", "types": [ { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -23910,21 +24817,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23943,7 +24850,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -23953,7 +24860,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23966,7 +24873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -23980,14 +24887,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23998,7 +24905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -24008,7 +24915,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -24019,7 +24926,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -24029,7 +24936,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -24040,16 +24947,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24057,7 +24964,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -24082,26 +24989,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -24112,7 +25019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -24122,7 +25029,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -24132,21 +25039,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24165,7 +25072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -24175,7 +25082,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24188,7 +25095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -24202,14 +25109,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -24220,7 +25127,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -24230,7 +25137,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -24241,16 +25148,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24258,7 +25165,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -24299,26 +25206,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -24329,7 +25236,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -24339,7 +25246,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -24350,16 +25257,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24367,7 +25274,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -24408,13 +25315,13 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] @@ -24430,7 +25337,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -24457,42 +25364,42 @@ "title": "Methods", "kind": 2048, "children": [ - 148, 478, 187, 250, 359, 132, 369, 331, 180, 280, 184, 345, 268, 136, 168, 145, 171, - 142, 177, 321, 139, 427, 429, 372, 256, 174 + 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 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 130, + "line": 147, "character": 21 } ] }, { - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 508, + "id": 542, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 509, + "id": 543, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 510, + "id": 544, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -24505,7 +25412,7 @@ ], "type": { "type": "reference", - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -24520,7 +25427,7 @@ } }, { - "id": 511, + "id": 545, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -24550,12 +25457,12 @@ { "title": "Constructors", "kind": 512, - "children": [508] + "children": [542] }, { "title": "Properties", "kind": 1024, - "children": [511] + "children": [545] } ], "sources": [ @@ -24573,7 +25480,7 @@ ] }, { - "id": 666, + "id": 709, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -24590,7 +25497,7 @@ }, "children": [ { - "id": 667, + "id": 710, "name": "method", "kind": 1024, "kindString": "Property", @@ -24601,7 +25508,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 281, "character": 2 } ], @@ -24622,7 +25529,7 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24647,7 +25554,7 @@ } }, { - "id": 669, + "id": 712, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -24658,7 +25565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 274, + "line": 287, "character": 2 } ], @@ -24672,26 +25579,26 @@ { "title": "Properties", "kind": 1024, - "children": [667, 669] + "children": [710, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 266, + "line": 279, "character": 17 } ] }, { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -24705,7 +25612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -24715,7 +25622,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -24729,7 +25636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -24739,7 +25646,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -24752,7 +25659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -24766,7 +25673,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -24780,7 +25687,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -24790,7 +25697,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -24804,7 +25711,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -24814,7 +25721,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -24828,7 +25735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -24842,7 +25749,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -24855,7 +25762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -24869,7 +25776,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -24883,7 +25790,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -24893,7 +25800,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24906,7 +25813,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -24920,7 +25827,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -24934,7 +25841,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -24944,7 +25851,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -24958,7 +25865,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -24968,7 +25875,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -24982,7 +25889,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -24996,13 +25903,13 @@ { "title": "Properties", "kind": 1024, - "children": [730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729] + "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -25012,7 +25919,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -25027,7 +25934,7 @@ ] }, { - "id": 682, + "id": 725, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -25051,7 +25958,7 @@ }, "children": [ { - "id": 688, + "id": 731, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -25059,7 +25966,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 325, "character": 2 } ], @@ -25069,7 +25976,7 @@ } }, { - "id": 685, + "id": 728, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -25080,7 +25987,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 307, + "line": 320, "character": 2 } ], @@ -25097,7 +26004,7 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25118,7 +26025,7 @@ } }, { - "id": 684, + "id": 727, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -25131,7 +26038,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 302, + "line": 315, "character": 2 } ], @@ -25141,7 +26048,7 @@ } }, { - "id": 683, + "id": 726, "name": "id", "kind": 1024, "kindString": "Property", @@ -25152,7 +26059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 299, + "line": 312, "character": 2 } ], @@ -25162,7 +26069,7 @@ } }, { - "id": 687, + "id": 730, "name": "status", "kind": 1024, "kindString": "Property", @@ -25173,7 +26080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 323, "character": 2 } ], @@ -25192,7 +26099,7 @@ } }, { - "id": 689, + "id": 732, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -25200,7 +26107,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 326, "character": 2 } ], @@ -25214,26 +26121,26 @@ { "title": "Properties", "kind": 1024, - "children": [688, 685, 684, 683, 687, 689] + "children": [731, 728, 727, 726, 730, 732] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 297, + "line": 310, "character": 17 } ] }, { - "id": 896, + "id": 971, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 897, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -25247,7 +26154,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 747, + "line": 810, "character": 2 } ], @@ -25257,7 +26164,7 @@ } }, { - "id": 898, + "id": 973, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -25270,7 +26177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 812, "character": 2 } ], @@ -25284,19 +26191,19 @@ { "title": "Properties", "kind": 1024, - "children": [897, 898] + "children": [972, 973] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 804, "character": 17 } ] }, { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -25312,14 +26219,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -25339,17 +26246,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -25365,21 +26272,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -25390,7 +26297,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -25400,7 +26307,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -25411,7 +26318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -25425,13 +26332,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -25446,7 +26353,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -25458,14 +26365,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -25475,17 +26382,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -25501,21 +26408,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -25526,7 +26433,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -25540,13 +26447,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -25561,7 +26468,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -25577,19 +26484,19 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] }, { - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -25599,14 +26506,14 @@ }, "children": [ { - "id": 1003, + "id": 1078, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1004, + "id": 1079, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -25616,17 +26523,17 @@ }, "parameters": [ { - "id": 1005, + "id": 1080, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "dereferenced": { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -25634,21 +26541,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -25661,7 +26568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -25680,7 +26587,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -25691,7 +26598,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -25705,13 +26612,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -25726,7 +26633,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 1036, "name": "AuthMFAChallengeResponse" } ], @@ -25738,14 +26645,14 @@ ] }, { - "id": 1012, + "id": 1087, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1013, + "id": 1088, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -25755,17 +26662,17 @@ }, "parameters": [ { - "id": 1014, + "id": 1089, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -25773,21 +26680,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -25798,7 +26705,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -25808,7 +26715,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -25819,7 +26726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -25833,13 +26740,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -25854,7 +26761,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -25866,14 +26773,14 @@ ] }, { - "id": 996, + "id": 1071, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 997, + "id": 1072, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -25884,17 +26791,17 @@ }, "parameters": [ { - "id": 998, + "id": 1073, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -25902,21 +26809,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -25927,7 +26834,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -25937,7 +26844,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -25950,7 +26857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -25960,7 +26867,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -25973,7 +26880,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -25987,13 +26894,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -26008,7 +26915,7 @@ "typeArguments": [ { "type": "reference", - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -26018,24 +26925,24 @@ } }, { - "id": 999, + "id": 1074, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1000, + "id": 1075, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -26043,21 +26950,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26068,7 +26975,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -26078,7 +26985,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26091,7 +26998,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -26101,7 +27008,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -26112,7 +27019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -26126,13 +27033,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -26147,7 +27054,7 @@ "typeArguments": [ { "type": "reference", - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -26157,24 +27064,24 @@ } }, { - "id": 1001, + "id": 1076, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1002, + "id": 1077, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 921, + "id": 996, "name": "MFAEnrollParams", "dereferenced": { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -26182,7 +27089,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -26190,7 +27097,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -26198,21 +27105,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26223,7 +27130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -26233,7 +27140,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26246,7 +27153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -26256,7 +27163,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -26269,7 +27176,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -26283,13 +27190,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -26297,7 +27204,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -26305,21 +27212,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26330,7 +27237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -26340,7 +27247,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26353,7 +27260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -26363,7 +27270,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -26374,7 +27281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -26388,13 +27295,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -26412,7 +27319,7 @@ "typeArguments": [ { "type": "reference", - "id": 951, + "id": 1026, "name": "AuthMFAEnrollResponse" } ], @@ -26424,14 +27331,14 @@ ] }, { - "id": 1017, + "id": 1092, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1018, + "id": 1093, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -26445,7 +27352,7 @@ "typeArguments": [ { "type": "reference", - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -26457,14 +27364,14 @@ ] }, { - "id": 1015, + "id": 1090, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1016, + "id": 1091, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -26491,7 +27398,7 @@ "typeArguments": [ { "type": "reference", - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse" } ], @@ -26503,14 +27410,14 @@ ] }, { - "id": 1009, + "id": 1084, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1010, + "id": 1085, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -26520,17 +27427,17 @@ }, "parameters": [ { - "id": 1011, + "id": 1086, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "dereferenced": { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -26538,21 +27445,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26563,7 +27470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -26577,13 +27484,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -26598,7 +27505,7 @@ "typeArguments": [ { "type": "reference", - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse" } ], @@ -26610,14 +27517,14 @@ ] }, { - "id": 1006, + "id": 1081, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1007, + "id": 1082, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -26627,17 +27534,17 @@ }, "parameters": [ { - "id": 1008, + "id": 1083, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "dereferenced": { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -26645,21 +27552,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -26670,7 +27577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -26680,7 +27587,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -26691,7 +27598,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -26701,7 +27608,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26712,7 +27619,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -26726,13 +27633,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -26747,7 +27654,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -26763,26 +27670,26 @@ { "title": "Methods", "kind": 2048, - "children": [1003, 1012, 996, 1017, 1015, 1009, 1006] + "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 935, + "line": 998, "character": 17 } ] }, { - "id": 1135, + "id": 1210, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1138, + "id": 1213, "name": "alg", "kind": 1024, "kindString": "Property", @@ -26792,7 +27699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1228, + "line": 1291, "character": 2 } ], @@ -26802,7 +27709,7 @@ } }, { - "id": 1137, + "id": 1212, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -26810,7 +27717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1227, + "line": 1290, "character": 2 } ], @@ -26823,7 +27730,7 @@ } }, { - "id": 1139, + "id": 1214, "name": "kid", "kind": 1024, "kindString": "Property", @@ -26833,7 +27740,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1229, + "line": 1292, "character": 2 } ], @@ -26843,7 +27750,7 @@ } }, { - "id": 1136, + "id": 1211, "name": "kty", "kind": 1024, "kindString": "Property", @@ -26851,7 +27758,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1226, + "line": 1289, "character": 2 } ], @@ -26878,25 +27785,25 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137, 1139, 1136] + "children": [1213, 1212, 1214, 1211] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1225, + "line": 1288, "character": 17 } ], "indexSignature": { - "id": 1140, + "id": 1215, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1141, + "id": 1216, "name": "key", "kind": 32768, "flags": {}, @@ -26913,14 +27820,14 @@ } }, { - "id": 657, + "id": 700, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 660, + "id": 703, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -26931,7 +27838,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 250, "character": 2 } ], @@ -26941,7 +27848,7 @@ } }, { - "id": 663, + "id": 706, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -26954,7 +27861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 253, + "line": 262, "character": 2 } ], @@ -26964,7 +27871,7 @@ } }, { - "id": 662, + "id": 705, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -26975,7 +27882,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 249, + "line": 258, "character": 2 } ], @@ -26985,7 +27892,7 @@ } }, { - "id": 659, + "id": 702, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -26998,7 +27905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 246, "character": 2 } ], @@ -27017,7 +27924,7 @@ } }, { - "id": 658, + "id": 701, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -27030,7 +27937,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 241, "character": 2 } ], @@ -27049,7 +27956,7 @@ } }, { - "id": 661, + "id": 704, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -27057,24 +27964,6 @@ "comment": { "shortText": "A one-time used refresh token that never expires." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 245, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 664, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -27088,31 +27977,52 @@ } }, { - "id": 665, - "name": "user", + "id": 707, + "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 263, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 708, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 268, "character": 2 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User", "dereferenced": { - "id": 697, + "id": 740, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 708, + "id": 751, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27122,7 +28032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 349, "character": 2 } ], @@ -27132,7 +28042,7 @@ } }, { - "id": 699, + "id": 742, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -27140,23 +28050,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 327, + "line": 340, "character": 2 } ], "type": { "type": "reference", - "id": 690, + "id": 733, "name": "UserAppMetadata", "dereferenced": { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27166,7 +28076,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -27180,25 +28090,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -27217,7 +28127,7 @@ } }, { - "id": 701, + "id": 744, "name": "aud", "kind": 1024, "kindString": "Property", @@ -27225,7 +28135,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 342, "character": 2 } ], @@ -27235,257 +28145,13 @@ } }, { - "id": 702, + "id": 745, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 712, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 711, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 709, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 704, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 713, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 682, - "name": "Factor" - } - } - }, - { - "id": 698, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 326, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 718, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 670, - "name": "UserIdentity" - } - } - }, - { - "id": 707, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 335, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 720, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 715, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -27499,8 +28165,8 @@ } }, { - "id": 705, - "name": "new_email", + "id": 755, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -27509,7 +28175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 353, "character": 2 } ], @@ -27519,17 +28185,15 @@ } }, { - "id": 706, - "name": "new_phone", + "id": 754, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 352, "character": 2 } ], @@ -27539,8 +28203,8 @@ } }, { - "id": 710, - "name": "phone", + "id": 765, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -27549,7 +28213,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 363, "character": 2 } ], @@ -27559,8 +28223,8 @@ } }, { - "id": 714, - "name": "phone_confirmed_at", + "id": 752, + "name": "email", "kind": 1024, "kindString": "Property", "flags": { @@ -27569,7 +28233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 350, "character": 2 } ], @@ -27579,48 +28243,8 @@ } }, { - "id": 703, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 717, - "name": "updated_at", + "id": 747, + "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -27639,7 +28263,313 @@ } }, { - "id": 700, + "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", + "line": 351, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 355, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -27647,16 +28577,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 341, "character": 2 } ], "type": { "type": "reference", - "id": 694, + "id": 737, "name": "UserMetadata", "dereferenced": { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -27664,19 +28594,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -27700,15 +28630,15 @@ "title": "Properties", "kind": 1024, "children": [ - 708, 699, 701, 702, 712, 711, 709, 704, 713, 721, 698, 718, 707, 719, 720, - 715, 705, 706, 710, 714, 703, 716, 717, 700 + 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": 325, + "line": 338, "character": 17 } ] @@ -27720,26 +28650,26 @@ { "title": "Properties", "kind": 1024, - "children": [660, 663, 662, 659, 658, 661, 664, 665] + "children": [703, 706, 705, 702, 701, 704, 707, 708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 237, "character": 17 } ] }, { - "id": 741, + "id": 785, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 742, + "id": 786, "name": "id", "kind": 1024, "kindString": "Property", @@ -27750,7 +28680,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 477, "character": 2 } ], @@ -27760,7 +28690,7 @@ } }, { - "id": 743, + "id": 787, "name": "callback", "kind": 2048, "kindString": "Method", @@ -27768,13 +28698,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 481, "character": 2 } ], "signatures": [ { - "id": 744, + "id": 788, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -27784,17 +28714,17 @@ }, "parameters": [ { - "id": 745, + "id": 789, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent", "dereferenced": { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -27802,7 +28732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -27834,7 +28764,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -27842,7 +28772,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -27857,7 +28787,7 @@ } }, { - "id": 746, + "id": 790, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -27871,7 +28801,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -27886,7 +28816,7 @@ ] }, { - "id": 747, + "id": 791, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -27894,13 +28824,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 485, "character": 2 } ], "signatures": [ { - "id": 748, + "id": 792, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -27920,31 +28850,31 @@ { "title": "Properties", "kind": 1024, - "children": [742] + "children": [786] }, { "title": "Methods", "kind": 2048, - "children": [743, 747] + "children": [787, 791] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 459, + "line": 473, "character": 17 } ] }, { - "id": 697, + "id": 740, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 708, + "id": 751, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27954,7 +28884,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 349, "character": 2 } ], @@ -27964,7 +28894,7 @@ } }, { - "id": 699, + "id": 742, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -27972,23 +28902,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 327, + "line": 340, "character": 2 } ], "type": { "type": "reference", - "id": 690, + "id": 733, "name": "UserAppMetadata", "dereferenced": { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27998,7 +28928,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -28012,25 +28942,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -28049,7 +28979,7 @@ } }, { - "id": 701, + "id": 744, "name": "aud", "kind": 1024, "kindString": "Property", @@ -28057,7 +28987,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 342, "character": 2 } ], @@ -28067,257 +28997,13 @@ } }, { - "id": 702, + "id": 745, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 712, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 711, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 709, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 704, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 713, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 682, - "name": "Factor" - } - } - }, - { - "id": 698, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 326, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 718, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 670, - "name": "UserIdentity" - } - } - }, - { - "id": 707, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 335, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 720, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 715, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -28331,8 +29017,8 @@ } }, { - "id": 705, - "name": "new_email", + "id": 755, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28341,7 +29027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 353, "character": 2 } ], @@ -28351,17 +29037,15 @@ } }, { - "id": 706, - "name": "new_phone", + "id": 754, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 352, "character": 2 } ], @@ -28371,8 +29055,8 @@ } }, { - "id": 710, - "name": "phone", + "id": 765, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28381,7 +29065,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 363, "character": 2 } ], @@ -28391,8 +29075,8 @@ } }, { - "id": 714, - "name": "phone_confirmed_at", + "id": 752, + "name": "email", "kind": 1024, "kindString": "Property", "flags": { @@ -28401,7 +29085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 350, "character": 2 } ], @@ -28411,48 +29095,8 @@ } }, { - "id": 703, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 717, - "name": "updated_at", + "id": 747, + "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28471,7 +29115,313 @@ } }, { - "id": 700, + "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", + "line": 351, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 355, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -28479,16 +29429,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 341, "character": 2 } ], "type": { "type": "reference", - "id": 694, + "id": 737, "name": "UserMetadata", "dereferenced": { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -28496,19 +29446,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -28532,28 +29482,28 @@ "title": "Properties", "kind": 1024, "children": [ - 708, 699, 701, 702, 712, 711, 709, 704, 713, 721, 698, 718, 707, 719, 720, 715, 705, - 706, 710, 714, 703, 716, 717, 700 + 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": 325, + "line": 338, "character": 17 } ] }, { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -28563,7 +29513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -28577,25 +29527,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -28612,14 +29562,14 @@ } }, { - "id": 722, + "id": 766, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 727, + "id": 771, "name": "data", "kind": 1024, "kindString": "Property", @@ -28633,7 +29583,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 381, + "line": 395, "character": 2 } ], @@ -28643,7 +29593,7 @@ } }, { - "id": 723, + "id": 767, "name": "email", "kind": 1024, "kindString": "Property", @@ -28656,7 +29606,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -28666,7 +29616,7 @@ } }, { - "id": 726, + "id": 770, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -28680,7 +29630,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -28690,7 +29640,7 @@ } }, { - "id": 725, + "id": 769, "name": "password", "kind": 1024, "kindString": "Property", @@ -28703,7 +29653,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -28713,7 +29663,7 @@ } }, { - "id": 724, + "id": 768, "name": "phone", "kind": 1024, "kindString": "Property", @@ -28726,7 +29676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -28740,26 +29690,26 @@ { "title": "Properties", "kind": 1024, - "children": [727, 723, 726, 725, 724] + "children": [771, 767, 770, 769, 768] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 366, "character": 17 } ] }, { - "id": 670, + "id": 713, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 679, + "id": 722, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -28769,7 +29719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 285, + "line": 298, "character": 2 } ], @@ -28779,7 +29729,7 @@ } }, { - "id": 671, + "id": 714, "name": "id", "kind": 1024, "kindString": "Property", @@ -28787,7 +29737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 278, + "line": 291, "character": 2 } ], @@ -28797,7 +29747,7 @@ } }, { - "id": 673, + "id": 716, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -28807,27 +29757,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 293, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 717, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 675, + "id": 718, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 676, + "id": 719, "name": "key", "kind": 32768, "flags": {}, @@ -28846,7 +29796,7 @@ } }, { - "id": 677, + "id": 720, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -28854,7 +29804,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 283, + "line": 296, "character": 2 } ], @@ -28864,7 +29814,7 @@ } }, { - "id": 680, + "id": 723, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -28874,7 +29824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 286, + "line": 299, "character": 2 } ], @@ -28884,7 +29834,7 @@ } }, { - "id": 678, + "id": 721, "name": "provider", "kind": 1024, "kindString": "Property", @@ -28892,7 +29842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 284, + "line": 297, "character": 2 } ], @@ -28902,7 +29852,7 @@ } }, { - "id": 681, + "id": 724, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -28912,7 +29862,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 300, "character": 2 } ], @@ -28922,7 +29872,7 @@ } }, { - "id": 672, + "id": 715, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -28930,7 +29880,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 292, "character": 2 } ], @@ -28944,19 +29894,19 @@ { "title": "Properties", "kind": 1024, - "children": [679, 671, 673, 677, 680, 678, 681, 672] + "children": [722, 714, 716, 720, 723, 721, 724, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 277, + "line": 290, "character": 17 } ] }, { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -28964,19 +29914,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -28993,14 +29943,14 @@ } }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -29011,7 +29961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -29021,7 +29971,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -29031,21 +29981,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29064,7 +30014,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -29074,7 +30024,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -29087,7 +30037,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -29101,14 +30051,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -29119,7 +30069,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -29129,7 +30079,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -29140,16 +30090,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -29157,7 +30107,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -29198,26 +30148,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -29227,21 +30177,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29260,7 +30210,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -29270,7 +30220,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -29283,7 +30233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -29297,14 +30247,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29315,7 +30265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -29325,7 +30275,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -29336,7 +30286,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -29346,7 +30296,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -29357,16 +30307,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -29374,7 +30324,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -29399,26 +30349,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -29429,7 +30379,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -29439,7 +30389,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -29450,16 +30400,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -29467,7 +30417,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -29508,19 +30458,19 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] }, { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -29528,7 +30478,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -29560,7 +30510,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -29568,7 +30518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -29581,7 +30531,7 @@ } }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -29589,7 +30539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -29599,7 +30549,7 @@ } }, { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -29607,7 +30557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -29626,7 +30576,7 @@ } }, { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -29642,21 +30592,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -29667,7 +30617,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -29677,7 +30627,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -29688,7 +30638,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -29702,13 +30652,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -29716,7 +30666,7 @@ } }, { - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -29732,7 +30682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1003, + "line": 1066, "character": 12 } ], @@ -29742,14 +30692,14 @@ { "type": "reflection", "declaration": { - "id": 1020, + "id": 1095, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1021, + "id": 1096, "name": "data", "kind": 1024, "kindString": "Property", @@ -29757,21 +30707,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1022, + "id": 1097, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1023, + "id": 1098, "name": "id", "kind": 1024, "kindString": "Property", @@ -29782,7 +30732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1007, + "line": 1070, "character": 8 } ], @@ -29796,13 +30746,13 @@ { "title": "Properties", "kind": 1024, - "children": [1023] + "children": [1098] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 12 } ] @@ -29810,7 +30760,7 @@ } }, { - "id": 1024, + "id": 1099, "name": "error", "kind": 1024, "kindString": "Property", @@ -29818,7 +30768,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1009, + "line": 1072, "character": 6 } ], @@ -29832,13 +30782,13 @@ { "title": "Properties", "kind": 1024, - "children": [1021, 1024] + "children": [1096, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1004, + "line": 1067, "character": 4 } ] @@ -29847,14 +30797,14 @@ { "type": "reflection", "declaration": { - "id": 1025, + "id": 1100, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1026, + "id": 1101, "name": "data", "kind": 1024, "kindString": "Property", @@ -29862,7 +30812,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 6 } ], @@ -29872,7 +30822,7 @@ } }, { - "id": 1027, + "id": 1102, "name": "error", "kind": 1024, "kindString": "Property", @@ -29880,13 +30830,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -29895,13 +30845,13 @@ { "title": "Properties", "kind": 1024, - "children": [1026, 1027] + "children": [1101, 1102] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 4 } ] @@ -29911,7 +30861,7 @@ } }, { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -29927,21 +30877,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -29952,7 +30902,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -29966,13 +30916,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -29980,7 +30930,7 @@ } }, { - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -29996,7 +30946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1027, + "line": 1090, "character": 12 } ], @@ -30006,14 +30956,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1109, "name": "data", "kind": 1024, "kindString": "Property", @@ -30021,21 +30971,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, + "line": 1092, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1035, + "id": 1110, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1036, + "id": 1111, "name": "factors", "kind": 1024, "kindString": "Property", @@ -30046,7 +30996,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1031, + "line": 1094, "character": 8 } ], @@ -30054,7 +31004,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -30064,503 +31014,13 @@ { "title": "Properties", "kind": 1024, - "children": [1036] + "children": [1111] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, - "character": 12 - } - ] - } - } - }, - { - "id": 1037, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1034, 1037] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1028, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1038, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1039, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1040, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1039, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 961, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 873, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 962, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 963, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 964, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 967, - "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": 883, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 965, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 877, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 966, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 880, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [967, 965, 966] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 12 - } - ] - } - } - }, - { - "id": 968, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 885, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [963, 968] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 874, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 969, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 970, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 971, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [970, 971] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1104, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1182, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1106, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1107, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1110, - "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": 1192, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1108, - "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": 1186, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1111, - "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": 1195, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1109, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1189, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1110, 1108, 1111, 1109] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1092, "character": 12 } ] @@ -30576,7 +31036,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1096, "character": 6 } ], @@ -30590,13 +31050,13 @@ { "title": "Properties", "kind": 1024, - "children": [1106, 1112] + "children": [1109, 1112] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1183, + "line": 1091, "character": 4 } ] @@ -30620,7 +31080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1200, + "line": 1098, "character": 6 } ], @@ -30638,13 +31098,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, - "character": 6 + "line": 1098, + "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -30659,7 +31119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1098, "character": 4 } ] @@ -30669,15 +31129,15 @@ } }, { - "id": 951, - "name": "AuthMFAEnrollResponse", + "id": 1036, + "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 861, + "line": 936, "character": 12 } ], @@ -30685,7 +31145,497 @@ "type": "union", "types": [ { - "id": 1088, + "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", @@ -30693,7 +31643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1147, + "line": 1210, "character": 12 } ], @@ -30703,14 +31653,14 @@ { "type": "reflection", "declaration": { - "id": 1089, + "id": 1164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1090, + "id": 1165, "name": "data", "kind": 1024, "kindString": "Property", @@ -30718,21 +31668,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1091, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1099, + "id": 1174, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -30745,7 +31695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1173, + "line": 1236, "character": 8 } ], @@ -30755,7 +31705,7 @@ } }, { - "id": 1092, + "id": 1167, "name": "id", "kind": 1024, "kindString": "Property", @@ -30766,7 +31716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1151, + "line": 1214, "character": 8 } ], @@ -30776,7 +31726,7 @@ } }, { - "id": 1094, + "id": 1169, "name": "totp", "kind": 1024, "kindString": "Property", @@ -30787,21 +31737,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 1095, + "id": 1170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1171, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -30812,7 +31762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1224, "character": 10 } ], @@ -30822,7 +31772,7 @@ } }, { - "id": 1097, + "id": 1172, "name": "secret", "kind": 1024, "kindString": "Property", @@ -30833,7 +31783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1166, + "line": 1229, "character": 10 } ], @@ -30843,7 +31793,7 @@ } }, { - "id": 1098, + "id": 1173, "name": "uri", "kind": 1024, "kindString": "Property", @@ -30854,7 +31804,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1170, + "line": 1233, "character": 10 } ], @@ -30868,13 +31818,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1097, 1098] + "children": [1171, 1172, 1173] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 14 } ] @@ -30882,7 +31832,7 @@ } }, { - "id": 1093, + "id": 1168, "name": "type", "kind": 1024, "kindString": "Property", @@ -30893,7 +31843,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1154, + "line": 1217, "character": 8 } ], @@ -30907,13 +31857,13 @@ { "title": "Properties", "kind": 1024, - "children": [1099, 1092, 1094, 1093] + "children": [1174, 1167, 1169, 1168] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 12 } ] @@ -30921,7 +31871,7 @@ } }, { - "id": 1100, + "id": 1175, "name": "error", "kind": 1024, "kindString": "Property", @@ -30929,7 +31879,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1175, + "line": 1238, "character": 6 } ], @@ -30943,13 +31893,13 @@ { "title": "Properties", "kind": 1024, - "children": [1090, 1100] + "children": [1165, 1175] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1148, + "line": 1211, "character": 4 } ] @@ -30958,14 +31908,14 @@ { "type": "reflection", "declaration": { - "id": 1101, + "id": 1176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1102, + "id": 1177, "name": "data", "kind": 1024, "kindString": "Property", @@ -30973,7 +31923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1178, + "line": 1241, "character": 6 } ], @@ -30983,7 +31933,7 @@ } }, { - "id": 1103, + "id": 1178, "name": "error", "kind": 1024, "kindString": "Property", @@ -30991,13 +31941,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1242, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -31006,13 +31956,13 @@ { "title": "Properties", "kind": 1024, - "children": [1102, 1103] + "children": [1177, 1178] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1177, + "line": 1240, "character": 4 } ] @@ -31022,7 +31972,7 @@ } }, { - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -31030,7 +31980,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1182, + "line": 1245, "character": 12 } ], @@ -31040,14 +31990,14 @@ { "type": "reflection", "declaration": { - "id": 1105, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1106, + "id": 1181, "name": "data", "kind": 1024, "kindString": "Property", @@ -31055,21 +32005,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1247, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1107, + "id": 1182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1110, + "id": 1185, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -31082,7 +32032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1192, + "line": 1255, "character": 8 } ], @@ -31092,7 +32042,7 @@ } }, { - "id": 1108, + "id": 1183, "name": "id", "kind": 1024, "kindString": "Property", @@ -31103,7 +32053,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1186, + "line": 1249, "character": 8 } ], @@ -31113,7 +32063,7 @@ } }, { - "id": 1111, + "id": 1186, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31124,7 +32074,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1258, "character": 8 } ], @@ -31134,7 +32084,7 @@ } }, { - "id": 1109, + "id": 1184, "name": "type", "kind": 1024, "kindString": "Property", @@ -31145,7 +32095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1189, + "line": 1252, "character": 8 } ], @@ -31159,13 +32109,13 @@ { "title": "Properties", "kind": 1024, - "children": [1110, 1108, 1111, 1109] + "children": [1185, 1183, 1186, 1184] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1247, "character": 12 } ] @@ -31173,7 +32123,7 @@ } }, { - "id": 1112, + "id": 1187, "name": "error", "kind": 1024, "kindString": "Property", @@ -31181,7 +32131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1260, "character": 6 } ], @@ -31195,13 +32145,13 @@ { "title": "Properties", "kind": 1024, - "children": [1106, 1112] + "children": [1181, 1187] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1183, + "line": 1246, "character": 4 } ] @@ -31210,14 +32160,14 @@ { "type": "reflection", "declaration": { - "id": 1113, + "id": 1188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1114, + "id": 1189, "name": "data", "kind": 1024, "kindString": "Property", @@ -31225,7 +32175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1200, + "line": 1263, "character": 6 } ], @@ -31235,7 +32185,7 @@ } }, { - "id": 1115, + "id": 1190, "name": "error", "kind": 1024, "kindString": "Property", @@ -31243,13 +32193,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1264, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -31258,13 +32208,13 @@ { "title": "Properties", "kind": 1024, - "children": [1114, 1115] + "children": [1189, 1190] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1262, "character": 4 } ] @@ -31277,7 +32227,7 @@ } }, { - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -31285,7 +32235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1147, + "line": 1210, "character": 12 } ], @@ -31295,14 +32245,14 @@ { "type": "reflection", "declaration": { - "id": 1089, + "id": 1164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1090, + "id": 1165, "name": "data", "kind": 1024, "kindString": "Property", @@ -31310,21 +32260,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1091, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1099, + "id": 1174, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -31337,7 +32287,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1173, + "line": 1236, "character": 8 } ], @@ -31347,7 +32297,7 @@ } }, { - "id": 1092, + "id": 1167, "name": "id", "kind": 1024, "kindString": "Property", @@ -31358,7 +32308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1151, + "line": 1214, "character": 8 } ], @@ -31368,7 +32318,7 @@ } }, { - "id": 1094, + "id": 1169, "name": "totp", "kind": 1024, "kindString": "Property", @@ -31379,21 +32329,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 1095, + "id": 1170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1171, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -31404,7 +32354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1224, "character": 10 } ], @@ -31414,7 +32364,7 @@ } }, { - "id": 1097, + "id": 1172, "name": "secret", "kind": 1024, "kindString": "Property", @@ -31425,7 +32375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1166, + "line": 1229, "character": 10 } ], @@ -31435,7 +32385,7 @@ } }, { - "id": 1098, + "id": 1173, "name": "uri", "kind": 1024, "kindString": "Property", @@ -31446,7 +32396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1170, + "line": 1233, "character": 10 } ], @@ -31460,13 +32410,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1097, 1098] + "children": [1171, 1172, 1173] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 14 } ] @@ -31474,7 +32424,7 @@ } }, { - "id": 1093, + "id": 1168, "name": "type", "kind": 1024, "kindString": "Property", @@ -31485,7 +32435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1154, + "line": 1217, "character": 8 } ], @@ -31499,13 +32449,13 @@ { "title": "Properties", "kind": 1024, - "children": [1099, 1092, 1094, 1093] + "children": [1174, 1167, 1169, 1168] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 12 } ] @@ -31513,7 +32463,7 @@ } }, { - "id": 1100, + "id": 1175, "name": "error", "kind": 1024, "kindString": "Property", @@ -31521,7 +32471,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1175, + "line": 1238, "character": 6 } ], @@ -31535,13 +32485,13 @@ { "title": "Properties", "kind": 1024, - "children": [1090, 1100] + "children": [1165, 1175] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1148, + "line": 1211, "character": 4 } ] @@ -31550,14 +32500,14 @@ { "type": "reflection", "declaration": { - "id": 1101, + "id": 1176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1102, + "id": 1177, "name": "data", "kind": 1024, "kindString": "Property", @@ -31565,7 +32515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1178, + "line": 1241, "character": 6 } ], @@ -31575,7 +32525,7 @@ } }, { - "id": 1103, + "id": 1178, "name": "error", "kind": 1024, "kindString": "Property", @@ -31583,13 +32533,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1242, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -31598,13 +32548,13 @@ { "title": "Properties", "kind": 1024, - "children": [1102, 1103] + "children": [1177, 1178] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1177, + "line": 1240, "character": 4 } ] @@ -31614,7 +32564,7 @@ } }, { - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -31622,7 +32572,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 969, "character": 12 } ], @@ -31632,14 +32582,14 @@ { "type": "reflection", "declaration": { - "id": 985, + "id": 1060, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 986, + "id": 1061, "name": "data", "kind": 1024, "kindString": "Property", @@ -31647,21 +32597,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 987, + "id": 1062, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1065, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -31672,7 +32622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 925, + "line": 988, "character": 8 } ], @@ -31680,13 +32630,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 666, + "id": 709, "name": "AMREntry" } } }, { - "id": 988, + "id": 1063, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -31697,7 +32647,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 973, "character": 8 } ], @@ -31706,7 +32656,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -31717,7 +32667,7 @@ } }, { - "id": 989, + "id": 1064, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -31734,7 +32684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 981, "character": 8 } ], @@ -31743,7 +32693,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -31758,13 +32708,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 988, 989] + "children": [1065, 1063, 1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 12 } ] @@ -31772,7 +32722,7 @@ } }, { - "id": 991, + "id": 1066, "name": "error", "kind": 1024, "kindString": "Property", @@ -31780,7 +32730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 990, "character": 6 } ], @@ -31794,13 +32744,13 @@ { "title": "Properties", "kind": 1024, - "children": [986, 991] + "children": [1061, 1066] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 970, "character": 4 } ] @@ -31809,14 +32759,14 @@ { "type": "reflection", "declaration": { - "id": 992, + "id": 1067, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 993, + "id": 1068, "name": "data", "kind": 1024, "kindString": "Property", @@ -31824,7 +32774,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 6 } ], @@ -31834,7 +32784,7 @@ } }, { - "id": 994, + "id": 1069, "name": "error", "kind": 1024, "kindString": "Property", @@ -31842,13 +32792,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -31857,13 +32807,13 @@ { "title": "Properties", "kind": 1024, - "children": [993, 994] + "children": [1068, 1069] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 4 } ] @@ -31873,7 +32823,7 @@ } }, { - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -31881,7 +32831,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 952, "character": 12 } ], @@ -31891,14 +32841,14 @@ { "type": "reflection", "declaration": { - "id": 973, + "id": 1048, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 974, + "id": 1049, "name": "data", "kind": 1024, "kindString": "Property", @@ -31906,21 +32856,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 975, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 976, + "id": 1051, "name": "all", "kind": 1024, "kindString": "Property", @@ -31931,7 +32881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 893, + "line": 956, "character": 8 } ], @@ -31939,13 +32889,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 978, + "id": 1053, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31956,7 +32906,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 898, + "line": 961, "character": 8 } ], @@ -31964,13 +32914,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 977, + "id": 1052, "name": "totp", "kind": 1024, "kindString": "Property", @@ -31981,7 +32931,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 959, "character": 8 } ], @@ -31989,7 +32939,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -31999,13 +32949,13 @@ { "title": "Properties", "kind": 1024, - "children": [976, 978, 977] + "children": [1051, 1053, 1052] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 12 } ] @@ -32013,7 +32963,7 @@ } }, { - "id": 979, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -32021,7 +32971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 963, "character": 6 } ], @@ -32035,13 +32985,13 @@ { "title": "Properties", "kind": 1024, - "children": [974, 979] + "children": [1049, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 890, + "line": 953, "character": 4 } ] @@ -32050,14 +33000,14 @@ { "type": "reflection", "declaration": { - "id": 980, + "id": 1055, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 981, + "id": 1056, "name": "data", "kind": 1024, "kindString": "Property", @@ -32065,7 +33015,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 6 } ], @@ -32075,7 +33025,7 @@ } }, { - "id": 982, + "id": 1057, "name": "error", "kind": 1024, "kindString": "Property", @@ -32083,13 +33033,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -32098,13 +33048,13 @@ { "title": "Properties", "kind": 1024, - "children": [981, 982] + "children": [1056, 1057] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 4 } ] @@ -32114,7 +33064,7 @@ } }, { - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -32122,7 +33072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 863, + "line": 926, "character": 12 } ], @@ -32132,14 +33082,14 @@ { "type": "reflection", "declaration": { - "id": 953, + "id": 1028, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 954, + "id": 1029, "name": "data", "kind": 1024, "kindString": "Property", @@ -32147,21 +33097,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 955, + "id": 1030, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 956, + "id": 1031, "name": "id", "kind": 1024, "kindString": "Property", @@ -32172,7 +33122,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 930, "character": 8 } ], @@ -32186,13 +33136,13 @@ { "title": "Properties", "kind": 1024, - "children": [956] + "children": [1031] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 12 } ] @@ -32200,7 +33150,7 @@ } }, { - "id": 957, + "id": 1032, "name": "error", "kind": 1024, "kindString": "Property", @@ -32208,7 +33158,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 932, "character": 6 } ], @@ -32222,13 +33172,13 @@ { "title": "Properties", "kind": 1024, - "children": [954, 957] + "children": [1029, 1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 927, "character": 4 } ] @@ -32237,14 +33187,14 @@ { "type": "reflection", "declaration": { - "id": 958, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 959, + "id": 1034, "name": "data", "kind": 1024, "kindString": "Property", @@ -32252,7 +33202,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 6 } ], @@ -32262,7 +33212,7 @@ } }, { - "id": 960, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -32270,13 +33220,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -32285,13 +33235,13 @@ { "title": "Properties", "kind": 1024, - "children": [959, 960] + "children": [1034, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 4 } ] @@ -32301,7 +33251,7 @@ } }, { - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -32309,7 +33259,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 836, + "line": 899, "character": 12 } ], @@ -32319,14 +33269,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 1014, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 1015, "name": "data", "kind": 1024, "kindString": "Property", @@ -32334,21 +33284,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 1016, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 1017, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -32359,7 +33309,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 903, "character": 8 } ], @@ -32369,7 +33319,7 @@ } }, { - "id": 944, + "id": 1019, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -32380,7 +33330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 846, + "line": 909, "character": 8 } ], @@ -32390,7 +33340,7 @@ } }, { - "id": 945, + "id": 1020, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -32401,7 +33351,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 849, + "line": 912, "character": 8 } ], @@ -32411,7 +33361,7 @@ } }, { - "id": 943, + "id": 1018, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -32422,7 +33372,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 906, "character": 8 } ], @@ -32432,7 +33382,7 @@ } }, { - "id": 946, + "id": 1021, "name": "user", "kind": 1024, "kindString": "Property", @@ -32443,13 +33393,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 915, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -32458,13 +33408,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 944, 945, 943, 946] + "children": [1017, 1019, 1020, 1018, 1021] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 12 } ] @@ -32472,7 +33422,7 @@ } }, { - "id": 947, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -32480,7 +33430,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 917, "character": 6 } ], @@ -32494,13 +33444,13 @@ { "title": "Properties", "kind": 1024, - "children": [940, 947] + "children": [1015, 1022] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 837, + "line": 900, "character": 4 } ] @@ -32509,14 +33459,14 @@ { "type": "reflection", "declaration": { - "id": 948, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 949, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -32524,7 +33474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 857, + "line": 920, "character": 6 } ], @@ -32534,7 +33484,7 @@ } }, { - "id": 950, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -32542,13 +33492,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 858, + "line": 921, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -32557,13 +33507,13 @@ { "title": "Properties", "kind": 1024, - "children": [949, 950] + "children": [1024, 1025] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 919, "character": 4 } ] @@ -32573,7 +33523,7 @@ } }, { - "id": 581, + "id": 624, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -32585,7 +33535,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 135, + "line": 144, "character": 12 } ], @@ -32595,14 +33545,14 @@ { "type": "reflection", "declaration": { - "id": 582, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 626, "name": "data", "kind": 1024, "kindString": "Property", @@ -32610,21 +33560,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 584, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 587, + "id": 630, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -32634,7 +33584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 41 } ], @@ -32653,7 +33603,7 @@ } }, { - "id": 586, + "id": 629, "name": "session", "kind": 1024, "kindString": "Property", @@ -32661,7 +33611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 26 } ], @@ -32671,7 +33621,7 @@ } }, { - "id": 585, + "id": 628, "name": "user", "kind": 1024, "kindString": "Property", @@ -32679,7 +33629,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 14 } ], @@ -32693,13 +33643,13 @@ { "title": "Properties", "kind": 1024, - "children": [587, 586, 585] + "children": [630, 629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 12 } ] @@ -32707,7 +33657,7 @@ } }, { - "id": 588, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -32715,7 +33665,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 138, + "line": 147, "character": 6 } ], @@ -32729,13 +33679,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 588] + "children": [626, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 136, + "line": 145, "character": 4 } ] @@ -32744,14 +33694,14 @@ { "type": "reflection", "declaration": { - "id": 589, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 590, + "id": 633, "name": "data", "kind": 1024, "kindString": "Property", @@ -32759,21 +33709,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 634, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 594, + "id": 637, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -32783,7 +33733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 41 } ], @@ -32802,7 +33752,7 @@ } }, { - "id": 593, + "id": 636, "name": "session", "kind": 1024, "kindString": "Property", @@ -32810,7 +33760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 26 } ], @@ -32820,7 +33770,7 @@ } }, { - "id": 592, + "id": 635, "name": "user", "kind": 1024, "kindString": "Property", @@ -32828,7 +33778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 14 } ], @@ -32842,13 +33792,13 @@ { "title": "Properties", "kind": 1024, - "children": [594, 593, 592] + "children": [637, 636, 635] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 12 } ] @@ -32856,7 +33806,7 @@ } }, { - "id": 595, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -32864,13 +33814,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 142, + "line": 151, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -32879,13 +33829,13 @@ { "title": "Properties", "kind": 1024, - "children": [590, 595] + "children": [633, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 149, "character": 4 } ] @@ -32895,7 +33845,7 @@ } }, { - "id": 554, + "id": 597, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -32903,7 +33853,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 106, "character": 12 } ], @@ -32913,14 +33863,14 @@ { "type": "reflection", "declaration": { - "id": 555, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 556, + "id": 599, "name": "data", "kind": 1024, "kindString": "Property", @@ -32928,21 +33878,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 559, + "id": 602, "name": "session", "kind": 1024, "kindString": "Property", @@ -32950,7 +33900,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 110, "character": 8 } ], @@ -32959,7 +33909,7 @@ "types": [ { "type": "reference", - "id": 657, + "id": 700, "name": "Session" }, { @@ -32970,7 +33920,7 @@ } }, { - "id": 558, + "id": 601, "name": "user", "kind": 1024, "kindString": "Property", @@ -32978,7 +33928,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 109, "character": 8 } ], @@ -32987,7 +33937,7 @@ "types": [ { "type": "reference", - "id": 697, + "id": 740, "name": "User" }, { @@ -33002,13 +33952,13 @@ { "title": "Properties", "kind": 1024, - "children": [559, 558] + "children": [602, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 12 } ] @@ -33016,7 +33966,7 @@ } }, { - "id": 560, + "id": 603, "name": "error", "kind": 1024, "kindString": "Property", @@ -33024,7 +33974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 112, "character": 6 } ], @@ -33038,13 +33988,13 @@ { "title": "Properties", "kind": 1024, - "children": [556, 560] + "children": [599, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 107, "character": 4 } ] @@ -33053,154 +34003,14 @@ { "type": "reflection", "declaration": { - "id": 561, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 562, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 563, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 565, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 564, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [565, 564] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ] - } - } - }, - { - "id": 566, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [562, 566] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 567, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 113, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 568, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 569, + "id": 605, "name": "data", "kind": 1024, "kindString": "Property", @@ -33215,14 +34025,14 @@ "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 606, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 608, "name": "session", "kind": 1024, "kindString": "Property", @@ -33235,22 +34045,12 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 657, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] + "type": "literal", + "value": null } }, { - "id": 571, + "id": 607, "name": "user", "kind": 1024, "kindString": "Property", @@ -33262,12 +34062,162 @@ "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": 697, + "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" }, { @@ -33278,7 +34228,7 @@ } }, { - "id": 573, + "id": 616, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -33288,7 +34238,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 118, + "line": 127, "character": 8 } ], @@ -33297,7 +34247,7 @@ "types": [ { "type": "reference", - "id": 550, + "id": 593, "name": "WeakPassword" }, { @@ -33312,13 +34262,13 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 573] + "children": [615, 614, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 115, + "line": 124, "character": 12 } ] @@ -33326,7 +34276,7 @@ } }, { - "id": 574, + "id": 617, "name": "error", "kind": 1024, "kindString": "Property", @@ -33334,7 +34284,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 129, "character": 6 } ], @@ -33348,13 +34298,13 @@ { "title": "Properties", "kind": 1024, - "children": [569, 574] + "children": [612, 617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 114, + "line": 123, "character": 4 } ] @@ -33363,14 +34313,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 619, "name": "data", "kind": 1024, "kindString": "Property", @@ -33378,612 +34328,47 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 123, + "line": 132, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 620, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 579, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 578, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [579, 578] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 12 - } - ] - } - } - }, - { - "id": 580, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [576, 580] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 596, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 597, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 599, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 601, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 600, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [601, 600] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 12 - } - ] - } - } - }, - { - "id": 602, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 602] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 603, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 604, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 605, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 607, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 156, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 606, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 155, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [607, 606] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 12 - } - ] - } - } - }, - { - "id": 608, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [604, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 153, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 609, - "name": "AuthTokenResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 161, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 612, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 613, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - }, - { - "id": 615, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 166, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 550, - "name": "WeakPassword" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 613, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 12 - } - ] - } - } - }, - { - "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 168, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 621, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 620, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, { "id": 622, - "name": "weakPassword", + "name": "session", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "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 } ], @@ -33997,13 +34382,13 @@ { "title": "Properties", "kind": 1024, - "children": [621, 620, 622] + "children": [622, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 132, "character": 12 } ] @@ -34019,13 +34404,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 176, + "line": 136, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -34034,13 +34419,13 @@ { "title": "Properties", "kind": 1024, - "children": [618, 623] + "children": [619, 623] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 131, "character": 4 } ] @@ -34050,7 +34435,572 @@ } }, { - "id": 983, + "id": 639, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 154, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 640, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 641, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 642, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 644, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 643, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [644, 643] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ] + } + } + }, + { + "id": 645, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [641, 645] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 155, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 648, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 650, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 649, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [650, 649] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 12 + } + ] + } + } + }, + { + "id": 651, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 651] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 652, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 170, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 653, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 657, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 656, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [657, 656, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ] + } + } + }, + { + "id": 659, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [654, 659] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 661, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 662, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 664, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 663, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "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, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [664, 663, 665] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 12 + } + ] + } + } + }, + { + "id": 666, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [661, 666] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1058, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -34058,7 +35008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 967, "character": 12 } ], @@ -34077,7 +35027,7 @@ } }, { - "id": 1057, + "id": 1132, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -34085,7 +35035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1092, + "line": 1155, "character": 12 } ], @@ -34095,14 +35045,14 @@ { "type": "reflection", "declaration": { - "id": 1058, + "id": 1133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1060, + "id": 1135, "name": "error", "kind": 1024, "kindString": "Property", @@ -34110,7 +35060,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1095, + "line": 1158, "character": 6 } ], @@ -34120,7 +35070,7 @@ } }, { - "id": 1059, + "id": 1134, "name": "session", "kind": 1024, "kindString": "Property", @@ -34128,13 +35078,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1094, + "line": 1157, "character": 6 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -34143,13 +35093,13 @@ { "title": "Properties", "kind": 1024, - "children": [1060, 1059] + "children": [1135, 1134] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1093, + "line": 1156, "character": 4 } ] @@ -34158,14 +35108,14 @@ { "type": "reflection", "declaration": { - "id": 1061, + "id": 1136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1063, + "id": 1138, "name": "error", "kind": 1024, "kindString": "Property", @@ -34173,18 +35123,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1099, + "line": 1162, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } }, { - "id": 1062, + "id": 1137, "name": "session", "kind": 1024, "kindString": "Property", @@ -34192,7 +35142,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1098, + "line": 1161, "character": 6 } ], @@ -34206,13 +35156,13 @@ { "title": "Properties", "kind": 1024, - "children": [1063, 1062] + "children": [1138, 1137] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1097, + "line": 1160, "character": 4 } ] @@ -34222,7 +35172,7 @@ } }, { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -34230,7 +35180,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -34265,7 +35215,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34273,21 +35223,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -34298,7 +35248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -34308,7 +35258,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -34319,7 +35269,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -34329,7 +35279,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -34339,7 +35289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -34348,7 +35298,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -34362,7 +35312,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -34370,7 +35320,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -34393,13 +35343,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -34407,7 +35357,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34415,21 +35365,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -34440,7 +35390,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -34450,7 +35400,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -34460,7 +35410,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -34469,7 +35419,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -34492,7 +35442,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -34500,7 +35450,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -34523,13 +35473,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -34537,7 +35487,7 @@ } }, { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34545,7 +35495,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -34553,7 +35503,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34561,21 +35511,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -34583,7 +35533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -34593,7 +35543,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -34603,7 +35553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -34612,7 +35562,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -34635,7 +35585,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -34643,7 +35593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -34653,7 +35603,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -34661,7 +35611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -34675,13 +35625,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -34689,7 +35639,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34697,21 +35647,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -34722,7 +35672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -34732,7 +35682,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -34742,7 +35692,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -34751,7 +35701,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -34774,7 +35724,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -34782,7 +35732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -34805,13 +35755,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -34819,7 +35769,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34827,21 +35777,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -34852,7 +35802,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -34862,7 +35812,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -34872,7 +35822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -34881,7 +35831,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -34895,7 +35845,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -34903,7 +35853,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -34917,13 +35867,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -34931,7 +35881,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34939,21 +35889,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -34964,7 +35914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -34974,7 +35924,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -34985,7 +35935,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -34995,7 +35945,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -35005,7 +35955,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -35014,7 +35964,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -35028,7 +35978,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -35036,7 +35986,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -35059,13 +36009,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -35076,7 +36026,7 @@ } }, { - "id": 913, + "id": 988, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -35087,21 +36037,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 915, + "id": 990, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -35112,7 +36062,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 843, "character": 2 } ], @@ -35122,7 +36072,7 @@ } }, { - "id": 916, + "id": 991, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -35133,7 +36083,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 785, + "line": 848, "character": 2 } ], @@ -35143,7 +36093,7 @@ } }, { - "id": 917, + "id": 992, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -35154,7 +36104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 852, "character": 2 } ], @@ -35164,7 +36114,7 @@ } }, { - "id": 918, + "id": 993, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -35175,7 +36125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 791, + "line": 854, "character": 2 } ], @@ -35185,7 +36135,7 @@ } }, { - "id": 919, + "id": 994, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -35196,16 +36146,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 856, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 995, "name": "GenerateLinkType", "dereferenced": { - "id": 920, + "id": 995, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -35213,7 +36163,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 859, "character": 12 } ], @@ -35254,13 +36204,13 @@ { "title": "Properties", "kind": 1024, - "children": [915, 916, 917, 918, 919] + "children": [990, 991, 992, 993, 994] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 37 } ] @@ -35268,7 +36218,7 @@ } }, { - "id": 900, + "id": 975, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -35276,7 +36226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 758, + "line": 821, "character": 12 } ], @@ -35286,14 +36236,14 @@ { "type": "reflection", "declaration": { - "id": 901, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 902, + "id": 977, "name": "data", "kind": 1024, "kindString": "Property", @@ -35301,21 +36251,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 979, "name": "properties", "kind": 1024, "kindString": "Property", @@ -35323,18 +36273,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 824, "character": 8 } ], "type": { "type": "reference", - "id": 913, + "id": 988, "name": "GenerateLinkProperties" } }, { - "id": 905, + "id": 980, "name": "user", "kind": 1024, "kindString": "Property", @@ -35342,13 +36292,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 825, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -35357,13 +36307,13 @@ { "title": "Properties", "kind": 1024, - "children": [904, 905] + "children": [979, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 12 } ] @@ -35371,7 +36321,7 @@ } }, { - "id": 906, + "id": 981, "name": "error", "kind": 1024, "kindString": "Property", @@ -35379,7 +36329,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 827, "character": 6 } ], @@ -35393,13 +36343,13 @@ { "title": "Properties", "kind": 1024, - "children": [902, 906] + "children": [977, 981] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 759, + "line": 822, "character": 4 } ] @@ -35408,14 +36358,14 @@ { "type": "reflection", "declaration": { - "id": 907, + "id": 982, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 983, "name": "data", "kind": 1024, "kindString": "Property", @@ -35423,21 +36373,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 909, + "id": 984, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 985, "name": "properties", "kind": 1024, "kindString": "Property", @@ -35445,7 +36395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 831, "character": 8 } ], @@ -35455,7 +36405,7 @@ } }, { - "id": 911, + "id": 986, "name": "user", "kind": 1024, "kindString": "Property", @@ -35463,7 +36413,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 769, + "line": 832, "character": 8 } ], @@ -35477,13 +36427,13 @@ { "title": "Properties", "kind": 1024, - "children": [910, 911] + "children": [985, 986] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 12 } ] @@ -35491,7 +36441,7 @@ } }, { - "id": 912, + "id": 987, "name": "error", "kind": 1024, "kindString": "Property", @@ -35499,13 +36449,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 771, + "line": 834, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -35514,13 +36464,13 @@ { "title": "Properties", "kind": 1024, - "children": [908, 912] + "children": [983, 987] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 829, "character": 4 } ] @@ -35530,7 +36480,7 @@ } }, { - "id": 920, + "id": 995, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -35538,7 +36488,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 859, "character": 12 } ], @@ -35573,7 +36523,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35581,21 +36531,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -35606,7 +36556,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -35616,7 +36566,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -35626,7 +36576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -35635,7 +36585,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -35649,7 +36599,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -35657,7 +36607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -35671,13 +36621,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -35685,7 +36635,7 @@ } }, { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35693,21 +36643,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -35715,7 +36665,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -35725,7 +36675,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -35735,7 +36685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -35744,7 +36694,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -35767,7 +36717,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -35775,7 +36725,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -35785,7 +36735,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -35793,7 +36743,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -35807,13 +36757,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -35821,7 +36771,7 @@ } }, { - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -35829,21 +36779,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 578, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -35853,7 +36803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 67, + "line": 68, "character": 2 } ], @@ -35863,7 +36813,7 @@ } }, { - "id": 541, + "id": 584, "name": "debug", "kind": 1024, "kindString": "Property", @@ -35873,7 +36823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 2 } ], @@ -35887,7 +36837,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35895,20 +36845,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 21 } ], "signatures": [ { - "id": 543, + "id": 586, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 587, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -35919,7 +36869,7 @@ } }, { - "id": 545, + "id": 588, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -35947,7 +36897,7 @@ } }, { - "id": 535, + "id": 577, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -35957,7 +36907,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 66, "character": 2 } ], @@ -35967,7 +36917,7 @@ } }, { - "id": 539, + "id": 582, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -35977,7 +36927,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 82, "character": 2 } ], @@ -35987,7 +36937,7 @@ } }, { - "id": 540, + "id": 583, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -35997,16 +36947,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 84, "character": 2 } ], "type": { "type": "reference", - "id": 802, + "id": 846, "name": "AuthFlowType", "dereferenced": { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -36014,7 +36964,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -36035,7 +36985,7 @@ } }, { - "id": 547, + "id": 590, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -36054,7 +37004,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 97, "character": 2 } ], @@ -36064,7 +37014,7 @@ } }, { - "id": 530, + "id": 572, "name": "headers", "kind": 1024, "kindString": "Property", @@ -36074,14 +37024,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36089,19 +37039,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 12 } ], "indexSignature": { - "id": 532, + "id": 574, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 533, + "id": 575, "name": "key", "kind": 32768, "flags": {}, @@ -36120,7 +37070,7 @@ } }, { - "id": 546, + "id": 589, "name": "lock", "kind": 1024, "kindString": "Property", @@ -36139,16 +37089,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 92, "character": 2 } ], "type": { "type": "reference", - "id": 518, + "id": 560, "name": "LockFunc", "dereferenced": { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -36156,14 +37106,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36171,13 +37121,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -36193,7 +37143,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -36202,7 +37152,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -36216,7 +37166,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -36230,7 +37180,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -36241,7 +37191,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36249,13 +37199,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -36265,7 +37215,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -36284,7 +37234,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -36300,7 +37250,7 @@ } }, { - "id": 537, + "id": 579, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -36310,7 +37260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 2 } ], @@ -36320,7 +37270,7 @@ } }, { - "id": 538, + "id": 580, "name": "storage", "kind": 1024, "kindString": "Property", @@ -36330,16 +37280,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 2 } ], "type": { "type": "reference", - "id": 1051, + "id": 1126, "name": "SupportedStorage", "dereferenced": { - "id": 1051, + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -36347,7 +37297,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -36394,14 +37344,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -36414,7 +37364,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -36428,13 +37378,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -36446,7 +37396,7 @@ } }, { - "id": 534, + "id": 576, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -36456,7 +37406,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -36466,7 +37416,7 @@ } }, { - "id": 529, + "id": 571, "name": "url", "kind": 1024, "kindString": "Property", @@ -36476,7 +37426,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -36484,19 +37434,155 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 581, + "name": "userStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, `storage` will only store a JSON object containing the access and refresh token and some adjacent metadata, while `userStorage` will only contain the user object under the key `storageKey + '-user'`.", + "text": "When this option is set and cookie storage is used, `getSession()` and other functions that load a session from the cookie store might not return back a user. It's very important to always use `getUser()` to fetch a user object in those scenarios.\n", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1126, + "name": "SupportedStorage", + "dereferenced": { + "id": 1126, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1140, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Storage", + "package": "typescript", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "PromisifyMethods" + }, + { + "type": "reflection", + "declaration": { + "id": 1127, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1128, + "name": "isServer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1150, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1128] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1142, + "character": 4 + } + ] + } + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [536, 541, 535, 539, 540, 547, 530, 546, 537, 538, 534, 529] + "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 34 } ] @@ -36504,7 +37590,7 @@ } }, { - "id": 1054, + "id": 1129, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -36512,21 +37598,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1055, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1131, "name": "error", "kind": 1024, "kindString": "Property", @@ -36534,7 +37620,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 33 } ], @@ -36543,7 +37629,7 @@ "types": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, { @@ -36558,13 +37644,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 31 } ] @@ -36572,7 +37658,7 @@ } }, { - "id": 1116, + "id": 1191, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -36580,21 +37666,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1193, "name": "alg", "kind": 1024, "kindString": "Property", @@ -36602,7 +37688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1268, "character": 2 } ], @@ -36625,7 +37711,7 @@ } }, { - "id": 1119, + "id": 1194, "name": "kid", "kind": 1024, "kindString": "Property", @@ -36633,7 +37719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1206, + "line": 1269, "character": 2 } ], @@ -36643,7 +37729,7 @@ } }, { - "id": 1120, + "id": 1195, "name": "typ", "kind": 1024, "kindString": "Property", @@ -36651,7 +37737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1270, "character": 2 } ], @@ -36665,13 +37751,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118, 1119, 1120] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 24 } ] @@ -36679,7 +37765,7 @@ } }, { - "id": 1131, + "id": 1206, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -36687,7 +37773,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 12 } ], @@ -36696,13 +37782,13 @@ "types": [ { "type": "reference", - "id": 1121, + "id": 1196, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1132, + "id": 1207, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36710,19 +37796,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 42 } ], "indexSignature": { - "id": 1133, + "id": 1208, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1209, "name": "key", "kind": 32768, "flags": {}, @@ -36743,7 +37829,7 @@ } }, { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -36751,14 +37837,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36766,13 +37852,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -36788,7 +37874,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -36797,7 +37883,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -36811,7 +37897,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -36825,7 +37911,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -36836,7 +37922,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36844,13 +37930,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -36860,7 +37946,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -36879,7 +37965,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -36893,7 +37979,7 @@ } }, { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -36901,21 +37987,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -36926,7 +38012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -36936,7 +38022,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -36947,7 +38033,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -36961,13 +38047,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -36975,7 +38061,7 @@ } }, { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -36983,21 +38069,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -37010,7 +38096,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -37029,7 +38115,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -37040,7 +38126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -37054,13 +38140,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -37068,7 +38154,7 @@ } }, { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -37076,7 +38162,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -37084,7 +38170,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -37092,21 +38178,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -37117,7 +38203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -37127,7 +38213,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -37140,7 +38226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -37150,7 +38236,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -37163,7 +38249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -37177,13 +38263,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -37191,7 +38277,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -37199,21 +38285,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -37224,7 +38310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -37234,7 +38320,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -37247,7 +38333,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -37257,7 +38343,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -37268,7 +38354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -37282,13 +38368,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -37299,7 +38385,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -37307,21 +38393,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -37332,7 +38418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -37342,7 +38428,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -37355,7 +38441,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -37365,7 +38451,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -37376,7 +38462,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -37390,13 +38476,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -37404,7 +38490,7 @@ } }, { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -37412,21 +38498,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -37437,7 +38523,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -37447,7 +38533,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -37460,7 +38546,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -37470,7 +38556,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -37483,7 +38569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -37497,13 +38583,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -37511,7 +38597,7 @@ } }, { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -37519,21 +38605,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -37544,7 +38630,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -37558,13 +38644,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -37572,7 +38658,7 @@ } }, { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -37580,21 +38666,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -37605,7 +38691,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -37615,7 +38701,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -37626,7 +38712,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -37636,7 +38722,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -37647,7 +38733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -37661,13 +38747,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -37675,7 +38761,7 @@ } }, { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -37683,7 +38769,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -37702,7 +38788,7 @@ } }, { - "id": 624, + "id": 667, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -37710,7 +38796,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 188, "character": 12 } ], @@ -37720,14 +38806,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 668, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 669, "name": "data", "kind": 1024, "kindString": "Property", @@ -37735,21 +38821,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 670, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 671, "name": "provider", "kind": 1024, "kindString": "Property", @@ -37757,18 +38843,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 191, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 629, + "id": 672, "name": "url", "kind": 1024, "kindString": "Property", @@ -37776,7 +38862,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 183, + "line": 192, "character": 8 } ], @@ -37790,13 +38876,13 @@ { "title": "Properties", "kind": 1024, - "children": [628, 629] + "children": [671, 672] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 12 } ] @@ -37804,7 +38890,7 @@ } }, { - "id": 630, + "id": 673, "name": "error", "kind": 1024, "kindString": "Property", @@ -37812,7 +38898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 194, "character": 6 } ], @@ -37826,13 +38912,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 630] + "children": [669, 673] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 189, "character": 4 } ] @@ -37841,14 +38927,14 @@ { "type": "reflection", "declaration": { - "id": 631, + "id": 674, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 632, + "id": 675, "name": "data", "kind": 1024, "kindString": "Property", @@ -37856,21 +38942,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 633, + "id": 676, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 634, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -37878,18 +38964,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 198, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 635, + "id": 678, "name": "url", "kind": 1024, "kindString": "Property", @@ -37897,7 +38983,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 199, "character": 8 } ], @@ -37911,13 +38997,13 @@ { "title": "Properties", "kind": 1024, - "children": [634, 635] + "children": [677, 678] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 12 } ] @@ -37925,7 +39011,7 @@ } }, { - "id": 636, + "id": 679, "name": "error", "kind": 1024, "kindString": "Property", @@ -37933,13 +39019,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 201, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -37948,13 +39034,13 @@ { "title": "Properties", "kind": 1024, - "children": [632, 636] + "children": [675, 679] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 187, + "line": 196, "character": 4 } ] @@ -37964,7 +39050,7 @@ } }, { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -37972,21 +39058,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -37999,7 +39085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -38009,7 +39095,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -38022,7 +39108,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -38036,13 +39122,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -38050,7 +39136,7 @@ } }, { - "id": 1064, + "id": 1139, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -38058,21 +39144,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1065, + "id": 1140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1142, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -38080,7 +39166,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1168, "character": 2 } ], @@ -38090,7 +39176,7 @@ } }, { - "id": 1066, + "id": 1141, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -38098,7 +39184,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1104, + "line": 1167, "character": 2 } ], @@ -38117,7 +39203,7 @@ } }, { - "id": 1068, + "id": 1143, "name": "total", "kind": 1024, "kindString": "Property", @@ -38125,7 +39211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1106, + "line": 1169, "character": 2 } ], @@ -38139,25 +39225,25 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1066, 1068] + "children": [1142, 1141, 1143] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 25 } ], "indexSignature": { - "id": 1069, + "id": 1144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1070, + "id": 1145, "name": "key", "kind": 32768, "flags": {}, @@ -38176,7 +39262,7 @@ } }, { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -38187,7 +39273,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -38286,7 +39372,7 @@ } }, { - "id": 1121, + "id": 1196, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -38294,21 +39380,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1122, + "id": 1197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1129, + "id": 1204, "name": "aal", "kind": 1024, "kindString": "Property", @@ -38316,16 +39402,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1217, + "line": 1280, "character": 2 } ], "type": { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels", "dereferenced": { - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -38333,7 +39419,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 967, "character": 12 } ], @@ -38354,7 +39440,7 @@ } }, { - "id": 1125, + "id": 1200, "name": "aud", "kind": 1024, "kindString": "Property", @@ -38362,7 +39448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1213, + "line": 1276, "character": 2 } ], @@ -38384,7 +39470,7 @@ } }, { - "id": 1126, + "id": 1201, "name": "exp", "kind": 1024, "kindString": "Property", @@ -38392,7 +39478,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1214, + "line": 1277, "character": 2 } ], @@ -38402,7 +39488,7 @@ } }, { - "id": 1127, + "id": 1202, "name": "iat", "kind": 1024, "kindString": "Property", @@ -38410,7 +39496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1215, + "line": 1278, "character": 2 } ], @@ -38420,7 +39506,7 @@ } }, { - "id": 1123, + "id": 1198, "name": "iss", "kind": 1024, "kindString": "Property", @@ -38428,7 +39514,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1211, + "line": 1274, "character": 2 } ], @@ -38438,7 +39524,7 @@ } }, { - "id": 1128, + "id": 1203, "name": "role", "kind": 1024, "kindString": "Property", @@ -38446,7 +39532,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1216, + "line": 1279, "character": 2 } ], @@ -38456,7 +39542,7 @@ } }, { - "id": 1130, + "id": 1205, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -38464,7 +39550,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1218, + "line": 1281, "character": 2 } ], @@ -38474,7 +39560,7 @@ } }, { - "id": 1124, + "id": 1199, "name": "sub", "kind": 1024, "kindString": "Property", @@ -38482,7 +39568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1212, + "line": 1275, "character": 2 } ], @@ -38496,13 +39582,13 @@ { "title": "Properties", "kind": 1024, - "children": [1129, 1125, 1126, 1127, 1123, 1128, 1130, 1124] + "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 29 } ] @@ -38510,7 +39596,7 @@ } }, { - "id": 847, + "id": 922, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -38518,7 +39604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 728, "character": 12 } ], @@ -38528,14 +39614,14 @@ { "type": "reflection", "declaration": { - "id": 848, + "id": 923, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 925, "name": "email", "kind": 1024, "kindString": "Property", @@ -38543,7 +39629,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 731, "character": 6 } ], @@ -38553,7 +39639,7 @@ } }, { - "id": 851, + "id": 926, "name": "options", "kind": 1024, "kindString": "Property", @@ -38563,21 +39649,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 927, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 929, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -38590,7 +39676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 736, "character": 8 } ], @@ -38600,7 +39686,7 @@ } }, { - "id": 853, + "id": 928, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -38613,7 +39699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 734, "character": 8 } ], @@ -38627,13 +39713,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 853] + "children": [929, 928] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 16 } ] @@ -38641,7 +39727,7 @@ } }, { - "id": 849, + "id": 924, "name": "type", "kind": 1024, "kindString": "Property", @@ -38649,7 +39735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 667, + "line": 730, "character": 6 } ], @@ -38658,7 +39744,7 @@ "typeArguments": [ { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" }, { @@ -38685,13 +39771,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 851, 849] + "children": [925, 926, 924] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 729, "character": 4 } ] @@ -38700,14 +39786,14 @@ { "type": "reflection", "declaration": { - "id": 855, + "id": 930, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 858, + "id": 933, "name": "options", "kind": 1024, "kindString": "Property", @@ -38717,21 +39803,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 859, + "id": 934, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 935, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -38744,7 +39830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 744, "character": 8 } ], @@ -38758,13 +39844,13 @@ { "title": "Properties", "kind": 1024, - "children": [860] + "children": [935] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 16 } ] @@ -38772,7 +39858,7 @@ } }, { - "id": 857, + "id": 932, "name": "phone", "kind": 1024, "kindString": "Property", @@ -38780,7 +39866,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 741, "character": 6 } ], @@ -38790,7 +39876,7 @@ } }, { - "id": 856, + "id": 931, "name": "type", "kind": 1024, "kindString": "Property", @@ -38798,7 +39884,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 677, + "line": 740, "character": 6 } ], @@ -38807,7 +39893,7 @@ "typeArguments": [ { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" }, { @@ -38834,13 +39920,13 @@ { "title": "Properties", "kind": 1024, - "children": [858, 857, 856] + "children": [933, 932, 931] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 739, "character": 4 } ] @@ -38850,7 +39936,7 @@ } }, { - "id": 637, + "id": 680, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -38858,7 +39944,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 195, + "line": 204, "character": 12 } ], @@ -38868,14 +39954,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 681, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 682, "name": "data", "kind": 1024, "kindString": "Property", @@ -38883,21 +39969,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 641, + "id": 684, "name": "url", "kind": 1024, "kindString": "Property", @@ -38909,7 +39995,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 214, "character": 8 } ], @@ -38923,13 +40009,13 @@ { "title": "Properties", "kind": 1024, - "children": [641] + "children": [684] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 12 } ] @@ -38937,7 +40023,7 @@ } }, { - "id": 642, + "id": 685, "name": "error", "kind": 1024, "kindString": "Property", @@ -38945,7 +40031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 207, + "line": 216, "character": 6 } ], @@ -38959,13 +40045,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 642] + "children": [682, 685] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 205, "character": 4 } ] @@ -38974,14 +40060,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 686, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 687, "name": "data", "kind": 1024, "kindString": "Property", @@ -38989,7 +40075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 210, + "line": 219, "character": 6 } ], @@ -38999,7 +40085,7 @@ } }, { - "id": 645, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -39007,13 +40093,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 211, + "line": 220, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -39022,13 +40108,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 645] + "children": [687, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 218, "character": 4 } ] @@ -39038,7 +40124,7 @@ } }, { - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -39046,21 +40132,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 795, "name": "options", "kind": 1024, "kindString": "Property", @@ -39070,21 +40156,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 752, + "id": 796, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 754, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39097,7 +40183,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 497, "character": 4 } ], @@ -39107,7 +40193,7 @@ } }, { - "id": 753, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -39121,7 +40207,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 495, "character": 4 } ], @@ -39135,13 +40221,13 @@ { "title": "Properties", "kind": 1024, - "children": [754, 753] + "children": [798, 797] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 12 } ] @@ -39153,13 +40239,13 @@ { "title": "Properties", "kind": 1024, - "children": [751] + "children": [795] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 43 } ] @@ -39167,7 +40253,7 @@ } }, { - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -39175,21 +40261,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 820, + "id": 864, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -39202,7 +40288,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 606, + "line": 621, "character": 2 } ], @@ -39212,7 +40298,7 @@ } }, { - "id": 821, + "id": 865, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -39225,7 +40311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 623, "character": 2 } ], @@ -39235,7 +40321,7 @@ } }, { - "id": 822, + "id": 866, "name": "options", "kind": 1024, "kindString": "Property", @@ -39245,21 +40331,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 823, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 868, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39272,7 +40358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 626, "character": 4 } ], @@ -39286,13 +40372,13 @@ { "title": "Properties", "kind": 1024, - "children": [824] + "children": [868] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 12 } ] @@ -39300,7 +40386,7 @@ } }, { - "id": 817, + "id": 861, "name": "provider", "kind": 1024, "kindString": "Property", @@ -39311,7 +40397,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 2 } ], @@ -39348,7 +40434,7 @@ { "type": "reflection", "declaration": { - "id": 818, + "id": 862, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -39356,7 +40442,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 76 } ] @@ -39368,7 +40454,7 @@ } }, { - "id": 819, + "id": 863, "name": "token", "kind": 1024, "kindString": "Property", @@ -39379,7 +40465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 604, + "line": 619, "character": 2 } ], @@ -39393,13 +40479,13 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821, 822, 817, 819] + "children": [864, 865, 866, 861, 863] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 43 } ] @@ -39407,7 +40493,7 @@ } }, { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -39415,21 +40501,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -39439,21 +40525,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -39466,14 +40552,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -39481,19 +40567,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -39512,7 +40598,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -39525,7 +40611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -39535,7 +40621,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -39548,7 +40634,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -39558,7 +40644,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -39571,7 +40657,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -39585,13 +40671,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -39599,7 +40685,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -39610,16 +40696,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -39630,7 +40716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -39735,13 +40821,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -39749,7 +40835,7 @@ } }, { - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -39757,7 +40843,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 539, "character": 12 } ], @@ -39767,14 +40853,14 @@ { "type": "reflection", "declaration": { - "id": 773, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 774, + "id": 818, "name": "email", "kind": 1024, "kindString": "Property", @@ -39785,7 +40871,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 542, "character": 6 } ], @@ -39795,7 +40881,7 @@ } }, { - "id": 776, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -39805,21 +40891,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 777, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 778, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39832,7 +40918,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 547, "character": 8 } ], @@ -39846,13 +40932,13 @@ { "title": "Properties", "kind": 1024, - "children": [778] + "children": [822] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 16 } ] @@ -39860,7 +40946,7 @@ } }, { - "id": 775, + "id": 819, "name": "password", "kind": 1024, "kindString": "Property", @@ -39871,7 +40957,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 529, + "line": 544, "character": 6 } ], @@ -39885,13 +40971,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 776, 775] + "children": [818, 820, 819] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 540, "character": 4 } ] @@ -39900,14 +40986,14 @@ { "type": "reflection", "declaration": { - "id": 779, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -39917,21 +41003,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 783, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 828, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39944,7 +41030,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 557, "character": 8 } ], @@ -39958,13 +41044,13 @@ { "title": "Properties", "kind": 1024, - "children": [784] + "children": [828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 16 } ] @@ -39972,7 +41058,7 @@ } }, { - "id": 781, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -39983,7 +41069,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 554, "character": 6 } ], @@ -39993,7 +41079,7 @@ } }, { - "id": 780, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -40004,7 +41090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 537, + "line": 552, "character": 6 } ], @@ -40018,13 +41104,13 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781, 780] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 550, "character": 4 } ] @@ -40034,7 +41120,7 @@ } }, { - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40042,7 +41128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 546, + "line": 561, "character": 12 } ], @@ -40052,14 +41138,14 @@ { "type": "reflection", "declaration": { - "id": 786, + "id": 830, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 831, "name": "email", "kind": 1024, "kindString": "Property", @@ -40070,7 +41156,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 549, + "line": 564, "character": 6 } ], @@ -40080,7 +41166,7 @@ } }, { - "id": 788, + "id": 832, "name": "options", "kind": 1024, "kindString": "Property", @@ -40090,21 +41176,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 789, + "id": 833, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 793, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40117,7 +41203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 577, "character": 8 } ], @@ -40127,7 +41213,7 @@ } }, { - "id": 792, + "id": 836, "name": "data", "kind": 1024, "kindString": "Property", @@ -40141,7 +41227,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 560, + "line": 575, "character": 8 } ], @@ -40151,7 +41237,7 @@ } }, { - "id": 790, + "id": 834, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -40164,7 +41250,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 567, "character": 8 } ], @@ -40174,7 +41260,7 @@ } }, { - "id": 791, + "id": 835, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -40187,7 +41273,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 569, "character": 8 } ], @@ -40201,13 +41287,13 @@ { "title": "Properties", "kind": 1024, - "children": [793, 792, 790, 791] + "children": [837, 836, 834, 835] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 16 } ] @@ -40219,13 +41305,13 @@ { "title": "Properties", "kind": 1024, - "children": [787, 788] + "children": [831, 832] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 562, "character": 4 } ] @@ -40234,14 +41320,14 @@ { "type": "reflection", "declaration": { - "id": 794, + "id": 838, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 796, + "id": 840, "name": "options", "kind": 1024, "kindString": "Property", @@ -40251,21 +41337,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 797, + "id": 841, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 800, + "id": 844, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40278,7 +41364,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 578, + "line": 593, "character": 8 } ], @@ -40288,7 +41374,7 @@ } }, { - "id": 801, + "id": 845, "name": "channel", "kind": 1024, "kindString": "Property", @@ -40301,7 +41387,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 595, "character": 8 } ], @@ -40320,7 +41406,7 @@ } }, { - "id": 799, + "id": 843, "name": "data", "kind": 1024, "kindString": "Property", @@ -40334,7 +41420,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 576, + "line": 591, "character": 8 } ], @@ -40344,7 +41430,7 @@ } }, { - "id": 798, + "id": 842, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -40357,7 +41443,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 585, "character": 8 } ], @@ -40371,13 +41457,13 @@ { "title": "Properties", "kind": 1024, - "children": [800, 801, 799, 798] + "children": [844, 845, 843, 842] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 16 } ] @@ -40385,7 +41471,7 @@ } }, { - "id": 795, + "id": 839, "name": "phone", "kind": 1024, "kindString": "Property", @@ -40396,7 +41482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 582, "character": 6 } ], @@ -40410,13 +41496,13 @@ { "title": "Properties", "kind": 1024, - "children": [796, 795] + "children": [840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 580, "character": 4 } ] @@ -40426,7 +41512,7 @@ } }, { - "id": 861, + "id": 936, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -40434,7 +41520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 748, "character": 12 } ], @@ -40444,14 +41530,14 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 939, "name": "options", "kind": 1024, "kindString": "Property", @@ -40461,21 +41547,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 940, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, + "id": 942, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40488,7 +41574,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 694, + "line": 757, "character": 8 } ], @@ -40498,7 +41584,7 @@ } }, { - "id": 866, + "id": 941, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -40511,7 +41597,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 692, + "line": 755, "character": 8 } ], @@ -40525,13 +41611,13 @@ { "title": "Properties", "kind": 1024, - "children": [867, 866] + "children": [942, 941] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 16 } ] @@ -40539,7 +41625,7 @@ } }, { - "id": 863, + "id": 938, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -40550,7 +41636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 751, "character": 6 } ], @@ -40564,13 +41650,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 863] + "children": [939, 938] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 749, "character": 4 } ] @@ -40579,14 +41665,14 @@ { "type": "reflection", "declaration": { - "id": 868, + "id": 943, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 869, + "id": 944, "name": "domain", "kind": 1024, "kindString": "Property", @@ -40597,7 +41683,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 762, "character": 6 } ], @@ -40607,7 +41693,7 @@ } }, { - "id": 870, + "id": 945, "name": "options", "kind": 1024, "kindString": "Property", @@ -40617,21 +41703,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 871, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 873, + "id": 948, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40644,7 +41730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 768, "character": 8 } ], @@ -40654,7 +41740,7 @@ } }, { - "id": 872, + "id": 947, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -40667,7 +41753,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 766, "character": 8 } ], @@ -40681,13 +41767,13 @@ { "title": "Properties", "kind": 1024, - "children": [873, 872] + "children": [948, 947] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 16 } ] @@ -40699,13 +41785,13 @@ { "title": "Properties", "kind": 1024, - "children": [869, 870] + "children": [944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 760, "character": 4 } ] @@ -40715,7 +41801,7 @@ } }, { - "id": 1075, + "id": 1150, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -40723,21 +41809,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1076, + "id": 1151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1077, + "id": 1152, "name": "scope", "kind": 1024, "kindString": "Property", @@ -40750,7 +41836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1127, + "line": 1190, "character": 2 } ], @@ -40777,13 +41863,13 @@ { "title": "Properties", "kind": 1024, - "children": [1077] + "children": [1152] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 22 } ] @@ -40791,7 +41877,36 @@ } }, { - "id": 755, + "id": 1218, + "name": "SignOutScope", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1297, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "id": 1217, + "name": "SIGN_OUT_SCOPES" + } + } + } + }, + { + "id": 799, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40799,7 +41914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 501, "character": 12 } ], @@ -40809,14 +41924,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 801, "name": "email", "kind": 1024, "kindString": "Property", @@ -40827,7 +41942,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 490, + "line": 504, "character": 6 } ], @@ -40837,7 +41952,7 @@ } }, { - "id": 759, + "id": 803, "name": "options", "kind": 1024, "kindString": "Property", @@ -40847,21 +41962,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 804, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 763, + "id": 807, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40874,7 +41989,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 503, + "line": 517, "character": 8 } ], @@ -40884,7 +41999,7 @@ } }, { - "id": 762, + "id": 806, "name": "data", "kind": 1024, "kindString": "Property", @@ -40898,7 +42013,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 515, "character": 8 } ], @@ -40908,7 +42023,7 @@ } }, { - "id": 761, + "id": 805, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -40921,7 +42036,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 509, "character": 8 } ], @@ -40935,13 +42050,13 @@ { "title": "Properties", "kind": 1024, - "children": [763, 762, 761] + "children": [807, 806, 805] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 16 } ] @@ -40949,7 +42064,7 @@ } }, { - "id": 758, + "id": 802, "name": "password", "kind": 1024, "kindString": "Property", @@ -40960,7 +42075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 492, + "line": 506, "character": 6 } ], @@ -40974,13 +42089,13 @@ { "title": "Properties", "kind": 1024, - "children": [757, 759, 758] + "children": [801, 803, 802] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 502, "character": 4 } ] @@ -40989,14 +42104,14 @@ { "type": "reflection", "declaration": { - "id": 764, + "id": 808, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 767, + "id": 811, "name": "options", "kind": 1024, "kindString": "Property", @@ -41006,21 +42121,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 768, + "id": 812, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 814, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41033,7 +42148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 533, "character": 8 } ], @@ -41043,7 +42158,7 @@ } }, { - "id": 771, + "id": 815, "name": "channel", "kind": 1024, "kindString": "Property", @@ -41056,7 +42171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 535, "character": 8 } ], @@ -41075,7 +42190,7 @@ } }, { - "id": 769, + "id": 813, "name": "data", "kind": 1024, "kindString": "Property", @@ -41089,7 +42204,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 531, "character": 8 } ], @@ -41103,13 +42218,13 @@ { "title": "Properties", "kind": 1024, - "children": [770, 771, 769] + "children": [814, 815, 813] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 16 } ] @@ -41117,7 +42232,7 @@ } }, { - "id": 766, + "id": 810, "name": "password", "kind": 1024, "kindString": "Property", @@ -41128,7 +42243,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 524, "character": 6 } ], @@ -41138,7 +42253,7 @@ } }, { - "id": 765, + "id": 809, "name": "phone", "kind": 1024, "kindString": "Property", @@ -41149,7 +42264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 522, "character": 6 } ], @@ -41163,13 +42278,13 @@ { "title": "Properties", "kind": 1024, - "children": [767, 766, 765] + "children": [811, 810, 809] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 520, "character": 4 } ] @@ -41179,7 +42294,685 @@ } }, { - "id": 1051, + "id": 869, + "name": "SolanaWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 870, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 874, + "name": "publicKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 875, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 876, + "name": "toBase58", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 633, + "character": 4 + } + ], + "signatures": [ + { + "id": 877, + "name": "toBase58", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [876] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 14 + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 871, + "name": "signIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 631, + "character": 2 + } + ], + "signatures": [ + { + "id": 872, + "name": "signIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 873, + "name": "inputs", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInInput" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "SolanaSignInOutput" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInOutput" + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 878, + "name": "signMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 636, + "character": 2 + } + ], + "signatures": [ + { + "id": 879, + "name": "signMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 880, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + }, + { + "id": 881, + "name": "encoding", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [874] + }, + { + "title": "Methods", + "kind": 2048, + "children": [871, 878] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 27 + } + ] + } + } + }, + { + "id": 882, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 883, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "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" + } + }, + { + "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": [ + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [890, 891, 889] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 16 + } + ] + } + } + }, + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 16 + } + ] + } + } + }, + { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [893, 894, 896, 895] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 661, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -41187,7 +42980,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -41234,14 +43027,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -41254,7 +43047,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -41268,13 +43061,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -41284,7 +43077,7 @@ } }, { - "id": 646, + "id": 689, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -41292,7 +43085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 223, "character": 12 } ], @@ -41302,14 +43095,14 @@ { "type": "reflection", "declaration": { - "id": 647, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 691, "name": "data", "kind": 1024, "kindString": "Property", @@ -41317,21 +43110,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 649, + "id": 692, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 693, "name": "user", "kind": 1024, "kindString": "Property", @@ -41339,13 +43132,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 217, + "line": 226, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -41354,13 +43147,13 @@ { "title": "Properties", "kind": 1024, - "children": [650] + "children": [693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 12 } ] @@ -41368,7 +43161,7 @@ } }, { - "id": 651, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -41376,7 +43169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 228, "character": 6 } ], @@ -41390,13 +43183,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 651] + "children": [691, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 215, + "line": 224, "character": 4 } ] @@ -41405,14 +43198,14 @@ { "type": "reflection", "declaration": { - "id": 652, + "id": 695, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 653, + "id": 696, "name": "data", "kind": 1024, "kindString": "Property", @@ -41420,21 +43213,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 697, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 655, + "id": 698, "name": "user", "kind": 1024, "kindString": "Property", @@ -41442,7 +43235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 232, "character": 8 } ], @@ -41456,13 +43249,13 @@ { "title": "Properties", "kind": 1024, - "children": [655] + "children": [698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 12 } ] @@ -41470,7 +43263,7 @@ } }, { - "id": 656, + "id": 699, "name": "error", "kind": 1024, "kindString": "Property", @@ -41478,13 +43271,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 234, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -41493,13 +43286,13 @@ { "title": "Properties", "kind": 1024, - "children": [653, 656] + "children": [696, 699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 221, + "line": 230, "character": 4 } ] @@ -41509,7 +43302,7 @@ } }, { - "id": 825, + "id": 900, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -41517,7 +43310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 678, "character": 12 } ], @@ -41525,14 +43318,14 @@ "type": "union", "types": [ { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -41542,21 +43335,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41575,7 +43368,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -41585,7 +43378,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -41598,7 +43391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -41612,14 +43405,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -41630,7 +43423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -41640,7 +43433,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -41651,7 +43444,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -41661,7 +43454,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -41672,16 +43465,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -41689,7 +43482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -41714,26 +43507,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -41744,7 +43537,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -41754,7 +43547,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -41764,21 +43557,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41797,7 +43590,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -41807,7 +43600,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -41820,7 +43613,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -41834,14 +43627,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -41852,7 +43645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -41862,7 +43655,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -41873,16 +43666,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -41890,7 +43683,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -41931,26 +43724,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -41961,7 +43754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -41971,7 +43764,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -41982,16 +43775,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -41999,7 +43792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -42040,13 +43833,13 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] @@ -42055,7 +43848,7 @@ } }, { - "id": 550, + "id": 593, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -42063,21 +43856,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 551, + "id": 594, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 596, "name": "message", "kind": 1024, "kindString": "Property", @@ -42085,7 +43878,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 94, + "line": 103, "character": 2 } ], @@ -42095,7 +43888,7 @@ } }, { - "id": 552, + "id": 595, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -42103,7 +43896,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 102, "character": 2 } ], @@ -42111,7 +43904,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } @@ -42121,13 +43914,13 @@ { "title": "Properties", "kind": 1024, - "children": [553, 552] + "children": [596, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 27 } ] @@ -42135,7 +43928,7 @@ } }, { - "id": 548, + "id": 591, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -42143,7 +43936,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 12 } ], @@ -42172,7 +43965,7 @@ { "type": "reflection", "declaration": { - "id": 549, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42180,7 +43973,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 80 } ] @@ -42192,7 +43985,26 @@ } }, { - "id": 497, + "id": 899, + "name": "Web3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 676, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials" + } + }, + { + "id": 531, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -42217,7 +44029,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 498, + "id": 532, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -42242,7 +44054,45 @@ "defaultValue": "GoTrueClient" }, { - "id": 512, + "id": 1217, + "name": "SIGN_OUT_SCOPES", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 13 + } + ], + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 546, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -42267,14 +44117,14 @@ "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 548, "name": "debug", "kind": 1024, "kindString": "Property", @@ -42305,7 +44155,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [548] } ] } @@ -42313,7 +44163,7 @@ "defaultValue": "..." }, { - "id": 1145, + "id": 1222, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -42327,14 +44177,14 @@ ], "signatures": [ { - "id": 1146, + "id": 1223, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1147, + "id": 1224, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42351,7 +44201,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" } } @@ -42359,7 +44209,7 @@ ] }, { - "id": 1142, + "id": 1219, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -42373,14 +44223,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1220, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1221, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42397,7 +44247,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -42405,7 +44255,7 @@ ] }, { - "id": 1151, + "id": 1228, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -42419,14 +44269,14 @@ ], "signatures": [ { - "id": 1152, + "id": 1229, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1153, + "id": 1230, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42443,7 +44293,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" } } @@ -42451,7 +44301,7 @@ ] }, { - "id": 1154, + "id": 1231, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -42465,14 +44315,14 @@ ], "signatures": [ { - "id": 1155, + "id": 1232, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1156, + "id": 1233, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42489,7 +44339,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" } } @@ -42497,7 +44347,7 @@ ] }, { - "id": 1148, + "id": 1225, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -42511,14 +44361,14 @@ ], "signatures": [ { - "id": 1149, + "id": 1226, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1150, + "id": 1227, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42535,7 +44385,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" } } @@ -42543,7 +44393,7 @@ ] }, { - "id": 1157, + "id": 1234, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -42557,14 +44407,14 @@ ], "signatures": [ { - "id": 1158, + "id": 1235, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1159, + "id": 1236, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -42581,7 +44431,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" } } @@ -42589,7 +44439,7 @@ ] }, { - "id": 499, + "id": 533, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -42603,7 +44453,7 @@ ], "signatures": [ { - "id": 500, + "id": 534, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -42614,7 +44464,7 @@ }, "typeParameter": [ { - "id": 501, + "id": 535, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -42623,7 +44473,7 @@ ], "parameters": [ { - "id": 502, + "id": 536, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -42637,7 +44487,7 @@ } }, { - "id": 503, + "id": 537, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -42651,7 +44501,7 @@ } }, { - "id": 504, + "id": 538, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -42662,14 +44512,14 @@ "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 539, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 506, + "id": 540, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -42679,7 +44529,7 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, "name": "R" } ], @@ -42698,7 +44548,128 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 549, + "name": "processLock", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/locks.ts", + "line": 171, + "character": 22 + } + ], + "signatures": [ + { + "id": 550, + "name": "processLock", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.", + "text": "Use {@link #navigatorLock} in browser environments.\n" + }, + "typeParameter": [ + { + "id": 551, + "name": "R", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 552, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Name of the lock to be acquired." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 553, + "name": "acquireTimeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operation to run once the lock is acquired.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 556, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, "name": "R" } ], @@ -42715,35 +44686,36 @@ "title": "Classes", "kind": 128, "children": [ - 1170, 1160, 1227, 1218, 1303, 1210, 1254, 1281, 1202, 1180, 1291, 1190, 1, 78, 507 + 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 666, 728, 682, 896, 1044, 995, 1135, 657, 741, 697, 690, 722, 670, 694, 834, 826, 842 + 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 517, 516, 802, 1028, 1019, 1041, 1032, 961, 1104, 951, 1088, 984, 972, 952, 938, 581, - 554, 567, 596, 609, 983, 1057, 846, 890, 880, 899, 913, 900, 920, 885, 874, 527, 1054, - 1116, 1131, 518, 934, 930, 921, 1083, 1078, 922, 925, 845, 624, 1071, 1064, 515, 1121, - 847, 637, 749, 815, 803, 772, 785, 861, 1075, 755, 1051, 646, 825, 550, 548 + 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 ] }, { "title": "Variables", "kind": 32, - "children": [497, 498, 512] + "children": [531, 532, 1217, 546] }, { "title": "Functions", "kind": 64, - "children": [1145, 1142, 1151, 1154, 1148, 1157, 499] + "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json index d8e356dcde7..9ff81b74039 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": 1170, + "id": 1247, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1171, + "id": 1248, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1172, + "id": 1249, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1173, + "id": 1250, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1174, + "id": 1251, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1175, + "id": 1252, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,24 +79,24 @@ ], "type": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1177, + "id": 1254, "name": "code", "kind": 1024, "kindString": "Property", @@ -128,7 +128,7 @@ { "type": "reflection", "declaration": { - "id": 1178, + "id": 1255, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -145,12 +145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1176, + "id": 1253, "name": "status", "kind": 1024, "kindString": "Property", @@ -171,7 +171,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -180,12 +180,12 @@ { "title": "Constructors", "kind": 512, - "children": [1171] + "children": [1248] }, { "title": "Properties", "kind": 1024, - "children": [1177, 1176] + "children": [1254, 1253] } ], "sources": [ @@ -198,20 +198,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1160, + "id": 1237, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1161, + "id": 1238, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -225,14 +225,14 @@ ], "signatures": [ { - "id": 1162, + "id": 1239, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1163, + "id": 1240, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -243,7 +243,7 @@ } }, { - "id": 1164, + "id": 1241, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -256,7 +256,7 @@ } }, { - "id": 1165, + "id": 1242, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, "overwrites": { @@ -286,7 +286,7 @@ } }, { - "id": 1166, + "id": 1243, "name": "code", "kind": 1024, "kindString": "Property", @@ -318,7 +318,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1244, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -335,7 +335,7 @@ } }, { - "id": 1168, + "id": 1245, "name": "status", "kind": 1024, "kindString": "Property", @@ -369,12 +369,12 @@ { "title": "Constructors", "kind": 512, - "children": [1161] + "children": [1238] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1168] + "children": [1243, 1245] } ], "sources": [ @@ -395,30 +395,30 @@ "extendedBy": [ { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1228, + "id": 1305, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -432,14 +432,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1306, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1307, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -450,7 +450,7 @@ } }, { - "id": 1231, + "id": 1308, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -465,14 +465,14 @@ { "type": "reflection", "declaration": { - "id": 1232, + "id": 1309, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1234, + "id": 1311, "name": "code", "kind": 1024, "kindString": "Property", @@ -490,7 +490,7 @@ } }, { - "id": 1233, + "id": 1310, "name": "error", "kind": 1024, "kindString": "Property", @@ -512,7 +512,7 @@ { "title": "Properties", "kind": 1024, - "children": [1234, 1233] + "children": [1311, 1310] } ] } @@ -524,24 +524,24 @@ ], "type": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1328, "name": "code", "kind": 1024, "kindString": "Property", @@ -573,7 +573,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -590,12 +590,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1235, + "id": 1312, "name": "details", "kind": 1024, "kindString": "Property", @@ -617,14 +617,14 @@ { "type": "reflection", "declaration": { - "id": 1236, + "id": 1313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1238, + "id": 1315, "name": "code", "kind": 1024, "kindString": "Property", @@ -642,7 +642,7 @@ } }, { - "id": 1237, + "id": 1314, "name": "error", "kind": 1024, "kindString": "Property", @@ -664,7 +664,7 @@ { "title": "Properties", "kind": 1024, - "children": [1238, 1237] + "children": [1315, 1314] } ] } @@ -674,7 +674,7 @@ "defaultValue": "null" }, { - "id": 1249, + "id": 1326, "name": "name", "kind": 1024, "kindString": "Property", @@ -692,12 +692,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1250, + "id": 1327, "name": "status", "kind": 1024, "kindString": "Property", @@ -718,12 +718,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1239, + "id": 1316, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -737,7 +737,7 @@ ], "signatures": [ { - "id": 1240, + "id": 1317, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -745,14 +745,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1241, + "id": 1318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1245, + "id": 1322, "name": "details", "kind": 1024, "kindString": "Property", @@ -774,14 +774,14 @@ { "type": "reflection", "declaration": { - "id": 1246, + "id": 1323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1248, + "id": 1325, "name": "code", "kind": 1024, "kindString": "Property", @@ -799,7 +799,7 @@ } }, { - "id": 1247, + "id": 1324, "name": "error", "kind": 1024, "kindString": "Property", @@ -821,7 +821,7 @@ { "title": "Properties", "kind": 1024, - "children": [1248, 1247] + "children": [1325, 1324] } ] } @@ -831,7 +831,7 @@ "defaultValue": "..." }, { - "id": 1243, + "id": 1320, "name": "message", "kind": 1024, "kindString": "Property", @@ -850,7 +850,7 @@ "defaultValue": "..." }, { - "id": 1242, + "id": 1319, "name": "name", "kind": 1024, "kindString": "Property", @@ -869,7 +869,7 @@ "defaultValue": "..." }, { - "id": 1244, + "id": 1321, "name": "status", "kind": 1024, "kindString": "Property", @@ -892,7 +892,7 @@ { "title": "Properties", "kind": 1024, - "children": [1245, 1243, 1242, 1244] + "children": [1322, 1320, 1319, 1321] } ] } @@ -905,17 +905,17 @@ { "title": "Constructors", "kind": 512, - "children": [1228] + "children": [1305] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1235, 1249, 1250] + "children": [1328, 1312, 1326, 1327] }, { "title": "Methods", "kind": 2048, - "children": [1239] + "children": [1316] } ], "sources": [ @@ -928,20 +928,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1219, + "id": 1296, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -955,14 +955,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1297, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1298, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -975,24 +975,24 @@ ], "type": { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1224, + "id": 1301, "name": "code", "kind": 1024, "kindString": "Property", @@ -1024,7 +1024,7 @@ { "type": "reflection", "declaration": { - "id": 1225, + "id": 1302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1041,12 +1041,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1222, + "id": 1299, "name": "name", "kind": 1024, "kindString": "Property", @@ -1064,12 +1064,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1223, + "id": 1300, "name": "status", "kind": 1024, "kindString": "Property", @@ -1090,7 +1090,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1099,12 +1099,12 @@ { "title": "Constructors", "kind": 512, - "children": [1219] + "children": [1296] }, { "title": "Properties", "kind": 1024, - "children": [1224, 1222, 1223] + "children": [1301, 1299, 1300] } ], "sources": [ @@ -1117,20 +1117,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1304, + "id": 1381, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1144,14 +1144,14 @@ ], "signatures": [ { - "id": 1305, + "id": 1382, "name": "new AuthInvalidJwtError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1306, + "id": 1383, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1164,24 +1164,24 @@ ], "type": { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1309, + "id": 1386, "name": "code", "kind": 1024, "kindString": "Property", @@ -1213,7 +1213,7 @@ { "type": "reflection", "declaration": { - "id": 1310, + "id": 1387, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1230,12 +1230,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1307, + "id": 1384, "name": "name", "kind": 1024, "kindString": "Property", @@ -1253,12 +1253,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1308, + "id": 1385, "name": "status", "kind": 1024, "kindString": "Property", @@ -1279,7 +1279,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1288,12 +1288,12 @@ { "title": "Constructors", "kind": 512, - "children": [1304] + "children": [1381] }, { "title": "Properties", "kind": 1024, - "children": [1309, 1307, 1308] + "children": [1386, 1384, 1385] } ], "sources": [ @@ -1306,20 +1306,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1211, + "id": 1288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1333,31 +1333,31 @@ ], "signatures": [ { - "id": 1212, + "id": 1289, "name": "new AuthInvalidTokenResponseError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1215, + "id": 1292, "name": "code", "kind": 1024, "kindString": "Property", @@ -1389,7 +1389,7 @@ { "type": "reflection", "declaration": { - "id": 1216, + "id": 1293, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1406,12 +1406,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1290, "name": "name", "kind": 1024, "kindString": "Property", @@ -1429,12 +1429,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1214, + "id": 1291, "name": "status", "kind": 1024, "kindString": "Property", @@ -1455,7 +1455,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1464,12 +1464,12 @@ { "title": "Constructors", "kind": 512, - "children": [1211] + "children": [1288] }, { "title": "Properties", "kind": 1024, - "children": [1215, 1213, 1214] + "children": [1292, 1290, 1291] } ], "sources": [ @@ -1482,20 +1482,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1255, + "id": 1332, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1509,14 +1509,14 @@ ], "signatures": [ { - "id": 1256, + "id": 1333, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1257, + "id": 1334, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1527,7 +1527,7 @@ } }, { - "id": 1258, + "id": 1335, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -1542,14 +1542,14 @@ { "type": "reflection", "declaration": { - "id": 1259, + "id": 1336, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1261, + "id": 1338, "name": "code", "kind": 1024, "kindString": "Property", @@ -1567,7 +1567,7 @@ } }, { - "id": 1260, + "id": 1337, "name": "error", "kind": 1024, "kindString": "Property", @@ -1589,7 +1589,7 @@ { "title": "Properties", "kind": 1024, - "children": [1261, 1260] + "children": [1338, 1337] } ] } @@ -1601,24 +1601,24 @@ ], "type": { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1278, + "id": 1355, "name": "code", "kind": 1024, "kindString": "Property", @@ -1650,7 +1650,7 @@ { "type": "reflection", "declaration": { - "id": 1279, + "id": 1356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1667,12 +1667,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1262, + "id": 1339, "name": "details", "kind": 1024, "kindString": "Property", @@ -1694,14 +1694,14 @@ { "type": "reflection", "declaration": { - "id": 1263, + "id": 1340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1265, + "id": 1342, "name": "code", "kind": 1024, "kindString": "Property", @@ -1719,7 +1719,7 @@ } }, { - "id": 1264, + "id": 1341, "name": "error", "kind": 1024, "kindString": "Property", @@ -1741,7 +1741,7 @@ { "title": "Properties", "kind": 1024, - "children": [1265, 1264] + "children": [1342, 1341] } ] } @@ -1751,7 +1751,7 @@ "defaultValue": "null" }, { - "id": 1276, + "id": 1353, "name": "name", "kind": 1024, "kindString": "Property", @@ -1769,12 +1769,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1277, + "id": 1354, "name": "status", "kind": 1024, "kindString": "Property", @@ -1795,12 +1795,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1266, + "id": 1343, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1814,7 +1814,7 @@ ], "signatures": [ { - "id": 1267, + "id": 1344, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1822,14 +1822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1268, + "id": 1345, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1272, + "id": 1349, "name": "details", "kind": 1024, "kindString": "Property", @@ -1851,14 +1851,14 @@ { "type": "reflection", "declaration": { - "id": 1273, + "id": 1350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1275, + "id": 1352, "name": "code", "kind": 1024, "kindString": "Property", @@ -1876,7 +1876,7 @@ } }, { - "id": 1274, + "id": 1351, "name": "error", "kind": 1024, "kindString": "Property", @@ -1898,7 +1898,7 @@ { "title": "Properties", "kind": 1024, - "children": [1275, 1274] + "children": [1352, 1351] } ] } @@ -1908,7 +1908,7 @@ "defaultValue": "..." }, { - "id": 1270, + "id": 1347, "name": "message", "kind": 1024, "kindString": "Property", @@ -1927,7 +1927,7 @@ "defaultValue": "..." }, { - "id": 1269, + "id": 1346, "name": "name", "kind": 1024, "kindString": "Property", @@ -1946,7 +1946,7 @@ "defaultValue": "..." }, { - "id": 1271, + "id": 1348, "name": "status", "kind": 1024, "kindString": "Property", @@ -1969,7 +1969,7 @@ { "title": "Properties", "kind": 1024, - "children": [1272, 1270, 1269, 1271] + "children": [1349, 1347, 1346, 1348] } ] } @@ -1982,17 +1982,17 @@ { "title": "Constructors", "kind": 512, - "children": [1255] + "children": [1332] }, { "title": "Properties", "kind": 1024, - "children": [1278, 1262, 1276, 1277] + "children": [1355, 1339, 1353, 1354] }, { "title": "Methods", "kind": 2048, - "children": [1266] + "children": [1343] } ], "sources": [ @@ -2005,20 +2005,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1282, + "id": 1359, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2032,14 +2032,14 @@ ], "signatures": [ { - "id": 1283, + "id": 1360, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1284, + "id": 1361, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2050,7 +2050,7 @@ } }, { - "id": 1285, + "id": 1362, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2063,24 +2063,24 @@ ], "type": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1288, + "id": 1365, "name": "code", "kind": 1024, "kindString": "Property", @@ -2112,7 +2112,7 @@ { "type": "reflection", "declaration": { - "id": 1289, + "id": 1366, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2129,12 +2129,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1286, + "id": 1363, "name": "name", "kind": 1024, "kindString": "Property", @@ -2152,12 +2152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1287, + "id": 1364, "name": "status", "kind": 1024, "kindString": "Property", @@ -2178,7 +2178,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2187,12 +2187,12 @@ { "title": "Constructors", "kind": 512, - "children": [1282] + "children": [1359] }, { "title": "Properties", "kind": 1024, - "children": [1288, 1286, 1287] + "children": [1365, 1363, 1364] } ], "sources": [ @@ -2205,20 +2205,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1203, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2232,31 +2232,31 @@ ], "signatures": [ { - "id": 1204, + "id": 1281, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1207, + "id": 1284, "name": "code", "kind": 1024, "kindString": "Property", @@ -2288,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 1208, + "id": 1285, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2305,12 +2305,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1205, + "id": 1282, "name": "name", "kind": 1024, "kindString": "Property", @@ -2328,12 +2328,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1206, + "id": 1283, "name": "status", "kind": 1024, "kindString": "Property", @@ -2354,7 +2354,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2363,12 +2363,12 @@ { "title": "Constructors", "kind": 512, - "children": [1203] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1207, 1205, 1206] + "children": [1284, 1282, 1283] } ], "sources": [ @@ -2381,20 +2381,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1180, + "id": 1257, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1181, + "id": 1258, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2408,14 +2408,14 @@ ], "signatures": [ { - "id": 1182, + "id": 1259, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1183, + "id": 1260, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2426,7 +2426,7 @@ } }, { - "id": 1184, + "id": 1261, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2439,24 +2439,24 @@ ], "type": { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1186, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -2488,7 +2488,7 @@ { "type": "reflection", "declaration": { - "id": 1187, + "id": 1264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2505,12 +2505,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1185, + "id": 1262, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2528,7 +2528,7 @@ } }, { - "id": 1188, + "id": 1265, "name": "status", "kind": 1024, "kindString": "Property", @@ -2558,7 +2558,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -2567,12 +2567,12 @@ { "title": "Constructors", "kind": 512, - "children": [1181] + "children": [1258] }, { "title": "Properties", "kind": 1024, - "children": [1186, 1185, 1188] + "children": [1263, 1262, 1265] } ], "sources": [ @@ -2585,13 +2585,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -2601,7 +2601,7 @@ }, "children": [ { - "id": 1292, + "id": 1369, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2615,14 +2615,14 @@ ], "signatures": [ { - "id": 1293, + "id": 1370, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1294, + "id": 1371, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2633,7 +2633,7 @@ } }, { - "id": 1295, + "id": 1372, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2644,7 +2644,7 @@ } }, { - "id": 1296, + "id": 1373, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -2660,24 +2660,24 @@ ], "type": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1300, + "id": 1377, "name": "code", "kind": 1024, "kindString": "Property", @@ -2709,7 +2709,7 @@ { "type": "reflection", "declaration": { - "id": 1301, + "id": 1378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2726,12 +2726,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1298, + "id": 1375, "name": "name", "kind": 1024, "kindString": "Property", @@ -2749,12 +2749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1297, + "id": 1374, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -2773,13 +2773,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } }, { - "id": 1299, + "id": 1376, "name": "status", "kind": 1024, "kindString": "Property", @@ -2800,7 +2800,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2809,12 +2809,12 @@ { "title": "Constructors", "kind": 512, - "children": [1292] + "children": [1369] }, { "title": "Properties", "kind": 1024, - "children": [1300, 1298, 1297, 1299] + "children": [1377, 1375, 1374, 1376] } ], "sources": [ @@ -2827,20 +2827,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1190, + "id": 1267, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1191, + "id": 1268, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2854,14 +2854,14 @@ ], "signatures": [ { - "id": 1192, + "id": 1269, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1193, + "id": 1270, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2872,7 +2872,7 @@ } }, { - "id": 1194, + "id": 1271, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2883,7 +2883,7 @@ } }, { - "id": 1195, + "id": 1272, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2894,7 +2894,7 @@ } }, { - "id": 1196, + "id": 1273, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -2916,24 +2916,24 @@ ], "type": { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1199, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -2965,7 +2965,7 @@ { "type": "reflection", "declaration": { - "id": 1200, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2982,12 +2982,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1197, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -3009,7 +3009,7 @@ } }, { - "id": 1198, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -3030,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -3039,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1191] + "children": [1268] }, { "title": "Properties", "kind": 1024, - "children": [1199, 1197, 1198] + "children": [1276, 1274, 1275] } ], "sources": [ @@ -3057,49 +3057,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" } ] @@ -3120,7 +3120,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -3158,7 +3158,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 44, + "line": 46, "character": 4 } ], @@ -3248,7 +3248,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 41, + "line": 43, "character": 4 } ], @@ -3295,7 +3295,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 40, + "line": 42, "character": 4 } ], @@ -3336,13 +3336,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 29, "character": 2 } ], "type": { "type": "reference", - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi" } }, @@ -3355,7 +3355,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 152, + "line": 160, "character": 8 } ], @@ -3378,7 +3378,7 @@ "flags": {}, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes" } } @@ -3388,7 +3388,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -3408,7 +3408,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 268, + "line": 280, "character": 8 } ], @@ -3458,7 +3458,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -3478,7 +3478,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 118, + "line": 126, "character": 8 } ], @@ -3501,7 +3501,7 @@ "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 974, "name": "GenerateLinkParams" } } @@ -3511,7 +3511,7 @@ "typeArguments": [ { "type": "reference", - "id": 900, + "id": 975, "name": "GenerateLinkResponse" } ], @@ -3531,7 +3531,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 221, + "line": 229, "character": 8 } ], @@ -3566,7 +3566,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -3586,7 +3586,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 85, + "line": 93, "character": 8 } ], @@ -3647,7 +3647,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 89, + "line": 97, "character": 6 } ], @@ -3670,7 +3670,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 92, + "line": 100, "character": 6 } ], @@ -3697,7 +3697,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -3717,7 +3717,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 174, + "line": 182, "character": 8 } ], @@ -3746,7 +3746,7 @@ }, "type": { "type": "reference", - "id": 1071, + "id": 1146, "name": "PageParams" } } @@ -3775,7 +3775,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 8 } ], @@ -3800,7 +3800,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 31 } ], @@ -3818,7 +3818,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 16 } ], @@ -3826,7 +3826,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -3843,7 +3843,7 @@ }, { "type": "reference", - "id": 1064, + "id": 1139, "name": "Pagination" } ] @@ -3858,7 +3858,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 59 } ], @@ -3895,7 +3895,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 8 } ], @@ -3917,7 +3917,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 16 } ], @@ -3945,13 +3945,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 29 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -3984,7 +3984,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 60, + "line": 62, "character": 8 } ], @@ -4039,7 +4039,7 @@ } ] }, - "defaultValue": "'global'" + "defaultValue": "..." } ], "type": { @@ -4063,7 +4063,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 15 } ], @@ -4081,7 +4081,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 27 } ], @@ -4094,7 +4094,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -4127,7 +4127,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 243, + "line": 253, "character": 8 } ], @@ -4164,7 +4164,7 @@ }, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes" } } @@ -4174,7 +4174,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -4206,7 +4206,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 25, + "line": 27, "character": 21 } ] @@ -4227,7 +4227,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 193, + "line": 229, "character": 2 } ], @@ -4250,7 +4250,7 @@ "flags": {}, "type": { "type": "reference", - "id": 527, + "id": 569, "name": "GoTrueClientOptions" } } @@ -4275,7 +4275,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 139, + "line": 156, "character": 2 } ], @@ -4297,18 +4297,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 143, + "line": 160, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1070, "name": "GoTrueMFAApi" } }, { - "id": 148, + "id": 157, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -4316,13 +4316,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 596, + "line": 640, "character": 8 } ], "signatures": [ { - "id": 149, + "id": 158, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -4332,7 +4332,7 @@ }, "parameters": [ { - "id": 150, + "id": 159, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -4348,7 +4348,7 @@ "typeArguments": [ { "type": "reference", - "id": 596, + "id": 639, "name": "AuthTokenResponse" } ], @@ -4360,7 +4360,7 @@ ] }, { - "id": 478, + "id": 508, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -4368,76 +4368,167 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2642, + "line": 3025, "character": 8 } ], "signatures": [ { - "id": 479, + "id": 509, "name": "getClaims", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "tags": [ - { - "tag": "experimental", - "text": "This method may change in future versions." - }, - { - "tag": "description", - "text": "Gets the claims from a JWT. If the JWT is symmetric JWTs, it will call getUser() to verify against the server. If the JWT is asymmetric, it will be verified against the JWKS using the WebCrypto API.\n" - } - ] + "shortText": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n`/.well-known/jwks.json` which is often cached, resulting in significantly\nfaster responses. Prefer this method over {@link #getUser} which always\nsends a request to the Auth server for each JWT.", + "text": "If the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to {@link\n#getUser}) to verify the JWT.\n" }, "parameters": [ { - "id": 480, + "id": 510, "name": "jwt", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "An optional specific JWT you wish to verify, not the one you\n can obtain from {@link #getSession}." + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 481, - "name": "jwks", + "id": 511, + "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, + "comment": { + "shortText": "Various additional options that allow you to customize the\n behavior of this method.\n" + }, "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, - "name": "keys", + "id": 514, + "name": "allowExpired", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` the `exp` claim will not be validated against the current time." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2644, - "character": 12 + "line": 3034, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 515, + "name": "jwks", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 517, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 15 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1210, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ] + } + } + }, + { + "id": 513, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Please use options.jwks instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3031, + "character": 6 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 1135, + "id": 1210, "name": "JWK" } } @@ -4447,12 +4538,12 @@ { "title": "Properties", "kind": 1024, - "children": [483] + "children": [514, 515, 513] } ] } }, - "defaultValue": "..." + "defaultValue": "{}" } ], "type": { @@ -4464,14 +4555,14 @@ { "type": "reflection", "declaration": { - "id": 484, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -4479,21 +4570,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 486, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 487, + "id": 521, "name": "claims", "kind": 1024, "kindString": "Property", @@ -4501,18 +4592,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 16 } ], "type": { "type": "reference", - "id": 1131, + "id": 1206, "name": "JwtPayload" } }, { - "id": 488, + "id": 522, "name": "header", "kind": 1024, "kindString": "Property", @@ -4520,18 +4611,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 36 } ], "type": { "type": "reference", - "id": 1116, + "id": 1191, "name": "JwtHeader" } }, { - "id": 489, + "id": 523, "name": "signature", "kind": 1024, "kindString": "Property", @@ -4539,7 +4630,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 55 } ], @@ -4555,14 +4646,14 @@ { "title": "Properties", "kind": 1024, - "children": [487, 488, 489] + "children": [521, 522, 523] } ] } } }, { - "id": 490, + "id": 524, "name": "error", "kind": 1024, "kindString": "Property", @@ -4570,7 +4661,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2648, + "line": 3042, "character": 8 } ], @@ -4584,7 +4675,7 @@ { "title": "Properties", "kind": 1024, - "children": [485, 490] + "children": [519, 524] } ] } @@ -4592,14 +4683,14 @@ { "type": "reflection", "declaration": { - "id": 491, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 526, "name": "data", "kind": 1024, "kindString": "Property", @@ -4607,7 +4698,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 8 } ], @@ -4617,7 +4708,7 @@ } }, { - "id": 493, + "id": 527, "name": "error", "kind": 1024, "kindString": "Property", @@ -4625,13 +4716,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -4640,7 +4731,7 @@ { "title": "Properties", "kind": 1024, - "children": [492, 493] + "children": [526, 527] } ] } @@ -4648,14 +4739,14 @@ { "type": "reflection", "declaration": { - "id": 494, + "id": 528, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "id": 529, "name": "data", "kind": 1024, "kindString": "Property", @@ -4663,7 +4754,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 8 } ], @@ -4673,7 +4764,7 @@ } }, { - "id": 496, + "id": 530, "name": "error", "kind": 1024, "kindString": "Property", @@ -4681,7 +4772,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 20 } ], @@ -4695,7 +4786,7 @@ { "title": "Properties", "kind": 1024, - "children": [495, 496] + "children": [529, 530] } ] } @@ -4711,7 +4802,7 @@ ] }, { - "id": 187, + "id": 217, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -4719,13 +4810,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 947, + "line": 1199, "character": 8 } ], "signatures": [ { - "id": 188, + "id": 218, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -4743,14 +4834,14 @@ { "type": "reflection", "declaration": { - "id": 189, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 190, + "id": 220, "name": "data", "kind": 1024, "kindString": "Property", @@ -4758,21 +4849,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1040, + "line": 1292, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 222, "name": "session", "kind": 1024, "kindString": "Property", @@ -4780,13 +4871,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1293, "character": 14 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -4795,14 +4886,14 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [222] } ] } } }, { - "id": 193, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -4810,7 +4901,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1295, "character": 12 } ], @@ -4824,7 +4915,7 @@ { "title": "Properties", "kind": 1024, - "children": [190, 193] + "children": [220, 223] } ] } @@ -4832,14 +4923,14 @@ { "type": "reflection", "declaration": { - "id": 194, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 195, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -4847,21 +4938,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1298, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 226, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 227, "name": "session", "kind": 1024, "kindString": "Property", @@ -4869,7 +4960,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1047, + "line": 1299, "character": 14 } ], @@ -4883,14 +4974,14 @@ { "title": "Properties", "kind": 1024, - "children": [197] + "children": [227] } ] } } }, { - "id": 198, + "id": 228, "name": "error", "kind": 1024, "kindString": "Property", @@ -4898,13 +4989,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1049, + "line": 1301, "character": 12 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -4913,7 +5004,7 @@ { "title": "Properties", "kind": 1024, - "children": [195, 198] + "children": [225, 228] } ] } @@ -4921,14 +5012,14 @@ { "type": "reflection", "declaration": { - "id": 199, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 200, + "id": 230, "name": "data", "kind": 1024, "kindString": "Property", @@ -4936,21 +5027,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1052, + "line": 1304, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 232, "name": "session", "kind": 1024, "kindString": "Property", @@ -4958,7 +5049,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1053, + "line": 1305, "character": 14 } ], @@ -4972,14 +5063,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [232] } ] } } }, { - "id": 203, + "id": 233, "name": "error", "kind": 1024, "kindString": "Property", @@ -4987,7 +5078,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1055, + "line": 1307, "character": 12 } ], @@ -5001,7 +5092,7 @@ { "title": "Properties", "kind": 1024, - "children": [200, 203] + "children": [230, 233] } ] } @@ -5017,7 +5108,7 @@ ] }, { - "id": 250, + "id": 280, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -5025,13 +5116,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1178, + "line": 1443, "character": 8 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -5041,7 +5132,7 @@ }, "parameters": [ { - "id": 252, + "id": 282, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -5062,7 +5153,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -5074,7 +5165,7 @@ ] }, { - "id": 359, + "id": 389, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -5082,13 +5173,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1736, + "line": 2001, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 390, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -5105,14 +5196,14 @@ { "type": "reflection", "declaration": { - "id": 361, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 362, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -5120,21 +5211,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 2003, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 363, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 364, + "id": 394, "name": "identities", "kind": 1024, "kindString": "Property", @@ -5142,7 +5233,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1739, + "line": 2004, "character": 10 } ], @@ -5150,7 +5241,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity" } } @@ -5160,14 +5251,14 @@ { "title": "Properties", "kind": 1024, - "children": [364] + "children": [394] } ] } } }, { - "id": 365, + "id": 395, "name": "error", "kind": 1024, "kindString": "Property", @@ -5175,7 +5266,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1741, + "line": 2006, "character": 8 } ], @@ -5189,7 +5280,7 @@ { "title": "Properties", "kind": 1024, - "children": [362, 365] + "children": [392, 395] } ] } @@ -5197,14 +5288,14 @@ { "type": "reflection", "declaration": { - "id": 366, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 397, "name": "data", "kind": 1024, "kindString": "Property", @@ -5212,7 +5303,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 8 } ], @@ -5222,7 +5313,7 @@ } }, { - "id": 368, + "id": 398, "name": "error", "kind": 1024, "kindString": "Property", @@ -5230,13 +5321,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -5245,7 +5336,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [397, 398] } ] } @@ -5261,7 +5352,7 @@ ] }, { - "id": 132, + "id": 141, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -5269,13 +5360,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 298, + "line": 342, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 142, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -5288,7 +5379,7 @@ "typeArguments": [ { "type": "reference", - "id": 1054, + "id": 1129, "name": "InitializeResult" } ], @@ -5300,7 +5391,7 @@ ] }, { - "id": 369, + "id": 399, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -5308,13 +5399,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1760, + "line": 2025, "character": 8 } ], "signatures": [ { - "id": 370, + "id": 400, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -5324,14 +5415,14 @@ }, "parameters": [ { - "id": 371, + "id": 401, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials" } } @@ -5341,7 +5432,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -5353,7 +5444,7 @@ ] }, { - "id": 331, + "id": 361, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -5361,13 +5452,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1634, + "line": 1899, "character": 2 } ], "signatures": [ { - "id": 332, + "id": 362, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -5377,7 +5468,7 @@ }, "parameters": [ { - "id": 333, + "id": 363, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5388,33 +5479,33 @@ "type": { "type": "reflection", "declaration": { - "id": 334, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 335, + "id": 365, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 366, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent" } }, { - "id": 337, + "id": 367, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5428,7 +5519,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -5465,14 +5556,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 369, "name": "data", "kind": 1024, "kindString": "Property", @@ -5480,21 +5571,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -5502,13 +5593,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 12 } ], "type": { "type": "reference", - "id": 741, + "id": 785, "name": "Subscription" } } @@ -5517,7 +5608,7 @@ { "title": "Properties", "kind": 1024, - "children": [341] + "children": [371] } ] } @@ -5528,7 +5619,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [369] } ] } @@ -5537,7 +5628,7 @@ ] }, { - "id": 180, + "id": 210, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -5545,13 +5636,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 863, + "line": 1115, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 211, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -5564,7 +5655,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -5576,7 +5667,7 @@ ] }, { - "id": 280, + "id": 310, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -5584,13 +5675,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 311, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -5600,7 +5691,7 @@ }, "parameters": [ { - "id": 282, + "id": 312, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5613,14 +5704,14 @@ "type": { "type": "reflection", "declaration": { - "id": 283, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 284, + "id": 314, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5628,7 +5719,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 42 } ], @@ -5642,7 +5733,7 @@ { "title": "Properties", "kind": 1024, - "children": [284] + "children": [314] } ] } @@ -5654,7 +5745,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -5666,7 +5757,7 @@ ] }, { - "id": 184, + "id": 214, "name": "resend", "kind": 2048, "kindString": "Method", @@ -5674,13 +5765,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 898, + "line": 1150, "character": 8 } ], "signatures": [ { - "id": 185, + "id": 215, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -5690,14 +5781,14 @@ }, "parameters": [ { - "id": 186, + "id": 216, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 922, "name": "ResendParams" } } @@ -5707,7 +5798,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -5719,7 +5810,7 @@ ] }, { - "id": 345, + "id": 375, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -5727,13 +5818,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1690, + "line": 1955, "character": 8 } ], "signatures": [ { - "id": 346, + "id": 376, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -5743,7 +5834,7 @@ }, "parameters": [ { - "id": 347, + "id": 377, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -5757,7 +5848,7 @@ } }, { - "id": 348, + "id": 378, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5765,14 +5856,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 381, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5785,7 +5876,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1694, + "line": 1959, "character": 6 } ], @@ -5795,7 +5886,7 @@ } }, { - "id": 350, + "id": 380, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5808,7 +5899,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1958, "character": 6 } ], @@ -5822,7 +5913,7 @@ { "title": "Properties", "kind": 1024, - "children": [351, 350] + "children": [381, 380] } ] } @@ -5839,14 +5930,14 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 382, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 383, "name": "data", "kind": 1024, "kindString": "Property", @@ -5854,14 +5945,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1698, + "line": 1963, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 354, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5870,7 +5961,7 @@ } }, { - "id": 355, + "id": 385, "name": "error", "kind": 1024, "kindString": "Property", @@ -5878,7 +5969,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1699, + "line": 1964, "character": 8 } ], @@ -5892,7 +5983,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 355] + "children": [383, 385] } ] } @@ -5900,14 +5991,14 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 357, + "id": 387, "name": "data", "kind": 1024, "kindString": "Property", @@ -5915,7 +6006,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 8 } ], @@ -5925,7 +6016,7 @@ } }, { - "id": 358, + "id": 388, "name": "error", "kind": 1024, "kindString": "Property", @@ -5933,13 +6024,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -5948,7 +6039,7 @@ { "title": "Properties", "kind": 1024, - "children": [357, 358] + "children": [387, 388] } ] } @@ -5964,7 +6055,7 @@ ] }, { - "id": 268, + "id": 298, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -5972,13 +6063,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1573, "character": 8 } ], "signatures": [ { - "id": 269, + "id": 299, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -5988,7 +6079,7 @@ }, "parameters": [ { - "id": 270, + "id": 300, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5999,14 +6090,14 @@ "type": { "type": "reflection", "declaration": { - "id": 271, + "id": 301, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 272, + "id": 302, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -6014,7 +6105,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1574, "character": 4 } ], @@ -6024,7 +6115,7 @@ } }, { - "id": 273, + "id": 303, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -6032,7 +6123,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1310, + "line": 1575, "character": 4 } ], @@ -6046,7 +6137,7 @@ { "title": "Properties", "kind": 1024, - "children": [272, 273] + "children": [302, 303] } ] } @@ -6058,7 +6149,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -6069,117 +6160,117 @@ } ] }, - { - "id": 136, - "name": "signInAnonymously", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 401, - "character": 8 - } - ], - "signatures": [ - { - "id": 137, - "name": "signInAnonymously", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new anonymous user.", - "returns": "A session where the is_anonymous claim in the access token JWT set to true\n" - }, - "parameters": [ - { - "id": 138, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 749, - "name": "SignInAnonymouslyCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 554, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 168, - "name": "signInWithIdToken", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 656, - "character": 8 - } - ], - "signatures": [ - { - "id": 169, - "name": "signInWithIdToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured." - }, - "parameters": [ - { - "id": 170, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 815, - "name": "SignInWithIdTokenCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 596, - "name": "AuthTokenResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, { "id": 145, + "name": "signInAnonymously", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 445, + "character": 8 + } + ], + "signatures": [ + { + "id": 146, + "name": "signInAnonymously", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new anonymous user.", + "returns": "A session where the is_anonymous claim in the access token JWT set to true\n" + }, + "parameters": [ + { + "id": 147, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 793, + "name": "SignInAnonymouslyCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 597, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 198, + "name": "signInWithIdToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 908, + "character": 8 + } + ], + "signatures": [ + { + "id": 199, + "name": "signInWithIdToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured." + }, + "parameters": [ + { + "id": 200, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 859, + "name": "SignInWithIdTokenCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 639, + "name": "AuthTokenResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 154, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -6187,13 +6278,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 628, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 155, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -6203,14 +6294,14 @@ }, "parameters": [ { - "id": 147, + "id": 156, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials" } } @@ -6220,7 +6311,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -6232,7 +6323,7 @@ ] }, { - "id": 171, + "id": 201, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -6240,13 +6331,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 711, + "line": 963, "character": 8 } ], "signatures": [ { - "id": 172, + "id": 202, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -6257,14 +6348,14 @@ }, "parameters": [ { - "id": 173, + "id": 203, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials" } } @@ -6274,7 +6365,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -6286,7 +6377,7 @@ ] }, { - "id": 142, + "id": 151, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -6294,13 +6385,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 521, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 152, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -6311,14 +6402,14 @@ }, "parameters": [ { - "id": 144, + "id": 153, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials" } } @@ -6328,7 +6419,7 @@ "typeArguments": [ { "type": "reference", - "id": 609, + "id": 652, "name": "AuthTokenResponsePassword" } ], @@ -6340,7 +6431,7 @@ ] }, { - "id": 177, + "id": 207, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -6348,13 +6439,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 825, + "line": 1077, "character": 8 } ], "signatures": [ { - "id": 178, + "id": 208, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -6365,14 +6456,14 @@ }, "parameters": [ { - "id": 179, + "id": 209, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 861, + "id": 936, "name": "SignInWithSSO" } } @@ -6382,7 +6473,7 @@ "typeArguments": [ { "type": "reference", - "id": 637, + "id": 680, "name": "SSOResponse" } ], @@ -6394,7 +6485,275 @@ ] }, { - "id": 321, + "id": 160, + "name": "signInWithWeb3", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 652, + "character": 8 + } + ], + "signatures": [ + { + "id": 161, + "name": "signInWithWeb3", + "kind": 4096, + "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." + }, + "parameters": [ + { + "id": 162, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 164, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 166, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 167, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 34 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [166, 167] + } + ] + } + } + }, + { + "id": 168, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 655, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [164, 168] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 170, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 171, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 172, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 16 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 173, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 31 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [172, 173] + } + ] + } + } + }, + { + "id": 174, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [170, 174] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 351, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -6402,13 +6761,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 8 } ], "signatures": [ { - "id": 322, + "id": 352, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -6419,14 +6778,14 @@ }, "parameters": [ { - "id": 323, + "id": 353, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1075, + "id": 1150, "name": "SignOut" }, "defaultValue": "..." @@ -6438,14 +6797,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 355, "name": "error", "kind": 1024, "kindString": "Property", @@ -6453,7 +6812,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 67 } ], @@ -6466,7 +6825,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -6477,7 +6836,7 @@ { "title": "Properties", "kind": 1024, - "children": [325] + "children": [355] } ] } @@ -6491,7 +6850,7 @@ ] }, { - "id": 139, + "id": 148, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -6499,13 +6858,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 444, + "line": 488, "character": 8 } ], "signatures": [ { - "id": 140, + "id": 149, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -6517,14 +6876,14 @@ }, "parameters": [ { - "id": 141, + "id": 150, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 755, + "id": 799, "name": "SignUpWithPasswordCredentials" } } @@ -6534,7 +6893,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -6546,7 +6905,7 @@ ] }, { - "id": 427, + "id": 457, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6554,13 +6913,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2175, + "line": 2542, "character": 8 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6585,7 +6944,7 @@ ] }, { - "id": 429, + "id": 459, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6593,13 +6952,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2188, + "line": 2555, "character": 8 } ], "signatures": [ { - "id": 430, + "id": 460, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6624,7 +6983,7 @@ ] }, { - "id": 372, + "id": 402, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -6632,13 +6991,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1796, + "line": 2061, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 403, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -6648,14 +7007,14 @@ }, "parameters": [ { - "id": 374, + "id": 404, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity" } } @@ -6669,14 +7028,14 @@ { "type": "reflection", "declaration": { - "id": 375, + "id": 405, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 376, + "id": 406, "name": "data", "kind": 1024, "kindString": "Property", @@ -6684,14 +7043,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1798, + "line": 2063, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 377, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6700,7 +7059,7 @@ } }, { - "id": 378, + "id": 408, "name": "error", "kind": 1024, "kindString": "Property", @@ -6708,7 +7067,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1799, + "line": 2064, "character": 8 } ], @@ -6722,7 +7081,7 @@ { "title": "Properties", "kind": 1024, - "children": [376, 378] + "children": [406, 408] } ] } @@ -6730,14 +7089,14 @@ { "type": "reflection", "declaration": { - "id": 379, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 380, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -6745,7 +7104,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 8 } ], @@ -6755,7 +7114,7 @@ } }, { - "id": 381, + "id": 411, "name": "error", "kind": 1024, "kindString": "Property", @@ -6763,13 +7122,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -6778,7 +7137,7 @@ { "title": "Properties", "kind": 1024, - "children": [380, 381] + "children": [410, 411] } ] } @@ -6794,7 +7153,7 @@ ] }, { - "id": 256, + "id": 286, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -6802,13 +7161,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1239, + "line": 1504, "character": 8 } ], "signatures": [ { - "id": 257, + "id": 287, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -6818,19 +7177,19 @@ }, "parameters": [ { - "id": 258, + "id": 288, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" } }, { - "id": 259, + "id": 289, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6838,14 +7197,14 @@ "type": { "type": "reflection", "declaration": { - "id": 260, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 261, + "id": 291, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -6855,7 +7214,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1242, + "line": 1507, "character": 6 } ], @@ -6869,7 +7228,7 @@ { "title": "Properties", "kind": 1024, - "children": [261] + "children": [291] } ] } @@ -6882,7 +7241,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -6894,7 +7253,7 @@ ] }, { - "id": 174, + "id": 204, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -6902,13 +7261,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 764, + "line": 1016, "character": 8 } ], "signatures": [ { - "id": 175, + "id": 205, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -6918,14 +7277,14 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 825, + "id": 900, "name": "VerifyOtpParams" } } @@ -6935,7 +7294,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -6962,42 +7321,42 @@ "title": "Methods", "kind": 2048, "children": [ - 148, 478, 187, 250, 359, 132, 369, 331, 180, 280, 184, 345, 268, 136, 168, 145, 171, - 142, 177, 321, 139, 427, 429, 372, 256, 174 + 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 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 130, + "line": 147, "character": 21 } ] }, { - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 508, + "id": 542, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 509, + "id": 543, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 510, + "id": 544, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7010,7 +7369,7 @@ ], "type": { "type": "reference", - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -7025,7 +7384,7 @@ } }, { - "id": 511, + "id": 545, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -7055,12 +7414,12 @@ { "title": "Constructors", "kind": 512, - "children": [508] + "children": [542] }, { "title": "Properties", "kind": 1024, - "children": [511] + "children": [545] } ], "sources": [ @@ -7078,7 +7437,7 @@ ] }, { - "id": 666, + "id": 709, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -7095,7 +7454,7 @@ }, "children": [ { - "id": 667, + "id": 710, "name": "method", "kind": 1024, "kindString": "Property", @@ -7106,7 +7465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 281, "character": 2 } ], @@ -7127,7 +7486,7 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7152,7 +7511,7 @@ } }, { - "id": 669, + "id": 712, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -7163,7 +7522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 274, + "line": 287, "character": 2 } ], @@ -7177,26 +7536,26 @@ { "title": "Properties", "kind": 1024, - "children": [667, 669] + "children": [710, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 266, + "line": 279, "character": 17 } ] }, { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7210,7 +7569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -7220,7 +7579,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7234,7 +7593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -7244,7 +7603,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -7257,7 +7616,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -7271,7 +7630,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7285,7 +7644,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -7295,7 +7654,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -7309,7 +7668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -7319,7 +7678,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -7333,7 +7692,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -7347,7 +7706,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -7360,7 +7719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -7374,7 +7733,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -7388,7 +7747,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -7398,7 +7757,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7411,7 +7770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -7425,7 +7784,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7439,7 +7798,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -7449,7 +7808,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -7463,7 +7822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -7473,7 +7832,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7487,7 +7846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -7501,13 +7860,13 @@ { "title": "Properties", "kind": 1024, - "children": [730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729] + "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -7517,7 +7876,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -7532,7 +7891,7 @@ ] }, { - "id": 682, + "id": 725, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -7556,7 +7915,7 @@ }, "children": [ { - "id": 688, + "id": 731, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -7564,7 +7923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 325, "character": 2 } ], @@ -7574,7 +7933,7 @@ } }, { - "id": 685, + "id": 728, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -7585,7 +7944,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 307, + "line": 320, "character": 2 } ], @@ -7602,7 +7961,7 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7623,7 +7982,7 @@ } }, { - "id": 684, + "id": 727, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -7636,7 +7995,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 302, + "line": 315, "character": 2 } ], @@ -7646,7 +8005,7 @@ } }, { - "id": 683, + "id": 726, "name": "id", "kind": 1024, "kindString": "Property", @@ -7657,7 +8016,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 299, + "line": 312, "character": 2 } ], @@ -7667,7 +8026,7 @@ } }, { - "id": 687, + "id": 730, "name": "status", "kind": 1024, "kindString": "Property", @@ -7678,7 +8037,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 323, "character": 2 } ], @@ -7697,7 +8056,7 @@ } }, { - "id": 689, + "id": 732, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -7705,7 +8064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 326, "character": 2 } ], @@ -7719,26 +8078,26 @@ { "title": "Properties", "kind": 1024, - "children": [688, 685, 684, 683, 687, 689] + "children": [731, 728, 727, 726, 730, 732] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 297, + "line": 310, "character": 17 } ] }, { - "id": 896, + "id": 971, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 897, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -7752,7 +8111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 747, + "line": 810, "character": 2 } ], @@ -7762,7 +8121,7 @@ } }, { - "id": 898, + "id": 973, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7775,7 +8134,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 812, "character": 2 } ], @@ -7789,19 +8148,19 @@ { "title": "Properties", "kind": 1024, - "children": [897, 898] + "children": [972, 973] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 804, "character": 17 } ] }, { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -7817,14 +8176,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -7844,14 +8203,14 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams" } } @@ -7861,7 +8220,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -7873,14 +8232,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -7890,14 +8249,14 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams" } } @@ -7907,7 +8266,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -7923,19 +8282,19 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] }, { - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -7945,14 +8304,14 @@ }, "children": [ { - "id": 1003, + "id": 1078, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1004, + "id": 1079, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -7962,14 +8321,14 @@ }, "parameters": [ { - "id": 1005, + "id": 1080, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 930, + "id": 1005, "name": "MFAChallengeParams" } } @@ -7979,7 +8338,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 1036, "name": "AuthMFAChallengeResponse" } ], @@ -7991,14 +8350,14 @@ ] }, { - "id": 1012, + "id": 1087, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1013, + "id": 1088, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -8008,14 +8367,14 @@ }, "parameters": [ { - "id": 1014, + "id": 1089, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams" } } @@ -8025,7 +8384,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -8037,14 +8396,14 @@ ] }, { - "id": 996, + "id": 1071, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 997, + "id": 1072, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -8055,14 +8414,14 @@ }, "parameters": [ { - "id": 998, + "id": 1073, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams" } } @@ -8072,7 +8431,7 @@ "typeArguments": [ { "type": "reference", - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -8082,21 +8441,21 @@ } }, { - "id": 999, + "id": 1074, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1000, + "id": 1075, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams" } } @@ -8106,7 +8465,7 @@ "typeArguments": [ { "type": "reference", - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -8116,21 +8475,21 @@ } }, { - "id": 1001, + "id": 1076, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1002, + "id": 1077, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 921, + "id": 996, "name": "MFAEnrollParams" } } @@ -8140,7 +8499,7 @@ "typeArguments": [ { "type": "reference", - "id": 951, + "id": 1026, "name": "AuthMFAEnrollResponse" } ], @@ -8152,14 +8511,14 @@ ] }, { - "id": 1017, + "id": 1092, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1018, + "id": 1093, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -8173,7 +8532,7 @@ "typeArguments": [ { "type": "reference", - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -8185,14 +8544,14 @@ ] }, { - "id": 1015, + "id": 1090, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1016, + "id": 1091, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -8219,7 +8578,7 @@ "typeArguments": [ { "type": "reference", - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse" } ], @@ -8231,14 +8590,14 @@ ] }, { - "id": 1009, + "id": 1084, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1010, + "id": 1085, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -8248,14 +8607,14 @@ }, "parameters": [ { - "id": 1011, + "id": 1086, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 997, "name": "MFAUnenrollParams" } } @@ -8265,7 +8624,7 @@ "typeArguments": [ { "type": "reference", - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse" } ], @@ -8277,14 +8636,14 @@ ] }, { - "id": 1006, + "id": 1081, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1007, + "id": 1082, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -8294,14 +8653,14 @@ }, "parameters": [ { - "id": 1008, + "id": 1083, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 925, + "id": 1000, "name": "MFAVerifyParams" } } @@ -8311,7 +8670,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -8327,26 +8686,26 @@ { "title": "Methods", "kind": 2048, - "children": [1003, 1012, 996, 1017, 1015, 1009, 1006] + "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 935, + "line": 998, "character": 17 } ] }, { - "id": 1135, + "id": 1210, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1138, + "id": 1213, "name": "alg", "kind": 1024, "kindString": "Property", @@ -8356,7 +8715,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1228, + "line": 1291, "character": 2 } ], @@ -8366,7 +8725,7 @@ } }, { - "id": 1137, + "id": 1212, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -8374,7 +8733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1227, + "line": 1290, "character": 2 } ], @@ -8387,7 +8746,7 @@ } }, { - "id": 1139, + "id": 1214, "name": "kid", "kind": 1024, "kindString": "Property", @@ -8397,7 +8756,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1229, + "line": 1292, "character": 2 } ], @@ -8407,7 +8766,7 @@ } }, { - "id": 1136, + "id": 1211, "name": "kty", "kind": 1024, "kindString": "Property", @@ -8415,7 +8774,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1226, + "line": 1289, "character": 2 } ], @@ -8442,25 +8801,25 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137, 1139, 1136] + "children": [1213, 1212, 1214, 1211] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1225, + "line": 1288, "character": 17 } ], "indexSignature": { - "id": 1140, + "id": 1215, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1141, + "id": 1216, "name": "key", "kind": 32768, "flags": {}, @@ -8477,14 +8836,14 @@ } }, { - "id": 657, + "id": 700, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 660, + "id": 703, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -8495,7 +8854,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 250, "character": 2 } ], @@ -8505,7 +8864,7 @@ } }, { - "id": 663, + "id": 706, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -8518,7 +8877,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 253, + "line": 262, "character": 2 } ], @@ -8528,7 +8887,7 @@ } }, { - "id": 662, + "id": 705, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -8539,7 +8898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 249, + "line": 258, "character": 2 } ], @@ -8549,7 +8908,7 @@ } }, { - "id": 659, + "id": 702, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -8562,7 +8921,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 246, "character": 2 } ], @@ -8581,7 +8940,7 @@ } }, { - "id": 658, + "id": 701, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -8594,7 +8953,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 241, "character": 2 } ], @@ -8613,7 +8972,7 @@ } }, { - "id": 661, + "id": 704, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -8621,24 +8980,6 @@ "comment": { "shortText": "A one-time used refresh token that never expires." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 245, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 664, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -8652,21 +8993,42 @@ } }, { - "id": 665, - "name": "user", + "id": 707, + "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 263, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 708, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 268, "character": 2 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -8675,26 +9037,26 @@ { "title": "Properties", "kind": 1024, - "children": [660, 663, 662, 659, 658, 661, 664, 665] + "children": [703, 706, 705, 702, 701, 704, 707, 708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 237, "character": 17 } ] }, { - "id": 741, + "id": 785, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 742, + "id": 786, "name": "id", "kind": 1024, "kindString": "Property", @@ -8705,7 +9067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 477, "character": 2 } ], @@ -8715,7 +9077,7 @@ } }, { - "id": 743, + "id": 787, "name": "callback", "kind": 2048, "kindString": "Method", @@ -8723,13 +9085,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 481, "character": 2 } ], "signatures": [ { - "id": 744, + "id": 788, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -8739,19 +9101,19 @@ }, "parameters": [ { - "id": 745, + "id": 789, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent" } }, { - "id": 746, + "id": 790, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -8765,7 +9127,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -8780,7 +9142,7 @@ ] }, { - "id": 747, + "id": 791, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -8788,13 +9150,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 485, "character": 2 } ], "signatures": [ { - "id": 748, + "id": 792, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -8814,212 +9176,37 @@ { "title": "Properties", "kind": 1024, - "children": [742] + "children": [786] }, { "title": "Methods", "kind": 2048, - "children": [743, 747] + "children": [787, 791] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 459, + "line": 473, "character": 17 } ] }, { - "id": 697, + "id": 740, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 708, + "id": 751, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 336, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 699, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 327, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 690, - "name": "UserAppMetadata" - } - }, - { - "id": 701, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 702, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 712, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 711, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 709, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 704, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 713, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -9028,24 +9215,39 @@ } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 682, - "name": "Factor" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 698, - "name": "id", + "id": 742, + "name": "app_metadata", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "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 } ], @@ -9055,92 +9257,8 @@ } }, { - "id": 718, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 670, - "name": "UserIdentity" - } - } - }, - { - "id": 707, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 335, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 720, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 715, - "name": "last_sign_in_at", + "id": 745, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9159,8 +9277,8 @@ } }, { - "id": 705, - "name": "new_email", + "id": 755, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9169,7 +9287,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 353, "character": 2 } ], @@ -9179,17 +9297,15 @@ } }, { - "id": 706, - "name": "new_phone", + "id": 754, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 352, "character": 2 } ], @@ -9199,8 +9315,8 @@ } }, { - "id": 710, - "name": "phone", + "id": 765, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9209,7 +9325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 363, "character": 2 } ], @@ -9219,8 +9335,8 @@ } }, { - "id": 714, - "name": "phone_confirmed_at", + "id": 752, + "name": "email", "kind": 1024, "kindString": "Property", "flags": { @@ -9229,7 +9345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 350, "character": 2 } ], @@ -9239,48 +9355,8 @@ } }, { - "id": 703, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 717, - "name": "updated_at", + "id": 747, + "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9299,7 +9375,313 @@ } }, { - "id": 700, + "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", + "line": 351, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 355, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9307,13 +9689,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 341, "character": 2 } ], "type": { "type": "reference", - "id": 694, + "id": 737, "name": "UserMetadata" } } @@ -9323,28 +9705,28 @@ "title": "Properties", "kind": 1024, "children": [ - 708, 699, 701, 702, 712, 711, 709, 704, 713, 721, 698, 718, 707, 719, 720, 715, 705, - 706, 710, 714, 703, 716, 717, 700 + 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": 325, + "line": 338, "character": 17 } ] }, { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9354,7 +9736,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -9368,25 +9750,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -9403,14 +9785,14 @@ } }, { - "id": 722, + "id": 766, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 727, + "id": 771, "name": "data", "kind": 1024, "kindString": "Property", @@ -9424,7 +9806,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 381, + "line": 395, "character": 2 } ], @@ -9434,7 +9816,7 @@ } }, { - "id": 723, + "id": 767, "name": "email", "kind": 1024, "kindString": "Property", @@ -9447,7 +9829,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -9457,7 +9839,7 @@ } }, { - "id": 726, + "id": 770, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -9471,7 +9853,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -9481,7 +9863,7 @@ } }, { - "id": 725, + "id": 769, "name": "password", "kind": 1024, "kindString": "Property", @@ -9494,7 +9876,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -9504,7 +9886,7 @@ } }, { - "id": 724, + "id": 768, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9517,7 +9899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -9531,26 +9913,26 @@ { "title": "Properties", "kind": 1024, - "children": [727, 723, 726, 725, 724] + "children": [771, 767, 770, 769, 768] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 366, "character": 17 } ] }, { - "id": 670, + "id": 713, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 679, + "id": 722, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -9560,7 +9942,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 285, + "line": 298, "character": 2 } ], @@ -9570,7 +9952,7 @@ } }, { - "id": 671, + "id": 714, "name": "id", "kind": 1024, "kindString": "Property", @@ -9578,7 +9960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 278, + "line": 291, "character": 2 } ], @@ -9588,7 +9970,7 @@ } }, { - "id": 673, + "id": 716, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -9598,27 +9980,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 293, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 717, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 675, + "id": 718, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 676, + "id": 719, "name": "key", "kind": 32768, "flags": {}, @@ -9637,7 +10019,7 @@ } }, { - "id": 677, + "id": 720, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -9645,7 +10027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 283, + "line": 296, "character": 2 } ], @@ -9655,7 +10037,7 @@ } }, { - "id": 680, + "id": 723, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -9665,7 +10047,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 286, + "line": 299, "character": 2 } ], @@ -9675,7 +10057,7 @@ } }, { - "id": 678, + "id": 721, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9683,7 +10065,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 284, + "line": 297, "character": 2 } ], @@ -9693,7 +10075,7 @@ } }, { - "id": 681, + "id": 724, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -9703,7 +10085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 300, "character": 2 } ], @@ -9713,7 +10095,7 @@ } }, { - "id": 672, + "id": 715, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -9721,7 +10103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 292, "character": 2 } ], @@ -9735,19 +10117,19 @@ { "title": "Properties", "kind": 1024, - "children": [679, 671, 673, 677, 680, 678, 681, 672] + "children": [722, 714, 716, 720, 723, 721, 724, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 277, + "line": 290, "character": 17 } ] }, { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -9755,19 +10137,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -9784,14 +10166,14 @@ } }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -9802,7 +10184,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -9812,7 +10194,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -9822,21 +10204,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9855,7 +10237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -9865,7 +10247,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -9878,7 +10260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -9892,14 +10274,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -9910,7 +10292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -9920,7 +10302,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -9931,13 +10313,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" } } @@ -9946,26 +10328,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -9975,21 +10357,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10008,7 +10390,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -10018,7 +10400,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10031,7 +10413,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -10045,14 +10427,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10063,7 +10445,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -10073,7 +10455,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -10084,7 +10466,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -10094,7 +10476,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -10105,13 +10487,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" } } @@ -10120,26 +10502,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -10150,7 +10532,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -10160,7 +10542,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -10171,13 +10553,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" } } @@ -10186,19 +10568,19 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] }, { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -10206,7 +10588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -10239,14 +10621,14 @@ }, { "type": "reference", - "id": 516, + "id": 558, "name": "AuthChangeEventMFA" } ] } }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -10254,7 +10636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -10264,7 +10646,7 @@ } }, { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -10272,7 +10654,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -10291,7 +10673,7 @@ } }, { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -10307,21 +10689,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -10332,7 +10714,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -10342,7 +10724,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10353,7 +10735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -10367,13 +10749,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -10381,7 +10763,7 @@ } }, { - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -10397,7 +10779,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1003, + "line": 1066, "character": 12 } ], @@ -10407,14 +10789,14 @@ { "type": "reflection", "declaration": { - "id": 1020, + "id": 1095, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1021, + "id": 1096, "name": "data", "kind": 1024, "kindString": "Property", @@ -10422,21 +10804,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1022, + "id": 1097, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1023, + "id": 1098, "name": "id", "kind": 1024, "kindString": "Property", @@ -10447,7 +10829,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1007, + "line": 1070, "character": 8 } ], @@ -10461,13 +10843,13 @@ { "title": "Properties", "kind": 1024, - "children": [1023] + "children": [1098] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 12 } ] @@ -10475,7 +10857,7 @@ } }, { - "id": 1024, + "id": 1099, "name": "error", "kind": 1024, "kindString": "Property", @@ -10483,7 +10865,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1009, + "line": 1072, "character": 6 } ], @@ -10497,13 +10879,13 @@ { "title": "Properties", "kind": 1024, - "children": [1021, 1024] + "children": [1096, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1004, + "line": 1067, "character": 4 } ] @@ -10512,14 +10894,14 @@ { "type": "reflection", "declaration": { - "id": 1025, + "id": 1100, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1026, + "id": 1101, "name": "data", "kind": 1024, "kindString": "Property", @@ -10527,7 +10909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 6 } ], @@ -10537,7 +10919,7 @@ } }, { - "id": 1027, + "id": 1102, "name": "error", "kind": 1024, "kindString": "Property", @@ -10545,13 +10927,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -10560,13 +10942,13 @@ { "title": "Properties", "kind": 1024, - "children": [1026, 1027] + "children": [1101, 1102] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 4 } ] @@ -10576,7 +10958,7 @@ } }, { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -10592,21 +10974,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10617,7 +10999,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -10631,13 +11013,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -10645,7 +11027,7 @@ } }, { - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -10661,7 +11043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1027, + "line": 1090, "character": 12 } ], @@ -10671,14 +11053,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1109, "name": "data", "kind": 1024, "kindString": "Property", @@ -10686,21 +11068,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, + "line": 1092, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1035, + "id": 1110, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1036, + "id": 1111, "name": "factors", "kind": 1024, "kindString": "Property", @@ -10711,7 +11093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1031, + "line": 1094, "character": 8 } ], @@ -10719,7 +11101,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -10729,503 +11111,13 @@ { "title": "Properties", "kind": 1024, - "children": [1036] + "children": [1111] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, - "character": 12 - } - ] - } - } - }, - { - "id": 1037, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1034, 1037] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1028, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1038, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1039, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1040, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1039, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 961, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 873, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 962, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 963, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 964, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 967, - "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": 883, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 965, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 877, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 966, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 880, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [967, 965, 966] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 12 - } - ] - } - } - }, - { - "id": 968, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 885, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [963, 968] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 874, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 969, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 970, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 971, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [970, 971] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1104, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1182, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1106, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1107, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1110, - "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": 1192, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1108, - "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": 1186, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1111, - "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": 1195, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1109, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1189, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1110, 1108, 1111, 1109] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1092, "character": 12 } ] @@ -11241,7 +11133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1096, "character": 6 } ], @@ -11255,13 +11147,13 @@ { "title": "Properties", "kind": 1024, - "children": [1106, 1112] + "children": [1109, 1112] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1183, + "line": 1091, "character": 4 } ] @@ -11285,7 +11177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1200, + "line": 1098, "character": 6 } ], @@ -11303,13 +11195,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, - "character": 6 + "line": 1098, + "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -11324,7 +11216,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1098, "character": 4 } ] @@ -11334,44 +11226,15 @@ } }, { - "id": 951, - "name": "AuthMFAEnrollResponse", + "id": 1036, + "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 861, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1088, - "name": "AuthMFAEnrollTOTPResponse" - }, - { - "type": "reference", - "id": 1104, - "name": "AuthMFAEnrollPhoneResponse" - } - ] - } - }, - { - "id": 1088, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1147, + "line": 936, "character": 12 } ], @@ -11381,14 +11244,14 @@ { "type": "reflection", "declaration": { - "id": 1089, + "id": 1037, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1090, + "id": 1038, "name": "data", "kind": 1024, "kindString": "Property", @@ -11396,21 +11259,259 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 938, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1091, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1099, + "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", @@ -11423,7 +11524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1173, + "line": 1255, "character": 8 } ], @@ -11433,7 +11534,7 @@ } }, { - "id": 1092, + "id": 1183, "name": "id", "kind": 1024, "kindString": "Property", @@ -11444,7 +11545,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1151, + "line": 1249, "character": 8 } ], @@ -11454,7 +11555,288 @@ } }, { - "id": 1094, + "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", @@ -11465,21 +11847,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 1095, + "id": 1170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1171, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -11490,7 +11872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1224, "character": 10 } ], @@ -11500,7 +11882,7 @@ } }, { - "id": 1097, + "id": 1172, "name": "secret", "kind": 1024, "kindString": "Property", @@ -11511,7 +11893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1166, + "line": 1229, "character": 10 } ], @@ -11521,7 +11903,7 @@ } }, { - "id": 1098, + "id": 1173, "name": "uri", "kind": 1024, "kindString": "Property", @@ -11532,7 +11914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1170, + "line": 1233, "character": 10 } ], @@ -11546,13 +11928,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1097, 1098] + "children": [1171, 1172, 1173] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 14 } ] @@ -11560,7 +11942,7 @@ } }, { - "id": 1093, + "id": 1168, "name": "type", "kind": 1024, "kindString": "Property", @@ -11571,7 +11953,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1154, + "line": 1217, "character": 8 } ], @@ -11585,13 +11967,13 @@ { "title": "Properties", "kind": 1024, - "children": [1099, 1092, 1094, 1093] + "children": [1174, 1167, 1169, 1168] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 12 } ] @@ -11599,7 +11981,7 @@ } }, { - "id": 1100, + "id": 1175, "name": "error", "kind": 1024, "kindString": "Property", @@ -11607,7 +11989,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1175, + "line": 1238, "character": 6 } ], @@ -11621,13 +12003,13 @@ { "title": "Properties", "kind": 1024, - "children": [1090, 1100] + "children": [1165, 1175] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1148, + "line": 1211, "character": 4 } ] @@ -11636,14 +12018,14 @@ { "type": "reflection", "declaration": { - "id": 1101, + "id": 1176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1102, + "id": 1177, "name": "data", "kind": 1024, "kindString": "Property", @@ -11651,7 +12033,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1178, + "line": 1241, "character": 6 } ], @@ -11661,7 +12043,7 @@ } }, { - "id": 1103, + "id": 1178, "name": "error", "kind": 1024, "kindString": "Property", @@ -11669,13 +12051,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1242, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -11684,13 +12066,13 @@ { "title": "Properties", "kind": 1024, - "children": [1102, 1103] + "children": [1177, 1178] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1177, + "line": 1240, "character": 4 } ] @@ -11700,7 +12082,7 @@ } }, { - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -11708,7 +12090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 969, "character": 12 } ], @@ -11718,14 +12100,14 @@ { "type": "reflection", "declaration": { - "id": 985, + "id": 1060, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 986, + "id": 1061, "name": "data", "kind": 1024, "kindString": "Property", @@ -11733,21 +12115,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 987, + "id": 1062, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1065, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -11758,7 +12140,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 925, + "line": 988, "character": 8 } ], @@ -11766,13 +12148,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 666, + "id": 709, "name": "AMREntry" } } }, { - "id": 988, + "id": 1063, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -11783,7 +12165,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 973, "character": 8 } ], @@ -11792,7 +12174,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -11803,7 +12185,7 @@ } }, { - "id": 989, + "id": 1064, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -11820,7 +12202,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 981, "character": 8 } ], @@ -11829,7 +12211,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -11844,13 +12226,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 988, 989] + "children": [1065, 1063, 1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 12 } ] @@ -11858,7 +12240,7 @@ } }, { - "id": 991, + "id": 1066, "name": "error", "kind": 1024, "kindString": "Property", @@ -11866,7 +12248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 990, "character": 6 } ], @@ -11880,13 +12262,13 @@ { "title": "Properties", "kind": 1024, - "children": [986, 991] + "children": [1061, 1066] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 970, "character": 4 } ] @@ -11895,14 +12277,14 @@ { "type": "reflection", "declaration": { - "id": 992, + "id": 1067, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 993, + "id": 1068, "name": "data", "kind": 1024, "kindString": "Property", @@ -11910,7 +12292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 6 } ], @@ -11920,7 +12302,7 @@ } }, { - "id": 994, + "id": 1069, "name": "error", "kind": 1024, "kindString": "Property", @@ -11928,13 +12310,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -11943,13 +12325,13 @@ { "title": "Properties", "kind": 1024, - "children": [993, 994] + "children": [1068, 1069] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 4 } ] @@ -11959,7 +12341,7 @@ } }, { - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -11967,7 +12349,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 952, "character": 12 } ], @@ -11977,14 +12359,14 @@ { "type": "reflection", "declaration": { - "id": 973, + "id": 1048, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 974, + "id": 1049, "name": "data", "kind": 1024, "kindString": "Property", @@ -11992,21 +12374,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 975, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 976, + "id": 1051, "name": "all", "kind": 1024, "kindString": "Property", @@ -12017,7 +12399,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 893, + "line": 956, "character": 8 } ], @@ -12025,13 +12407,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 978, + "id": 1053, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12042,7 +12424,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 898, + "line": 961, "character": 8 } ], @@ -12050,13 +12432,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 977, + "id": 1052, "name": "totp", "kind": 1024, "kindString": "Property", @@ -12067,7 +12449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 959, "character": 8 } ], @@ -12075,7 +12457,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -12085,13 +12467,13 @@ { "title": "Properties", "kind": 1024, - "children": [976, 978, 977] + "children": [1051, 1053, 1052] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 12 } ] @@ -12099,7 +12481,7 @@ } }, { - "id": 979, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -12107,7 +12489,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 963, "character": 6 } ], @@ -12121,13 +12503,13 @@ { "title": "Properties", "kind": 1024, - "children": [974, 979] + "children": [1049, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 890, + "line": 953, "character": 4 } ] @@ -12136,14 +12518,14 @@ { "type": "reflection", "declaration": { - "id": 980, + "id": 1055, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 981, + "id": 1056, "name": "data", "kind": 1024, "kindString": "Property", @@ -12151,7 +12533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 6 } ], @@ -12161,7 +12543,7 @@ } }, { - "id": 982, + "id": 1057, "name": "error", "kind": 1024, "kindString": "Property", @@ -12169,13 +12551,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -12184,13 +12566,13 @@ { "title": "Properties", "kind": 1024, - "children": [981, 982] + "children": [1056, 1057] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 4 } ] @@ -12200,7 +12582,7 @@ } }, { - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -12208,7 +12590,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 863, + "line": 926, "character": 12 } ], @@ -12218,14 +12600,14 @@ { "type": "reflection", "declaration": { - "id": 953, + "id": 1028, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 954, + "id": 1029, "name": "data", "kind": 1024, "kindString": "Property", @@ -12233,21 +12615,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 955, + "id": 1030, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 956, + "id": 1031, "name": "id", "kind": 1024, "kindString": "Property", @@ -12258,7 +12640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 930, "character": 8 } ], @@ -12272,13 +12654,13 @@ { "title": "Properties", "kind": 1024, - "children": [956] + "children": [1031] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 12 } ] @@ -12286,7 +12668,7 @@ } }, { - "id": 957, + "id": 1032, "name": "error", "kind": 1024, "kindString": "Property", @@ -12294,7 +12676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 932, "character": 6 } ], @@ -12308,13 +12690,13 @@ { "title": "Properties", "kind": 1024, - "children": [954, 957] + "children": [1029, 1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 927, "character": 4 } ] @@ -12323,14 +12705,14 @@ { "type": "reflection", "declaration": { - "id": 958, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 959, + "id": 1034, "name": "data", "kind": 1024, "kindString": "Property", @@ -12338,7 +12720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 6 } ], @@ -12348,7 +12730,7 @@ } }, { - "id": 960, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -12356,13 +12738,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -12371,13 +12753,13 @@ { "title": "Properties", "kind": 1024, - "children": [959, 960] + "children": [1034, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 4 } ] @@ -12387,7 +12769,7 @@ } }, { - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -12395,7 +12777,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 836, + "line": 899, "character": 12 } ], @@ -12405,14 +12787,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 1014, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 1015, "name": "data", "kind": 1024, "kindString": "Property", @@ -12420,21 +12802,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 1016, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 1017, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -12445,7 +12827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 903, "character": 8 } ], @@ -12455,7 +12837,7 @@ } }, { - "id": 944, + "id": 1019, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -12466,7 +12848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 846, + "line": 909, "character": 8 } ], @@ -12476,7 +12858,7 @@ } }, { - "id": 945, + "id": 1020, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -12487,7 +12869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 849, + "line": 912, "character": 8 } ], @@ -12497,7 +12879,7 @@ } }, { - "id": 943, + "id": 1018, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -12508,7 +12890,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 906, "character": 8 } ], @@ -12518,7 +12900,7 @@ } }, { - "id": 946, + "id": 1021, "name": "user", "kind": 1024, "kindString": "Property", @@ -12529,13 +12911,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 915, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -12544,13 +12926,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 944, 945, 943, 946] + "children": [1017, 1019, 1020, 1018, 1021] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 12 } ] @@ -12558,7 +12940,7 @@ } }, { - "id": 947, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -12566,7 +12948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 917, "character": 6 } ], @@ -12580,13 +12962,13 @@ { "title": "Properties", "kind": 1024, - "children": [940, 947] + "children": [1015, 1022] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 837, + "line": 900, "character": 4 } ] @@ -12595,14 +12977,14 @@ { "type": "reflection", "declaration": { - "id": 948, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 949, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -12610,7 +12992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 857, + "line": 920, "character": 6 } ], @@ -12620,7 +13002,7 @@ } }, { - "id": 950, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -12628,13 +13010,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 858, + "line": 921, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -12643,13 +13025,13 @@ { "title": "Properties", "kind": 1024, - "children": [949, 950] + "children": [1024, 1025] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 919, "character": 4 } ] @@ -12659,7 +13041,7 @@ } }, { - "id": 581, + "id": 624, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -12671,7 +13053,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 135, + "line": 144, "character": 12 } ], @@ -12681,14 +13063,14 @@ { "type": "reflection", "declaration": { - "id": 582, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 626, "name": "data", "kind": 1024, "kindString": "Property", @@ -12696,21 +13078,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 584, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 587, + "id": 630, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -12720,7 +13102,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 41 } ], @@ -12739,7 +13121,7 @@ } }, { - "id": 586, + "id": 629, "name": "session", "kind": 1024, "kindString": "Property", @@ -12747,7 +13129,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 26 } ], @@ -12757,7 +13139,7 @@ } }, { - "id": 585, + "id": 628, "name": "user", "kind": 1024, "kindString": "Property", @@ -12765,7 +13147,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 14 } ], @@ -12779,13 +13161,13 @@ { "title": "Properties", "kind": 1024, - "children": [587, 586, 585] + "children": [630, 629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 12 } ] @@ -12793,7 +13175,7 @@ } }, { - "id": 588, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -12801,7 +13183,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 138, + "line": 147, "character": 6 } ], @@ -12815,13 +13197,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 588] + "children": [626, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 136, + "line": 145, "character": 4 } ] @@ -12830,14 +13212,14 @@ { "type": "reflection", "declaration": { - "id": 589, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 590, + "id": 633, "name": "data", "kind": 1024, "kindString": "Property", @@ -12845,21 +13227,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 634, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 594, + "id": 637, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -12869,7 +13251,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 41 } ], @@ -12888,7 +13270,7 @@ } }, { - "id": 593, + "id": 636, "name": "session", "kind": 1024, "kindString": "Property", @@ -12896,7 +13278,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 26 } ], @@ -12906,7 +13288,7 @@ } }, { - "id": 592, + "id": 635, "name": "user", "kind": 1024, "kindString": "Property", @@ -12914,7 +13296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 14 } ], @@ -12928,13 +13310,13 @@ { "title": "Properties", "kind": 1024, - "children": [594, 593, 592] + "children": [637, 636, 635] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 12 } ] @@ -12942,7 +13324,7 @@ } }, { - "id": 595, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -12950,13 +13332,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 142, + "line": 151, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -12965,13 +13347,13 @@ { "title": "Properties", "kind": 1024, - "children": [590, 595] + "children": [633, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 149, "character": 4 } ] @@ -12981,7 +13363,7 @@ } }, { - "id": 554, + "id": 597, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -12989,7 +13371,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 106, "character": 12 } ], @@ -12999,14 +13381,14 @@ { "type": "reflection", "declaration": { - "id": 555, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 556, + "id": 599, "name": "data", "kind": 1024, "kindString": "Property", @@ -13014,21 +13396,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 559, + "id": 602, "name": "session", "kind": 1024, "kindString": "Property", @@ -13036,7 +13418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 110, "character": 8 } ], @@ -13045,7 +13427,7 @@ "types": [ { "type": "reference", - "id": 657, + "id": 700, "name": "Session" }, { @@ -13056,7 +13438,7 @@ } }, { - "id": 558, + "id": 601, "name": "user", "kind": 1024, "kindString": "Property", @@ -13064,7 +13446,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 109, "character": 8 } ], @@ -13073,7 +13455,7 @@ "types": [ { "type": "reference", - "id": 697, + "id": 740, "name": "User" }, { @@ -13088,13 +13470,13 @@ { "title": "Properties", "kind": 1024, - "children": [559, 558] + "children": [602, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 12 } ] @@ -13102,7 +13484,7 @@ } }, { - "id": 560, + "id": 603, "name": "error", "kind": 1024, "kindString": "Property", @@ -13110,7 +13492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 112, "character": 6 } ], @@ -13124,13 +13506,13 @@ { "title": "Properties", "kind": 1024, - "children": [556, 560] + "children": [599, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 107, "character": 4 } ] @@ -13139,154 +13521,14 @@ { "type": "reflection", "declaration": { - "id": 561, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 562, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 563, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 565, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 564, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [565, 564] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ] - } - } - }, - { - "id": 566, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [562, 566] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 567, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 113, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 568, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 569, + "id": 605, "name": "data", "kind": 1024, "kindString": "Property", @@ -13301,14 +13543,14 @@ "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 606, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 608, "name": "session", "kind": 1024, "kindString": "Property", @@ -13321,22 +13563,12 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 657, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] + "type": "literal", + "value": null } }, { - "id": 571, + "id": 607, "name": "user", "kind": 1024, "kindString": "Property", @@ -13348,12 +13580,162 @@ "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": 697, + "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" }, { @@ -13364,7 +13746,7 @@ } }, { - "id": 573, + "id": 616, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -13374,7 +13756,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 118, + "line": 127, "character": 8 } ], @@ -13383,7 +13765,7 @@ "types": [ { "type": "reference", - "id": 550, + "id": 593, "name": "WeakPassword" }, { @@ -13398,13 +13780,13 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 573] + "children": [615, 614, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 115, + "line": 124, "character": 12 } ] @@ -13412,7 +13794,7 @@ } }, { - "id": 574, + "id": 617, "name": "error", "kind": 1024, "kindString": "Property", @@ -13420,7 +13802,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 129, "character": 6 } ], @@ -13434,13 +13816,13 @@ { "title": "Properties", "kind": 1024, - "children": [569, 574] + "children": [612, 617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 114, + "line": 123, "character": 4 } ] @@ -13449,14 +13831,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 619, "name": "data", "kind": 1024, "kindString": "Property", @@ -13464,612 +13846,47 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 123, + "line": 132, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 620, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 579, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 578, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [579, 578] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 12 - } - ] - } - } - }, - { - "id": 580, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [576, 580] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 596, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 597, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 599, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 601, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 600, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [601, 600] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 12 - } - ] - } - } - }, - { - "id": 602, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 602] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 603, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 604, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 605, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 607, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 156, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 606, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 155, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [607, 606] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 12 - } - ] - } - } - }, - { - "id": 608, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [604, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 153, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 609, - "name": "AuthTokenResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 161, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 612, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 613, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - }, - { - "id": 615, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 166, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 550, - "name": "WeakPassword" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 613, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 12 - } - ] - } - } - }, - { - "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 168, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 621, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 620, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, { "id": 622, - "name": "weakPassword", + "name": "session", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "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 } ], @@ -14083,13 +13900,13 @@ { "title": "Properties", "kind": 1024, - "children": [621, 620, 622] + "children": [622, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 132, "character": 12 } ] @@ -14105,13 +13922,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 176, + "line": 136, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -14120,13 +13937,13 @@ { "title": "Properties", "kind": 1024, - "children": [618, 623] + "children": [619, 623] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 131, "character": 4 } ] @@ -14136,7 +13953,572 @@ } }, { - "id": 983, + "id": 639, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 154, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 640, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 641, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 642, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 644, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 643, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [644, 643] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ] + } + } + }, + { + "id": 645, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [641, 645] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 155, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 648, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 650, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 649, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [650, 649] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 12 + } + ] + } + } + }, + { + "id": 651, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 651] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 652, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 170, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 653, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 657, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 656, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [657, 656, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ] + } + } + }, + { + "id": 659, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [654, 659] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 661, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 662, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 664, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 663, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "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, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [664, 663, 665] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 12 + } + ] + } + } + }, + { + "id": 666, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [661, 666] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1058, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -14144,7 +14526,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 967, "character": 12 } ], @@ -14163,7 +14545,7 @@ } }, { - "id": 1057, + "id": 1132, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -14171,7 +14553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1092, + "line": 1155, "character": 12 } ], @@ -14181,14 +14563,14 @@ { "type": "reflection", "declaration": { - "id": 1058, + "id": 1133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1060, + "id": 1135, "name": "error", "kind": 1024, "kindString": "Property", @@ -14196,7 +14578,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1095, + "line": 1158, "character": 6 } ], @@ -14206,7 +14588,7 @@ } }, { - "id": 1059, + "id": 1134, "name": "session", "kind": 1024, "kindString": "Property", @@ -14214,13 +14596,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1094, + "line": 1157, "character": 6 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -14229,13 +14611,13 @@ { "title": "Properties", "kind": 1024, - "children": [1060, 1059] + "children": [1135, 1134] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1093, + "line": 1156, "character": 4 } ] @@ -14244,14 +14626,14 @@ { "type": "reflection", "declaration": { - "id": 1061, + "id": 1136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1063, + "id": 1138, "name": "error", "kind": 1024, "kindString": "Property", @@ -14259,18 +14641,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1099, + "line": 1162, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } }, { - "id": 1062, + "id": 1137, "name": "session", "kind": 1024, "kindString": "Property", @@ -14278,7 +14660,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1098, + "line": 1161, "character": 6 } ], @@ -14292,13 +14674,13 @@ { "title": "Properties", "kind": 1024, - "children": [1063, 1062] + "children": [1138, 1137] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1097, + "line": 1160, "character": 4 } ] @@ -14308,7 +14690,7 @@ } }, { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -14316,7 +14698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -14351,7 +14733,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14359,21 +14741,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -14384,7 +14766,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -14394,7 +14776,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -14405,7 +14787,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -14415,7 +14797,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -14425,7 +14807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -14434,7 +14816,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -14448,7 +14830,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -14456,7 +14838,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -14479,13 +14861,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -14493,7 +14875,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14501,21 +14883,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -14526,7 +14908,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -14536,7 +14918,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -14546,7 +14928,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -14555,7 +14937,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -14578,7 +14960,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -14586,7 +14968,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -14609,13 +14991,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -14623,7 +15005,7 @@ } }, { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14631,7 +15013,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -14640,29 +15022,29 @@ "types": [ { "type": "reference", - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams" }, { "type": "reference", - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams" }, { "type": "reference", - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams" }, { "type": "reference", - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams" } ] } }, { - "id": 913, + "id": 988, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -14673,21 +15055,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 915, + "id": 990, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -14698,7 +15080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 843, "character": 2 } ], @@ -14708,7 +15090,7 @@ } }, { - "id": 916, + "id": 991, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -14719,7 +15101,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 785, + "line": 848, "character": 2 } ], @@ -14729,7 +15111,7 @@ } }, { - "id": 917, + "id": 992, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -14740,7 +15122,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 852, "character": 2 } ], @@ -14750,7 +15132,7 @@ } }, { - "id": 918, + "id": 993, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -14761,7 +15143,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 791, + "line": 854, "character": 2 } ], @@ -14771,7 +15153,7 @@ } }, { - "id": 919, + "id": 994, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -14782,13 +15164,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 856, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 995, "name": "GenerateLinkType" } } @@ -14797,13 +15179,13 @@ { "title": "Properties", "kind": 1024, - "children": [915, 916, 917, 918, 919] + "children": [990, 991, 992, 993, 994] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 37 } ] @@ -14811,7 +15193,7 @@ } }, { - "id": 900, + "id": 975, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -14819,7 +15201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 758, + "line": 821, "character": 12 } ], @@ -14829,14 +15211,14 @@ { "type": "reflection", "declaration": { - "id": 901, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 902, + "id": 977, "name": "data", "kind": 1024, "kindString": "Property", @@ -14844,21 +15226,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 979, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14866,18 +15248,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 824, "character": 8 } ], "type": { "type": "reference", - "id": 913, + "id": 988, "name": "GenerateLinkProperties" } }, { - "id": 905, + "id": 980, "name": "user", "kind": 1024, "kindString": "Property", @@ -14885,13 +15267,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 825, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -14900,13 +15282,13 @@ { "title": "Properties", "kind": 1024, - "children": [904, 905] + "children": [979, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 12 } ] @@ -14914,7 +15296,7 @@ } }, { - "id": 906, + "id": 981, "name": "error", "kind": 1024, "kindString": "Property", @@ -14922,7 +15304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 827, "character": 6 } ], @@ -14936,13 +15318,13 @@ { "title": "Properties", "kind": 1024, - "children": [902, 906] + "children": [977, 981] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 759, + "line": 822, "character": 4 } ] @@ -14951,14 +15333,14 @@ { "type": "reflection", "declaration": { - "id": 907, + "id": 982, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 983, "name": "data", "kind": 1024, "kindString": "Property", @@ -14966,21 +15348,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 909, + "id": 984, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 985, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14988,7 +15370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 831, "character": 8 } ], @@ -14998,7 +15380,7 @@ } }, { - "id": 911, + "id": 986, "name": "user", "kind": 1024, "kindString": "Property", @@ -15006,7 +15388,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 769, + "line": 832, "character": 8 } ], @@ -15020,13 +15402,13 @@ { "title": "Properties", "kind": 1024, - "children": [910, 911] + "children": [985, 986] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 12 } ] @@ -15034,7 +15416,7 @@ } }, { - "id": 912, + "id": 987, "name": "error", "kind": 1024, "kindString": "Property", @@ -15042,13 +15424,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 771, + "line": 834, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -15057,13 +15439,13 @@ { "title": "Properties", "kind": 1024, - "children": [908, 912] + "children": [983, 987] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 829, "character": 4 } ] @@ -15073,7 +15455,7 @@ } }, { - "id": 920, + "id": 995, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -15081,7 +15463,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 859, "character": 12 } ], @@ -15116,7 +15498,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15124,21 +15506,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -15149,7 +15531,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -15159,7 +15541,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -15169,7 +15551,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -15178,7 +15560,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15192,7 +15574,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -15200,7 +15582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -15214,13 +15596,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -15228,7 +15610,7 @@ } }, { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15236,21 +15618,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -15258,7 +15640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -15268,7 +15650,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -15278,7 +15660,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -15287,7 +15669,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -15310,7 +15692,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -15318,7 +15700,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -15328,7 +15710,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -15336,7 +15718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -15350,13 +15732,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -15364,7 +15746,7 @@ } }, { - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -15372,21 +15754,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 578, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -15396,7 +15778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 67, + "line": 68, "character": 2 } ], @@ -15406,7 +15788,7 @@ } }, { - "id": 541, + "id": 584, "name": "debug", "kind": 1024, "kindString": "Property", @@ -15416,7 +15798,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 2 } ], @@ -15430,7 +15812,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15438,20 +15820,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 21 } ], "signatures": [ { - "id": 543, + "id": 586, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 587, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -15462,7 +15844,7 @@ } }, { - "id": 545, + "id": 588, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -15490,7 +15872,7 @@ } }, { - "id": 535, + "id": 577, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -15500,7 +15882,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 66, "character": 2 } ], @@ -15510,7 +15892,7 @@ } }, { - "id": 539, + "id": 582, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -15520,7 +15902,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 82, "character": 2 } ], @@ -15530,7 +15912,7 @@ } }, { - "id": 540, + "id": 583, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -15540,18 +15922,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 84, "character": 2 } ], "type": { "type": "reference", - "id": 802, + "id": 846, "name": "AuthFlowType" } }, { - "id": 547, + "id": 590, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -15570,7 +15952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 97, "character": 2 } ], @@ -15580,7 +15962,7 @@ } }, { - "id": 530, + "id": 572, "name": "headers", "kind": 1024, "kindString": "Property", @@ -15590,14 +15972,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15605,19 +15987,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 12 } ], "indexSignature": { - "id": 532, + "id": 574, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 533, + "id": 575, "name": "key", "kind": 32768, "flags": {}, @@ -15636,7 +16018,7 @@ } }, { - "id": 546, + "id": 589, "name": "lock", "kind": 1024, "kindString": "Property", @@ -15655,18 +16037,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 92, "character": 2 } ], "type": { "type": "reference", - "id": 518, + "id": 560, "name": "LockFunc" } }, { - "id": 537, + "id": 579, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -15676,7 +16058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 2 } ], @@ -15686,7 +16068,7 @@ } }, { - "id": 538, + "id": 580, "name": "storage", "kind": 1024, "kindString": "Property", @@ -15696,18 +16078,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 2 } ], "type": { "type": "reference", - "id": 1051, + "id": 1126, "name": "SupportedStorage" } }, { - "id": 534, + "id": 576, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -15717,7 +16099,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -15727,7 +16109,7 @@ } }, { - "id": 529, + "id": 571, "name": "url", "kind": 1024, "kindString": "Property", @@ -15737,7 +16119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -15745,19 +16127,50 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 581, + "name": "userStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, `storage` will only store a JSON object containing the access and refresh token and some adjacent metadata, while `userStorage` will only contain the user object under the key `storageKey + '-user'`.", + "text": "When this option is set and cookie storage is used, `getSession()` and other functions that load a session from the cookie store might not return back a user. It's very important to always use `getUser()` to fetch a user object in those scenarios.\n", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1126, + "name": "SupportedStorage" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [536, 541, 535, 539, 540, 547, 530, 546, 537, 538, 534, 529] + "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 34 } ] @@ -15765,7 +16178,7 @@ } }, { - "id": 1054, + "id": 1129, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -15773,21 +16186,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1055, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1131, "name": "error", "kind": 1024, "kindString": "Property", @@ -15795,7 +16208,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 33 } ], @@ -15804,7 +16217,7 @@ "types": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, { @@ -15819,13 +16232,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 31 } ] @@ -15833,7 +16246,7 @@ } }, { - "id": 1116, + "id": 1191, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -15841,21 +16254,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1193, "name": "alg", "kind": 1024, "kindString": "Property", @@ -15863,7 +16276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1268, "character": 2 } ], @@ -15886,7 +16299,7 @@ } }, { - "id": 1119, + "id": 1194, "name": "kid", "kind": 1024, "kindString": "Property", @@ -15894,7 +16307,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1206, + "line": 1269, "character": 2 } ], @@ -15904,7 +16317,7 @@ } }, { - "id": 1120, + "id": 1195, "name": "typ", "kind": 1024, "kindString": "Property", @@ -15912,7 +16325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1270, "character": 2 } ], @@ -15926,13 +16339,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118, 1119, 1120] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 24 } ] @@ -15940,7 +16353,7 @@ } }, { - "id": 1131, + "id": 1206, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -15948,7 +16361,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 12 } ], @@ -15957,13 +16370,13 @@ "types": [ { "type": "reference", - "id": 1121, + "id": 1196, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1132, + "id": 1207, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15971,19 +16384,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 42 } ], "indexSignature": { - "id": 1133, + "id": 1208, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1209, "name": "key", "kind": 32768, "flags": {}, @@ -16004,7 +16417,7 @@ } }, { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -16012,14 +16425,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16027,13 +16440,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -16049,7 +16462,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -16058,7 +16471,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -16072,7 +16485,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -16086,7 +16499,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -16097,7 +16510,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16105,13 +16518,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -16121,7 +16534,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -16140,7 +16553,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -16154,7 +16567,7 @@ } }, { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -16162,21 +16575,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -16187,7 +16600,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -16197,7 +16610,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16208,7 +16621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -16222,13 +16635,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -16236,7 +16649,7 @@ } }, { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -16244,21 +16657,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16271,7 +16684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -16290,7 +16703,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16301,7 +16714,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -16315,13 +16728,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -16329,7 +16742,7 @@ } }, { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -16337,7 +16750,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -16346,19 +16759,19 @@ "types": [ { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams" }, { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams" } ] } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -16366,21 +16779,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16391,7 +16804,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -16401,7 +16814,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -16414,7 +16827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -16424,7 +16837,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16435,7 +16848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -16449,13 +16862,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -16463,7 +16876,7 @@ } }, { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -16471,21 +16884,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16496,7 +16909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -16506,7 +16919,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -16519,7 +16932,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -16529,7 +16942,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -16542,7 +16955,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -16556,13 +16969,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -16570,7 +16983,7 @@ } }, { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -16578,21 +16991,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16603,7 +17016,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -16617,13 +17030,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -16631,7 +17044,7 @@ } }, { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -16639,21 +17052,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -16664,7 +17077,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -16674,7 +17087,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -16685,7 +17098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -16695,7 +17108,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16706,7 +17119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -16720,13 +17133,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -16734,7 +17147,7 @@ } }, { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16742,7 +17155,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -16761,7 +17174,7 @@ } }, { - "id": 624, + "id": 667, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -16769,7 +17182,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 188, "character": 12 } ], @@ -16779,14 +17192,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 668, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 669, "name": "data", "kind": 1024, "kindString": "Property", @@ -16794,21 +17207,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 670, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 671, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16816,18 +17229,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 191, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 629, + "id": 672, "name": "url", "kind": 1024, "kindString": "Property", @@ -16835,7 +17248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 183, + "line": 192, "character": 8 } ], @@ -16849,13 +17262,13 @@ { "title": "Properties", "kind": 1024, - "children": [628, 629] + "children": [671, 672] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 12 } ] @@ -16863,7 +17276,7 @@ } }, { - "id": 630, + "id": 673, "name": "error", "kind": 1024, "kindString": "Property", @@ -16871,7 +17284,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 194, "character": 6 } ], @@ -16885,13 +17298,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 630] + "children": [669, 673] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 189, "character": 4 } ] @@ -16900,14 +17313,14 @@ { "type": "reflection", "declaration": { - "id": 631, + "id": 674, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 632, + "id": 675, "name": "data", "kind": 1024, "kindString": "Property", @@ -16915,21 +17328,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 633, + "id": 676, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 634, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16937,18 +17350,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 198, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 635, + "id": 678, "name": "url", "kind": 1024, "kindString": "Property", @@ -16956,7 +17369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 199, "character": 8 } ], @@ -16970,13 +17383,13 @@ { "title": "Properties", "kind": 1024, - "children": [634, 635] + "children": [677, 678] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 12 } ] @@ -16984,7 +17397,7 @@ } }, { - "id": 636, + "id": 679, "name": "error", "kind": 1024, "kindString": "Property", @@ -16992,13 +17405,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 201, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -17007,13 +17420,13 @@ { "title": "Properties", "kind": 1024, - "children": [632, 636] + "children": [675, 679] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 187, + "line": 196, "character": 4 } ] @@ -17023,7 +17436,7 @@ } }, { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -17031,21 +17444,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -17058,7 +17471,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -17068,7 +17481,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -17081,7 +17494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -17095,13 +17508,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -17109,7 +17522,7 @@ } }, { - "id": 1064, + "id": 1139, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -17117,21 +17530,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1065, + "id": 1140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1142, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -17139,7 +17552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1168, "character": 2 } ], @@ -17149,7 +17562,7 @@ } }, { - "id": 1066, + "id": 1141, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -17157,7 +17570,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1104, + "line": 1167, "character": 2 } ], @@ -17176,7 +17589,7 @@ } }, { - "id": 1068, + "id": 1143, "name": "total", "kind": 1024, "kindString": "Property", @@ -17184,7 +17597,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1106, + "line": 1169, "character": 2 } ], @@ -17198,25 +17611,25 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1066, 1068] + "children": [1142, 1141, 1143] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 25 } ], "indexSignature": { - "id": 1069, + "id": 1144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1070, + "id": 1145, "name": "key", "kind": 32768, "flags": {}, @@ -17235,7 +17648,7 @@ } }, { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -17246,7 +17659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -17345,7 +17758,7 @@ } }, { - "id": 1121, + "id": 1196, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -17353,21 +17766,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1122, + "id": 1197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1129, + "id": 1204, "name": "aal", "kind": 1024, "kindString": "Property", @@ -17375,18 +17788,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1217, + "line": 1280, "character": 2 } ], "type": { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" } }, { - "id": 1125, + "id": 1200, "name": "aud", "kind": 1024, "kindString": "Property", @@ -17394,7 +17807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1213, + "line": 1276, "character": 2 } ], @@ -17416,7 +17829,7 @@ } }, { - "id": 1126, + "id": 1201, "name": "exp", "kind": 1024, "kindString": "Property", @@ -17424,7 +17837,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1214, + "line": 1277, "character": 2 } ], @@ -17434,7 +17847,7 @@ } }, { - "id": 1127, + "id": 1202, "name": "iat", "kind": 1024, "kindString": "Property", @@ -17442,7 +17855,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1215, + "line": 1278, "character": 2 } ], @@ -17452,7 +17865,7 @@ } }, { - "id": 1123, + "id": 1198, "name": "iss", "kind": 1024, "kindString": "Property", @@ -17460,7 +17873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1211, + "line": 1274, "character": 2 } ], @@ -17470,7 +17883,7 @@ } }, { - "id": 1128, + "id": 1203, "name": "role", "kind": 1024, "kindString": "Property", @@ -17478,7 +17891,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1216, + "line": 1279, "character": 2 } ], @@ -17488,7 +17901,7 @@ } }, { - "id": 1130, + "id": 1205, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -17496,7 +17909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1218, + "line": 1281, "character": 2 } ], @@ -17506,7 +17919,7 @@ } }, { - "id": 1124, + "id": 1199, "name": "sub", "kind": 1024, "kindString": "Property", @@ -17514,7 +17927,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1212, + "line": 1275, "character": 2 } ], @@ -17528,13 +17941,13 @@ { "title": "Properties", "kind": 1024, - "children": [1129, 1125, 1126, 1127, 1123, 1128, 1130, 1124] + "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 29 } ] @@ -17542,7 +17955,7 @@ } }, { - "id": 847, + "id": 922, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -17550,7 +17963,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 728, "character": 12 } ], @@ -17560,14 +17973,14 @@ { "type": "reflection", "declaration": { - "id": 848, + "id": 923, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 925, "name": "email", "kind": 1024, "kindString": "Property", @@ -17575,7 +17988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 731, "character": 6 } ], @@ -17585,7 +17998,7 @@ } }, { - "id": 851, + "id": 926, "name": "options", "kind": 1024, "kindString": "Property", @@ -17595,21 +18008,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 927, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 929, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17622,7 +18035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 736, "character": 8 } ], @@ -17632,7 +18045,7 @@ } }, { - "id": 853, + "id": 928, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17645,7 +18058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 734, "character": 8 } ], @@ -17659,13 +18072,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 853] + "children": [929, 928] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 16 } ] @@ -17673,7 +18086,7 @@ } }, { - "id": 849, + "id": 924, "name": "type", "kind": 1024, "kindString": "Property", @@ -17681,7 +18094,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 667, + "line": 730, "character": 6 } ], @@ -17690,7 +18103,7 @@ "typeArguments": [ { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" }, { @@ -17717,13 +18130,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 851, 849] + "children": [925, 926, 924] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 729, "character": 4 } ] @@ -17732,14 +18145,14 @@ { "type": "reflection", "declaration": { - "id": 855, + "id": 930, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 858, + "id": 933, "name": "options", "kind": 1024, "kindString": "Property", @@ -17749,21 +18162,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 859, + "id": 934, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 935, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17776,7 +18189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 744, "character": 8 } ], @@ -17790,13 +18203,13 @@ { "title": "Properties", "kind": 1024, - "children": [860] + "children": [935] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 16 } ] @@ -17804,7 +18217,7 @@ } }, { - "id": 857, + "id": 932, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17812,7 +18225,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 741, "character": 6 } ], @@ -17822,7 +18235,7 @@ } }, { - "id": 856, + "id": 931, "name": "type", "kind": 1024, "kindString": "Property", @@ -17830,7 +18243,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 677, + "line": 740, "character": 6 } ], @@ -17839,7 +18252,7 @@ "typeArguments": [ { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" }, { @@ -17866,13 +18279,13 @@ { "title": "Properties", "kind": 1024, - "children": [858, 857, 856] + "children": [933, 932, 931] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 739, "character": 4 } ] @@ -17882,7 +18295,7 @@ } }, { - "id": 637, + "id": 680, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -17890,7 +18303,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 195, + "line": 204, "character": 12 } ], @@ -17900,14 +18313,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 681, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 682, "name": "data", "kind": 1024, "kindString": "Property", @@ -17915,21 +18328,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 641, + "id": 684, "name": "url", "kind": 1024, "kindString": "Property", @@ -17941,7 +18354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 214, "character": 8 } ], @@ -17955,13 +18368,13 @@ { "title": "Properties", "kind": 1024, - "children": [641] + "children": [684] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 12 } ] @@ -17969,7 +18382,7 @@ } }, { - "id": 642, + "id": 685, "name": "error", "kind": 1024, "kindString": "Property", @@ -17977,7 +18390,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 207, + "line": 216, "character": 6 } ], @@ -17991,13 +18404,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 642] + "children": [682, 685] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 205, "character": 4 } ] @@ -18006,14 +18419,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 686, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 687, "name": "data", "kind": 1024, "kindString": "Property", @@ -18021,7 +18434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 210, + "line": 219, "character": 6 } ], @@ -18031,7 +18444,7 @@ } }, { - "id": 645, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -18039,13 +18452,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 211, + "line": 220, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -18054,13 +18467,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 645] + "children": [687, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 218, "character": 4 } ] @@ -18070,7 +18483,7 @@ } }, { - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18078,21 +18491,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 795, "name": "options", "kind": 1024, "kindString": "Property", @@ -18102,21 +18515,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 752, + "id": 796, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 754, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18129,7 +18542,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 497, "character": 4 } ], @@ -18139,7 +18552,7 @@ } }, { - "id": 753, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -18153,7 +18566,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 495, "character": 4 } ], @@ -18167,13 +18580,13 @@ { "title": "Properties", "kind": 1024, - "children": [754, 753] + "children": [798, 797] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 12 } ] @@ -18185,13 +18598,13 @@ { "title": "Properties", "kind": 1024, - "children": [751] + "children": [795] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 43 } ] @@ -18199,7 +18612,7 @@ } }, { - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18207,21 +18620,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 820, + "id": 864, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -18234,7 +18647,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 606, + "line": 621, "character": 2 } ], @@ -18244,7 +18657,7 @@ } }, { - "id": 821, + "id": 865, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -18257,7 +18670,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 623, "character": 2 } ], @@ -18267,7 +18680,7 @@ } }, { - "id": 822, + "id": 866, "name": "options", "kind": 1024, "kindString": "Property", @@ -18277,21 +18690,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 823, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 868, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18304,7 +18717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 626, "character": 4 } ], @@ -18318,13 +18731,13 @@ { "title": "Properties", "kind": 1024, - "children": [824] + "children": [868] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 12 } ] @@ -18332,7 +18745,7 @@ } }, { - "id": 817, + "id": 861, "name": "provider", "kind": 1024, "kindString": "Property", @@ -18343,7 +18756,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 2 } ], @@ -18380,7 +18793,7 @@ { "type": "reflection", "declaration": { - "id": 818, + "id": 862, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18388,7 +18801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 76 } ] @@ -18400,7 +18813,7 @@ } }, { - "id": 819, + "id": 863, "name": "token", "kind": 1024, "kindString": "Property", @@ -18411,7 +18824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 604, + "line": 619, "character": 2 } ], @@ -18425,13 +18838,13 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821, 822, 817, 819] + "children": [864, 865, 866, 861, 863] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 43 } ] @@ -18439,7 +18852,7 @@ } }, { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18447,21 +18860,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -18471,21 +18884,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -18498,14 +18911,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18513,19 +18926,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -18544,7 +18957,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18557,7 +18970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -18567,7 +18980,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -18580,7 +18993,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -18590,7 +19003,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -18603,7 +19016,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -18617,13 +19030,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -18631,7 +19044,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -18642,13 +19055,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } } @@ -18657,13 +19070,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -18671,7 +19084,7 @@ } }, { - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18679,7 +19092,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 539, "character": 12 } ], @@ -18689,14 +19102,14 @@ { "type": "reflection", "declaration": { - "id": 773, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 774, + "id": 818, "name": "email", "kind": 1024, "kindString": "Property", @@ -18707,7 +19120,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 542, "character": 6 } ], @@ -18717,7 +19130,7 @@ } }, { - "id": 776, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -18727,21 +19140,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 777, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 778, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18754,7 +19167,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 547, "character": 8 } ], @@ -18768,13 +19181,13 @@ { "title": "Properties", "kind": 1024, - "children": [778] + "children": [822] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 16 } ] @@ -18782,7 +19195,7 @@ } }, { - "id": 775, + "id": 819, "name": "password", "kind": 1024, "kindString": "Property", @@ -18793,7 +19206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 529, + "line": 544, "character": 6 } ], @@ -18807,13 +19220,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 776, 775] + "children": [818, 820, 819] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 540, "character": 4 } ] @@ -18822,14 +19235,14 @@ { "type": "reflection", "declaration": { - "id": 779, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -18839,21 +19252,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 783, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 828, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18866,7 +19279,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 557, "character": 8 } ], @@ -18880,13 +19293,13 @@ { "title": "Properties", "kind": 1024, - "children": [784] + "children": [828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 16 } ] @@ -18894,7 +19307,7 @@ } }, { - "id": 781, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -18905,7 +19318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 554, "character": 6 } ], @@ -18915,7 +19328,7 @@ } }, { - "id": 780, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18926,7 +19339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 537, + "line": 552, "character": 6 } ], @@ -18940,13 +19353,13 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781, 780] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 550, "character": 4 } ] @@ -18956,7 +19369,7 @@ } }, { - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18964,7 +19377,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 546, + "line": 561, "character": 12 } ], @@ -18974,14 +19387,14 @@ { "type": "reflection", "declaration": { - "id": 786, + "id": 830, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 831, "name": "email", "kind": 1024, "kindString": "Property", @@ -18992,7 +19405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 549, + "line": 564, "character": 6 } ], @@ -19002,7 +19415,7 @@ } }, { - "id": 788, + "id": 832, "name": "options", "kind": 1024, "kindString": "Property", @@ -19012,21 +19425,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 789, + "id": 833, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 793, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19039,7 +19452,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 577, "character": 8 } ], @@ -19049,7 +19462,7 @@ } }, { - "id": 792, + "id": 836, "name": "data", "kind": 1024, "kindString": "Property", @@ -19063,7 +19476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 560, + "line": 575, "character": 8 } ], @@ -19073,7 +19486,7 @@ } }, { - "id": 790, + "id": 834, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -19086,7 +19499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 567, "character": 8 } ], @@ -19096,7 +19509,7 @@ } }, { - "id": 791, + "id": 835, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -19109,7 +19522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 569, "character": 8 } ], @@ -19123,13 +19536,13 @@ { "title": "Properties", "kind": 1024, - "children": [793, 792, 790, 791] + "children": [837, 836, 834, 835] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 16 } ] @@ -19141,13 +19554,13 @@ { "title": "Properties", "kind": 1024, - "children": [787, 788] + "children": [831, 832] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 562, "character": 4 } ] @@ -19156,14 +19569,14 @@ { "type": "reflection", "declaration": { - "id": 794, + "id": 838, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 796, + "id": 840, "name": "options", "kind": 1024, "kindString": "Property", @@ -19173,21 +19586,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 797, + "id": 841, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 800, + "id": 844, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19200,7 +19613,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 578, + "line": 593, "character": 8 } ], @@ -19210,7 +19623,7 @@ } }, { - "id": 801, + "id": 845, "name": "channel", "kind": 1024, "kindString": "Property", @@ -19223,7 +19636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 595, "character": 8 } ], @@ -19242,7 +19655,7 @@ } }, { - "id": 799, + "id": 843, "name": "data", "kind": 1024, "kindString": "Property", @@ -19256,7 +19669,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 576, + "line": 591, "character": 8 } ], @@ -19266,7 +19679,7 @@ } }, { - "id": 798, + "id": 842, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -19279,7 +19692,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 585, "character": 8 } ], @@ -19293,13 +19706,13 @@ { "title": "Properties", "kind": 1024, - "children": [800, 801, 799, 798] + "children": [844, 845, 843, 842] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 16 } ] @@ -19307,7 +19720,7 @@ } }, { - "id": 795, + "id": 839, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19318,7 +19731,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 582, "character": 6 } ], @@ -19332,13 +19745,13 @@ { "title": "Properties", "kind": 1024, - "children": [796, 795] + "children": [840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 580, "character": 4 } ] @@ -19348,7 +19761,7 @@ } }, { - "id": 861, + "id": 936, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -19356,7 +19769,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 748, "character": 12 } ], @@ -19366,14 +19779,14 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 939, "name": "options", "kind": 1024, "kindString": "Property", @@ -19383,21 +19796,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 940, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, + "id": 942, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19410,7 +19823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 694, + "line": 757, "character": 8 } ], @@ -19420,7 +19833,7 @@ } }, { - "id": 866, + "id": 941, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19433,7 +19846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 692, + "line": 755, "character": 8 } ], @@ -19447,13 +19860,13 @@ { "title": "Properties", "kind": 1024, - "children": [867, 866] + "children": [942, 941] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 16 } ] @@ -19461,7 +19874,7 @@ } }, { - "id": 863, + "id": 938, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -19472,7 +19885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 751, "character": 6 } ], @@ -19486,13 +19899,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 863] + "children": [939, 938] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 749, "character": 4 } ] @@ -19501,14 +19914,14 @@ { "type": "reflection", "declaration": { - "id": 868, + "id": 943, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 869, + "id": 944, "name": "domain", "kind": 1024, "kindString": "Property", @@ -19519,7 +19932,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 762, "character": 6 } ], @@ -19529,7 +19942,7 @@ } }, { - "id": 870, + "id": 945, "name": "options", "kind": 1024, "kindString": "Property", @@ -19539,21 +19952,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 871, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 873, + "id": 948, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19566,7 +19979,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 768, "character": 8 } ], @@ -19576,7 +19989,7 @@ } }, { - "id": 872, + "id": 947, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19589,7 +20002,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 766, "character": 8 } ], @@ -19603,13 +20016,13 @@ { "title": "Properties", "kind": 1024, - "children": [873, 872] + "children": [948, 947] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 16 } ] @@ -19621,13 +20034,13 @@ { "title": "Properties", "kind": 1024, - "children": [869, 870] + "children": [944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 760, "character": 4 } ] @@ -19637,7 +20050,7 @@ } }, { - "id": 1075, + "id": 1150, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -19645,21 +20058,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1076, + "id": 1151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1077, + "id": 1152, "name": "scope", "kind": 1024, "kindString": "Property", @@ -19672,7 +20085,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1127, + "line": 1190, "character": 2 } ], @@ -19699,13 +20112,13 @@ { "title": "Properties", "kind": 1024, - "children": [1077] + "children": [1152] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 22 } ] @@ -19713,7 +20126,36 @@ } }, { - "id": 755, + "id": 1218, + "name": "SignOutScope", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1297, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "id": 1217, + "name": "SIGN_OUT_SCOPES" + } + } + } + }, + { + "id": 799, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -19721,7 +20163,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 501, "character": 12 } ], @@ -19731,14 +20173,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 801, "name": "email", "kind": 1024, "kindString": "Property", @@ -19749,7 +20191,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 490, + "line": 504, "character": 6 } ], @@ -19759,7 +20201,7 @@ } }, { - "id": 759, + "id": 803, "name": "options", "kind": 1024, "kindString": "Property", @@ -19769,21 +20211,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 804, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 763, + "id": 807, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19796,7 +20238,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 503, + "line": 517, "character": 8 } ], @@ -19806,7 +20248,7 @@ } }, { - "id": 762, + "id": 806, "name": "data", "kind": 1024, "kindString": "Property", @@ -19820,7 +20262,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 515, "character": 8 } ], @@ -19830,7 +20272,7 @@ } }, { - "id": 761, + "id": 805, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -19843,7 +20285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 509, "character": 8 } ], @@ -19857,13 +20299,13 @@ { "title": "Properties", "kind": 1024, - "children": [763, 762, 761] + "children": [807, 806, 805] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 16 } ] @@ -19871,7 +20313,7 @@ } }, { - "id": 758, + "id": 802, "name": "password", "kind": 1024, "kindString": "Property", @@ -19882,7 +20324,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 492, + "line": 506, "character": 6 } ], @@ -19896,13 +20338,13 @@ { "title": "Properties", "kind": 1024, - "children": [757, 759, 758] + "children": [801, 803, 802] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 502, "character": 4 } ] @@ -19911,14 +20353,14 @@ { "type": "reflection", "declaration": { - "id": 764, + "id": 808, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 767, + "id": 811, "name": "options", "kind": 1024, "kindString": "Property", @@ -19928,21 +20370,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 768, + "id": 812, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 814, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19955,7 +20397,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 533, "character": 8 } ], @@ -19965,7 +20407,7 @@ } }, { - "id": 771, + "id": 815, "name": "channel", "kind": 1024, "kindString": "Property", @@ -19978,7 +20420,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 535, "character": 8 } ], @@ -19997,7 +20439,7 @@ } }, { - "id": 769, + "id": 813, "name": "data", "kind": 1024, "kindString": "Property", @@ -20011,7 +20453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 531, "character": 8 } ], @@ -20025,13 +20467,13 @@ { "title": "Properties", "kind": 1024, - "children": [770, 771, 769] + "children": [814, 815, 813] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 16 } ] @@ -20039,7 +20481,7 @@ } }, { - "id": 766, + "id": 810, "name": "password", "kind": 1024, "kindString": "Property", @@ -20050,7 +20492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 524, "character": 6 } ], @@ -20060,7 +20502,7 @@ } }, { - "id": 765, + "id": 809, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20071,7 +20513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 522, "character": 6 } ], @@ -20085,13 +20527,13 @@ { "title": "Properties", "kind": 1024, - "children": [767, 766, 765] + "children": [811, 810, 809] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 520, "character": 4 } ] @@ -20101,7 +20543,685 @@ } }, { - "id": 1051, + "id": 869, + "name": "SolanaWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 870, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 874, + "name": "publicKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 875, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 876, + "name": "toBase58", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 633, + "character": 4 + } + ], + "signatures": [ + { + "id": 877, + "name": "toBase58", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [876] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 14 + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 871, + "name": "signIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 631, + "character": 2 + } + ], + "signatures": [ + { + "id": 872, + "name": "signIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 873, + "name": "inputs", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInInput" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "SolanaSignInOutput" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInOutput" + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 878, + "name": "signMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 636, + "character": 2 + } + ], + "signatures": [ + { + "id": 879, + "name": "signMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 880, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + }, + { + "id": 881, + "name": "encoding", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [874] + }, + { + "title": "Methods", + "kind": 2048, + "children": [871, 878] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 27 + } + ] + } + } + }, + { + "id": 882, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 883, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "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" + } + }, + { + "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": [ + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [890, 891, 889] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 16 + } + ] + } + } + }, + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 16 + } + ] + } + } + }, + { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [893, 894, 896, 895] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 661, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -20109,7 +21229,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -20156,14 +21276,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -20176,7 +21296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -20190,13 +21310,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -20206,7 +21326,7 @@ } }, { - "id": 646, + "id": 689, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -20214,7 +21334,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 223, "character": 12 } ], @@ -20224,14 +21344,14 @@ { "type": "reflection", "declaration": { - "id": 647, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 691, "name": "data", "kind": 1024, "kindString": "Property", @@ -20239,21 +21359,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 649, + "id": 692, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 693, "name": "user", "kind": 1024, "kindString": "Property", @@ -20261,13 +21381,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 217, + "line": 226, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -20276,13 +21396,13 @@ { "title": "Properties", "kind": 1024, - "children": [650] + "children": [693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 12 } ] @@ -20290,7 +21410,7 @@ } }, { - "id": 651, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -20298,7 +21418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 228, "character": 6 } ], @@ -20312,13 +21432,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 651] + "children": [691, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 215, + "line": 224, "character": 4 } ] @@ -20327,14 +21447,14 @@ { "type": "reflection", "declaration": { - "id": 652, + "id": 695, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 653, + "id": 696, "name": "data", "kind": 1024, "kindString": "Property", @@ -20342,21 +21462,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 697, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 655, + "id": 698, "name": "user", "kind": 1024, "kindString": "Property", @@ -20364,7 +21484,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 232, "character": 8 } ], @@ -20378,13 +21498,13 @@ { "title": "Properties", "kind": 1024, - "children": [655] + "children": [698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 12 } ] @@ -20392,7 +21512,7 @@ } }, { - "id": 656, + "id": 699, "name": "error", "kind": 1024, "kindString": "Property", @@ -20400,13 +21520,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 234, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -20415,13 +21535,13 @@ { "title": "Properties", "kind": 1024, - "children": [653, 656] + "children": [696, 699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 221, + "line": 230, "character": 4 } ] @@ -20431,7 +21551,7 @@ } }, { - "id": 825, + "id": 900, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -20439,7 +21559,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 678, "character": 12 } ], @@ -20448,24 +21568,24 @@ "types": [ { "type": "reference", - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams" }, { "type": "reference", - "id": 842, + "id": 917, "name": "VerifyTokenHashParams" } ] } }, { - "id": 550, + "id": 593, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -20473,21 +21593,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 551, + "id": 594, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 596, "name": "message", "kind": 1024, "kindString": "Property", @@ -20495,7 +21615,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 94, + "line": 103, "character": 2 } ], @@ -20505,7 +21625,7 @@ } }, { - "id": 552, + "id": 595, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -20513,7 +21633,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 102, "character": 2 } ], @@ -20521,7 +21641,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } @@ -20531,13 +21651,13 @@ { "title": "Properties", "kind": 1024, - "children": [553, 552] + "children": [596, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 27 } ] @@ -20545,7 +21665,7 @@ } }, { - "id": 548, + "id": 591, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -20553,7 +21673,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 12 } ], @@ -20582,7 +21702,7 @@ { "type": "reflection", "declaration": { - "id": 549, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20590,7 +21710,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 80 } ] @@ -20602,7 +21722,26 @@ } }, { - "id": 497, + "id": 899, + "name": "Web3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 676, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials" + } + }, + { + "id": 531, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -20627,7 +21766,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 498, + "id": 532, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -20652,7 +21791,45 @@ "defaultValue": "GoTrueClient" }, { - "id": 512, + "id": 1217, + "name": "SIGN_OUT_SCOPES", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 13 + } + ], + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 546, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -20677,14 +21854,14 @@ "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 548, "name": "debug", "kind": 1024, "kindString": "Property", @@ -20715,7 +21892,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [548] } ] } @@ -20723,7 +21900,7 @@ "defaultValue": "..." }, { - "id": 1145, + "id": 1222, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -20737,14 +21914,14 @@ ], "signatures": [ { - "id": 1146, + "id": 1223, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1147, + "id": 1224, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20761,7 +21938,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" } } @@ -20769,7 +21946,7 @@ ] }, { - "id": 1142, + "id": 1219, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -20783,14 +21960,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1220, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1221, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20807,7 +21984,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -20815,7 +21992,7 @@ ] }, { - "id": 1151, + "id": 1228, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -20829,14 +22006,14 @@ ], "signatures": [ { - "id": 1152, + "id": 1229, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1153, + "id": 1230, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20853,7 +22030,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" } } @@ -20861,7 +22038,7 @@ ] }, { - "id": 1154, + "id": 1231, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -20875,14 +22052,14 @@ ], "signatures": [ { - "id": 1155, + "id": 1232, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1156, + "id": 1233, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20899,7 +22076,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" } } @@ -20907,7 +22084,7 @@ ] }, { - "id": 1148, + "id": 1225, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -20921,14 +22098,14 @@ ], "signatures": [ { - "id": 1149, + "id": 1226, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1150, + "id": 1227, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20945,7 +22122,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" } } @@ -20953,7 +22130,7 @@ ] }, { - "id": 1157, + "id": 1234, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -20967,14 +22144,14 @@ ], "signatures": [ { - "id": 1158, + "id": 1235, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1159, + "id": 1236, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -20991,7 +22168,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" } } @@ -20999,7 +22176,7 @@ ] }, { - "id": 499, + "id": 533, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -21013,7 +22190,7 @@ ], "signatures": [ { - "id": 500, + "id": 534, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -21024,7 +22201,7 @@ }, "typeParameter": [ { - "id": 501, + "id": 535, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -21033,7 +22210,7 @@ ], "parameters": [ { - "id": 502, + "id": 536, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -21047,7 +22224,7 @@ } }, { - "id": 503, + "id": 537, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -21061,7 +22238,7 @@ } }, { - "id": 504, + "id": 538, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -21072,14 +22249,14 @@ "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 539, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 506, + "id": 540, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -21089,7 +22266,7 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, "name": "R" } ], @@ -21108,7 +22285,128 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 549, + "name": "processLock", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/locks.ts", + "line": 171, + "character": 22 + } + ], + "signatures": [ + { + "id": 550, + "name": "processLock", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.", + "text": "Use {@link #navigatorLock} in browser environments.\n" + }, + "typeParameter": [ + { + "id": 551, + "name": "R", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 552, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Name of the lock to be acquired." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 553, + "name": "acquireTimeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operation to run once the lock is acquired.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 556, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, "name": "R" } ], @@ -21125,35 +22423,36 @@ "title": "Classes", "kind": 128, "children": [ - 1170, 1160, 1227, 1218, 1303, 1210, 1254, 1281, 1202, 1180, 1291, 1190, 1, 78, 507 + 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 666, 728, 682, 896, 1044, 995, 1135, 657, 741, 697, 690, 722, 670, 694, 834, 826, 842 + 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 517, 516, 802, 1028, 1019, 1041, 1032, 961, 1104, 951, 1088, 984, 972, 952, 938, 581, 554, - 567, 596, 609, 983, 1057, 846, 890, 880, 899, 913, 900, 920, 885, 874, 527, 1054, 1116, - 1131, 518, 934, 930, 921, 1083, 1078, 922, 925, 845, 624, 1071, 1064, 515, 1121, 847, 637, - 749, 815, 803, 772, 785, 861, 1075, 755, 1051, 646, 825, 550, 548 + 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 ] }, { "title": "Variables", "kind": 32, - "children": [497, 498, 512] + "children": [531, 532, 1217, 546] }, { "title": "Functions", "kind": 64, - "children": [1145, 1142, 1151, 1154, 1148, 1157, 499] + "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 0193de36e8b..35c7abd80f5 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": 1170, + "id": 1247, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1171, + "id": 1248, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1172, + "id": 1249, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1173, + "id": 1250, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1174, + "id": 1251, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1175, + "id": 1252, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,24 +79,24 @@ ], "type": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1177, + "id": 1254, "name": "code", "kind": 1024, "kindString": "Property", @@ -128,7 +128,7 @@ { "type": "reflection", "declaration": { - "id": 1178, + "id": 1255, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -145,12 +145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1176, + "id": 1253, "name": "status", "kind": 1024, "kindString": "Property", @@ -171,7 +171,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -180,12 +180,12 @@ { "title": "Constructors", "kind": 512, - "children": [1171] + "children": [1248] }, { "title": "Properties", "kind": 1024, - "children": [1177, 1176] + "children": [1254, 1253] } ], "sources": [ @@ -198,20 +198,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1160, + "id": 1237, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1161, + "id": 1238, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -225,14 +225,14 @@ ], "signatures": [ { - "id": 1162, + "id": 1239, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1163, + "id": 1240, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -243,7 +243,7 @@ } }, { - "id": 1164, + "id": 1241, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -256,7 +256,7 @@ } }, { - "id": 1165, + "id": 1242, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, "overwrites": { @@ -286,7 +286,7 @@ } }, { - "id": 1166, + "id": 1243, "name": "code", "kind": 1024, "kindString": "Property", @@ -318,7 +318,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1244, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -335,7 +335,7 @@ } }, { - "id": 1168, + "id": 1245, "name": "status", "kind": 1024, "kindString": "Property", @@ -369,12 +369,12 @@ { "title": "Constructors", "kind": 512, - "children": [1161] + "children": [1238] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1168] + "children": [1243, 1245] } ], "sources": [ @@ -395,30 +395,30 @@ "extendedBy": [ { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" }, { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1228, + "id": 1305, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -432,14 +432,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1306, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1307, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -450,7 +450,7 @@ } }, { - "id": 1231, + "id": 1308, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -465,14 +465,14 @@ { "type": "reflection", "declaration": { - "id": 1232, + "id": 1309, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1234, + "id": 1311, "name": "code", "kind": 1024, "kindString": "Property", @@ -490,7 +490,7 @@ } }, { - "id": 1233, + "id": 1310, "name": "error", "kind": 1024, "kindString": "Property", @@ -512,7 +512,7 @@ { "title": "Properties", "kind": 1024, - "children": [1234, 1233] + "children": [1311, 1310] } ] } @@ -524,24 +524,24 @@ ], "type": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1328, "name": "code", "kind": 1024, "kindString": "Property", @@ -573,7 +573,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -590,12 +590,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1235, + "id": 1312, "name": "details", "kind": 1024, "kindString": "Property", @@ -617,14 +617,14 @@ { "type": "reflection", "declaration": { - "id": 1236, + "id": 1313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1238, + "id": 1315, "name": "code", "kind": 1024, "kindString": "Property", @@ -642,7 +642,7 @@ } }, { - "id": 1237, + "id": 1314, "name": "error", "kind": 1024, "kindString": "Property", @@ -664,7 +664,7 @@ { "title": "Properties", "kind": 1024, - "children": [1238, 1237] + "children": [1315, 1314] } ] } @@ -674,7 +674,7 @@ "defaultValue": "null" }, { - "id": 1249, + "id": 1326, "name": "name", "kind": 1024, "kindString": "Property", @@ -692,12 +692,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1250, + "id": 1327, "name": "status", "kind": 1024, "kindString": "Property", @@ -718,12 +718,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1239, + "id": 1316, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -737,7 +737,7 @@ ], "signatures": [ { - "id": 1240, + "id": 1317, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -745,14 +745,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1241, + "id": 1318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1245, + "id": 1322, "name": "details", "kind": 1024, "kindString": "Property", @@ -774,14 +774,14 @@ { "type": "reflection", "declaration": { - "id": 1246, + "id": 1323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1248, + "id": 1325, "name": "code", "kind": 1024, "kindString": "Property", @@ -799,7 +799,7 @@ } }, { - "id": 1247, + "id": 1324, "name": "error", "kind": 1024, "kindString": "Property", @@ -821,7 +821,7 @@ { "title": "Properties", "kind": 1024, - "children": [1248, 1247] + "children": [1325, 1324] } ] } @@ -831,7 +831,7 @@ "defaultValue": "..." }, { - "id": 1243, + "id": 1320, "name": "message", "kind": 1024, "kindString": "Property", @@ -850,7 +850,7 @@ "defaultValue": "..." }, { - "id": 1242, + "id": 1319, "name": "name", "kind": 1024, "kindString": "Property", @@ -869,7 +869,7 @@ "defaultValue": "..." }, { - "id": 1244, + "id": 1321, "name": "status", "kind": 1024, "kindString": "Property", @@ -892,7 +892,7 @@ { "title": "Properties", "kind": 1024, - "children": [1245, 1243, 1242, 1244] + "children": [1322, 1320, 1319, 1321] } ] } @@ -905,17 +905,17 @@ { "title": "Constructors", "kind": 512, - "children": [1228] + "children": [1305] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1235, 1249, 1250] + "children": [1328, 1312, 1326, 1327] }, { "title": "Methods", "kind": 2048, - "children": [1239] + "children": [1316] } ], "sources": [ @@ -928,20 +928,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1219, + "id": 1296, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -955,14 +955,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1297, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1298, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -975,24 +975,24 @@ ], "type": { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1224, + "id": 1301, "name": "code", "kind": 1024, "kindString": "Property", @@ -1024,7 +1024,7 @@ { "type": "reflection", "declaration": { - "id": 1225, + "id": 1302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1041,12 +1041,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1222, + "id": 1299, "name": "name", "kind": 1024, "kindString": "Property", @@ -1064,12 +1064,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1223, + "id": 1300, "name": "status", "kind": 1024, "kindString": "Property", @@ -1090,7 +1090,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1099,12 +1099,12 @@ { "title": "Constructors", "kind": 512, - "children": [1219] + "children": [1296] }, { "title": "Properties", "kind": 1024, - "children": [1224, 1222, 1223] + "children": [1301, 1299, 1300] } ], "sources": [ @@ -1117,20 +1117,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1304, + "id": 1381, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1144,14 +1144,14 @@ ], "signatures": [ { - "id": 1305, + "id": 1382, "name": "new AuthInvalidJwtError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1306, + "id": 1383, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1164,24 +1164,24 @@ ], "type": { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1309, + "id": 1386, "name": "code", "kind": 1024, "kindString": "Property", @@ -1213,7 +1213,7 @@ { "type": "reflection", "declaration": { - "id": 1310, + "id": 1387, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1230,12 +1230,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1307, + "id": 1384, "name": "name", "kind": 1024, "kindString": "Property", @@ -1253,12 +1253,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1308, + "id": 1385, "name": "status", "kind": 1024, "kindString": "Property", @@ -1279,7 +1279,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1288,12 +1288,12 @@ { "title": "Constructors", "kind": 512, - "children": [1304] + "children": [1381] }, { "title": "Properties", "kind": 1024, - "children": [1309, 1307, 1308] + "children": [1386, 1384, 1385] } ], "sources": [ @@ -1306,20 +1306,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1211, + "id": 1288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1333,31 +1333,31 @@ ], "signatures": [ { - "id": 1212, + "id": 1289, "name": "new AuthInvalidTokenResponseError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1215, + "id": 1292, "name": "code", "kind": 1024, "kindString": "Property", @@ -1389,7 +1389,7 @@ { "type": "reflection", "declaration": { - "id": 1216, + "id": 1293, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1406,12 +1406,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1290, "name": "name", "kind": 1024, "kindString": "Property", @@ -1429,12 +1429,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1214, + "id": 1291, "name": "status", "kind": 1024, "kindString": "Property", @@ -1455,7 +1455,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -1464,12 +1464,12 @@ { "title": "Constructors", "kind": 512, - "children": [1211] + "children": [1288] }, { "title": "Properties", "kind": 1024, - "children": [1215, 1213, 1214] + "children": [1292, 1290, 1291] } ], "sources": [ @@ -1482,20 +1482,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1255, + "id": 1332, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1509,14 +1509,14 @@ ], "signatures": [ { - "id": 1256, + "id": 1333, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1257, + "id": 1334, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1527,7 +1527,7 @@ } }, { - "id": 1258, + "id": 1335, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -1542,14 +1542,14 @@ { "type": "reflection", "declaration": { - "id": 1259, + "id": 1336, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1261, + "id": 1338, "name": "code", "kind": 1024, "kindString": "Property", @@ -1567,7 +1567,7 @@ } }, { - "id": 1260, + "id": 1337, "name": "error", "kind": 1024, "kindString": "Property", @@ -1589,7 +1589,7 @@ { "title": "Properties", "kind": 1024, - "children": [1261, 1260] + "children": [1338, 1337] } ] } @@ -1601,24 +1601,24 @@ ], "type": { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1278, + "id": 1355, "name": "code", "kind": 1024, "kindString": "Property", @@ -1650,7 +1650,7 @@ { "type": "reflection", "declaration": { - "id": 1279, + "id": 1356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1667,12 +1667,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1262, + "id": 1339, "name": "details", "kind": 1024, "kindString": "Property", @@ -1694,14 +1694,14 @@ { "type": "reflection", "declaration": { - "id": 1263, + "id": 1340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1265, + "id": 1342, "name": "code", "kind": 1024, "kindString": "Property", @@ -1719,7 +1719,7 @@ } }, { - "id": 1264, + "id": 1341, "name": "error", "kind": 1024, "kindString": "Property", @@ -1741,7 +1741,7 @@ { "title": "Properties", "kind": 1024, - "children": [1265, 1264] + "children": [1342, 1341] } ] } @@ -1751,7 +1751,7 @@ "defaultValue": "null" }, { - "id": 1276, + "id": 1353, "name": "name", "kind": 1024, "kindString": "Property", @@ -1769,12 +1769,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1277, + "id": 1354, "name": "status", "kind": 1024, "kindString": "Property", @@ -1795,12 +1795,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } }, { - "id": 1266, + "id": 1343, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1814,7 +1814,7 @@ ], "signatures": [ { - "id": 1267, + "id": 1344, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1822,14 +1822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1268, + "id": 1345, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1272, + "id": 1349, "name": "details", "kind": 1024, "kindString": "Property", @@ -1851,14 +1851,14 @@ { "type": "reflection", "declaration": { - "id": 1273, + "id": 1350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1275, + "id": 1352, "name": "code", "kind": 1024, "kindString": "Property", @@ -1876,7 +1876,7 @@ } }, { - "id": 1274, + "id": 1351, "name": "error", "kind": 1024, "kindString": "Property", @@ -1898,7 +1898,7 @@ { "title": "Properties", "kind": 1024, - "children": [1275, 1274] + "children": [1352, 1351] } ] } @@ -1908,7 +1908,7 @@ "defaultValue": "..." }, { - "id": 1270, + "id": 1347, "name": "message", "kind": 1024, "kindString": "Property", @@ -1927,7 +1927,7 @@ "defaultValue": "..." }, { - "id": 1269, + "id": 1346, "name": "name", "kind": 1024, "kindString": "Property", @@ -1946,7 +1946,7 @@ "defaultValue": "..." }, { - "id": 1271, + "id": 1348, "name": "status", "kind": 1024, "kindString": "Property", @@ -1969,7 +1969,7 @@ { "title": "Properties", "kind": 1024, - "children": [1272, 1270, 1269, 1271] + "children": [1349, 1347, 1346, 1348] } ] } @@ -1982,17 +1982,17 @@ { "title": "Constructors", "kind": 512, - "children": [1255] + "children": [1332] }, { "title": "Properties", "kind": 1024, - "children": [1278, 1262, 1276, 1277] + "children": [1355, 1339, 1353, 1354] }, { "title": "Methods", "kind": 2048, - "children": [1266] + "children": [1343] } ], "sources": [ @@ -2005,20 +2005,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1282, + "id": 1359, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2032,14 +2032,14 @@ ], "signatures": [ { - "id": 1283, + "id": 1360, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1284, + "id": 1361, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2050,7 +2050,7 @@ } }, { - "id": 1285, + "id": 1362, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2063,24 +2063,24 @@ ], "type": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1288, + "id": 1365, "name": "code", "kind": 1024, "kindString": "Property", @@ -2112,7 +2112,7 @@ { "type": "reflection", "declaration": { - "id": 1289, + "id": 1366, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2129,12 +2129,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1286, + "id": 1363, "name": "name", "kind": 1024, "kindString": "Property", @@ -2152,12 +2152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1287, + "id": 1364, "name": "status", "kind": 1024, "kindString": "Property", @@ -2178,7 +2178,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2187,12 +2187,12 @@ { "title": "Constructors", "kind": 512, - "children": [1282] + "children": [1359] }, { "title": "Properties", "kind": 1024, - "children": [1288, 1286, 1287] + "children": [1365, 1363, 1364] } ], "sources": [ @@ -2205,20 +2205,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1203, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2232,31 +2232,31 @@ ], "signatures": [ { - "id": 1204, + "id": 1281, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1207, + "id": 1284, "name": "code", "kind": 1024, "kindString": "Property", @@ -2288,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 1208, + "id": 1285, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2305,12 +2305,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1205, + "id": 1282, "name": "name", "kind": 1024, "kindString": "Property", @@ -2328,12 +2328,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1206, + "id": 1283, "name": "status", "kind": 1024, "kindString": "Property", @@ -2354,7 +2354,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2363,12 +2363,12 @@ { "title": "Constructors", "kind": 512, - "children": [1203] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1207, 1205, 1206] + "children": [1284, 1282, 1283] } ], "sources": [ @@ -2381,20 +2381,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1180, + "id": 1257, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1181, + "id": 1258, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2408,14 +2408,14 @@ ], "signatures": [ { - "id": 1182, + "id": 1259, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1183, + "id": 1260, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2426,7 +2426,7 @@ } }, { - "id": 1184, + "id": 1261, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2439,24 +2439,24 @@ ], "type": { "type": "reference", - "id": 1180, + "id": 1257, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1186, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -2488,7 +2488,7 @@ { "type": "reflection", "declaration": { - "id": 1187, + "id": 1264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2505,12 +2505,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1185, + "id": 1262, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2528,7 +2528,7 @@ } }, { - "id": 1188, + "id": 1265, "name": "status", "kind": 1024, "kindString": "Property", @@ -2558,7 +2558,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -2567,12 +2567,12 @@ { "title": "Constructors", "kind": 512, - "children": [1181] + "children": [1258] }, { "title": "Properties", "kind": 1024, - "children": [1186, 1185, 1188] + "children": [1263, 1262, 1265] } ], "sources": [ @@ -2585,13 +2585,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] }, { - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -2601,7 +2601,7 @@ }, "children": [ { - "id": 1292, + "id": 1369, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2615,14 +2615,14 @@ ], "signatures": [ { - "id": 1293, + "id": 1370, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1294, + "id": 1371, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2633,7 +2633,7 @@ } }, { - "id": 1295, + "id": 1372, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2644,7 +2644,7 @@ } }, { - "id": 1296, + "id": 1373, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -2660,24 +2660,24 @@ ], "type": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1192, + "id": 1269, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1191, + "id": 1268, "name": "CustomAuthError.constructor" } }, { - "id": 1300, + "id": 1377, "name": "code", "kind": 1024, "kindString": "Property", @@ -2709,7 +2709,7 @@ { "type": "reflection", "declaration": { - "id": 1301, + "id": 1378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2726,12 +2726,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1199, + "id": 1276, "name": "CustomAuthError.code" } }, { - "id": 1298, + "id": 1375, "name": "name", "kind": 1024, "kindString": "Property", @@ -2749,12 +2749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1197, + "id": 1274, "name": "CustomAuthError.name" } }, { - "id": 1297, + "id": 1374, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -2773,13 +2773,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } }, { - "id": 1299, + "id": 1376, "name": "status", "kind": 1024, "kindString": "Property", @@ -2800,7 +2800,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1198, + "id": 1275, "name": "CustomAuthError.status" } } @@ -2809,12 +2809,12 @@ { "title": "Constructors", "kind": 512, - "children": [1292] + "children": [1369] }, { "title": "Properties", "kind": 1024, - "children": [1300, 1298, 1297, 1299] + "children": [1377, 1375, 1374, 1376] } ], "sources": [ @@ -2827,20 +2827,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" } ] }, { - "id": 1190, + "id": 1267, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1191, + "id": 1268, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2854,14 +2854,14 @@ ], "signatures": [ { - "id": 1192, + "id": 1269, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1193, + "id": 1270, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2872,7 +2872,7 @@ } }, { - "id": 1194, + "id": 1271, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2883,7 +2883,7 @@ } }, { - "id": 1195, + "id": 1272, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2894,7 +2894,7 @@ } }, { - "id": 1196, + "id": 1273, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -2916,24 +2916,24 @@ ], "type": { "type": "reference", - "id": 1190, + "id": 1267, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1162, + "id": 1239, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1161, + "id": 1238, "name": "AuthError.constructor" } }, { - "id": 1199, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -2965,7 +2965,7 @@ { "type": "reflection", "declaration": { - "id": 1200, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2982,12 +2982,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1166, + "id": 1243, "name": "AuthError.code" } }, { - "id": 1197, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -3009,7 +3009,7 @@ } }, { - "id": 1198, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -3030,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1168, + "id": 1245, "name": "AuthError.status" } } @@ -3039,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1191] + "children": [1268] }, { "title": "Properties", "kind": 1024, - "children": [1199, 1197, 1198] + "children": [1276, 1274, 1275] } ], "sources": [ @@ -3057,49 +3057,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1210, + "id": 1287, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1218, + "id": 1295, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1254, + "id": 1331, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1303, + "id": 1380, "name": "AuthInvalidJwtError" } ] @@ -3120,7 +3120,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -3158,7 +3158,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 44, + "line": 46, "character": 4 } ], @@ -3248,7 +3248,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 41, + "line": 43, "character": 4 } ], @@ -3295,7 +3295,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 40, + "line": 42, "character": 4 } ], @@ -3336,16 +3336,16 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 29, "character": 2 } ], "type": { "type": "reference", - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -3361,14 +3361,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -3388,17 +3388,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -3414,21 +3414,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -3439,7 +3439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -3449,7 +3449,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3460,7 +3460,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -3474,13 +3474,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -3495,7 +3495,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -3507,14 +3507,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -3524,17 +3524,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -3550,21 +3550,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3575,7 +3575,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -3589,13 +3589,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -3610,7 +3610,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -3626,13 +3626,13 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] @@ -3648,7 +3648,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 152, + "line": 160, "character": 8 } ], @@ -3671,17 +3671,17 @@ "flags": {}, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -3695,7 +3695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -3705,7 +3705,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -3719,7 +3719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -3729,7 +3729,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -3742,7 +3742,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -3756,7 +3756,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -3770,7 +3770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -3780,7 +3780,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -3794,7 +3794,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -3804,7 +3804,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -3818,7 +3818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -3832,7 +3832,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -3845,7 +3845,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -3859,7 +3859,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -3873,7 +3873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -3883,7 +3883,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -3896,7 +3896,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -3910,7 +3910,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -3924,7 +3924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -3934,7 +3934,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -3948,7 +3948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -3958,7 +3958,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -3972,7 +3972,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -3986,13 +3986,13 @@ { "title": "Properties", "kind": 1024, - "children": [730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729] + "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -4002,7 +4002,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -4024,7 +4024,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -4044,7 +4044,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 268, + "line": 280, "character": 8 } ], @@ -4094,7 +4094,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -4114,7 +4114,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 118, + "line": 126, "character": 8 } ], @@ -4137,10 +4137,10 @@ "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 974, "name": "GenerateLinkParams", "dereferenced": { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4148,7 +4148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -4156,7 +4156,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4164,21 +4164,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -4186,7 +4186,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -4196,7 +4196,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -4206,7 +4206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -4215,7 +4215,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -4238,7 +4238,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -4246,7 +4246,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -4256,7 +4256,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -4264,7 +4264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -4278,13 +4278,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -4292,7 +4292,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4300,21 +4300,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -4325,7 +4325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -4335,7 +4335,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -4345,7 +4345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -4354,7 +4354,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -4377,7 +4377,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -4385,7 +4385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -4408,13 +4408,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -4422,7 +4422,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4430,21 +4430,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -4455,7 +4455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -4465,7 +4465,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -4475,7 +4475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -4484,7 +4484,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -4498,7 +4498,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -4506,7 +4506,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -4520,13 +4520,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -4534,7 +4534,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4542,21 +4542,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -4567,7 +4567,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -4577,7 +4577,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -4588,7 +4588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -4598,7 +4598,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -4608,7 +4608,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -4617,7 +4617,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -4631,7 +4631,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -4639,7 +4639,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -4662,13 +4662,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -4686,7 +4686,7 @@ "typeArguments": [ { "type": "reference", - "id": 900, + "id": 975, "name": "GenerateLinkResponse" } ], @@ -4706,7 +4706,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 221, + "line": 229, "character": 8 } ], @@ -4741,7 +4741,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -4761,7 +4761,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 85, + "line": 93, "character": 8 } ], @@ -4822,7 +4822,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 89, + "line": 97, "character": 6 } ], @@ -4845,7 +4845,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 92, + "line": 100, "character": 6 } ], @@ -4872,7 +4872,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -4892,7 +4892,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 174, + "line": 182, "character": 8 } ], @@ -4921,10 +4921,10 @@ }, "type": { "type": "reference", - "id": 1071, + "id": 1146, "name": "PageParams", "dereferenced": { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -4932,21 +4932,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -4959,7 +4959,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -4969,7 +4969,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -4982,7 +4982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -4996,13 +4996,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -5036,7 +5036,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 8 } ], @@ -5061,7 +5061,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 31 } ], @@ -5079,7 +5079,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 16 } ], @@ -5087,7 +5087,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -5104,7 +5104,7 @@ }, { "type": "reference", - "id": 1064, + "id": 1139, "name": "Pagination" } ] @@ -5119,7 +5119,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 59 } ], @@ -5156,7 +5156,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 8 } ], @@ -5178,7 +5178,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 16 } ], @@ -5206,13 +5206,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 29 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -5245,7 +5245,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 60, + "line": 62, "character": 8 } ], @@ -5300,7 +5300,7 @@ } ] }, - "defaultValue": "'global'" + "defaultValue": "..." } ], "type": { @@ -5324,7 +5324,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 15 } ], @@ -5342,7 +5342,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 27 } ], @@ -5355,7 +5355,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -5388,7 +5388,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 243, + "line": 253, "character": 8 } ], @@ -5425,17 +5425,17 @@ }, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -5449,7 +5449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -5459,7 +5459,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -5473,7 +5473,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -5483,7 +5483,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -5496,7 +5496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -5510,7 +5510,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -5524,7 +5524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -5534,7 +5534,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -5548,7 +5548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -5558,7 +5558,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -5572,7 +5572,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -5586,7 +5586,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -5599,7 +5599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -5613,7 +5613,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -5627,7 +5627,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -5637,7 +5637,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5650,7 +5650,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -5664,7 +5664,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -5678,7 +5678,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -5688,7 +5688,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -5702,7 +5702,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -5712,7 +5712,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -5726,7 +5726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -5740,13 +5740,13 @@ { "title": "Properties", "kind": 1024, - "children": [730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729] + "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -5756,7 +5756,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -5778,7 +5778,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -5810,7 +5810,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 25, + "line": 27, "character": 21 } ] @@ -5831,7 +5831,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 193, + "line": 229, "character": 2 } ], @@ -5854,10 +5854,10 @@ "flags": {}, "type": { "type": "reference", - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "dereferenced": { - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -5865,21 +5865,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 578, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -5889,7 +5889,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 67, + "line": 68, "character": 2 } ], @@ -5899,7 +5899,7 @@ } }, { - "id": 541, + "id": 584, "name": "debug", "kind": 1024, "kindString": "Property", @@ -5909,7 +5909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 2 } ], @@ -5923,7 +5923,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5931,20 +5931,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 21 } ], "signatures": [ { - "id": 543, + "id": 586, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 587, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5955,7 +5955,7 @@ } }, { - "id": 545, + "id": 588, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -5983,7 +5983,7 @@ } }, { - "id": 535, + "id": 577, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -5993,7 +5993,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 66, "character": 2 } ], @@ -6003,7 +6003,7 @@ } }, { - "id": 539, + "id": 582, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -6013,7 +6013,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 82, "character": 2 } ], @@ -6023,7 +6023,7 @@ } }, { - "id": 540, + "id": 583, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -6033,16 +6033,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 84, "character": 2 } ], "type": { "type": "reference", - "id": 802, + "id": 846, "name": "AuthFlowType", "dereferenced": { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -6050,7 +6050,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -6071,7 +6071,7 @@ } }, { - "id": 547, + "id": 590, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -6090,7 +6090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 97, "character": 2 } ], @@ -6100,7 +6100,7 @@ } }, { - "id": 530, + "id": 572, "name": "headers", "kind": 1024, "kindString": "Property", @@ -6110,14 +6110,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6125,19 +6125,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 12 } ], "indexSignature": { - "id": 532, + "id": 574, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 533, + "id": 575, "name": "key", "kind": 32768, "flags": {}, @@ -6156,7 +6156,7 @@ } }, { - "id": 546, + "id": 589, "name": "lock", "kind": 1024, "kindString": "Property", @@ -6175,16 +6175,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 92, "character": 2 } ], "type": { "type": "reference", - "id": 518, + "id": 560, "name": "LockFunc", "dereferenced": { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -6192,14 +6192,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6207,13 +6207,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6229,7 +6229,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -6238,7 +6238,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -6252,7 +6252,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -6266,7 +6266,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -6277,7 +6277,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6285,13 +6285,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6301,7 +6301,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -6320,7 +6320,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -6336,7 +6336,7 @@ } }, { - "id": 537, + "id": 579, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -6346,7 +6346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 2 } ], @@ -6356,7 +6356,7 @@ } }, { - "id": 538, + "id": 580, "name": "storage", "kind": 1024, "kindString": "Property", @@ -6366,16 +6366,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 2 } ], "type": { "type": "reference", - "id": 1051, + "id": 1126, "name": "SupportedStorage", "dereferenced": { - "id": 1051, + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -6383,7 +6383,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -6430,14 +6430,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -6450,7 +6450,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -6464,13 +6464,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -6482,7 +6482,7 @@ } }, { - "id": 534, + "id": 576, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -6492,7 +6492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -6502,7 +6502,7 @@ } }, { - "id": 529, + "id": 571, "name": "url", "kind": 1024, "kindString": "Property", @@ -6512,7 +6512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -6520,6 +6520,142 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 581, + "name": "userStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, `storage` will only store a JSON object containing the access and refresh token and some adjacent metadata, while `userStorage` will only contain the user object under the key `storageKey + '-user'`.", + "text": "When this option is set and cookie storage is used, `getSession()` and other functions that load a session from the cookie store might not return back a user. It's very important to always use `getUser()` to fetch a user object in those scenarios.\n", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1126, + "name": "SupportedStorage", + "dereferenced": { + "id": 1126, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1140, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Storage", + "package": "typescript", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "PromisifyMethods" + }, + { + "type": "reflection", + "declaration": { + "id": 1127, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1128, + "name": "isServer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1150, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1128] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1142, + "character": 4 + } + ] + } + } + ] + } + } + } } ], "groups": [ @@ -6527,14 +6663,14 @@ "title": "Properties", "kind": 1024, "children": [ - 536, 541, 535, 539, 540, 547, 530, 546, 537, 538, 534, 529 + 578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 34 } ] @@ -6564,7 +6700,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 139, + "line": 156, "character": 2 } ], @@ -6588,7 +6724,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -6626,7 +6762,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 44, + "line": 46, "character": 4 } ], @@ -6716,7 +6852,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 41, + "line": 43, "character": 4 } ], @@ -6763,7 +6899,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 40, + "line": 42, "character": 4 } ], @@ -6804,16 +6940,16 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 29, "character": 2 } ], "type": { "type": "reference", - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -6829,14 +6965,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -6856,17 +6992,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -6882,21 +7018,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -6907,7 +7043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -6917,7 +7053,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -6928,7 +7064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -6942,13 +7078,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -6963,7 +7099,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -6975,14 +7111,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -6992,17 +7128,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -7018,21 +7154,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -7043,7 +7179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -7057,13 +7193,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -7078,7 +7214,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -7094,13 +7230,13 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] @@ -7116,7 +7252,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 152, + "line": 160, "character": 8 } ], @@ -7139,17 +7275,17 @@ "flags": {}, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7163,7 +7299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -7173,7 +7309,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7187,7 +7323,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -7197,7 +7333,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -7210,7 +7346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -7224,7 +7360,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7238,7 +7374,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -7248,7 +7384,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -7262,7 +7398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -7272,7 +7408,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -7286,7 +7422,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -7300,7 +7436,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -7313,7 +7449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -7327,7 +7463,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -7341,7 +7477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -7351,7 +7487,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7364,7 +7500,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -7378,7 +7514,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7392,7 +7528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -7402,7 +7538,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -7416,7 +7552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -7426,7 +7562,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7440,7 +7576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -7455,14 +7591,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -7472,7 +7608,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -7494,7 +7630,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -7514,7 +7650,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 268, + "line": 280, "character": 8 } ], @@ -7564,7 +7700,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -7584,7 +7720,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 118, + "line": 126, "character": 8 } ], @@ -7607,10 +7743,10 @@ "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 974, "name": "GenerateLinkParams", "dereferenced": { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7618,7 +7754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -7626,7 +7762,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7634,21 +7770,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -7656,7 +7792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -7666,7 +7802,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -7676,7 +7812,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -7685,7 +7821,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -7708,7 +7844,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -7716,7 +7852,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -7726,7 +7862,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -7734,7 +7870,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -7748,13 +7884,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -7762,7 +7898,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7770,21 +7906,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -7795,7 +7931,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -7805,7 +7941,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -7815,7 +7951,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -7824,7 +7960,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -7847,7 +7983,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -7855,7 +7991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -7878,13 +8014,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -7892,7 +8028,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7900,21 +8036,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -7925,7 +8061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -7935,7 +8071,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -7945,7 +8081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -7954,7 +8090,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -7968,7 +8104,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -7976,7 +8112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -7990,13 +8126,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -8004,7 +8140,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8012,21 +8148,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -8037,7 +8173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -8047,7 +8183,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -8058,7 +8194,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -8068,7 +8204,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -8078,7 +8214,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -8087,7 +8223,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -8101,7 +8237,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -8109,7 +8245,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -8132,13 +8268,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -8156,7 +8292,7 @@ "typeArguments": [ { "type": "reference", - "id": 900, + "id": 975, "name": "GenerateLinkResponse" } ], @@ -8176,7 +8312,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 221, + "line": 229, "character": 8 } ], @@ -8211,7 +8347,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -8231,7 +8367,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 85, + "line": 93, "character": 8 } ], @@ -8292,7 +8428,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 89, + "line": 97, "character": 6 } ], @@ -8315,7 +8451,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 92, + "line": 100, "character": 6 } ], @@ -8342,7 +8478,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -8362,7 +8498,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 174, + "line": 182, "character": 8 } ], @@ -8391,10 +8527,10 @@ }, "type": { "type": "reference", - "id": 1071, + "id": 1146, "name": "PageParams", "dereferenced": { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -8402,21 +8538,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -8429,7 +8565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -8439,7 +8575,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -8452,7 +8588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -8466,13 +8602,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -8506,7 +8642,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 8 } ], @@ -8531,7 +8667,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 31 } ], @@ -8549,7 +8685,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 16 } ], @@ -8557,7 +8693,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -8574,7 +8710,7 @@ }, { "type": "reference", - "id": 1064, + "id": 1139, "name": "Pagination" } ] @@ -8589,7 +8725,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 177, + "line": 185, "character": 59 } ], @@ -8626,7 +8762,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 8 } ], @@ -8648,7 +8784,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 16 } ], @@ -8676,13 +8812,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 178, + "line": 186, "character": 29 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -8715,7 +8851,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 60, + "line": 62, "character": 8 } ], @@ -8770,7 +8906,7 @@ } ] }, - "defaultValue": "'global'" + "defaultValue": "..." } ], "type": { @@ -8794,7 +8930,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 15 } ], @@ -8812,7 +8948,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 63, + "line": 65, "character": 27 } ], @@ -8825,7 +8961,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -8858,7 +8994,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 243, + "line": 253, "character": 8 } ], @@ -8895,17 +9031,17 @@ }, "type": { "type": "reference", - "id": 728, + "id": 772, "name": "AdminUserAttributes", "dereferenced": { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8919,7 +9055,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -8929,7 +9065,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -8943,7 +9079,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -8953,7 +9089,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -8966,7 +9102,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -8980,7 +9116,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8994,7 +9130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -9004,7 +9140,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -9018,7 +9154,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -9028,7 +9164,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -9042,7 +9178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -9056,7 +9192,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -9069,7 +9205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -9083,7 +9219,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -9097,7 +9233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -9107,7 +9243,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9120,7 +9256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -9134,7 +9270,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -9148,7 +9284,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -9158,7 +9294,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -9172,7 +9308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -9182,7 +9318,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9196,7 +9332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -9211,14 +9347,14 @@ "title": "Properties", "kind": 1024, "children": [ - 730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729 + 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -9228,7 +9364,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -9250,7 +9386,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -9282,7 +9418,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 25, + "line": 27, "character": 21 } ] @@ -9301,16 +9437,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 143, + "line": 160, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "dereferenced": { - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -9320,14 +9456,14 @@ }, "children": [ { - "id": 1003, + "id": 1078, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1004, + "id": 1079, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -9337,17 +9473,17 @@ }, "parameters": [ { - "id": 1005, + "id": 1080, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "dereferenced": { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -9355,21 +9491,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -9382,7 +9518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -9401,7 +9537,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9412,7 +9548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -9426,13 +9562,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -9447,7 +9583,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 1036, "name": "AuthMFAChallengeResponse" } ], @@ -9459,14 +9595,14 @@ ] }, { - "id": 1012, + "id": 1087, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1013, + "id": 1088, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -9476,17 +9612,17 @@ }, "parameters": [ { - "id": 1014, + "id": 1089, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -9494,21 +9630,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -9519,7 +9655,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -9529,7 +9665,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9540,7 +9676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -9554,13 +9690,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -9575,7 +9711,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -9587,14 +9723,14 @@ ] }, { - "id": 996, + "id": 1071, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 997, + "id": 1072, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -9605,17 +9741,17 @@ }, "parameters": [ { - "id": 998, + "id": 1073, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -9623,21 +9759,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9648,7 +9784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -9658,7 +9794,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9671,7 +9807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -9681,7 +9817,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -9694,7 +9830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -9708,13 +9844,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -9729,7 +9865,7 @@ "typeArguments": [ { "type": "reference", - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -9739,24 +9875,24 @@ } }, { - "id": 999, + "id": 1074, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1000, + "id": 1075, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -9764,21 +9900,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9789,7 +9925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -9799,7 +9935,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9812,7 +9948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -9822,7 +9958,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9833,7 +9969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -9847,13 +9983,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -9868,7 +10004,7 @@ "typeArguments": [ { "type": "reference", - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -9878,24 +10014,24 @@ } }, { - "id": 1001, + "id": 1076, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1002, + "id": 1077, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 921, + "id": 996, "name": "MFAEnrollParams", "dereferenced": { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -9903,7 +10039,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -9911,7 +10047,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -9919,21 +10055,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9944,7 +10080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -9954,7 +10090,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9967,7 +10103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -9977,7 +10113,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -9990,7 +10126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -10004,13 +10140,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -10018,7 +10154,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -10026,21 +10162,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -10051,7 +10187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -10061,7 +10197,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -10074,7 +10210,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -10084,7 +10220,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10095,7 +10231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -10109,13 +10245,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -10133,7 +10269,7 @@ "typeArguments": [ { "type": "reference", - "id": 951, + "id": 1026, "name": "AuthMFAEnrollResponse" } ], @@ -10145,14 +10281,14 @@ ] }, { - "id": 1017, + "id": 1092, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1018, + "id": 1093, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -10166,7 +10302,7 @@ "typeArguments": [ { "type": "reference", - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -10178,14 +10314,14 @@ ] }, { - "id": 1015, + "id": 1090, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1016, + "id": 1091, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10212,7 +10348,7 @@ "typeArguments": [ { "type": "reference", - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse" } ], @@ -10224,14 +10360,14 @@ ] }, { - "id": 1009, + "id": 1084, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1010, + "id": 1085, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -10241,17 +10377,17 @@ }, "parameters": [ { - "id": 1011, + "id": 1086, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "dereferenced": { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -10259,21 +10395,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10284,7 +10420,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -10298,13 +10434,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -10319,7 +10455,7 @@ "typeArguments": [ { "type": "reference", - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse" } ], @@ -10331,14 +10467,14 @@ ] }, { - "id": 1006, + "id": 1081, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1007, + "id": 1082, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -10348,17 +10484,17 @@ }, "parameters": [ { - "id": 1008, + "id": 1083, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "dereferenced": { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -10366,21 +10502,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -10391,7 +10527,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -10401,7 +10537,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -10412,7 +10548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -10422,7 +10558,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10433,7 +10569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -10447,13 +10583,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -10468,7 +10604,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -10484,13 +10620,13 @@ { "title": "Methods", "kind": 2048, - "children": [1003, 1012, 996, 1017, 1015, 1009, 1006] + "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 935, + "line": 998, "character": 17 } ] @@ -10498,7 +10634,7 @@ } }, { - "id": 148, + "id": 157, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -10506,13 +10642,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 596, + "line": 640, "character": 8 } ], "signatures": [ { - "id": 149, + "id": 158, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -10522,7 +10658,7 @@ }, "parameters": [ { - "id": 150, + "id": 159, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -10538,7 +10674,7 @@ "typeArguments": [ { "type": "reference", - "id": 596, + "id": 639, "name": "AuthTokenResponse" } ], @@ -10550,7 +10686,7 @@ ] }, { - "id": 478, + "id": 508, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -10558,76 +10694,167 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2642, + "line": 3025, "character": 8 } ], "signatures": [ { - "id": 479, + "id": 509, "name": "getClaims", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "tags": [ - { - "tag": "experimental", - "text": "This method may change in future versions." - }, - { - "tag": "description", - "text": "Gets the claims from a JWT. If the JWT is symmetric JWTs, it will call getUser() to verify against the server. If the JWT is asymmetric, it will be verified against the JWKS using the WebCrypto API.\n" - } - ] + "shortText": "Extracts the JWT claims present in the access token by first verifying the\nJWT against the server's JSON Web Key Set endpoint\n`/.well-known/jwks.json` which is often cached, resulting in significantly\nfaster responses. Prefer this method over {@link #getUser} which always\nsends a request to the Auth server for each JWT.", + "text": "If the project is not using an asymmetric JWT signing key (like ECC or\nRSA) it always sends a request to the Auth server (similar to {@link\n#getUser}) to verify the JWT.\n" }, "parameters": [ { - "id": 480, + "id": 510, "name": "jwt", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "An optional specific JWT you wish to verify, not the one you\n can obtain from {@link #getSession}." + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 481, - "name": "jwks", + "id": 511, + "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, + "comment": { + "shortText": "Various additional options that allow you to customize the\n behavior of this method.\n" + }, "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, - "name": "keys", + "id": 514, + "name": "allowExpired", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` the `exp` claim will not be validated against the current time." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2644, - "character": 12 + "line": 3034, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 515, + "name": "jwks", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set, this JSON Web Key Set is going to have precedence over the cached value available on the server." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 517, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3037, + "character": 15 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1210, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ] + } + } + }, + { + "id": 513, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Please use options.jwks instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 3031, + "character": 6 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 1135, + "id": 1210, "name": "JWK" } } @@ -10637,12 +10864,12 @@ { "title": "Properties", "kind": 1024, - "children": [483] + "children": [514, 515, 513] } ] } }, - "defaultValue": "..." + "defaultValue": "{}" } ], "type": { @@ -10654,14 +10881,14 @@ { "type": "reflection", "declaration": { - "id": 484, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -10669,21 +10896,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 486, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 487, + "id": 521, "name": "claims", "kind": 1024, "kindString": "Property", @@ -10691,18 +10918,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 16 } ], "type": { "type": "reference", - "id": 1131, + "id": 1206, "name": "JwtPayload" } }, { - "id": 488, + "id": 522, "name": "header", "kind": 1024, "kindString": "Property", @@ -10710,18 +10937,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 36 } ], "type": { "type": "reference", - "id": 1116, + "id": 1191, "name": "JwtHeader" } }, { - "id": 489, + "id": 523, "name": "signature", "kind": 1024, "kindString": "Property", @@ -10729,7 +10956,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2647, + "line": 3041, "character": 55 } ], @@ -10745,14 +10972,14 @@ { "title": "Properties", "kind": 1024, - "children": [487, 488, 489] + "children": [521, 522, 523] } ] } } }, { - "id": 490, + "id": 524, "name": "error", "kind": 1024, "kindString": "Property", @@ -10760,7 +10987,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2648, + "line": 3042, "character": 8 } ], @@ -10774,7 +11001,7 @@ { "title": "Properties", "kind": 1024, - "children": [485, 490] + "children": [519, 524] } ] } @@ -10782,14 +11009,14 @@ { "type": "reflection", "declaration": { - "id": 491, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 526, "name": "data", "kind": 1024, "kindString": "Property", @@ -10797,7 +11024,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 8 } ], @@ -10807,7 +11034,7 @@ } }, { - "id": 493, + "id": 527, "name": "error", "kind": 1024, "kindString": "Property", @@ -10815,13 +11042,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2650, + "line": 3044, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -10830,7 +11057,7 @@ { "title": "Properties", "kind": 1024, - "children": [492, 493] + "children": [526, 527] } ] } @@ -10838,14 +11065,14 @@ { "type": "reflection", "declaration": { - "id": 494, + "id": 528, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "id": 529, "name": "data", "kind": 1024, "kindString": "Property", @@ -10853,7 +11080,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 8 } ], @@ -10863,7 +11090,7 @@ } }, { - "id": 496, + "id": 530, "name": "error", "kind": 1024, "kindString": "Property", @@ -10871,7 +11098,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2651, + "line": 3045, "character": 20 } ], @@ -10885,7 +11112,7 @@ { "title": "Properties", "kind": 1024, - "children": [495, 496] + "children": [529, 530] } ] } @@ -10901,7 +11128,7 @@ ] }, { - "id": 187, + "id": 217, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -10909,13 +11136,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 947, + "line": 1199, "character": 8 } ], "signatures": [ { - "id": 188, + "id": 218, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -10933,14 +11160,14 @@ { "type": "reflection", "declaration": { - "id": 189, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 190, + "id": 220, "name": "data", "kind": 1024, "kindString": "Property", @@ -10948,21 +11175,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1040, + "line": 1292, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 222, "name": "session", "kind": 1024, "kindString": "Property", @@ -10970,13 +11197,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1293, "character": 14 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -10985,14 +11212,14 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [222] } ] } } }, { - "id": 193, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -11000,7 +11227,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1295, "character": 12 } ], @@ -11014,7 +11241,7 @@ { "title": "Properties", "kind": 1024, - "children": [190, 193] + "children": [220, 223] } ] } @@ -11022,14 +11249,14 @@ { "type": "reflection", "declaration": { - "id": 194, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 195, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -11037,21 +11264,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1298, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 226, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 227, "name": "session", "kind": 1024, "kindString": "Property", @@ -11059,7 +11286,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1047, + "line": 1299, "character": 14 } ], @@ -11073,14 +11300,14 @@ { "title": "Properties", "kind": 1024, - "children": [197] + "children": [227] } ] } } }, { - "id": 198, + "id": 228, "name": "error", "kind": 1024, "kindString": "Property", @@ -11088,13 +11315,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1049, + "line": 1301, "character": 12 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -11103,7 +11330,7 @@ { "title": "Properties", "kind": 1024, - "children": [195, 198] + "children": [225, 228] } ] } @@ -11111,14 +11338,14 @@ { "type": "reflection", "declaration": { - "id": 199, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 200, + "id": 230, "name": "data", "kind": 1024, "kindString": "Property", @@ -11126,21 +11353,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1052, + "line": 1304, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 232, "name": "session", "kind": 1024, "kindString": "Property", @@ -11148,7 +11375,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1053, + "line": 1305, "character": 14 } ], @@ -11162,14 +11389,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [232] } ] } } }, { - "id": 203, + "id": 233, "name": "error", "kind": 1024, "kindString": "Property", @@ -11177,7 +11404,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1055, + "line": 1307, "character": 12 } ], @@ -11191,7 +11418,7 @@ { "title": "Properties", "kind": 1024, - "children": [200, 203] + "children": [230, 233] } ] } @@ -11207,7 +11434,7 @@ ] }, { - "id": 250, + "id": 280, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -11215,13 +11442,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1178, + "line": 1443, "character": 8 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -11231,7 +11458,7 @@ }, "parameters": [ { - "id": 252, + "id": 282, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11252,7 +11479,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -11264,7 +11491,7 @@ ] }, { - "id": 359, + "id": 389, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -11272,13 +11499,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1736, + "line": 2001, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 390, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -11295,14 +11522,14 @@ { "type": "reflection", "declaration": { - "id": 361, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 362, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -11310,21 +11537,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 2003, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 363, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 364, + "id": 394, "name": "identities", "kind": 1024, "kindString": "Property", @@ -11332,7 +11559,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1739, + "line": 2004, "character": 10 } ], @@ -11340,7 +11567,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity" } } @@ -11350,14 +11577,14 @@ { "title": "Properties", "kind": 1024, - "children": [364] + "children": [394] } ] } } }, { - "id": 365, + "id": 395, "name": "error", "kind": 1024, "kindString": "Property", @@ -11365,7 +11592,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1741, + "line": 2006, "character": 8 } ], @@ -11379,7 +11606,7 @@ { "title": "Properties", "kind": 1024, - "children": [362, 365] + "children": [392, 395] } ] } @@ -11387,14 +11614,14 @@ { "type": "reflection", "declaration": { - "id": 366, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 397, "name": "data", "kind": 1024, "kindString": "Property", @@ -11402,7 +11629,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 8 } ], @@ -11412,7 +11639,7 @@ } }, { - "id": 368, + "id": 398, "name": "error", "kind": 1024, "kindString": "Property", @@ -11420,13 +11647,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1743, + "line": 2008, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -11435,7 +11662,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [397, 398] } ] } @@ -11451,7 +11678,7 @@ ] }, { - "id": 132, + "id": 141, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -11459,13 +11686,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 298, + "line": 342, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 142, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -11478,7 +11705,7 @@ "typeArguments": [ { "type": "reference", - "id": 1054, + "id": 1129, "name": "InitializeResult" } ], @@ -11490,7 +11717,7 @@ ] }, { - "id": 369, + "id": 399, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -11498,13 +11725,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1760, + "line": 2025, "character": 8 } ], "signatures": [ { - "id": 370, + "id": 400, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -11514,17 +11741,17 @@ }, "parameters": [ { - "id": 371, + "id": 401, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11532,21 +11759,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -11556,21 +11783,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -11583,14 +11810,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11598,19 +11825,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -11629,7 +11856,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11642,7 +11869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -11652,7 +11879,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -11665,7 +11892,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -11675,7 +11902,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -11688,7 +11915,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -11702,13 +11929,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -11716,7 +11943,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11727,16 +11954,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -11747,7 +11974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -11852,13 +12079,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -11873,7 +12100,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -11885,7 +12112,7 @@ ] }, { - "id": 331, + "id": 361, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -11893,13 +12120,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1634, + "line": 1899, "character": 2 } ], "signatures": [ { - "id": 332, + "id": 362, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -11909,7 +12136,7 @@ }, "parameters": [ { - "id": 333, + "id": 363, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11920,33 +12147,33 @@ "type": { "type": "reflection", "declaration": { - "id": 334, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 335, + "id": 365, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 366, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent" } }, { - "id": 337, + "id": 367, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -11960,7 +12187,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -11997,14 +12224,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 369, "name": "data", "kind": 1024, "kindString": "Property", @@ -12012,21 +12239,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -12034,23 +12261,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1637, + "line": 1902, "character": 12 } ], "type": { "type": "reference", - "id": 741, + "id": 785, "name": "Subscription", "dereferenced": { - "id": 741, + "id": 785, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 742, + "id": 786, "name": "id", "kind": 1024, "kindString": "Property", @@ -12061,7 +12288,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 477, "character": 2 } ], @@ -12071,7 +12298,7 @@ } }, { - "id": 743, + "id": 787, "name": "callback", "kind": 2048, "kindString": "Method", @@ -12079,13 +12306,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 481, "character": 2 } ], "signatures": [ { - "id": 744, + "id": 788, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -12095,17 +12322,17 @@ }, "parameters": [ { - "id": 745, + "id": 789, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent", "dereferenced": { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -12113,7 +12340,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -12145,7 +12372,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -12153,7 +12380,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -12168,7 +12395,7 @@ } }, { - "id": 746, + "id": 790, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -12182,7 +12409,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -12197,7 +12424,7 @@ ] }, { - "id": 747, + "id": 791, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -12205,13 +12432,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 485, "character": 2 } ], "signatures": [ { - "id": 748, + "id": 792, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -12231,18 +12458,18 @@ { "title": "Properties", "kind": 1024, - "children": [742] + "children": [786] }, { "title": "Methods", "kind": 2048, - "children": [743, 747] + "children": [787, 791] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 459, + "line": 473, "character": 17 } ] @@ -12254,7 +12481,7 @@ { "title": "Properties", "kind": 1024, - "children": [341] + "children": [371] } ] } @@ -12265,7 +12492,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [369] } ] } @@ -12274,7 +12501,7 @@ ] }, { - "id": 180, + "id": 210, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -12282,13 +12509,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 863, + "line": 1115, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 211, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -12301,7 +12528,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -12313,7 +12540,7 @@ ] }, { - "id": 280, + "id": 310, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -12321,13 +12548,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 311, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -12337,7 +12564,7 @@ }, "parameters": [ { - "id": 282, + "id": 312, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -12350,14 +12577,14 @@ "type": { "type": "reflection", "declaration": { - "id": 283, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 284, + "id": 314, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -12365,7 +12592,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1383, + "line": 1648, "character": 42 } ], @@ -12379,7 +12606,7 @@ { "title": "Properties", "kind": 1024, - "children": [284] + "children": [314] } ] } @@ -12391,7 +12618,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -12403,7 +12630,7 @@ ] }, { - "id": 184, + "id": 214, "name": "resend", "kind": 2048, "kindString": "Method", @@ -12411,13 +12638,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 898, + "line": 1150, "character": 8 } ], "signatures": [ { - "id": 185, + "id": 215, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -12427,17 +12654,17 @@ }, "parameters": [ { - "id": 186, + "id": 216, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 922, "name": "ResendParams", "dereferenced": { - "id": 847, + "id": 922, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -12445,7 +12672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 728, "character": 12 } ], @@ -12455,14 +12682,14 @@ { "type": "reflection", "declaration": { - "id": 848, + "id": 923, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 925, "name": "email", "kind": 1024, "kindString": "Property", @@ -12470,7 +12697,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 731, "character": 6 } ], @@ -12480,7 +12707,7 @@ } }, { - "id": 851, + "id": 926, "name": "options", "kind": 1024, "kindString": "Property", @@ -12490,21 +12717,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 927, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 929, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12517,7 +12744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 736, "character": 8 } ], @@ -12527,7 +12754,7 @@ } }, { - "id": 853, + "id": 928, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12540,7 +12767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 734, "character": 8 } ], @@ -12554,13 +12781,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 853] + "children": [929, 928] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 16 } ] @@ -12568,7 +12795,7 @@ } }, { - "id": 849, + "id": 924, "name": "type", "kind": 1024, "kindString": "Property", @@ -12576,7 +12803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 667, + "line": 730, "character": 6 } ], @@ -12585,7 +12812,7 @@ "typeArguments": [ { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" }, { @@ -12612,13 +12839,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 851, 849] + "children": [925, 926, 924] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 729, "character": 4 } ] @@ -12627,14 +12854,14 @@ { "type": "reflection", "declaration": { - "id": 855, + "id": 930, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 858, + "id": 933, "name": "options", "kind": 1024, "kindString": "Property", @@ -12644,21 +12871,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 859, + "id": 934, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 935, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12671,7 +12898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 744, "character": 8 } ], @@ -12685,13 +12912,13 @@ { "title": "Properties", "kind": 1024, - "children": [860] + "children": [935] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 16 } ] @@ -12699,7 +12926,7 @@ } }, { - "id": 857, + "id": 932, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12707,7 +12934,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 741, "character": 6 } ], @@ -12717,7 +12944,7 @@ } }, { - "id": 856, + "id": 931, "name": "type", "kind": 1024, "kindString": "Property", @@ -12725,7 +12952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 677, + "line": 740, "character": 6 } ], @@ -12734,7 +12961,7 @@ "typeArguments": [ { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" }, { @@ -12761,13 +12988,13 @@ { "title": "Properties", "kind": 1024, - "children": [858, 857, 856] + "children": [933, 932, 931] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 739, "character": 4 } ] @@ -12784,7 +13011,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -12796,7 +13023,7 @@ ] }, { - "id": 345, + "id": 375, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -12804,13 +13031,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1690, + "line": 1955, "character": 8 } ], "signatures": [ { - "id": 346, + "id": 376, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -12820,7 +13047,7 @@ }, "parameters": [ { - "id": 347, + "id": 377, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12834,7 +13061,7 @@ } }, { - "id": 348, + "id": 378, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12842,14 +13069,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 381, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12862,7 +13089,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1694, + "line": 1959, "character": 6 } ], @@ -12872,7 +13099,7 @@ } }, { - "id": 350, + "id": 380, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12885,7 +13112,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1958, "character": 6 } ], @@ -12899,7 +13126,7 @@ { "title": "Properties", "kind": 1024, - "children": [351, 350] + "children": [381, 380] } ] } @@ -12916,14 +13143,14 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 382, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 383, "name": "data", "kind": 1024, "kindString": "Property", @@ -12931,14 +13158,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1698, + "line": 1963, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 354, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12947,7 +13174,7 @@ } }, { - "id": 355, + "id": 385, "name": "error", "kind": 1024, "kindString": "Property", @@ -12955,7 +13182,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1699, + "line": 1964, "character": 8 } ], @@ -12969,7 +13196,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 355] + "children": [383, 385] } ] } @@ -12977,14 +13204,14 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 357, + "id": 387, "name": "data", "kind": 1024, "kindString": "Property", @@ -12992,7 +13219,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 8 } ], @@ -13002,7 +13229,7 @@ } }, { - "id": 358, + "id": 388, "name": "error", "kind": 1024, "kindString": "Property", @@ -13010,13 +13237,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1701, + "line": 1966, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -13025,7 +13252,7 @@ { "title": "Properties", "kind": 1024, - "children": [357, 358] + "children": [387, 388] } ] } @@ -13041,7 +13268,7 @@ ] }, { - "id": 268, + "id": 298, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -13049,13 +13276,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1573, "character": 8 } ], "signatures": [ { - "id": 269, + "id": 299, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -13065,7 +13292,7 @@ }, "parameters": [ { - "id": 270, + "id": 300, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -13076,14 +13303,14 @@ "type": { "type": "reflection", "declaration": { - "id": 271, + "id": 301, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 272, + "id": 302, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -13091,7 +13318,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1574, "character": 4 } ], @@ -13101,7 +13328,7 @@ } }, { - "id": 273, + "id": 303, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -13109,7 +13336,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1310, + "line": 1575, "character": 4 } ], @@ -13123,7 +13350,7 @@ { "title": "Properties", "kind": 1024, - "children": [272, 273] + "children": [302, 303] } ] } @@ -13135,7 +13362,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -13147,7 +13374,7 @@ ] }, { - "id": 136, + "id": 145, "name": "signInAnonymously", "kind": 2048, "kindString": "Method", @@ -13155,13 +13382,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 401, + "line": 445, "character": 8 } ], "signatures": [ { - "id": 137, + "id": 146, "name": "signInAnonymously", "kind": 4096, "kindString": "Call signature", @@ -13172,7 +13399,7 @@ }, "parameters": [ { - "id": 138, + "id": 147, "name": "credentials", "kind": 32768, "kindString": "Parameter", @@ -13181,10 +13408,10 @@ }, "type": { "type": "reference", - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13192,21 +13419,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 795, "name": "options", "kind": 1024, "kindString": "Property", @@ -13216,21 +13443,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 752, + "id": 796, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 754, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13243,7 +13470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 497, "character": 4 } ], @@ -13253,7 +13480,7 @@ } }, { - "id": 753, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -13267,7 +13494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 495, "character": 4 } ], @@ -13281,13 +13508,13 @@ { "title": "Properties", "kind": 1024, - "children": [754, 753] + "children": [798, 797] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 12 } ] @@ -13299,13 +13526,13 @@ { "title": "Properties", "kind": 1024, - "children": [751] + "children": [795] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 43 } ] @@ -13320,7 +13547,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -13332,7 +13559,7 @@ ] }, { - "id": 168, + "id": 198, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -13340,13 +13567,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 656, + "line": 908, "character": 8 } ], "signatures": [ { - "id": 169, + "id": 199, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -13356,17 +13583,17 @@ }, "parameters": [ { - "id": 170, + "id": 200, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13374,21 +13601,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 820, + "id": 864, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -13401,7 +13628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 606, + "line": 621, "character": 2 } ], @@ -13411,7 +13638,7 @@ } }, { - "id": 821, + "id": 865, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -13424,7 +13651,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 623, "character": 2 } ], @@ -13434,7 +13661,7 @@ } }, { - "id": 822, + "id": 866, "name": "options", "kind": 1024, "kindString": "Property", @@ -13444,21 +13671,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 823, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 868, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13471,7 +13698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 626, "character": 4 } ], @@ -13485,13 +13712,13 @@ { "title": "Properties", "kind": 1024, - "children": [824] + "children": [868] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 12 } ] @@ -13499,7 +13726,7 @@ } }, { - "id": 817, + "id": 861, "name": "provider", "kind": 1024, "kindString": "Property", @@ -13510,7 +13737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 2 } ], @@ -13547,7 +13774,7 @@ { "type": "reflection", "declaration": { - "id": 818, + "id": 862, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13555,7 +13782,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 76 } ] @@ -13567,7 +13794,7 @@ } }, { - "id": 819, + "id": 863, "name": "token", "kind": 1024, "kindString": "Property", @@ -13578,7 +13805,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 604, + "line": 619, "character": 2 } ], @@ -13592,13 +13819,13 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821, 822, 817, 819] + "children": [864, 865, 866, 861, 863] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 43 } ] @@ -13613,7 +13840,7 @@ "typeArguments": [ { "type": "reference", - "id": 596, + "id": 639, "name": "AuthTokenResponse" } ], @@ -13625,7 +13852,7 @@ ] }, { - "id": 145, + "id": 154, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -13633,13 +13860,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 628, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 155, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -13649,17 +13876,17 @@ }, "parameters": [ { - "id": 147, + "id": 156, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13667,21 +13894,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -13691,21 +13918,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -13718,14 +13945,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13733,19 +13960,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -13764,7 +13991,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13777,7 +14004,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -13787,7 +14014,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -13800,7 +14027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -13810,7 +14037,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -13823,7 +14050,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -13837,13 +14064,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -13851,7 +14078,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -13862,16 +14089,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -13882,7 +14109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -13987,13 +14214,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -14008,7 +14235,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 667, "name": "OAuthResponse" } ], @@ -14020,7 +14247,7 @@ ] }, { - "id": 171, + "id": 201, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -14028,13 +14255,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 711, + "line": 963, "character": 8 } ], "signatures": [ { - "id": 172, + "id": 202, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -14045,17 +14272,17 @@ }, "parameters": [ { - "id": 173, + "id": 203, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -14063,7 +14290,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 546, + "line": 561, "character": 12 } ], @@ -14073,14 +14300,14 @@ { "type": "reflection", "declaration": { - "id": 786, + "id": 830, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 831, "name": "email", "kind": 1024, "kindString": "Property", @@ -14091,7 +14318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 549, + "line": 564, "character": 6 } ], @@ -14101,7 +14328,7 @@ } }, { - "id": 788, + "id": 832, "name": "options", "kind": 1024, "kindString": "Property", @@ -14111,21 +14338,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 789, + "id": 833, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 793, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14138,7 +14365,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 577, "character": 8 } ], @@ -14148,7 +14375,7 @@ } }, { - "id": 792, + "id": 836, "name": "data", "kind": 1024, "kindString": "Property", @@ -14162,7 +14389,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 560, + "line": 575, "character": 8 } ], @@ -14172,7 +14399,7 @@ } }, { - "id": 790, + "id": 834, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -14185,7 +14412,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 567, "character": 8 } ], @@ -14195,7 +14422,7 @@ } }, { - "id": 791, + "id": 835, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -14208,7 +14435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 569, "character": 8 } ], @@ -14222,13 +14449,13 @@ { "title": "Properties", "kind": 1024, - "children": [793, 792, 790, 791] + "children": [837, 836, 834, 835] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 16 } ] @@ -14240,13 +14467,13 @@ { "title": "Properties", "kind": 1024, - "children": [787, 788] + "children": [831, 832] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 562, "character": 4 } ] @@ -14255,14 +14482,14 @@ { "type": "reflection", "declaration": { - "id": 794, + "id": 838, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 796, + "id": 840, "name": "options", "kind": 1024, "kindString": "Property", @@ -14272,21 +14499,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 797, + "id": 841, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 800, + "id": 844, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14299,7 +14526,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 578, + "line": 593, "character": 8 } ], @@ -14309,7 +14536,7 @@ } }, { - "id": 801, + "id": 845, "name": "channel", "kind": 1024, "kindString": "Property", @@ -14322,7 +14549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 595, "character": 8 } ], @@ -14341,7 +14568,7 @@ } }, { - "id": 799, + "id": 843, "name": "data", "kind": 1024, "kindString": "Property", @@ -14355,7 +14582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 576, + "line": 591, "character": 8 } ], @@ -14365,7 +14592,7 @@ } }, { - "id": 798, + "id": 842, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -14378,7 +14605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 585, "character": 8 } ], @@ -14392,13 +14619,13 @@ { "title": "Properties", "kind": 1024, - "children": [800, 801, 799, 798] + "children": [844, 845, 843, 842] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 16 } ] @@ -14406,7 +14633,7 @@ } }, { - "id": 795, + "id": 839, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14417,7 +14644,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 582, "character": 6 } ], @@ -14431,13 +14658,13 @@ { "title": "Properties", "kind": 1024, - "children": [796, 795] + "children": [840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 580, "character": 4 } ] @@ -14454,7 +14681,7 @@ "typeArguments": [ { "type": "reference", - "id": 581, + "id": 624, "name": "AuthOtpResponse" } ], @@ -14466,7 +14693,7 @@ ] }, { - "id": 142, + "id": 151, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -14474,13 +14701,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 521, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 152, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -14491,17 +14718,17 @@ }, "parameters": [ { - "id": 144, + "id": 153, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -14509,7 +14736,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 539, "character": 12 } ], @@ -14519,14 +14746,14 @@ { "type": "reflection", "declaration": { - "id": 773, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 774, + "id": 818, "name": "email", "kind": 1024, "kindString": "Property", @@ -14537,7 +14764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 542, "character": 6 } ], @@ -14547,7 +14774,7 @@ } }, { - "id": 776, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -14557,21 +14784,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 777, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 778, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14584,7 +14811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 547, "character": 8 } ], @@ -14598,13 +14825,13 @@ { "title": "Properties", "kind": 1024, - "children": [778] + "children": [822] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 16 } ] @@ -14612,7 +14839,7 @@ } }, { - "id": 775, + "id": 819, "name": "password", "kind": 1024, "kindString": "Property", @@ -14623,7 +14850,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 529, + "line": 544, "character": 6 } ], @@ -14637,13 +14864,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 776, 775] + "children": [818, 820, 819] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 540, "character": 4 } ] @@ -14652,14 +14879,14 @@ { "type": "reflection", "declaration": { - "id": 779, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -14669,21 +14896,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 783, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 828, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14696,7 +14923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 557, "character": 8 } ], @@ -14710,13 +14937,13 @@ { "title": "Properties", "kind": 1024, - "children": [784] + "children": [828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 16 } ] @@ -14724,7 +14951,7 @@ } }, { - "id": 781, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -14735,7 +14962,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 554, "character": 6 } ], @@ -14745,7 +14972,7 @@ } }, { - "id": 780, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14756,7 +14983,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 537, + "line": 552, "character": 6 } ], @@ -14770,13 +14997,13 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781, 780] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 550, "character": 4 } ] @@ -14793,7 +15020,7 @@ "typeArguments": [ { "type": "reference", - "id": 609, + "id": 652, "name": "AuthTokenResponsePassword" } ], @@ -14805,7 +15032,7 @@ ] }, { - "id": 177, + "id": 207, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -14813,13 +15040,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 825, + "line": 1077, "character": 8 } ], "signatures": [ { - "id": 178, + "id": 208, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -14830,17 +15057,17 @@ }, "parameters": [ { - "id": 179, + "id": 209, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 861, + "id": 936, "name": "SignInWithSSO", "dereferenced": { - "id": 861, + "id": 936, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -14848,7 +15075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 748, "character": 12 } ], @@ -14858,14 +15085,14 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 939, "name": "options", "kind": 1024, "kindString": "Property", @@ -14875,21 +15102,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 940, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, + "id": 942, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14902,7 +15129,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 694, + "line": 757, "character": 8 } ], @@ -14912,7 +15139,7 @@ } }, { - "id": 866, + "id": 941, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14925,7 +15152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 692, + "line": 755, "character": 8 } ], @@ -14939,13 +15166,13 @@ { "title": "Properties", "kind": 1024, - "children": [867, 866] + "children": [942, 941] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 16 } ] @@ -14953,7 +15180,7 @@ } }, { - "id": 863, + "id": 938, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -14964,7 +15191,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 751, "character": 6 } ], @@ -14978,13 +15205,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 863] + "children": [939, 938] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 749, "character": 4 } ] @@ -14993,14 +15220,14 @@ { "type": "reflection", "declaration": { - "id": 868, + "id": 943, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 869, + "id": 944, "name": "domain", "kind": 1024, "kindString": "Property", @@ -15011,7 +15238,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 762, "character": 6 } ], @@ -15021,7 +15248,7 @@ } }, { - "id": 870, + "id": 945, "name": "options", "kind": 1024, "kindString": "Property", @@ -15031,21 +15258,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 871, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 873, + "id": 948, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15058,7 +15285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 768, "character": 8 } ], @@ -15068,7 +15295,7 @@ } }, { - "id": 872, + "id": 947, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15081,7 +15308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 766, "character": 8 } ], @@ -15095,13 +15322,13 @@ { "title": "Properties", "kind": 1024, - "children": [873, 872] + "children": [948, 947] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 16 } ] @@ -15113,13 +15340,13 @@ { "title": "Properties", "kind": 1024, - "children": [869, 870] + "children": [944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 760, "character": 4 } ] @@ -15136,7 +15363,7 @@ "typeArguments": [ { "type": "reference", - "id": 637, + "id": 680, "name": "SSOResponse" } ], @@ -15148,7 +15375,687 @@ ] }, { - "id": 321, + "id": 160, + "name": "signInWithWeb3", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 652, + "character": 8 + } + ], + "signatures": [ + { + "id": 161, + "name": "signInWithWeb3", + "kind": 4096, + "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." + }, + "parameters": [ + { + "id": 162, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials", + "dereferenced": { + "id": 882, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 883, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "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" + } + }, + { + "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": [ + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [890, 891, 889] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 16 + } + ] + } + } + }, + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 16 + } + ] + } + } + }, + { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [893, 894, 896, 895] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 661, + "character": 4 + } + ] + } + } + ] + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 164, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 166, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 167, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 34 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [166, 167] + } + ] + } + } + }, + { + "id": 168, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 655, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [164, 168] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 170, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 171, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 172, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 16 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 173, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 31 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [172, 173] + } + ] + } + } + }, + { + "id": 174, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 657, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [170, 174] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 351, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -15156,13 +16063,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 8 } ], "signatures": [ { - "id": 322, + "id": 352, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -15173,17 +16080,17 @@ }, "parameters": [ { - "id": 323, + "id": 353, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1075, + "id": 1150, "name": "SignOut", "dereferenced": { - "id": 1075, + "id": 1150, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -15191,21 +16098,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1076, + "id": 1151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1077, + "id": 1152, "name": "scope", "kind": 1024, "kindString": "Property", @@ -15218,7 +16125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1127, + "line": 1190, "character": 2 } ], @@ -15245,13 +16152,13 @@ { "title": "Properties", "kind": 1024, - "children": [1077] + "children": [1152] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 22 } ] @@ -15268,14 +16175,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 355, "name": "error", "kind": 1024, "kindString": "Property", @@ -15283,7 +16190,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1590, + "line": 1855, "character": 67 } ], @@ -15296,7 +16203,7 @@ }, { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } ] @@ -15307,7 +16214,7 @@ { "title": "Properties", "kind": 1024, - "children": [325] + "children": [355] } ] } @@ -15321,7 +16228,7 @@ ] }, { - "id": 139, + "id": 148, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -15329,13 +16236,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 444, + "line": 488, "character": 8 } ], "signatures": [ { - "id": 140, + "id": 149, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -15347,17 +16254,17 @@ }, "parameters": [ { - "id": 141, + "id": 150, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 755, + "id": 799, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 755, + "id": 799, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -15365,7 +16272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 501, "character": 12 } ], @@ -15375,14 +16282,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 801, "name": "email", "kind": 1024, "kindString": "Property", @@ -15393,7 +16300,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 490, + "line": 504, "character": 6 } ], @@ -15403,7 +16310,7 @@ } }, { - "id": 759, + "id": 803, "name": "options", "kind": 1024, "kindString": "Property", @@ -15413,21 +16320,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 804, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 763, + "id": 807, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15440,7 +16347,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 503, + "line": 517, "character": 8 } ], @@ -15450,7 +16357,7 @@ } }, { - "id": 762, + "id": 806, "name": "data", "kind": 1024, "kindString": "Property", @@ -15464,7 +16371,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 515, "character": 8 } ], @@ -15474,7 +16381,7 @@ } }, { - "id": 761, + "id": 805, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -15487,7 +16394,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 509, "character": 8 } ], @@ -15501,13 +16408,13 @@ { "title": "Properties", "kind": 1024, - "children": [763, 762, 761] + "children": [807, 806, 805] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 16 } ] @@ -15515,7 +16422,7 @@ } }, { - "id": 758, + "id": 802, "name": "password", "kind": 1024, "kindString": "Property", @@ -15526,7 +16433,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 492, + "line": 506, "character": 6 } ], @@ -15540,13 +16447,13 @@ { "title": "Properties", "kind": 1024, - "children": [757, 759, 758] + "children": [801, 803, 802] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 502, "character": 4 } ] @@ -15555,14 +16462,14 @@ { "type": "reflection", "declaration": { - "id": 764, + "id": 808, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 767, + "id": 811, "name": "options", "kind": 1024, "kindString": "Property", @@ -15572,21 +16479,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 768, + "id": 812, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 814, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15599,7 +16506,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 533, "character": 8 } ], @@ -15609,7 +16516,7 @@ } }, { - "id": 771, + "id": 815, "name": "channel", "kind": 1024, "kindString": "Property", @@ -15622,7 +16529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 535, "character": 8 } ], @@ -15641,7 +16548,7 @@ } }, { - "id": 769, + "id": 813, "name": "data", "kind": 1024, "kindString": "Property", @@ -15655,7 +16562,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 531, "character": 8 } ], @@ -15669,13 +16576,13 @@ { "title": "Properties", "kind": 1024, - "children": [770, 771, 769] + "children": [814, 815, 813] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 16 } ] @@ -15683,7 +16590,7 @@ } }, { - "id": 766, + "id": 810, "name": "password", "kind": 1024, "kindString": "Property", @@ -15694,7 +16601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 524, "character": 6 } ], @@ -15704,7 +16611,7 @@ } }, { - "id": 765, + "id": 809, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15715,7 +16622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 522, "character": 6 } ], @@ -15729,13 +16636,13 @@ { "title": "Properties", "kind": 1024, - "children": [767, 766, 765] + "children": [811, 810, 809] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 520, "character": 4 } ] @@ -15752,7 +16659,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -15764,7 +16671,7 @@ ] }, { - "id": 427, + "id": 457, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -15772,13 +16679,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2175, + "line": 2542, "character": 8 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -15803,7 +16710,7 @@ ] }, { - "id": 429, + "id": 459, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -15811,13 +16718,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2188, + "line": 2555, "character": 8 } ], "signatures": [ { - "id": 430, + "id": 460, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -15842,7 +16749,7 @@ ] }, { - "id": 372, + "id": 402, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -15850,13 +16757,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1796, + "line": 2061, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 403, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -15866,24 +16773,24 @@ }, "parameters": [ { - "id": 374, + "id": 404, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 670, + "id": 713, "name": "UserIdentity", "dereferenced": { - "id": 670, + "id": 713, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 679, + "id": 722, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -15893,7 +16800,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 285, + "line": 298, "character": 2 } ], @@ -15903,7 +16810,7 @@ } }, { - "id": 671, + "id": 714, "name": "id", "kind": 1024, "kindString": "Property", @@ -15911,7 +16818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 278, + "line": 291, "character": 2 } ], @@ -15921,7 +16828,7 @@ } }, { - "id": 673, + "id": 716, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -15931,27 +16838,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 293, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 717, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 675, + "id": 718, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 676, + "id": 719, "name": "key", "kind": 32768, "flags": {}, @@ -15970,7 +16877,7 @@ } }, { - "id": 677, + "id": 720, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -15978,7 +16885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 283, + "line": 296, "character": 2 } ], @@ -15988,7 +16895,7 @@ } }, { - "id": 680, + "id": 723, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -15998,7 +16905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 286, + "line": 299, "character": 2 } ], @@ -16008,7 +16915,7 @@ } }, { - "id": 678, + "id": 721, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16016,7 +16923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 284, + "line": 297, "character": 2 } ], @@ -16026,7 +16933,7 @@ } }, { - "id": 681, + "id": 724, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -16036,7 +16943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 300, "character": 2 } ], @@ -16046,7 +16953,7 @@ } }, { - "id": 672, + "id": 715, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -16054,7 +16961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 292, "character": 2 } ], @@ -16068,13 +16975,13 @@ { "title": "Properties", "kind": 1024, - "children": [679, 671, 673, 677, 680, 678, 681, 672] + "children": [722, 714, 716, 720, 723, 721, 724, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 277, + "line": 290, "character": 17 } ] @@ -16091,14 +16998,14 @@ { "type": "reflection", "declaration": { - "id": 375, + "id": 405, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 376, + "id": 406, "name": "data", "kind": 1024, "kindString": "Property", @@ -16106,14 +17013,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1798, + "line": 2063, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 377, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16122,7 +17029,7 @@ } }, { - "id": 378, + "id": 408, "name": "error", "kind": 1024, "kindString": "Property", @@ -16130,7 +17037,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1799, + "line": 2064, "character": 8 } ], @@ -16144,7 +17051,7 @@ { "title": "Properties", "kind": 1024, - "children": [376, 378] + "children": [406, 408] } ] } @@ -16152,14 +17059,14 @@ { "type": "reflection", "declaration": { - "id": 379, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 380, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -16167,7 +17074,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 8 } ], @@ -16177,7 +17084,7 @@ } }, { - "id": 381, + "id": 411, "name": "error", "kind": 1024, "kindString": "Property", @@ -16185,13 +17092,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1801, + "line": 2066, "character": 20 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -16200,7 +17107,7 @@ { "title": "Properties", "kind": 1024, - "children": [380, 381] + "children": [410, 411] } ] } @@ -16216,7 +17123,7 @@ ] }, { - "id": 256, + "id": 286, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -16224,13 +17131,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1239, + "line": 1504, "character": 8 } ], "signatures": [ { - "id": 257, + "id": 287, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -16240,24 +17147,24 @@ }, "parameters": [ { - "id": 258, + "id": 288, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes", "dereferenced": { - "id": 722, + "id": 766, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 727, + "id": 771, "name": "data", "kind": 1024, "kindString": "Property", @@ -16271,7 +17178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 381, + "line": 395, "character": 2 } ], @@ -16281,7 +17188,7 @@ } }, { - "id": 723, + "id": 767, "name": "email", "kind": 1024, "kindString": "Property", @@ -16294,7 +17201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -16304,7 +17211,7 @@ } }, { - "id": 726, + "id": 770, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16318,7 +17225,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -16328,7 +17235,7 @@ } }, { - "id": 725, + "id": 769, "name": "password", "kind": 1024, "kindString": "Property", @@ -16341,7 +17248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -16351,7 +17258,7 @@ } }, { - "id": 724, + "id": 768, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16364,7 +17271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -16378,13 +17285,13 @@ { "title": "Properties", "kind": 1024, - "children": [727, 723, 726, 725, 724] + "children": [771, 767, 770, 769, 768] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 366, "character": 17 } ] @@ -16392,7 +17299,7 @@ } }, { - "id": 259, + "id": 289, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16400,14 +17307,14 @@ "type": { "type": "reflection", "declaration": { - "id": 260, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 261, + "id": 291, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -16417,7 +17324,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1242, + "line": 1507, "character": 6 } ], @@ -16431,7 +17338,7 @@ { "title": "Properties", "kind": 1024, - "children": [261] + "children": [291] } ] } @@ -16444,7 +17351,7 @@ "typeArguments": [ { "type": "reference", - "id": 646, + "id": 689, "name": "UserResponse" } ], @@ -16456,7 +17363,7 @@ ] }, { - "id": 174, + "id": 204, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -16464,13 +17371,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 764, + "line": 1016, "character": 8 } ], "signatures": [ { - "id": 175, + "id": 205, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -16480,17 +17387,17 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 825, + "id": 900, "name": "VerifyOtpParams", "dereferenced": { - "id": 825, + "id": 900, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -16498,7 +17405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 678, "character": 12 } ], @@ -16506,14 +17413,14 @@ "type": "union", "types": [ { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -16523,21 +17430,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16556,7 +17463,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -16566,7 +17473,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16579,7 +17486,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -16593,14 +17500,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16611,7 +17518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -16621,7 +17528,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -16632,7 +17539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -16642,7 +17549,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -16653,16 +17560,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16670,7 +17577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -16695,26 +17602,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -16725,7 +17632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -16735,7 +17642,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -16745,21 +17652,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16778,7 +17685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -16788,7 +17695,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16801,7 +17708,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -16815,14 +17722,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -16833,7 +17740,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -16843,7 +17750,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -16854,16 +17761,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16871,7 +17778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -16912,26 +17819,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -16942,7 +17849,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -16952,7 +17859,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -16963,16 +17870,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16980,7 +17887,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -17021,13 +17928,13 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] @@ -17043,7 +17950,7 @@ "typeArguments": [ { "type": "reference", - "id": 554, + "id": 597, "name": "AuthResponse" } ], @@ -17070,42 +17977,42 @@ "title": "Methods", "kind": 2048, "children": [ - 148, 478, 187, 250, 359, 132, 369, 331, 180, 280, 184, 345, 268, 136, 168, 145, 171, - 142, 177, 321, 139, 427, 429, 372, 256, 174 + 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 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 130, + "line": 147, "character": 21 } ] }, { - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 508, + "id": 542, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 509, + "id": 543, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 510, + "id": 544, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -17118,7 +18025,7 @@ ], "type": { "type": "reference", - "id": 507, + "id": 541, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -17133,7 +18040,7 @@ } }, { - "id": 511, + "id": 545, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -17163,12 +18070,12 @@ { "title": "Constructors", "kind": 512, - "children": [508] + "children": [542] }, { "title": "Properties", "kind": 1024, - "children": [511] + "children": [545] } ], "sources": [ @@ -17186,7 +18093,7 @@ ] }, { - "id": 666, + "id": 709, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -17203,7 +18110,7 @@ }, "children": [ { - "id": 667, + "id": 710, "name": "method", "kind": 1024, "kindString": "Property", @@ -17214,7 +18121,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 281, "character": 2 } ], @@ -17235,7 +18142,7 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17260,7 +18167,7 @@ } }, { - "id": 669, + "id": 712, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -17271,7 +18178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 274, + "line": 287, "character": 2 } ], @@ -17285,26 +18192,26 @@ { "title": "Properties", "kind": 1024, - "children": [667, 669] + "children": [710, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 266, + "line": 279, "character": 17 } ] }, { - "id": 728, + "id": 772, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 730, + "id": 774, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -17318,7 +18225,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 419, "character": 2 } ], @@ -17328,7 +18235,7 @@ } }, { - "id": 733, + "id": 777, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -17342,7 +18249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 431, + "line": 445, "character": 2 } ], @@ -17352,7 +18259,7 @@ } }, { - "id": 740, + "id": 784, "name": "email", "kind": 1024, "kindString": "Property", @@ -17365,7 +18272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -17379,7 +18286,7 @@ } }, { - "id": 731, + "id": 775, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -17393,7 +18300,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 412, + "line": 426, "character": 2 } ], @@ -17403,7 +18310,7 @@ } }, { - "id": 736, + "id": 780, "name": "id", "kind": 1024, "kindString": "Property", @@ -17417,7 +18324,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 470, "character": 2 } ], @@ -17427,7 +18334,7 @@ } }, { - "id": 738, + "id": 782, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -17441,7 +18348,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -17455,7 +18362,7 @@ } }, { - "id": 737, + "id": 781, "name": "password", "kind": 1024, "kindString": "Property", @@ -17468,7 +18375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -17482,7 +18389,7 @@ } }, { - "id": 735, + "id": 779, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -17496,7 +18403,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 463, "character": 2 } ], @@ -17506,7 +18413,7 @@ } }, { - "id": 739, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17519,7 +18426,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -17533,7 +18440,7 @@ } }, { - "id": 732, + "id": 776, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -17547,7 +18454,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 433, "character": 2 } ], @@ -17557,7 +18464,7 @@ } }, { - "id": 734, + "id": 778, "name": "role", "kind": 1024, "kindString": "Property", @@ -17571,7 +18478,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 454, "character": 2 } ], @@ -17581,7 +18488,7 @@ } }, { - "id": 729, + "id": 773, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -17595,7 +18502,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 409, "character": 2 } ], @@ -17609,13 +18516,13 @@ { "title": "Properties", "kind": 1024, - "children": [730, 733, 740, 731, 736, 738, 737, 735, 739, 732, 734, 729] + "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 398, "character": 17 } ], @@ -17625,7 +18532,7 @@ "typeArguments": [ { "type": "reference", - "id": 722, + "id": 766, "name": "UserAttributes" }, { @@ -17640,7 +18547,7 @@ ] }, { - "id": 682, + "id": 725, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -17664,7 +18571,7 @@ }, "children": [ { - "id": 688, + "id": 731, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -17672,7 +18579,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 325, "character": 2 } ], @@ -17682,7 +18589,7 @@ } }, { - "id": 685, + "id": 728, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -17693,7 +18600,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 307, + "line": 320, "character": 2 } ], @@ -17710,7 +18617,7 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17731,7 +18638,7 @@ } }, { - "id": 684, + "id": 727, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -17744,7 +18651,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 302, + "line": 315, "character": 2 } ], @@ -17754,7 +18661,7 @@ } }, { - "id": 683, + "id": 726, "name": "id", "kind": 1024, "kindString": "Property", @@ -17765,7 +18672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 299, + "line": 312, "character": 2 } ], @@ -17775,7 +18682,7 @@ } }, { - "id": 687, + "id": 730, "name": "status", "kind": 1024, "kindString": "Property", @@ -17786,7 +18693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 323, "character": 2 } ], @@ -17805,7 +18712,7 @@ } }, { - "id": 689, + "id": 732, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -17813,7 +18720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 326, "character": 2 } ], @@ -17827,26 +18734,26 @@ { "title": "Properties", "kind": 1024, - "children": [688, 685, 684, 683, 687, 689] + "children": [731, 728, 727, 726, 730, 732] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 297, + "line": 310, "character": 17 } ] }, { - "id": 896, + "id": 971, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 897, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -17860,7 +18767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 747, + "line": 810, "character": 2 } ], @@ -17870,7 +18777,7 @@ } }, { - "id": 898, + "id": 973, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17883,7 +18790,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 812, "character": 2 } ], @@ -17897,19 +18804,19 @@ { "title": "Properties", "kind": 1024, - "children": [897, 898] + "children": [972, 973] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 804, "character": 17 } ] }, { - "id": 1044, + "id": 1119, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -17925,14 +18832,14 @@ }, "children": [ { - "id": 1048, + "id": 1123, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1049, + "id": 1124, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -17952,17 +18859,17 @@ }, "parameters": [ { - "id": 1050, + "id": 1125, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -17978,21 +18885,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -18003,7 +18910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -18013,7 +18920,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -18024,7 +18931,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -18038,13 +18945,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -18059,7 +18966,7 @@ "typeArguments": [ { "type": "reference", - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -18071,14 +18978,14 @@ ] }, { - "id": 1045, + "id": 1120, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1046, + "id": 1121, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -18088,17 +18995,17 @@ }, "parameters": [ { - "id": 1047, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -18114,21 +19021,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -18139,7 +19046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -18153,13 +19060,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -18174,7 +19081,7 @@ "typeArguments": [ { "type": "reference", - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -18190,19 +19097,19 @@ { "title": "Methods", "kind": 2048, - "children": [1048, 1045] + "children": [1123, 1120] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1050, + "line": 1113, "character": 17 } ] }, { - "id": 995, + "id": 1070, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -18212,14 +19119,14 @@ }, "children": [ { - "id": 1003, + "id": 1078, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1004, + "id": 1079, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -18229,17 +19136,17 @@ }, "parameters": [ { - "id": 1005, + "id": 1080, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "dereferenced": { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -18247,21 +19154,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -18274,7 +19181,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -18293,7 +19200,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -18304,7 +19211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -18318,13 +19225,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -18339,7 +19246,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 1036, "name": "AuthMFAChallengeResponse" } ], @@ -18351,14 +19258,14 @@ ] }, { - "id": 1012, + "id": 1087, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1013, + "id": 1088, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -18368,17 +19275,17 @@ }, "parameters": [ { - "id": 1014, + "id": 1089, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -18386,21 +19293,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -18411,7 +19318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -18421,7 +19328,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -18432,7 +19339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -18446,13 +19353,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -18467,7 +19374,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -18479,14 +19386,14 @@ ] }, { - "id": 996, + "id": 1071, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 997, + "id": 1072, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -18497,17 +19404,17 @@ }, "parameters": [ { - "id": 998, + "id": 1073, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -18515,21 +19422,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18540,7 +19447,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -18550,7 +19457,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18563,7 +19470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -18573,7 +19480,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -18586,7 +19493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -18600,13 +19507,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -18621,7 +19528,7 @@ "typeArguments": [ { "type": "reference", - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -18631,24 +19538,24 @@ } }, { - "id": 999, + "id": 1074, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1000, + "id": 1075, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -18656,21 +19563,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18681,7 +19588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -18691,7 +19598,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18704,7 +19611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -18714,7 +19621,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18725,7 +19632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -18739,13 +19646,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -18760,7 +19667,7 @@ "typeArguments": [ { "type": "reference", - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -18770,24 +19677,24 @@ } }, { - "id": 1001, + "id": 1076, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1002, + "id": 1077, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 921, + "id": 996, "name": "MFAEnrollParams", "dereferenced": { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -18795,7 +19702,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -18803,7 +19710,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -18811,21 +19718,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18836,7 +19743,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -18846,7 +19753,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18859,7 +19766,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -18869,7 +19776,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -18882,7 +19789,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -18896,13 +19803,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -18910,7 +19817,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -18918,21 +19825,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18943,7 +19850,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -18953,7 +19860,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18966,7 +19873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -18976,7 +19883,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18987,7 +19894,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -19001,13 +19908,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -19025,7 +19932,7 @@ "typeArguments": [ { "type": "reference", - "id": 951, + "id": 1026, "name": "AuthMFAEnrollResponse" } ], @@ -19037,14 +19944,14 @@ ] }, { - "id": 1017, + "id": 1092, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1018, + "id": 1093, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -19058,7 +19965,7 @@ "typeArguments": [ { "type": "reference", - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -19070,14 +19977,14 @@ ] }, { - "id": 1015, + "id": 1090, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1016, + "id": 1091, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -19104,7 +20011,7 @@ "typeArguments": [ { "type": "reference", - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse" } ], @@ -19116,14 +20023,14 @@ ] }, { - "id": 1009, + "id": 1084, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1010, + "id": 1085, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -19133,17 +20040,17 @@ }, "parameters": [ { - "id": 1011, + "id": 1086, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "dereferenced": { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -19151,21 +20058,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19176,7 +20083,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -19190,13 +20097,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -19211,7 +20118,7 @@ "typeArguments": [ { "type": "reference", - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse" } ], @@ -19223,14 +20130,14 @@ ] }, { - "id": 1006, + "id": 1081, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1007, + "id": 1082, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -19240,17 +20147,17 @@ }, "parameters": [ { - "id": 1008, + "id": 1083, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "dereferenced": { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -19258,21 +20165,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -19283,7 +20190,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -19293,7 +20200,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -19304,7 +20211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -19314,7 +20221,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19325,7 +20232,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -19339,13 +20246,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -19360,7 +20267,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse" } ], @@ -19376,26 +20283,26 @@ { "title": "Methods", "kind": 2048, - "children": [1003, 1012, 996, 1017, 1015, 1009, 1006] + "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 935, + "line": 998, "character": 17 } ] }, { - "id": 1135, + "id": 1210, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1138, + "id": 1213, "name": "alg", "kind": 1024, "kindString": "Property", @@ -19405,7 +20312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1228, + "line": 1291, "character": 2 } ], @@ -19415,7 +20322,7 @@ } }, { - "id": 1137, + "id": 1212, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -19423,7 +20330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1227, + "line": 1290, "character": 2 } ], @@ -19436,7 +20343,7 @@ } }, { - "id": 1139, + "id": 1214, "name": "kid", "kind": 1024, "kindString": "Property", @@ -19446,7 +20353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1229, + "line": 1292, "character": 2 } ], @@ -19456,7 +20363,7 @@ } }, { - "id": 1136, + "id": 1211, "name": "kty", "kind": 1024, "kindString": "Property", @@ -19464,7 +20371,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1226, + "line": 1289, "character": 2 } ], @@ -19491,25 +20398,25 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137, 1139, 1136] + "children": [1213, 1212, 1214, 1211] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1225, + "line": 1288, "character": 17 } ], "indexSignature": { - "id": 1140, + "id": 1215, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1141, + "id": 1216, "name": "key", "kind": 32768, "flags": {}, @@ -19526,14 +20433,14 @@ } }, { - "id": 657, + "id": 700, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 660, + "id": 703, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -19544,7 +20451,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 250, "character": 2 } ], @@ -19554,7 +20461,7 @@ } }, { - "id": 663, + "id": 706, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -19567,7 +20474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 253, + "line": 262, "character": 2 } ], @@ -19577,7 +20484,7 @@ } }, { - "id": 662, + "id": 705, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -19588,7 +20495,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 249, + "line": 258, "character": 2 } ], @@ -19598,7 +20505,7 @@ } }, { - "id": 659, + "id": 702, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -19611,7 +20518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 246, "character": 2 } ], @@ -19630,7 +20537,7 @@ } }, { - "id": 658, + "id": 701, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -19643,7 +20550,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 241, "character": 2 } ], @@ -19662,7 +20569,7 @@ } }, { - "id": 661, + "id": 704, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19670,24 +20577,6 @@ "comment": { "shortText": "A one-time used refresh token that never expires." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 245, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 664, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -19701,31 +20590,52 @@ } }, { - "id": 665, - "name": "user", + "id": 707, + "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 263, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 708, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When using a separate user storage, accessing properties of this object will throw an error." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 268, "character": 2 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User", "dereferenced": { - "id": 697, + "id": 740, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 708, + "id": 751, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -19735,7 +20645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 349, "character": 2 } ], @@ -19745,7 +20655,7 @@ } }, { - "id": 699, + "id": 742, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -19753,23 +20663,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 327, + "line": 340, "character": 2 } ], "type": { "type": "reference", - "id": 690, + "id": 733, "name": "UserAppMetadata", "dereferenced": { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19779,7 +20689,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -19793,25 +20703,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -19830,7 +20740,7 @@ } }, { - "id": 701, + "id": 744, "name": "aud", "kind": 1024, "kindString": "Property", @@ -19838,7 +20748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 342, "character": 2 } ], @@ -19848,257 +20758,13 @@ } }, { - "id": 702, + "id": 745, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 712, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 711, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 709, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 704, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 713, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 682, - "name": "Factor" - } - } - }, - { - "id": 698, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 326, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 718, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 670, - "name": "UserIdentity" - } - } - }, - { - "id": 707, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 335, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 720, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 715, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -20112,8 +20778,8 @@ } }, { - "id": 705, - "name": "new_email", + "id": 755, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20122,7 +20788,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 353, "character": 2 } ], @@ -20132,17 +20798,15 @@ } }, { - "id": 706, - "name": "new_phone", + "id": 754, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 352, "character": 2 } ], @@ -20152,8 +20816,8 @@ } }, { - "id": 710, - "name": "phone", + "id": 765, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20162,7 +20826,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 363, "character": 2 } ], @@ -20172,8 +20836,8 @@ } }, { - "id": 714, - "name": "phone_confirmed_at", + "id": 752, + "name": "email", "kind": 1024, "kindString": "Property", "flags": { @@ -20182,7 +20846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 350, "character": 2 } ], @@ -20192,48 +20856,8 @@ } }, { - "id": 703, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 717, - "name": "updated_at", + "id": 747, + "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20252,7 +20876,313 @@ } }, { - "id": 700, + "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", + "line": 351, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 355, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -20260,16 +21190,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 341, "character": 2 } ], "type": { "type": "reference", - "id": 694, + "id": 737, "name": "UserMetadata", "dereferenced": { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -20277,19 +21207,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -20313,15 +21243,15 @@ "title": "Properties", "kind": 1024, "children": [ - 708, 699, 701, 702, 712, 711, 709, 704, 713, 721, 698, 718, 707, 719, 720, 715, - 705, 706, 710, 714, 703, 716, 717, 700 + 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": 325, + "line": 338, "character": 17 } ] @@ -20333,26 +21263,26 @@ { "title": "Properties", "kind": 1024, - "children": [660, 663, 662, 659, 658, 661, 664, 665] + "children": [703, 706, 705, 702, 701, 704, 707, 708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 237, "character": 17 } ] }, { - "id": 741, + "id": 785, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 742, + "id": 786, "name": "id", "kind": 1024, "kindString": "Property", @@ -20363,7 +21293,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 477, "character": 2 } ], @@ -20373,7 +21303,7 @@ } }, { - "id": 743, + "id": 787, "name": "callback", "kind": 2048, "kindString": "Method", @@ -20381,13 +21311,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 481, "character": 2 } ], "signatures": [ { - "id": 744, + "id": 788, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -20397,17 +21327,17 @@ }, "parameters": [ { - "id": 745, + "id": 789, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 559, "name": "AuthChangeEvent", "dereferenced": { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -20415,7 +21345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -20447,7 +21377,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -20455,7 +21385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -20470,7 +21400,7 @@ } }, { - "id": 746, + "id": 790, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -20484,7 +21414,7 @@ }, { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } ] @@ -20499,7 +21429,7 @@ ] }, { - "id": 747, + "id": 791, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -20507,13 +21437,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 485, "character": 2 } ], "signatures": [ { - "id": 748, + "id": 792, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -20533,31 +21463,31 @@ { "title": "Properties", "kind": 1024, - "children": [742] + "children": [786] }, { "title": "Methods", "kind": 2048, - "children": [743, 747] + "children": [787, 791] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 459, + "line": 473, "character": 17 } ] }, { - "id": 697, + "id": 740, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 708, + "id": 751, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -20567,7 +21497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 349, "character": 2 } ], @@ -20577,7 +21507,7 @@ } }, { - "id": 699, + "id": 742, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -20585,23 +21515,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 327, + "line": 340, "character": 2 } ], "type": { "type": "reference", - "id": 690, + "id": 733, "name": "UserAppMetadata", "dereferenced": { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20611,7 +21541,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -20625,25 +21555,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -20662,7 +21592,7 @@ } }, { - "id": 701, + "id": 744, "name": "aud", "kind": 1024, "kindString": "Property", @@ -20670,7 +21600,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 342, "character": 2 } ], @@ -20680,257 +21610,13 @@ } }, { - "id": 702, + "id": 745, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 712, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 711, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 709, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 704, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 713, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 682, - "name": "Factor" - } - } - }, - { - "id": 698, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 326, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 718, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 670, - "name": "UserIdentity" - } - } - }, - { - "id": 707, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 335, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 720, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 715, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -20944,8 +21630,8 @@ } }, { - "id": 705, - "name": "new_email", + "id": 755, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20954,7 +21640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 353, "character": 2 } ], @@ -20964,17 +21650,15 @@ } }, { - "id": 706, - "name": "new_phone", + "id": 754, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 352, "character": 2 } ], @@ -20984,8 +21668,8 @@ } }, { - "id": 710, - "name": "phone", + "id": 765, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20994,7 +21678,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 363, "character": 2 } ], @@ -21004,8 +21688,8 @@ } }, { - "id": 714, - "name": "phone_confirmed_at", + "id": 752, + "name": "email", "kind": 1024, "kindString": "Property", "flags": { @@ -21014,7 +21698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 350, "character": 2 } ], @@ -21024,48 +21708,8 @@ } }, { - "id": 703, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 344, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 717, - "name": "updated_at", + "id": 747, + "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21084,7 +21728,313 @@ } }, { - "id": 700, + "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", + "line": 351, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 757, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 355, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -21092,16 +22042,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 341, "character": 2 } ], "type": { "type": "reference", - "id": 694, + "id": 737, "name": "UserMetadata", "dereferenced": { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21109,19 +22059,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -21145,28 +22095,28 @@ "title": "Properties", "kind": 1024, "children": [ - 708, 699, 701, 702, 712, 711, 709, 704, 713, 721, 698, 718, 707, 719, 720, 715, 705, - 706, 710, 714, 703, 716, 717, 700 + 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": 325, + "line": 338, "character": 17 } ] }, { - "id": 690, + "id": 733, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 691, + "id": 734, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21176,7 +22126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 330, "character": 2 } ], @@ -21190,25 +22140,25 @@ { "title": "Properties", "kind": 1024, - "children": [691] + "children": [734] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 316, + "line": 329, "character": 17 } ], "indexSignature": { - "id": 692, + "id": 735, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 693, + "id": 736, "name": "key", "kind": 32768, "flags": {}, @@ -21225,14 +22175,14 @@ } }, { - "id": 722, + "id": 766, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 727, + "id": 771, "name": "data", "kind": 1024, "kindString": "Property", @@ -21246,7 +22196,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 381, + "line": 395, "character": 2 } ], @@ -21256,7 +22206,7 @@ } }, { - "id": 723, + "id": 767, "name": "email", "kind": 1024, "kindString": "Property", @@ -21269,7 +22219,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 370, "character": 2 } ], @@ -21279,7 +22229,7 @@ } }, { - "id": 726, + "id": 770, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -21293,7 +22243,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 373, + "line": 387, "character": 2 } ], @@ -21303,7 +22253,7 @@ } }, { - "id": 725, + "id": 769, "name": "password", "kind": 1024, "kindString": "Property", @@ -21316,7 +22266,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 380, "character": 2 } ], @@ -21326,7 +22276,7 @@ } }, { - "id": 724, + "id": 768, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21339,7 +22289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 375, "character": 2 } ], @@ -21353,26 +22303,26 @@ { "title": "Properties", "kind": 1024, - "children": [727, 723, 726, 725, 724] + "children": [771, 767, 770, 769, 768] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 366, "character": 17 } ] }, { - "id": 670, + "id": 713, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 679, + "id": 722, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -21382,7 +22332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 285, + "line": 298, "character": 2 } ], @@ -21392,7 +22342,7 @@ } }, { - "id": 671, + "id": 714, "name": "id", "kind": 1024, "kindString": "Property", @@ -21400,7 +22350,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 278, + "line": 291, "character": 2 } ], @@ -21410,7 +22360,7 @@ } }, { - "id": 673, + "id": 716, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -21420,27 +22370,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 293, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 717, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 675, + "id": 718, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 676, + "id": 719, "name": "key", "kind": 32768, "flags": {}, @@ -21459,7 +22409,7 @@ } }, { - "id": 677, + "id": 720, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -21467,7 +22417,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 283, + "line": 296, "character": 2 } ], @@ -21477,7 +22427,7 @@ } }, { - "id": 680, + "id": 723, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -21487,7 +22437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 286, + "line": 299, "character": 2 } ], @@ -21497,7 +22447,7 @@ } }, { - "id": 678, + "id": 721, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21505,7 +22455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 284, + "line": 297, "character": 2 } ], @@ -21515,7 +22465,7 @@ } }, { - "id": 681, + "id": 724, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -21525,7 +22475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 300, "character": 2 } ], @@ -21535,7 +22485,7 @@ } }, { - "id": 672, + "id": 715, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -21543,7 +22493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 292, "character": 2 } ], @@ -21557,19 +22507,19 @@ { "title": "Properties", "kind": 1024, - "children": [679, 671, 673, 677, 680, 678, 681, 672] + "children": [722, 714, 716, 720, 723, 721, 724, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 277, + "line": 290, "character": 17 } ] }, { - "id": 694, + "id": 737, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21577,19 +22527,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 334, "character": 17 } ], "indexSignature": { - "id": 695, + "id": 738, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 696, + "id": 739, "name": "key", "kind": 32768, "flags": {}, @@ -21606,14 +22556,14 @@ } }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -21624,7 +22574,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -21634,7 +22584,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -21644,21 +22594,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21677,7 +22627,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -21687,7 +22637,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21700,7 +22650,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -21714,14 +22664,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -21732,7 +22682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -21742,7 +22692,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -21753,16 +22703,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21770,7 +22720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -21811,26 +22761,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -21840,21 +22790,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21873,7 +22823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -21883,7 +22833,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21896,7 +22846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -21910,14 +22860,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21928,7 +22878,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -21938,7 +22888,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -21949,7 +22899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -21959,7 +22909,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -21970,16 +22920,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21987,7 +22937,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -22012,26 +22962,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -22042,7 +22992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -22052,7 +23002,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -22063,16 +23013,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -22080,7 +23030,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -22121,19 +23071,19 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] }, { - "id": 517, + "id": 559, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -22141,7 +23091,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 31, + "line": 32, "character": 12 } ], @@ -22173,7 +23123,7 @@ "value": "USER_UPDATED" }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -22181,7 +23131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -22194,7 +23144,7 @@ } }, { - "id": 516, + "id": 558, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -22202,7 +23152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 30, "character": 12 } ], @@ -22212,7 +23162,7 @@ } }, { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -22220,7 +23170,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -22239,7 +23189,7 @@ } }, { - "id": 1028, + "id": 1103, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -22255,21 +23205,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1029, + "id": 1104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1105, "name": "id", "kind": 1024, "kindString": "Property", @@ -22280,7 +23230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1018, + "line": 1081, "character": 2 } ], @@ -22290,7 +23240,7 @@ } }, { - "id": 1031, + "id": 1106, "name": "userId", "kind": 1024, "kindString": "Property", @@ -22301,7 +23251,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1021, + "line": 1084, "character": 2 } ], @@ -22315,13 +23265,13 @@ { "title": "Properties", "kind": 1024, - "children": [1030, 1031] + "children": [1105, 1106] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1016, + "line": 1079, "character": 45 } ] @@ -22329,7 +23279,7 @@ } }, { - "id": 1019, + "id": 1094, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -22345,7 +23295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1003, + "line": 1066, "character": 12 } ], @@ -22355,14 +23305,14 @@ { "type": "reflection", "declaration": { - "id": 1020, + "id": 1095, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1021, + "id": 1096, "name": "data", "kind": 1024, "kindString": "Property", @@ -22370,21 +23320,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1022, + "id": 1097, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1023, + "id": 1098, "name": "id", "kind": 1024, "kindString": "Property", @@ -22395,7 +23345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1007, + "line": 1070, "character": 8 } ], @@ -22409,13 +23359,13 @@ { "title": "Properties", "kind": 1024, - "children": [1023] + "children": [1098] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1005, + "line": 1068, "character": 12 } ] @@ -22423,7 +23373,7 @@ } }, { - "id": 1024, + "id": 1099, "name": "error", "kind": 1024, "kindString": "Property", @@ -22431,7 +23381,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1009, + "line": 1072, "character": 6 } ], @@ -22445,13 +23395,13 @@ { "title": "Properties", "kind": 1024, - "children": [1021, 1024] + "children": [1096, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1004, + "line": 1067, "character": 4 } ] @@ -22460,14 +23410,14 @@ { "type": "reflection", "declaration": { - "id": 1025, + "id": 1100, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1026, + "id": 1101, "name": "data", "kind": 1024, "kindString": "Property", @@ -22475,7 +23425,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 6 } ], @@ -22485,7 +23435,7 @@ } }, { - "id": 1027, + "id": 1102, "name": "error", "kind": 1024, "kindString": "Property", @@ -22493,13 +23443,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -22508,13 +23458,13 @@ { "title": "Properties", "kind": 1024, - "children": [1026, 1027] + "children": [1101, 1102] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1011, + "line": 1074, "character": 4 } ] @@ -22524,7 +23474,7 @@ } }, { - "id": 1041, + "id": 1116, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -22540,21 +23490,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1117, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1043, + "id": 1118, "name": "userId", "kind": 1024, "kindString": "Property", @@ -22565,7 +23515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1042, + "line": 1105, "character": 2 } ], @@ -22579,13 +23529,13 @@ { "title": "Properties", "kind": 1024, - "children": [1043] + "children": [1118] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1040, + "line": 1103, "character": 44 } ] @@ -22593,7 +23543,7 @@ } }, { - "id": 1032, + "id": 1107, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -22609,7 +23559,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1027, + "line": 1090, "character": 12 } ], @@ -22619,14 +23569,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1109, "name": "data", "kind": 1024, "kindString": "Property", @@ -22634,21 +23584,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, + "line": 1092, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1035, + "id": 1110, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1036, + "id": 1111, "name": "factors", "kind": 1024, "kindString": "Property", @@ -22659,7 +23609,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1031, + "line": 1094, "character": 8 } ], @@ -22667,7 +23617,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -22677,503 +23627,13 @@ { "title": "Properties", "kind": 1024, - "children": [1036] + "children": [1111] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1029, - "character": 12 - } - ] - } - } - }, - { - "id": 1037, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1033, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1034, 1037] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1028, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1038, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1039, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1040, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1039, 1040] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1035, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 961, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 873, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 962, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 963, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 964, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 967, - "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": 883, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 965, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 877, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 966, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 880, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [967, 965, 966] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 12 - } - ] - } - } - }, - { - "id": 968, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 885, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [963, 968] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 874, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 969, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 970, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 971, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [970, 971] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1104, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1182, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1106, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1107, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1110, - "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": 1192, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1108, - "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": 1186, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1111, - "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": 1195, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1109, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1189, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1110, 1108, 1111, 1109] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1092, "character": 12 } ] @@ -23189,7 +23649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1096, "character": 6 } ], @@ -23203,13 +23663,13 @@ { "title": "Properties", "kind": 1024, - "children": [1106, 1112] + "children": [1109, 1112] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1183, + "line": 1091, "character": 4 } ] @@ -23233,7 +23693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1200, + "line": 1098, "character": 6 } ], @@ -23251,13 +23711,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, - "character": 6 + "line": 1098, + "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -23272,7 +23732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1098, "character": 4 } ] @@ -23282,15 +23742,15 @@ } }, { - "id": 951, - "name": "AuthMFAEnrollResponse", + "id": 1036, + "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 861, + "line": 936, "character": 12 } ], @@ -23298,7 +23758,497 @@ "type": "union", "types": [ { - "id": 1088, + "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", @@ -23306,7 +24256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1147, + "line": 1210, "character": 12 } ], @@ -23316,14 +24266,14 @@ { "type": "reflection", "declaration": { - "id": 1089, + "id": 1164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1090, + "id": 1165, "name": "data", "kind": 1024, "kindString": "Property", @@ -23331,21 +24281,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1091, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1099, + "id": 1174, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -23358,7 +24308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1173, + "line": 1236, "character": 8 } ], @@ -23368,7 +24318,7 @@ } }, { - "id": 1092, + "id": 1167, "name": "id", "kind": 1024, "kindString": "Property", @@ -23379,7 +24329,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1151, + "line": 1214, "character": 8 } ], @@ -23389,7 +24339,7 @@ } }, { - "id": 1094, + "id": 1169, "name": "totp", "kind": 1024, "kindString": "Property", @@ -23400,21 +24350,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 1095, + "id": 1170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1171, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -23425,7 +24375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1224, "character": 10 } ], @@ -23435,7 +24385,7 @@ } }, { - "id": 1097, + "id": 1172, "name": "secret", "kind": 1024, "kindString": "Property", @@ -23446,7 +24396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1166, + "line": 1229, "character": 10 } ], @@ -23456,7 +24406,7 @@ } }, { - "id": 1098, + "id": 1173, "name": "uri", "kind": 1024, "kindString": "Property", @@ -23467,7 +24417,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1170, + "line": 1233, "character": 10 } ], @@ -23481,13 +24431,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1097, 1098] + "children": [1171, 1172, 1173] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 14 } ] @@ -23495,7 +24445,7 @@ } }, { - "id": 1093, + "id": 1168, "name": "type", "kind": 1024, "kindString": "Property", @@ -23506,7 +24456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1154, + "line": 1217, "character": 8 } ], @@ -23520,13 +24470,13 @@ { "title": "Properties", "kind": 1024, - "children": [1099, 1092, 1094, 1093] + "children": [1174, 1167, 1169, 1168] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 12 } ] @@ -23534,7 +24484,7 @@ } }, { - "id": 1100, + "id": 1175, "name": "error", "kind": 1024, "kindString": "Property", @@ -23542,7 +24492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1175, + "line": 1238, "character": 6 } ], @@ -23556,13 +24506,13 @@ { "title": "Properties", "kind": 1024, - "children": [1090, 1100] + "children": [1165, 1175] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1148, + "line": 1211, "character": 4 } ] @@ -23571,14 +24521,14 @@ { "type": "reflection", "declaration": { - "id": 1101, + "id": 1176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1102, + "id": 1177, "name": "data", "kind": 1024, "kindString": "Property", @@ -23586,7 +24536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1178, + "line": 1241, "character": 6 } ], @@ -23596,7 +24546,7 @@ } }, { - "id": 1103, + "id": 1178, "name": "error", "kind": 1024, "kindString": "Property", @@ -23604,13 +24554,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1242, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -23619,13 +24569,13 @@ { "title": "Properties", "kind": 1024, - "children": [1102, 1103] + "children": [1177, 1178] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1177, + "line": 1240, "character": 4 } ] @@ -23635,7 +24585,7 @@ } }, { - "id": 1104, + "id": 1179, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -23643,7 +24593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1182, + "line": 1245, "character": 12 } ], @@ -23653,14 +24603,14 @@ { "type": "reflection", "declaration": { - "id": 1105, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1106, + "id": 1181, "name": "data", "kind": 1024, "kindString": "Property", @@ -23668,21 +24618,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1247, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1107, + "id": 1182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1110, + "id": 1185, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -23695,7 +24645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1192, + "line": 1255, "character": 8 } ], @@ -23705,7 +24655,7 @@ } }, { - "id": 1108, + "id": 1183, "name": "id", "kind": 1024, "kindString": "Property", @@ -23716,7 +24666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1186, + "line": 1249, "character": 8 } ], @@ -23726,7 +24676,7 @@ } }, { - "id": 1111, + "id": 1186, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23737,7 +24687,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1258, "character": 8 } ], @@ -23747,7 +24697,7 @@ } }, { - "id": 1109, + "id": 1184, "name": "type", "kind": 1024, "kindString": "Property", @@ -23758,7 +24708,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1189, + "line": 1252, "character": 8 } ], @@ -23772,13 +24722,13 @@ { "title": "Properties", "kind": 1024, - "children": [1110, 1108, 1111, 1109] + "children": [1185, 1183, 1186, 1184] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1184, + "line": 1247, "character": 12 } ] @@ -23786,7 +24736,7 @@ } }, { - "id": 1112, + "id": 1187, "name": "error", "kind": 1024, "kindString": "Property", @@ -23794,7 +24744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1260, "character": 6 } ], @@ -23808,13 +24758,13 @@ { "title": "Properties", "kind": 1024, - "children": [1106, 1112] + "children": [1181, 1187] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1183, + "line": 1246, "character": 4 } ] @@ -23823,14 +24773,14 @@ { "type": "reflection", "declaration": { - "id": 1113, + "id": 1188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1114, + "id": 1189, "name": "data", "kind": 1024, "kindString": "Property", @@ -23838,7 +24788,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1200, + "line": 1263, "character": 6 } ], @@ -23848,7 +24798,7 @@ } }, { - "id": 1115, + "id": 1190, "name": "error", "kind": 1024, "kindString": "Property", @@ -23856,13 +24806,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1264, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -23871,13 +24821,13 @@ { "title": "Properties", "kind": 1024, - "children": [1114, 1115] + "children": [1189, 1190] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1262, "character": 4 } ] @@ -23890,7 +24840,7 @@ } }, { - "id": 1088, + "id": 1163, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -23898,7 +24848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1147, + "line": 1210, "character": 12 } ], @@ -23908,14 +24858,14 @@ { "type": "reflection", "declaration": { - "id": 1089, + "id": 1164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1090, + "id": 1165, "name": "data", "kind": 1024, "kindString": "Property", @@ -23923,21 +24873,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1091, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1099, + "id": 1174, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -23950,7 +24900,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1173, + "line": 1236, "character": 8 } ], @@ -23960,7 +24910,7 @@ } }, { - "id": 1092, + "id": 1167, "name": "id", "kind": 1024, "kindString": "Property", @@ -23971,7 +24921,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1151, + "line": 1214, "character": 8 } ], @@ -23981,7 +24931,7 @@ } }, { - "id": 1094, + "id": 1169, "name": "totp", "kind": 1024, "kindString": "Property", @@ -23992,21 +24942,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 1095, + "id": 1170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1171, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -24017,7 +24967,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1224, "character": 10 } ], @@ -24027,7 +24977,7 @@ } }, { - "id": 1097, + "id": 1172, "name": "secret", "kind": 1024, "kindString": "Property", @@ -24038,7 +24988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1166, + "line": 1229, "character": 10 } ], @@ -24048,7 +24998,7 @@ } }, { - "id": 1098, + "id": 1173, "name": "uri", "kind": 1024, "kindString": "Property", @@ -24059,7 +25009,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1170, + "line": 1233, "character": 10 } ], @@ -24073,13 +25023,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1097, 1098] + "children": [1171, 1172, 1173] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1220, "character": 14 } ] @@ -24087,7 +25037,7 @@ } }, { - "id": 1093, + "id": 1168, "name": "type", "kind": 1024, "kindString": "Property", @@ -24098,7 +25048,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1154, + "line": 1217, "character": 8 } ], @@ -24112,13 +25062,13 @@ { "title": "Properties", "kind": 1024, - "children": [1099, 1092, 1094, 1093] + "children": [1174, 1167, 1169, 1168] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1149, + "line": 1212, "character": 12 } ] @@ -24126,7 +25076,7 @@ } }, { - "id": 1100, + "id": 1175, "name": "error", "kind": 1024, "kindString": "Property", @@ -24134,7 +25084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1175, + "line": 1238, "character": 6 } ], @@ -24148,13 +25098,13 @@ { "title": "Properties", "kind": 1024, - "children": [1090, 1100] + "children": [1165, 1175] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1148, + "line": 1211, "character": 4 } ] @@ -24163,14 +25113,14 @@ { "type": "reflection", "declaration": { - "id": 1101, + "id": 1176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1102, + "id": 1177, "name": "data", "kind": 1024, "kindString": "Property", @@ -24178,7 +25128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1178, + "line": 1241, "character": 6 } ], @@ -24188,7 +25138,7 @@ } }, { - "id": 1103, + "id": 1178, "name": "error", "kind": 1024, "kindString": "Property", @@ -24196,13 +25146,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1242, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -24211,13 +25161,13 @@ { "title": "Properties", "kind": 1024, - "children": [1102, 1103] + "children": [1177, 1178] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1177, + "line": 1240, "character": 4 } ] @@ -24227,7 +25177,7 @@ } }, { - "id": 984, + "id": 1059, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -24235,7 +25185,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 969, "character": 12 } ], @@ -24245,14 +25195,14 @@ { "type": "reflection", "declaration": { - "id": 985, + "id": 1060, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 986, + "id": 1061, "name": "data", "kind": 1024, "kindString": "Property", @@ -24260,21 +25210,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 987, + "id": 1062, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1065, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -24285,7 +25235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 925, + "line": 988, "character": 8 } ], @@ -24293,13 +25243,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 666, + "id": 709, "name": "AMREntry" } } }, { - "id": 988, + "id": 1063, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -24310,7 +25260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 973, "character": 8 } ], @@ -24319,7 +25269,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -24330,7 +25280,7 @@ } }, { - "id": 989, + "id": 1064, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -24347,7 +25297,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 981, "character": 8 } ], @@ -24356,7 +25306,7 @@ "types": [ { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels" }, { @@ -24371,13 +25321,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 988, 989] + "children": [1065, 1063, 1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 971, "character": 12 } ] @@ -24385,7 +25335,7 @@ } }, { - "id": 991, + "id": 1066, "name": "error", "kind": 1024, "kindString": "Property", @@ -24393,7 +25343,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 990, "character": 6 } ], @@ -24407,13 +25357,13 @@ { "title": "Properties", "kind": 1024, - "children": [986, 991] + "children": [1061, 1066] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 970, "character": 4 } ] @@ -24422,14 +25372,14 @@ { "type": "reflection", "declaration": { - "id": 992, + "id": 1067, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 993, + "id": 1068, "name": "data", "kind": 1024, "kindString": "Property", @@ -24437,7 +25387,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 6 } ], @@ -24447,7 +25397,7 @@ } }, { - "id": 994, + "id": 1069, "name": "error", "kind": 1024, "kindString": "Property", @@ -24455,13 +25405,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -24470,13 +25420,13 @@ { "title": "Properties", "kind": 1024, - "children": [993, 994] + "children": [1068, 1069] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 929, + "line": 992, "character": 4 } ] @@ -24486,7 +25436,7 @@ } }, { - "id": 972, + "id": 1047, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -24494,7 +25444,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 952, "character": 12 } ], @@ -24504,14 +25454,14 @@ { "type": "reflection", "declaration": { - "id": 973, + "id": 1048, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 974, + "id": 1049, "name": "data", "kind": 1024, "kindString": "Property", @@ -24519,21 +25469,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 975, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 976, + "id": 1051, "name": "all", "kind": 1024, "kindString": "Property", @@ -24544,7 +25494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 893, + "line": 956, "character": 8 } ], @@ -24552,13 +25502,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 978, + "id": 1053, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24569,7 +25519,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 898, + "line": 961, "character": 8 } ], @@ -24577,13 +25527,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } }, { - "id": 977, + "id": 1052, "name": "totp", "kind": 1024, "kindString": "Property", @@ -24594,7 +25544,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 959, "character": 8 } ], @@ -24602,7 +25552,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 682, + "id": 725, "name": "Factor" } } @@ -24612,13 +25562,13 @@ { "title": "Properties", "kind": 1024, - "children": [976, 978, 977] + "children": [1051, 1053, 1052] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 891, + "line": 954, "character": 12 } ] @@ -24626,7 +25576,7 @@ } }, { - "id": 979, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -24634,7 +25584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 963, "character": 6 } ], @@ -24648,13 +25598,13 @@ { "title": "Properties", "kind": 1024, - "children": [974, 979] + "children": [1049, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 890, + "line": 953, "character": 4 } ] @@ -24663,14 +25613,14 @@ { "type": "reflection", "declaration": { - "id": 980, + "id": 1055, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 981, + "id": 1056, "name": "data", "kind": 1024, "kindString": "Property", @@ -24678,7 +25628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 6 } ], @@ -24688,7 +25638,7 @@ } }, { - "id": 982, + "id": 1057, "name": "error", "kind": 1024, "kindString": "Property", @@ -24696,13 +25646,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -24711,13 +25661,13 @@ { "title": "Properties", "kind": 1024, - "children": [981, 982] + "children": [1056, 1057] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 965, "character": 4 } ] @@ -24727,7 +25677,7 @@ } }, { - "id": 952, + "id": 1027, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -24735,7 +25685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 863, + "line": 926, "character": 12 } ], @@ -24745,14 +25695,14 @@ { "type": "reflection", "declaration": { - "id": 953, + "id": 1028, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 954, + "id": 1029, "name": "data", "kind": 1024, "kindString": "Property", @@ -24760,21 +25710,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 955, + "id": 1030, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 956, + "id": 1031, "name": "id", "kind": 1024, "kindString": "Property", @@ -24785,7 +25735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 930, "character": 8 } ], @@ -24799,13 +25749,13 @@ { "title": "Properties", "kind": 1024, - "children": [956] + "children": [1031] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 865, + "line": 928, "character": 12 } ] @@ -24813,7 +25763,7 @@ } }, { - "id": 957, + "id": 1032, "name": "error", "kind": 1024, "kindString": "Property", @@ -24821,7 +25771,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 932, "character": 6 } ], @@ -24835,13 +25785,13 @@ { "title": "Properties", "kind": 1024, - "children": [954, 957] + "children": [1029, 1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 927, "character": 4 } ] @@ -24850,14 +25800,14 @@ { "type": "reflection", "declaration": { - "id": 958, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 959, + "id": 1034, "name": "data", "kind": 1024, "kindString": "Property", @@ -24865,7 +25815,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 6 } ], @@ -24875,7 +25825,7 @@ } }, { - "id": 960, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -24883,13 +25833,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 18 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -24898,13 +25848,13 @@ { "title": "Properties", "kind": 1024, - "children": [959, 960] + "children": [1034, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 934, "character": 4 } ] @@ -24914,7 +25864,7 @@ } }, { - "id": 938, + "id": 1013, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -24922,7 +25872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 836, + "line": 899, "character": 12 } ], @@ -24932,14 +25882,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 1014, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 1015, "name": "data", "kind": 1024, "kindString": "Property", @@ -24947,21 +25897,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 1016, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 1017, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -24972,7 +25922,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 903, "character": 8 } ], @@ -24982,7 +25932,7 @@ } }, { - "id": 944, + "id": 1019, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -24993,7 +25943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 846, + "line": 909, "character": 8 } ], @@ -25003,7 +25953,7 @@ } }, { - "id": 945, + "id": 1020, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -25014,7 +25964,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 849, + "line": 912, "character": 8 } ], @@ -25024,7 +25974,7 @@ } }, { - "id": 943, + "id": 1018, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -25035,7 +25985,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 906, "character": 8 } ], @@ -25045,7 +25995,7 @@ } }, { - "id": 946, + "id": 1021, "name": "user", "kind": 1024, "kindString": "Property", @@ -25056,13 +26006,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 915, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -25071,13 +26021,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 944, 945, 943, 946] + "children": [1017, 1019, 1020, 1018, 1021] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 901, "character": 12 } ] @@ -25085,7 +26035,7 @@ } }, { - "id": 947, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -25093,7 +26043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 917, "character": 6 } ], @@ -25107,13 +26057,13 @@ { "title": "Properties", "kind": 1024, - "children": [940, 947] + "children": [1015, 1022] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 837, + "line": 900, "character": 4 } ] @@ -25122,14 +26072,14 @@ { "type": "reflection", "declaration": { - "id": 948, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 949, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -25137,7 +26087,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 857, + "line": 920, "character": 6 } ], @@ -25147,7 +26097,7 @@ } }, { - "id": 950, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -25155,13 +26105,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 858, + "line": 921, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -25170,13 +26120,13 @@ { "title": "Properties", "kind": 1024, - "children": [949, 950] + "children": [1024, 1025] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 919, "character": 4 } ] @@ -25186,7 +26136,7 @@ } }, { - "id": 581, + "id": 624, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -25198,7 +26148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 135, + "line": 144, "character": 12 } ], @@ -25208,14 +26158,14 @@ { "type": "reflection", "declaration": { - "id": 582, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 626, "name": "data", "kind": 1024, "kindString": "Property", @@ -25223,21 +26173,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 584, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 587, + "id": 630, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -25247,7 +26197,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 41 } ], @@ -25266,7 +26216,7 @@ } }, { - "id": 586, + "id": 629, "name": "session", "kind": 1024, "kindString": "Property", @@ -25274,7 +26224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 26 } ], @@ -25284,7 +26234,7 @@ } }, { - "id": 585, + "id": 628, "name": "user", "kind": 1024, "kindString": "Property", @@ -25292,7 +26242,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 14 } ], @@ -25306,13 +26256,13 @@ { "title": "Properties", "kind": 1024, - "children": [587, 586, 585] + "children": [630, 629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 146, "character": 12 } ] @@ -25320,7 +26270,7 @@ } }, { - "id": 588, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -25328,7 +26278,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 138, + "line": 147, "character": 6 } ], @@ -25342,13 +26292,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 588] + "children": [626, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 136, + "line": 145, "character": 4 } ] @@ -25357,14 +26307,14 @@ { "type": "reflection", "declaration": { - "id": 589, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 590, + "id": 633, "name": "data", "kind": 1024, "kindString": "Property", @@ -25372,21 +26322,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 634, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 594, + "id": 637, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -25396,7 +26346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 41 } ], @@ -25415,7 +26365,7 @@ } }, { - "id": 593, + "id": 636, "name": "session", "kind": 1024, "kindString": "Property", @@ -25423,7 +26373,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 26 } ], @@ -25433,7 +26383,7 @@ } }, { - "id": 592, + "id": 635, "name": "user", "kind": 1024, "kindString": "Property", @@ -25441,7 +26391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 14 } ], @@ -25455,13 +26405,13 @@ { "title": "Properties", "kind": 1024, - "children": [594, 593, 592] + "children": [637, 636, 635] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 141, + "line": 150, "character": 12 } ] @@ -25469,7 +26419,7 @@ } }, { - "id": 595, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -25477,13 +26427,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 142, + "line": 151, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -25492,13 +26442,13 @@ { "title": "Properties", "kind": 1024, - "children": [590, 595] + "children": [633, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 149, "character": 4 } ] @@ -25508,7 +26458,7 @@ } }, { - "id": 554, + "id": 597, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -25516,7 +26466,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 106, "character": 12 } ], @@ -25526,14 +26476,14 @@ { "type": "reflection", "declaration": { - "id": 555, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 556, + "id": 599, "name": "data", "kind": 1024, "kindString": "Property", @@ -25541,21 +26491,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 559, + "id": 602, "name": "session", "kind": 1024, "kindString": "Property", @@ -25563,7 +26513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 110, "character": 8 } ], @@ -25572,7 +26522,7 @@ "types": [ { "type": "reference", - "id": 657, + "id": 700, "name": "Session" }, { @@ -25583,7 +26533,7 @@ } }, { - "id": 558, + "id": 601, "name": "user", "kind": 1024, "kindString": "Property", @@ -25591,7 +26541,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 109, "character": 8 } ], @@ -25600,7 +26550,7 @@ "types": [ { "type": "reference", - "id": 697, + "id": 740, "name": "User" }, { @@ -25615,13 +26565,13 @@ { "title": "Properties", "kind": 1024, - "children": [559, 558] + "children": [602, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 108, "character": 12 } ] @@ -25629,7 +26579,7 @@ } }, { - "id": 560, + "id": 603, "name": "error", "kind": 1024, "kindString": "Property", @@ -25637,7 +26587,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 112, "character": 6 } ], @@ -25651,13 +26601,13 @@ { "title": "Properties", "kind": 1024, - "children": [556, 560] + "children": [599, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 107, "character": 4 } ] @@ -25666,154 +26616,14 @@ { "type": "reflection", "declaration": { - "id": 561, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 562, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 563, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 565, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 564, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [565, 564] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ] - } - } - }, - { - "id": 566, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [562, 566] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 105, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 567, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 113, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 568, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 569, + "id": 605, "name": "data", "kind": 1024, "kindString": "Property", @@ -25828,14 +26638,14 @@ "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 606, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 608, "name": "session", "kind": 1024, "kindString": "Property", @@ -25848,22 +26658,12 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 657, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] + "type": "literal", + "value": null } }, { - "id": 571, + "id": 607, "name": "user", "kind": 1024, "kindString": "Property", @@ -25875,12 +26675,162 @@ "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": 697, + "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" }, { @@ -25891,7 +26841,7 @@ } }, { - "id": 573, + "id": 616, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -25901,7 +26851,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 118, + "line": 127, "character": 8 } ], @@ -25910,7 +26860,7 @@ "types": [ { "type": "reference", - "id": 550, + "id": 593, "name": "WeakPassword" }, { @@ -25925,13 +26875,13 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 573] + "children": [615, 614, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 115, + "line": 124, "character": 12 } ] @@ -25939,7 +26889,7 @@ } }, { - "id": 574, + "id": 617, "name": "error", "kind": 1024, "kindString": "Property", @@ -25947,7 +26897,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 129, "character": 6 } ], @@ -25961,13 +26911,13 @@ { "title": "Properties", "kind": 1024, - "children": [569, 574] + "children": [612, 617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 114, + "line": 123, "character": 4 } ] @@ -25976,14 +26926,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 619, "name": "data", "kind": 1024, "kindString": "Property", @@ -25991,612 +26941,47 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 123, + "line": 132, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 620, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 579, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 578, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [579, 578] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 12 - } - ] - } - } - }, - { - "id": 580, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [576, 580] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 596, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 597, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 599, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 601, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 600, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [601, 600] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 12 - } - ] - } - } - }, - { - "id": 602, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 602] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 603, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 604, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 605, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 607, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 156, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 606, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 155, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [607, 606] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 12 - } - ] - } - } - }, - { - "id": 608, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1160, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [604, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 153, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 609, - "name": "AuthTokenResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 161, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 612, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 657, - "name": "Session" - } - }, - { - "id": 613, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 697, - "name": "User" - } - }, - { - "id": 615, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 166, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 550, - "name": "WeakPassword" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 613, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 163, - "character": 12 - } - ] - } - } - }, - { - "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 168, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 621, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 620, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, { "id": 622, - "name": "weakPassword", + "name": "session", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "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 } ], @@ -26610,13 +26995,13 @@ { "title": "Properties", "kind": 1024, - "children": [621, 620, 622] + "children": [622, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 132, "character": 12 } ] @@ -26632,13 +27017,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 176, + "line": 136, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -26647,13 +27032,13 @@ { "title": "Properties", "kind": 1024, - "children": [618, 623] + "children": [619, 623] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 131, "character": 4 } ] @@ -26663,7 +27048,572 @@ } }, { - "id": 983, + "id": 639, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 154, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 640, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 641, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 642, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 644, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 643, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 740, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [644, 643] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ] + } + } + }, + { + "id": 645, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [641, 645] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 155, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 648, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 650, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 649, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [650, 649] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 163, + "character": 12 + } + ] + } + } + }, + { + "id": 651, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 651] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 652, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 170, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 653, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 657, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 700, + "name": "Session" + } + }, + { + "id": 656, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [657, 656, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ] + } + } + }, + { + "id": 659, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [654, 659] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 661, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 662, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 664, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 663, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "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, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [664, 663, 665] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 12 + } + ] + } + } + }, + { + "id": 666, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1237, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [661, 666] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1058, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -26671,7 +27621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 967, "character": 12 } ], @@ -26690,7 +27640,7 @@ } }, { - "id": 1057, + "id": 1132, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -26698,7 +27648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1092, + "line": 1155, "character": 12 } ], @@ -26708,14 +27658,14 @@ { "type": "reflection", "declaration": { - "id": 1058, + "id": 1133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1060, + "id": 1135, "name": "error", "kind": 1024, "kindString": "Property", @@ -26723,7 +27673,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1095, + "line": 1158, "character": 6 } ], @@ -26733,7 +27683,7 @@ } }, { - "id": 1059, + "id": 1134, "name": "session", "kind": 1024, "kindString": "Property", @@ -26741,13 +27691,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1094, + "line": 1157, "character": 6 } ], "type": { "type": "reference", - "id": 657, + "id": 700, "name": "Session" } } @@ -26756,13 +27706,13 @@ { "title": "Properties", "kind": 1024, - "children": [1060, 1059] + "children": [1135, 1134] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1093, + "line": 1156, "character": 4 } ] @@ -26771,14 +27721,14 @@ { "type": "reflection", "declaration": { - "id": 1061, + "id": 1136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1063, + "id": 1138, "name": "error", "kind": 1024, "kindString": "Property", @@ -26786,18 +27736,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1099, + "line": 1162, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } }, { - "id": 1062, + "id": 1137, "name": "session", "kind": 1024, "kindString": "Property", @@ -26805,7 +27755,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1098, + "line": 1161, "character": 6 } ], @@ -26819,13 +27769,13 @@ { "title": "Properties", "kind": 1024, - "children": [1063, 1062] + "children": [1138, 1137] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1097, + "line": 1160, "character": 4 } ] @@ -26835,7 +27785,7 @@ } }, { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -26843,7 +27793,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -26878,7 +27828,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26886,21 +27836,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -26911,7 +27861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -26921,7 +27871,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -26932,7 +27882,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -26942,7 +27892,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -26952,7 +27902,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -26961,7 +27911,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -26975,7 +27925,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -26983,7 +27933,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -27006,13 +27956,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -27020,7 +27970,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27028,21 +27978,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -27053,7 +28003,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -27063,7 +28013,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -27073,7 +28023,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -27082,7 +28032,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -27105,7 +28055,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -27113,7 +28063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -27136,13 +28086,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -27150,7 +28100,7 @@ } }, { - "id": 899, + "id": 974, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27158,7 +28108,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 752, + "line": 815, "character": 12 } ], @@ -27166,7 +28116,7 @@ "type": "union", "types": [ { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27174,21 +28124,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -27196,7 +28146,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -27206,7 +28156,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -27216,7 +28166,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -27225,7 +28175,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -27248,7 +28198,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -27256,7 +28206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -27266,7 +28216,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -27274,7 +28224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -27288,13 +28238,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -27302,7 +28252,7 @@ } }, { - "id": 880, + "id": 955, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27310,21 +28260,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 881, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 883, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -27335,7 +28285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 782, "character": 2 } ], @@ -27345,7 +28295,7 @@ } }, { - "id": 884, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -27355,7 +28305,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 720, + "line": 783, "character": 2 } ], @@ -27364,7 +28314,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -27387,7 +28337,7 @@ } }, { - "id": 882, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -27395,7 +28345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 780, "character": 2 } ], @@ -27418,13 +28368,13 @@ { "title": "Properties", "kind": 1024, - "children": [883, 884, 882] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 716, + "line": 779, "character": 46 } ] @@ -27432,7 +28382,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27440,21 +28390,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -27465,7 +28415,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -27475,7 +28425,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -27485,7 +28435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -27494,7 +28444,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -27508,7 +28458,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -27516,7 +28466,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -27530,13 +28480,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -27544,7 +28494,7 @@ } }, { - "id": 890, + "id": 965, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27552,21 +28502,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 966, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 968, "name": "email", "kind": 1024, "kindString": "Property", @@ -27577,7 +28527,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 796, "character": 2 } ], @@ -27587,7 +28537,7 @@ } }, { - "id": 894, + "id": 969, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -27598,7 +28548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 737, + "line": 800, "character": 2 } ], @@ -27608,7 +28558,7 @@ } }, { - "id": 895, + "id": 970, "name": "options", "kind": 1024, "kindString": "Property", @@ -27618,7 +28568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 738, + "line": 801, "character": 2 } ], @@ -27627,7 +28577,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -27641,7 +28591,7 @@ } }, { - "id": 892, + "id": 967, "name": "type", "kind": 1024, "kindString": "Property", @@ -27649,7 +28599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 794, "character": 2 } ], @@ -27672,13 +28622,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 895, 892] + "children": [968, 969, 970, 967] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 793, "character": 44 } ] @@ -27689,7 +28639,7 @@ } }, { - "id": 913, + "id": 988, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -27700,21 +28650,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 915, + "id": 990, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27725,7 +28675,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 843, "character": 2 } ], @@ -27735,7 +28685,7 @@ } }, { - "id": 916, + "id": 991, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -27746,7 +28696,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 785, + "line": 848, "character": 2 } ], @@ -27756,7 +28706,7 @@ } }, { - "id": 917, + "id": 992, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -27767,7 +28717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 852, "character": 2 } ], @@ -27777,7 +28727,7 @@ } }, { - "id": 918, + "id": 993, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -27788,7 +28738,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 791, + "line": 854, "character": 2 } ], @@ -27798,7 +28748,7 @@ } }, { - "id": 919, + "id": 994, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -27809,16 +28759,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 856, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 995, "name": "GenerateLinkType", "dereferenced": { - "id": 920, + "id": 995, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -27826,7 +28776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 859, "character": 12 } ], @@ -27867,13 +28817,13 @@ { "title": "Properties", "kind": 1024, - "children": [915, 916, 917, 918, 919] + "children": [990, 991, 992, 993, 994] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 838, "character": 37 } ] @@ -27881,7 +28831,7 @@ } }, { - "id": 900, + "id": 975, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -27889,7 +28839,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 758, + "line": 821, "character": 12 } ], @@ -27899,14 +28849,14 @@ { "type": "reflection", "declaration": { - "id": 901, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 902, + "id": 977, "name": "data", "kind": 1024, "kindString": "Property", @@ -27914,21 +28864,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 979, "name": "properties", "kind": 1024, "kindString": "Property", @@ -27936,18 +28886,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 824, "character": 8 } ], "type": { "type": "reference", - "id": 913, + "id": 988, "name": "GenerateLinkProperties" } }, { - "id": 905, + "id": 980, "name": "user", "kind": 1024, "kindString": "Property", @@ -27955,13 +28905,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 825, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -27970,13 +28920,13 @@ { "title": "Properties", "kind": 1024, - "children": [904, 905] + "children": [979, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 823, "character": 12 } ] @@ -27984,7 +28934,7 @@ } }, { - "id": 906, + "id": 981, "name": "error", "kind": 1024, "kindString": "Property", @@ -27992,7 +28942,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 827, "character": 6 } ], @@ -28006,13 +28956,13 @@ { "title": "Properties", "kind": 1024, - "children": [902, 906] + "children": [977, 981] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 759, + "line": 822, "character": 4 } ] @@ -28021,14 +28971,14 @@ { "type": "reflection", "declaration": { - "id": 907, + "id": 982, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 983, "name": "data", "kind": 1024, "kindString": "Property", @@ -28036,21 +28986,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 909, + "id": 984, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 985, "name": "properties", "kind": 1024, "kindString": "Property", @@ -28058,7 +29008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 831, "character": 8 } ], @@ -28068,7 +29018,7 @@ } }, { - "id": 911, + "id": 986, "name": "user", "kind": 1024, "kindString": "Property", @@ -28076,7 +29026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 769, + "line": 832, "character": 8 } ], @@ -28090,13 +29040,13 @@ { "title": "Properties", "kind": 1024, - "children": [910, 911] + "children": [985, 986] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 767, + "line": 830, "character": 12 } ] @@ -28104,7 +29054,7 @@ } }, { - "id": 912, + "id": 987, "name": "error", "kind": 1024, "kindString": "Property", @@ -28112,13 +29062,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 771, + "line": 834, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -28127,13 +29077,13 @@ { "title": "Properties", "kind": 1024, - "children": [908, 912] + "children": [983, 987] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 829, "character": 4 } ] @@ -28143,7 +29093,7 @@ } }, { - "id": 920, + "id": 995, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -28151,7 +29101,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 859, "character": 12 } ], @@ -28186,7 +29136,7 @@ } }, { - "id": 885, + "id": 960, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28194,21 +29144,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 961, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 888, + "id": 963, "name": "email", "kind": 1024, "kindString": "Property", @@ -28219,7 +29169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 789, "character": 2 } ], @@ -28229,7 +29179,7 @@ } }, { - "id": 889, + "id": 964, "name": "options", "kind": 1024, "kindString": "Property", @@ -28239,7 +29189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 790, "character": 2 } ], @@ -28248,7 +29198,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -28262,7 +29212,7 @@ } }, { - "id": 887, + "id": 962, "name": "type", "kind": 1024, "kindString": "Property", @@ -28270,7 +29220,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 724, + "line": 787, "character": 2 } ], @@ -28284,13 +29234,13 @@ { "title": "Properties", "kind": 1024, - "children": [888, 889, 887] + "children": [963, 964, 962] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 786, "character": 41 } ] @@ -28298,7 +29248,7 @@ } }, { - "id": 874, + "id": 949, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28306,21 +29256,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 875, + "id": 950, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 877, + "id": 952, "name": "email", "kind": 1024, "kindString": "Property", @@ -28328,7 +29278,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 711, + "line": 774, "character": 2 } ], @@ -28338,7 +29288,7 @@ } }, { - "id": 879, + "id": 954, "name": "options", "kind": 1024, "kindString": "Property", @@ -28348,7 +29298,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 776, "character": 2 } ], @@ -28357,7 +29307,7 @@ "typeArguments": [ { "type": "reference", - "id": 896, + "id": 971, "name": "GenerateLinkOptions" }, { @@ -28380,7 +29330,7 @@ } }, { - "id": 878, + "id": 953, "name": "password", "kind": 1024, "kindString": "Property", @@ -28388,7 +29338,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 775, "character": 2 } ], @@ -28398,7 +29348,7 @@ } }, { - "id": 876, + "id": 951, "name": "type", "kind": 1024, "kindString": "Property", @@ -28406,7 +29356,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 773, "character": 2 } ], @@ -28420,13 +29370,13 @@ { "title": "Properties", "kind": 1024, - "children": [877, 879, 878, 876] + "children": [952, 954, 953, 951] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 772, "character": 39 } ] @@ -28434,7 +29384,7 @@ } }, { - "id": 527, + "id": 569, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -28442,21 +29392,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 578, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -28466,7 +29416,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 67, + "line": 68, "character": 2 } ], @@ -28476,7 +29426,7 @@ } }, { - "id": 541, + "id": 584, "name": "debug", "kind": 1024, "kindString": "Property", @@ -28486,7 +29436,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 2 } ], @@ -28500,7 +29450,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28508,20 +29458,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 86, "character": 21 } ], "signatures": [ { - "id": 543, + "id": 586, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 587, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -28532,7 +29482,7 @@ } }, { - "id": 545, + "id": 588, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -28560,7 +29510,7 @@ } }, { - "id": 535, + "id": 577, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -28570,7 +29520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 66, "character": 2 } ], @@ -28580,7 +29530,7 @@ } }, { - "id": 539, + "id": 582, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -28590,7 +29540,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 82, "character": 2 } ], @@ -28600,7 +29550,7 @@ } }, { - "id": 540, + "id": 583, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -28610,16 +29560,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 84, "character": 2 } ], "type": { "type": "reference", - "id": 802, + "id": 846, "name": "AuthFlowType", "dereferenced": { - "id": 802, + "id": 846, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -28627,7 +29577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 599, "character": 12 } ], @@ -28648,7 +29598,7 @@ } }, { - "id": 547, + "id": 590, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -28667,7 +29617,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 97, "character": 2 } ], @@ -28677,7 +29627,7 @@ } }, { - "id": 530, + "id": 572, "name": "headers", "kind": 1024, "kindString": "Property", @@ -28687,14 +29637,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28702,19 +29652,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 12 } ], "indexSignature": { - "id": 532, + "id": 574, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 533, + "id": 575, "name": "key", "kind": 32768, "flags": {}, @@ -28733,7 +29683,7 @@ } }, { - "id": 546, + "id": 589, "name": "lock", "kind": 1024, "kindString": "Property", @@ -28752,16 +29702,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 92, "character": 2 } ], "type": { "type": "reference", - "id": 518, + "id": 560, "name": "LockFunc", "dereferenced": { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -28769,14 +29719,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28784,13 +29734,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28806,7 +29756,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -28815,7 +29765,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -28829,7 +29779,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -28843,7 +29793,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -28854,7 +29804,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28862,13 +29812,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28878,7 +29828,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -28897,7 +29847,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -28913,7 +29863,7 @@ } }, { - "id": 537, + "id": 579, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -28923,7 +29873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 2 } ], @@ -28933,7 +29883,7 @@ } }, { - "id": 538, + "id": 580, "name": "storage", "kind": 1024, "kindString": "Property", @@ -28943,16 +29893,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 2 } ], "type": { "type": "reference", - "id": 1051, + "id": 1126, "name": "SupportedStorage", "dereferenced": { - "id": 1051, + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -28960,7 +29910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -29007,14 +29957,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -29027,7 +29977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -29041,13 +29991,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -29059,7 +30009,7 @@ } }, { - "id": 534, + "id": 576, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -29069,7 +30019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -29079,7 +30029,7 @@ } }, { - "id": 529, + "id": 571, "name": "url", "kind": 1024, "kindString": "Property", @@ -29089,7 +30039,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -29097,19 +30047,155 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 581, + "name": "userStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stores the user object in a separate storage location from the rest of the session data. When non-null, `storage` will only store a JSON object containing the access and refresh token and some adjacent metadata, while `userStorage` will only contain the user object under the key `storageKey + '-user'`.", + "text": "When this option is set and cookie storage is used, `getSession()` and other functions that load a session from the cookie store might not return back a user. It's very important to always use `getUser()` to fetch a user object in those scenarios.\n", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1126, + "name": "SupportedStorage", + "dereferenced": { + "id": 1126, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1140, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Storage", + "package": "typescript", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "PromisifyMethods" + }, + { + "type": "reflection", + "declaration": { + "id": 1127, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1128, + "name": "isServer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to `true` signals to the library that the storage medium is used\non a server and the values may not be authentic, such as reading from\nrequest cookies. Implementations should not set this to true if the client\nis used on a server that reads storage information from authenticated\nsources, such as a secure database or file." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1150, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1128] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1142, + "character": 4 + } + ] + } + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [536, 541, 535, 539, 540, 547, 530, 546, 537, 538, 534, 529] + "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 58, "character": 34 } ] @@ -29117,7 +30203,7 @@ } }, { - "id": 1054, + "id": 1129, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -29125,21 +30211,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1055, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1131, "name": "error", "kind": 1024, "kindString": "Property", @@ -29147,7 +30233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 33 } ], @@ -29156,7 +30242,7 @@ "types": [ { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" }, { @@ -29171,13 +30257,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1090, + "line": 1153, "character": 31 } ] @@ -29185,7 +30271,7 @@ } }, { - "id": 1116, + "id": 1191, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -29193,21 +30279,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1193, "name": "alg", "kind": 1024, "kindString": "Property", @@ -29215,7 +30301,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1268, "character": 2 } ], @@ -29238,7 +30324,7 @@ } }, { - "id": 1119, + "id": 1194, "name": "kid", "kind": 1024, "kindString": "Property", @@ -29246,7 +30332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1206, + "line": 1269, "character": 2 } ], @@ -29256,7 +30342,7 @@ } }, { - "id": 1120, + "id": 1195, "name": "typ", "kind": 1024, "kindString": "Property", @@ -29264,7 +30350,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1270, "character": 2 } ], @@ -29278,13 +30364,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118, 1119, 1120] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1204, + "line": 1267, "character": 24 } ] @@ -29292,7 +30378,7 @@ } }, { - "id": 1131, + "id": 1206, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -29300,7 +30386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 12 } ], @@ -29309,13 +30395,13 @@ "types": [ { "type": "reference", - "id": 1121, + "id": 1196, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1132, + "id": 1207, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29323,19 +30409,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1221, + "line": 1284, "character": 42 } ], "indexSignature": { - "id": 1133, + "id": 1208, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1209, "name": "key", "kind": 32768, "flags": {}, @@ -29356,7 +30442,7 @@ } }, { - "id": 518, + "id": 560, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -29364,14 +30450,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 519, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29379,13 +30465,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 23 } ], "signatures": [ { - "id": 520, + "id": 562, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -29401,7 +30487,7 @@ }, "typeParameter": [ { - "id": 526, + "id": 568, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -29410,7 +30496,7 @@ ], "parameters": [ { - "id": 521, + "id": 563, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -29424,7 +30510,7 @@ } }, { - "id": 522, + "id": 564, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -29438,7 +30524,7 @@ } }, { - "id": 523, + "id": 565, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -29449,7 +30535,7 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29457,13 +30543,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 69 } ], "signatures": [ { - "id": 525, + "id": 567, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -29473,7 +30559,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -29492,7 +30578,7 @@ "typeArguments": [ { "type": "reference", - "id": 526, + "id": 568, "name": "R" } ], @@ -29506,7 +30592,7 @@ } }, { - "id": 934, + "id": 1009, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -29514,21 +30600,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 935, + "id": 1010, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 937, + "id": 1012, "name": "code", "kind": 1024, "kindString": "Property", @@ -29539,7 +30625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 896, "character": 2 } ], @@ -29549,7 +30635,7 @@ } }, { - "id": 936, + "id": 1011, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -29560,7 +30646,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 894, "character": 2 } ], @@ -29574,13 +30660,13 @@ { "title": "Properties", "kind": 1024, - "children": [937, 936] + "children": [1012, 1011] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 892, "character": 42 } ] @@ -29588,7 +30674,7 @@ } }, { - "id": 930, + "id": 1005, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -29596,21 +30682,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 931, + "id": 1006, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 1008, "name": "channel", "kind": 1024, "kindString": "Property", @@ -29623,7 +30709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 826, + "line": 889, "character": 2 } ], @@ -29642,7 +30728,7 @@ } }, { - "id": 932, + "id": 1007, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -29653,7 +30739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 887, "character": 2 } ], @@ -29667,13 +30753,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932] + "children": [1008, 1007] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 885, "character": 33 } ] @@ -29681,7 +30767,7 @@ } }, { - "id": 921, + "id": 996, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -29689,7 +30775,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 867, "character": 12 } ], @@ -29697,7 +30783,7 @@ "type": "union", "types": [ { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -29705,21 +30791,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -29730,7 +30816,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -29740,7 +30826,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -29753,7 +30839,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -29763,7 +30849,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -29776,7 +30862,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -29790,13 +30876,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -29804,7 +30890,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -29812,21 +30898,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -29837,7 +30923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -29847,7 +30933,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -29860,7 +30946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -29870,7 +30956,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29881,7 +30967,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -29895,13 +30981,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -29912,7 +30998,7 @@ } }, { - "id": 1083, + "id": 1158, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -29920,21 +31006,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1085, + "id": 1160, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -29945,7 +31031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1203, "character": 2 } ], @@ -29955,7 +31041,7 @@ } }, { - "id": 1086, + "id": 1161, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -29968,7 +31054,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1205, "character": 2 } ], @@ -29978,7 +31064,7 @@ } }, { - "id": 1087, + "id": 1162, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29989,7 +31075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1144, + "line": 1207, "character": 2 } ], @@ -30003,13 +31089,13 @@ { "title": "Properties", "kind": 1024, - "children": [1085, 1086, 1087] + "children": [1160, 1161, 1162] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1138, + "line": 1201, "character": 35 } ] @@ -30017,7 +31103,7 @@ } }, { - "id": 1078, + "id": 1153, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -30025,21 +31111,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1079, + "id": 1154, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1080, + "id": 1155, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -30050,7 +31136,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1132, + "line": 1195, "character": 2 } ], @@ -30060,7 +31146,7 @@ } }, { - "id": 1082, + "id": 1157, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -30073,7 +31159,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1136, + "line": 1199, "character": 2 } ], @@ -30083,7 +31169,7 @@ } }, { - "id": 1081, + "id": 1156, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -30096,7 +31182,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1134, + "line": 1197, "character": 2 } ], @@ -30110,13 +31196,13 @@ { "title": "Properties", "kind": 1024, - "children": [1080, 1082, 1081] + "children": [1155, 1157, 1156] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1130, + "line": 1193, "character": 34 } ] @@ -30124,7 +31210,7 @@ } }, { - "id": 922, + "id": 997, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -30132,21 +31218,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 923, + "id": 998, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 924, + "id": 999, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -30157,7 +31243,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 871, "character": 2 } ], @@ -30171,13 +31257,13 @@ { "title": "Properties", "kind": 1024, - "children": [924] + "children": [999] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 806, + "line": 869, "character": 32 } ] @@ -30185,7 +31271,7 @@ } }, { - "id": 925, + "id": 1000, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -30193,21 +31279,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 926, + "id": 1001, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 928, + "id": 1003, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -30218,7 +31304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 816, + "line": 879, "character": 2 } ], @@ -30228,7 +31314,7 @@ } }, { - "id": 929, + "id": 1004, "name": "code", "kind": 1024, "kindString": "Property", @@ -30239,7 +31325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 819, + "line": 882, "character": 2 } ], @@ -30249,7 +31335,7 @@ } }, { - "id": 927, + "id": 1002, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -30260,7 +31346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 813, + "line": 876, "character": 2 } ], @@ -30274,13 +31360,13 @@ { "title": "Properties", "kind": 1024, - "children": [928, 929, 927] + "children": [1003, 1004, 1002] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 811, + "line": 874, "character": 30 } ] @@ -30288,7 +31374,7 @@ } }, { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -30296,7 +31382,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -30315,7 +31401,7 @@ } }, { - "id": 624, + "id": 667, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -30323,7 +31409,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 188, "character": 12 } ], @@ -30333,14 +31419,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 668, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 669, "name": "data", "kind": 1024, "kindString": "Property", @@ -30348,21 +31434,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 670, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 671, "name": "provider", "kind": 1024, "kindString": "Property", @@ -30370,18 +31456,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 191, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 629, + "id": 672, "name": "url", "kind": 1024, "kindString": "Property", @@ -30389,7 +31475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 183, + "line": 192, "character": 8 } ], @@ -30403,13 +31489,13 @@ { "title": "Properties", "kind": 1024, - "children": [628, 629] + "children": [671, 672] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 190, "character": 12 } ] @@ -30417,7 +31503,7 @@ } }, { - "id": 630, + "id": 673, "name": "error", "kind": 1024, "kindString": "Property", @@ -30425,7 +31511,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 194, "character": 6 } ], @@ -30439,13 +31525,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 630] + "children": [669, 673] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 189, "character": 4 } ] @@ -30454,14 +31540,14 @@ { "type": "reflection", "declaration": { - "id": 631, + "id": 674, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 632, + "id": 675, "name": "data", "kind": 1024, "kindString": "Property", @@ -30469,21 +31555,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 633, + "id": 676, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 634, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -30491,18 +31577,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 198, "character": 8 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider" } }, { - "id": 635, + "id": 678, "name": "url", "kind": 1024, "kindString": "Property", @@ -30510,7 +31596,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 199, "character": 8 } ], @@ -30524,13 +31610,13 @@ { "title": "Properties", "kind": 1024, - "children": [634, 635] + "children": [677, 678] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 197, "character": 12 } ] @@ -30538,7 +31624,7 @@ } }, { - "id": 636, + "id": 679, "name": "error", "kind": 1024, "kindString": "Property", @@ -30546,13 +31632,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 201, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -30561,13 +31647,13 @@ { "title": "Properties", "kind": 1024, - "children": [632, 636] + "children": [675, 679] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 187, + "line": 196, "character": 4 } ] @@ -30577,7 +31663,7 @@ } }, { - "id": 1071, + "id": 1146, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -30585,21 +31671,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1148, "name": "page", "kind": 1024, "kindString": "Property", @@ -30612,7 +31698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1111, + "line": 1174, "character": 2 } ], @@ -30622,7 +31708,7 @@ } }, { - "id": 1074, + "id": 1149, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -30635,7 +31721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1176, "character": 2 } ], @@ -30649,13 +31735,13 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074] + "children": [1148, 1149] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1109, + "line": 1172, "character": 25 } ] @@ -30663,7 +31749,7 @@ } }, { - "id": 1064, + "id": 1139, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -30671,21 +31757,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1065, + "id": 1140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1142, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -30693,7 +31779,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1168, "character": 2 } ], @@ -30703,7 +31789,7 @@ } }, { - "id": 1066, + "id": 1141, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -30711,7 +31797,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1104, + "line": 1167, "character": 2 } ], @@ -30730,7 +31816,7 @@ } }, { - "id": 1068, + "id": 1143, "name": "total", "kind": 1024, "kindString": "Property", @@ -30738,7 +31824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1106, + "line": 1169, "character": 2 } ], @@ -30752,25 +31838,25 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1066, 1068] + "children": [1142, 1141, 1143] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1102, + "line": 1165, "character": 25 } ], "indexSignature": { - "id": 1069, + "id": 1144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1070, + "id": 1145, "name": "key", "kind": 32768, "flags": {}, @@ -30789,7 +31875,7 @@ } }, { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -30800,7 +31886,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -30899,7 +31985,7 @@ } }, { - "id": 1121, + "id": 1196, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -30907,21 +31993,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1122, + "id": 1197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1129, + "id": 1204, "name": "aal", "kind": 1024, "kindString": "Property", @@ -30929,16 +32015,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1217, + "line": 1280, "character": 2 } ], "type": { "type": "reference", - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels", "dereferenced": { - "id": 983, + "id": 1058, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -30946,7 +32032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 967, "character": 12 } ], @@ -30967,7 +32053,7 @@ } }, { - "id": 1125, + "id": 1200, "name": "aud", "kind": 1024, "kindString": "Property", @@ -30975,7 +32061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1213, + "line": 1276, "character": 2 } ], @@ -30997,7 +32083,7 @@ } }, { - "id": 1126, + "id": 1201, "name": "exp", "kind": 1024, "kindString": "Property", @@ -31005,7 +32091,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1214, + "line": 1277, "character": 2 } ], @@ -31015,7 +32101,7 @@ } }, { - "id": 1127, + "id": 1202, "name": "iat", "kind": 1024, "kindString": "Property", @@ -31023,7 +32109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1215, + "line": 1278, "character": 2 } ], @@ -31033,7 +32119,7 @@ } }, { - "id": 1123, + "id": 1198, "name": "iss", "kind": 1024, "kindString": "Property", @@ -31041,7 +32127,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1211, + "line": 1274, "character": 2 } ], @@ -31051,7 +32137,7 @@ } }, { - "id": 1128, + "id": 1203, "name": "role", "kind": 1024, "kindString": "Property", @@ -31059,7 +32145,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1216, + "line": 1279, "character": 2 } ], @@ -31069,7 +32155,7 @@ } }, { - "id": 1130, + "id": 1205, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -31077,7 +32163,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1218, + "line": 1281, "character": 2 } ], @@ -31087,7 +32173,7 @@ } }, { - "id": 1124, + "id": 1199, "name": "sub", "kind": 1024, "kindString": "Property", @@ -31095,7 +32181,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1212, + "line": 1275, "character": 2 } ], @@ -31109,13 +32195,13 @@ { "title": "Properties", "kind": 1024, - "children": [1129, 1125, 1126, 1127, 1123, 1128, 1130, 1124] + "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1210, + "line": 1273, "character": 29 } ] @@ -31123,7 +32209,7 @@ } }, { - "id": 847, + "id": 922, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -31131,7 +32217,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 728, "character": 12 } ], @@ -31141,14 +32227,14 @@ { "type": "reflection", "declaration": { - "id": 848, + "id": 923, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 925, "name": "email", "kind": 1024, "kindString": "Property", @@ -31156,7 +32242,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 731, "character": 6 } ], @@ -31166,7 +32252,7 @@ } }, { - "id": 851, + "id": 926, "name": "options", "kind": 1024, "kindString": "Property", @@ -31176,21 +32262,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 927, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 929, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31203,7 +32289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 736, "character": 8 } ], @@ -31213,7 +32299,7 @@ } }, { - "id": 853, + "id": 928, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -31226,7 +32312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 734, "character": 8 } ], @@ -31240,13 +32326,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 853] + "children": [929, 928] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 669, + "line": 732, "character": 16 } ] @@ -31254,7 +32340,7 @@ } }, { - "id": 849, + "id": 924, "name": "type", "kind": 1024, "kindString": "Property", @@ -31262,7 +32348,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 667, + "line": 730, "character": 6 } ], @@ -31271,7 +32357,7 @@ "typeArguments": [ { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType" }, { @@ -31298,13 +32384,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 851, 849] + "children": [925, 926, 924] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 729, "character": 4 } ] @@ -31313,14 +32399,14 @@ { "type": "reflection", "declaration": { - "id": 855, + "id": 930, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 858, + "id": 933, "name": "options", "kind": 1024, "kindString": "Property", @@ -31330,21 +32416,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 859, + "id": 934, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 935, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31357,7 +32443,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 744, "character": 8 } ], @@ -31371,13 +32457,13 @@ { "title": "Properties", "kind": 1024, - "children": [860] + "children": [935] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 742, "character": 16 } ] @@ -31385,7 +32471,7 @@ } }, { - "id": 857, + "id": 932, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31393,7 +32479,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 741, "character": 6 } ], @@ -31403,7 +32489,7 @@ } }, { - "id": 856, + "id": 931, "name": "type", "kind": 1024, "kindString": "Property", @@ -31411,7 +32497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 677, + "line": 740, "character": 6 } ], @@ -31420,7 +32506,7 @@ "typeArguments": [ { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType" }, { @@ -31447,13 +32533,13 @@ { "title": "Properties", "kind": 1024, - "children": [858, 857, 856] + "children": [933, 932, 931] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 739, "character": 4 } ] @@ -31463,7 +32549,7 @@ } }, { - "id": 637, + "id": 680, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -31471,7 +32557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 195, + "line": 204, "character": 12 } ], @@ -31481,14 +32567,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 681, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 682, "name": "data", "kind": 1024, "kindString": "Property", @@ -31496,21 +32582,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 641, + "id": 684, "name": "url", "kind": 1024, "kindString": "Property", @@ -31522,7 +32608,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 214, "character": 8 } ], @@ -31536,13 +32622,13 @@ { "title": "Properties", "kind": 1024, - "children": [641] + "children": [684] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 206, "character": 12 } ] @@ -31550,7 +32636,7 @@ } }, { - "id": 642, + "id": 685, "name": "error", "kind": 1024, "kindString": "Property", @@ -31558,7 +32644,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 207, + "line": 216, "character": 6 } ], @@ -31572,13 +32658,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 642] + "children": [682, 685] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 205, "character": 4 } ] @@ -31587,14 +32673,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 686, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 687, "name": "data", "kind": 1024, "kindString": "Property", @@ -31602,7 +32688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 210, + "line": 219, "character": 6 } ], @@ -31612,7 +32698,7 @@ } }, { - "id": 645, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -31620,13 +32706,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 211, + "line": 220, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -31635,13 +32721,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 645] + "children": [687, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 218, "character": 4 } ] @@ -31651,7 +32737,7 @@ } }, { - "id": 749, + "id": 793, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -31659,21 +32745,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 795, "name": "options", "kind": 1024, "kindString": "Property", @@ -31683,21 +32769,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 752, + "id": 796, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 754, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31710,7 +32796,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 497, "character": 4 } ], @@ -31720,7 +32806,7 @@ } }, { - "id": 753, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -31734,7 +32820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 495, "character": 4 } ], @@ -31748,13 +32834,13 @@ { "title": "Properties", "kind": 1024, - "children": [754, 753] + "children": [798, 797] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 489, "character": 12 } ] @@ -31766,13 +32852,13 @@ { "title": "Properties", "kind": 1024, - "children": [751] + "children": [795] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 488, "character": 43 } ] @@ -31780,7 +32866,7 @@ } }, { - "id": 815, + "id": 859, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -31788,21 +32874,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 820, + "id": 864, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -31815,7 +32901,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 606, + "line": 621, "character": 2 } ], @@ -31825,7 +32911,7 @@ } }, { - "id": 821, + "id": 865, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -31838,7 +32924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 623, "character": 2 } ], @@ -31848,7 +32934,7 @@ } }, { - "id": 822, + "id": 866, "name": "options", "kind": 1024, "kindString": "Property", @@ -31858,21 +32944,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 823, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 824, + "id": 868, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31885,7 +32971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 626, "character": 4 } ], @@ -31899,13 +32985,13 @@ { "title": "Properties", "kind": 1024, - "children": [824] + "children": [868] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 624, "character": 12 } ] @@ -31913,7 +32999,7 @@ } }, { - "id": 817, + "id": 861, "name": "provider", "kind": 1024, "kindString": "Property", @@ -31924,7 +33010,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 2 } ], @@ -31961,7 +33047,7 @@ { "type": "reflection", "declaration": { - "id": 818, + "id": 862, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -31969,7 +33055,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 617, "character": 76 } ] @@ -31981,7 +33067,7 @@ } }, { - "id": 819, + "id": 863, "name": "token", "kind": 1024, "kindString": "Property", @@ -31992,7 +33078,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 604, + "line": 619, "character": 2 } ], @@ -32006,13 +33092,13 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821, 822, 817, 819] + "children": [864, 865, 866, 861, 863] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 615, "character": 43 } ] @@ -32020,7 +33106,7 @@ } }, { - "id": 803, + "id": 847, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32028,21 +33114,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 806, + "id": 850, "name": "options", "kind": 1024, "kindString": "Property", @@ -32052,21 +33138,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 807, + "id": 851, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 854, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -32079,14 +33165,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 811, + "id": 855, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -32094,19 +33180,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 609, "character": 18 } ], "indexSignature": { - "id": 812, + "id": 856, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 813, + "id": 857, "name": "key", "kind": 32768, "flags": {}, @@ -32125,7 +33211,7 @@ } }, { - "id": 808, + "id": 852, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -32138,7 +33224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 590, + "line": 605, "character": 4 } ], @@ -32148,7 +33234,7 @@ } }, { - "id": 809, + "id": 853, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -32161,7 +33247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 592, + "line": 607, "character": 4 } ], @@ -32171,7 +33257,7 @@ } }, { - "id": 814, + "id": 858, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -32184,7 +33270,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 596, + "line": 611, "character": 4 } ], @@ -32198,13 +33284,13 @@ { "title": "Properties", "kind": 1024, - "children": [810, 808, 809, 814] + "children": [854, 852, 853, 858] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 603, "character": 12 } ] @@ -32212,7 +33298,7 @@ } }, { - "id": 805, + "id": 849, "name": "provider", "kind": 1024, "kindString": "Property", @@ -32223,16 +33309,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 587, + "line": 602, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 557, "name": "Provider", "dereferenced": { - "id": 515, + "id": 557, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -32243,7 +33329,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 6, "character": 12 } ], @@ -32348,13 +33434,13 @@ { "title": "Properties", "kind": 1024, - "children": [806, 805] + "children": [850, 849] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 600, "character": 41 } ] @@ -32362,7 +33448,7 @@ } }, { - "id": 772, + "id": 816, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32370,7 +33456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 539, "character": 12 } ], @@ -32380,14 +33466,14 @@ { "type": "reflection", "declaration": { - "id": 773, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 774, + "id": 818, "name": "email", "kind": 1024, "kindString": "Property", @@ -32398,7 +33484,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 542, "character": 6 } ], @@ -32408,7 +33494,7 @@ } }, { - "id": 776, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -32418,21 +33504,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 777, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 778, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32445,7 +33531,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 547, "character": 8 } ], @@ -32459,13 +33545,13 @@ { "title": "Properties", "kind": 1024, - "children": [778] + "children": [822] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 545, "character": 16 } ] @@ -32473,7 +33559,7 @@ } }, { - "id": 775, + "id": 819, "name": "password", "kind": 1024, "kindString": "Property", @@ -32484,7 +33570,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 529, + "line": 544, "character": 6 } ], @@ -32498,13 +33584,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 776, 775] + "children": [818, 820, 819] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 540, "character": 4 } ] @@ -32513,14 +33599,14 @@ { "type": "reflection", "declaration": { - "id": 779, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -32530,21 +33616,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 783, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 828, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32557,7 +33643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 557, "character": 8 } ], @@ -32571,13 +33657,13 @@ { "title": "Properties", "kind": 1024, - "children": [784] + "children": [828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 540, + "line": 555, "character": 16 } ] @@ -32585,7 +33671,7 @@ } }, { - "id": 781, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -32596,7 +33682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 554, "character": 6 } ], @@ -32606,7 +33692,7 @@ } }, { - "id": 780, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32617,7 +33703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 537, + "line": 552, "character": 6 } ], @@ -32631,13 +33717,13 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781, 780] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 550, "character": 4 } ] @@ -32647,7 +33733,7 @@ } }, { - "id": 785, + "id": 829, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32655,7 +33741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 546, + "line": 561, "character": 12 } ], @@ -32665,14 +33751,14 @@ { "type": "reflection", "declaration": { - "id": 786, + "id": 830, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 831, "name": "email", "kind": 1024, "kindString": "Property", @@ -32683,7 +33769,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 549, + "line": 564, "character": 6 } ], @@ -32693,7 +33779,7 @@ } }, { - "id": 788, + "id": 832, "name": "options", "kind": 1024, "kindString": "Property", @@ -32703,21 +33789,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 789, + "id": 833, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 793, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32730,7 +33816,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 577, "character": 8 } ], @@ -32740,7 +33826,7 @@ } }, { - "id": 792, + "id": 836, "name": "data", "kind": 1024, "kindString": "Property", @@ -32754,7 +33840,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 560, + "line": 575, "character": 8 } ], @@ -32764,7 +33850,7 @@ } }, { - "id": 790, + "id": 834, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -32777,7 +33863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 567, "character": 8 } ], @@ -32787,7 +33873,7 @@ } }, { - "id": 791, + "id": 835, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -32800,7 +33886,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 569, "character": 8 } ], @@ -32814,13 +33900,13 @@ { "title": "Properties", "kind": 1024, - "children": [793, 792, 790, 791] + "children": [837, 836, 834, 835] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 565, "character": 16 } ] @@ -32832,13 +33918,13 @@ { "title": "Properties", "kind": 1024, - "children": [787, 788] + "children": [831, 832] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 562, "character": 4 } ] @@ -32847,14 +33933,14 @@ { "type": "reflection", "declaration": { - "id": 794, + "id": 838, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 796, + "id": 840, "name": "options", "kind": 1024, "kindString": "Property", @@ -32864,21 +33950,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 797, + "id": 841, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 800, + "id": 844, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32891,7 +33977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 578, + "line": 593, "character": 8 } ], @@ -32901,7 +33987,7 @@ } }, { - "id": 801, + "id": 845, "name": "channel", "kind": 1024, "kindString": "Property", @@ -32914,7 +34000,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 595, "character": 8 } ], @@ -32933,7 +34019,7 @@ } }, { - "id": 799, + "id": 843, "name": "data", "kind": 1024, "kindString": "Property", @@ -32947,7 +34033,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 576, + "line": 591, "character": 8 } ], @@ -32957,7 +34043,7 @@ } }, { - "id": 798, + "id": 842, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -32970,7 +34056,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 585, "character": 8 } ], @@ -32984,13 +34070,13 @@ { "title": "Properties", "kind": 1024, - "children": [800, 801, 799, 798] + "children": [844, 845, 843, 842] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 583, "character": 16 } ] @@ -32998,7 +34084,7 @@ } }, { - "id": 795, + "id": 839, "name": "phone", "kind": 1024, "kindString": "Property", @@ -33009,7 +34095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 582, "character": 6 } ], @@ -33023,13 +34109,13 @@ { "title": "Properties", "kind": 1024, - "children": [796, 795] + "children": [840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 580, "character": 4 } ] @@ -33039,7 +34125,7 @@ } }, { - "id": 861, + "id": 936, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -33047,7 +34133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 748, "character": 12 } ], @@ -33057,14 +34143,14 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 939, "name": "options", "kind": 1024, "kindString": "Property", @@ -33074,21 +34160,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 940, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 867, + "id": 942, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33101,7 +34187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 694, + "line": 757, "character": 8 } ], @@ -33111,7 +34197,7 @@ } }, { - "id": 866, + "id": 941, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -33124,7 +34210,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 692, + "line": 755, "character": 8 } ], @@ -33138,13 +34224,13 @@ { "title": "Properties", "kind": 1024, - "children": [867, 866] + "children": [942, 941] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 753, "character": 16 } ] @@ -33152,7 +34238,7 @@ } }, { - "id": 863, + "id": 938, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -33163,7 +34249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 751, "character": 6 } ], @@ -33177,13 +34263,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 863] + "children": [939, 938] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 749, "character": 4 } ] @@ -33192,14 +34278,14 @@ { "type": "reflection", "declaration": { - "id": 868, + "id": 943, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 869, + "id": 944, "name": "domain", "kind": 1024, "kindString": "Property", @@ -33210,7 +34296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 762, "character": 6 } ], @@ -33220,7 +34306,7 @@ } }, { - "id": 870, + "id": 945, "name": "options", "kind": 1024, "kindString": "Property", @@ -33230,21 +34316,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 871, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 873, + "id": 948, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33257,7 +34343,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 768, "character": 8 } ], @@ -33267,7 +34353,7 @@ } }, { - "id": 872, + "id": 947, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -33280,7 +34366,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 766, "character": 8 } ], @@ -33294,13 +34380,13 @@ { "title": "Properties", "kind": 1024, - "children": [873, 872] + "children": [948, 947] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 764, "character": 16 } ] @@ -33312,13 +34398,13 @@ { "title": "Properties", "kind": 1024, - "children": [869, 870] + "children": [944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 760, "character": 4 } ] @@ -33328,7 +34414,7 @@ } }, { - "id": 1075, + "id": 1150, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -33336,21 +34422,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1076, + "id": 1151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1077, + "id": 1152, "name": "scope", "kind": 1024, "kindString": "Property", @@ -33363,7 +34449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1127, + "line": 1190, "character": 2 } ], @@ -33390,13 +34476,13 @@ { "title": "Properties", "kind": 1024, - "children": [1077] + "children": [1152] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1116, + "line": 1179, "character": 22 } ] @@ -33404,7 +34490,36 @@ } }, { - "id": 755, + "id": 1218, + "name": "SignOutScope", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1297, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "id": 1217, + "name": "SIGN_OUT_SCOPES" + } + } + } + }, + { + "id": 799, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -33412,7 +34527,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 501, "character": 12 } ], @@ -33422,14 +34537,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 801, "name": "email", "kind": 1024, "kindString": "Property", @@ -33440,7 +34555,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 490, + "line": 504, "character": 6 } ], @@ -33450,7 +34565,7 @@ } }, { - "id": 759, + "id": 803, "name": "options", "kind": 1024, "kindString": "Property", @@ -33460,21 +34575,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 804, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 763, + "id": 807, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33487,7 +34602,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 503, + "line": 517, "character": 8 } ], @@ -33497,7 +34612,7 @@ } }, { - "id": 762, + "id": 806, "name": "data", "kind": 1024, "kindString": "Property", @@ -33511,7 +34626,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 515, "character": 8 } ], @@ -33521,7 +34636,7 @@ } }, { - "id": 761, + "id": 805, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -33534,7 +34649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 509, "character": 8 } ], @@ -33548,13 +34663,13 @@ { "title": "Properties", "kind": 1024, - "children": [763, 762, 761] + "children": [807, 806, 805] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 507, "character": 16 } ] @@ -33562,7 +34677,7 @@ } }, { - "id": 758, + "id": 802, "name": "password", "kind": 1024, "kindString": "Property", @@ -33573,7 +34688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 492, + "line": 506, "character": 6 } ], @@ -33587,13 +34702,13 @@ { "title": "Properties", "kind": 1024, - "children": [757, 759, 758] + "children": [801, 803, 802] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 502, "character": 4 } ] @@ -33602,14 +34717,14 @@ { "type": "reflection", "declaration": { - "id": 764, + "id": 808, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 767, + "id": 811, "name": "options", "kind": 1024, "kindString": "Property", @@ -33619,21 +34734,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 768, + "id": 812, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 814, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33646,7 +34761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 533, "character": 8 } ], @@ -33656,7 +34771,7 @@ } }, { - "id": 771, + "id": 815, "name": "channel", "kind": 1024, "kindString": "Property", @@ -33669,7 +34784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 535, "character": 8 } ], @@ -33688,7 +34803,7 @@ } }, { - "id": 769, + "id": 813, "name": "data", "kind": 1024, "kindString": "Property", @@ -33702,7 +34817,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 531, "character": 8 } ], @@ -33716,13 +34831,13 @@ { "title": "Properties", "kind": 1024, - "children": [770, 771, 769] + "children": [814, 815, 813] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 525, "character": 16 } ] @@ -33730,7 +34845,7 @@ } }, { - "id": 766, + "id": 810, "name": "password", "kind": 1024, "kindString": "Property", @@ -33741,7 +34856,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 524, "character": 6 } ], @@ -33751,7 +34866,7 @@ } }, { - "id": 765, + "id": 809, "name": "phone", "kind": 1024, "kindString": "Property", @@ -33762,7 +34877,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 522, "character": 6 } ], @@ -33776,13 +34891,13 @@ { "title": "Properties", "kind": 1024, - "children": [767, 766, 765] + "children": [811, 810, 809] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 520, "character": 4 } ] @@ -33792,7 +34907,685 @@ } }, { - "id": 1051, + "id": 869, + "name": "SolanaWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 870, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 874, + "name": "publicKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 875, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 876, + "name": "toBase58", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 633, + "character": 4 + } + ], + "signatures": [ + { + "id": 877, + "name": "toBase58", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [876] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 632, + "character": 14 + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 871, + "name": "signIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 631, + "character": 2 + } + ], + "signatures": [ + { + "id": 872, + "name": "signIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 873, + "name": "inputs", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInInput" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "SolanaSignInOutput" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "SolanaSignInOutput" + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 878, + "name": "signMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 636, + "character": 2 + } + ], + "signatures": [ + { + "id": 879, + "name": "signMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 880, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + }, + { + "id": 881, + "name": "encoding", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [874] + }, + { + "title": "Methods", + "kind": 2048, + "children": [871, 878] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 630, + "character": 27 + } + ] + } + } + }, + { + "id": 882, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 883, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "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" + } + }, + { + "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": [ + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [890, 891, 889] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 16 + } + ] + } + } + }, + { + "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": 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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 16 + } + ] + } + } + }, + { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [893, 894, 896, 895] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 661, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1126, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -33800,7 +35593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1077, + "line": 1140, "character": 12 } ], @@ -33847,14 +35640,14 @@ { "type": "reflection", "declaration": { - "id": 1052, + "id": 1127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1053, + "id": 1128, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -33867,7 +35660,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1087, + "line": 1150, "character": 2 } ], @@ -33881,13 +35674,13 @@ { "title": "Properties", "kind": 1024, - "children": [1053] + "children": [1128] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1142, "character": 4 } ] @@ -33897,7 +35690,7 @@ } }, { - "id": 646, + "id": 689, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -33905,7 +35698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 223, "character": 12 } ], @@ -33915,14 +35708,14 @@ { "type": "reflection", "declaration": { - "id": 647, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 691, "name": "data", "kind": 1024, "kindString": "Property", @@ -33930,21 +35723,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 649, + "id": 692, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 693, "name": "user", "kind": 1024, "kindString": "Property", @@ -33952,13 +35745,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 217, + "line": 226, "character": 8 } ], "type": { "type": "reference", - "id": 697, + "id": 740, "name": "User" } } @@ -33967,13 +35760,13 @@ { "title": "Properties", "kind": 1024, - "children": [650] + "children": [693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 225, "character": 12 } ] @@ -33981,7 +35774,7 @@ } }, { - "id": 651, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -33989,7 +35782,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 228, "character": 6 } ], @@ -34003,13 +35796,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 651] + "children": [691, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 215, + "line": 224, "character": 4 } ] @@ -34018,14 +35811,14 @@ { "type": "reflection", "declaration": { - "id": 652, + "id": 695, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 653, + "id": 696, "name": "data", "kind": 1024, "kindString": "Property", @@ -34033,21 +35826,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 697, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 655, + "id": 698, "name": "user", "kind": 1024, "kindString": "Property", @@ -34055,7 +35848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 232, "character": 8 } ], @@ -34069,13 +35862,13 @@ { "title": "Properties", "kind": 1024, - "children": [655] + "children": [698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 222, + "line": 231, "character": 12 } ] @@ -34083,7 +35876,7 @@ } }, { - "id": 656, + "id": 699, "name": "error", "kind": 1024, "kindString": "Property", @@ -34091,13 +35884,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 234, "character": 6 } ], "type": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -34106,13 +35899,13 @@ { "title": "Properties", "kind": 1024, - "children": [653, 656] + "children": [696, 699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 221, + "line": 230, "character": 4 } ] @@ -34122,7 +35915,7 @@ } }, { - "id": 825, + "id": 900, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -34130,7 +35923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 678, "character": 12 } ], @@ -34138,14 +35931,14 @@ "type": "union", "types": [ { - "id": 826, + "id": 901, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 830, + "id": 905, "name": "options", "kind": 1024, "kindString": "Property", @@ -34155,21 +35948,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 623, + "line": 686, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 831, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 833, + "id": 908, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34188,7 +35981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 695, "character": 4 } ], @@ -34198,7 +35991,7 @@ } }, { - "id": 832, + "id": 907, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -34211,7 +36004,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 625, + "line": 688, "character": 4 } ], @@ -34225,14 +36018,14 @@ { "title": "Properties", "kind": 1024, - "children": [833, 832] + "children": [908, 907] } ] } } }, { - "id": 827, + "id": 902, "name": "phone", "kind": 1024, "kindString": "Property", @@ -34243,7 +36036,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 681, "character": 2 } ], @@ -34253,7 +36046,7 @@ } }, { - "id": 828, + "id": 903, "name": "token", "kind": 1024, "kindString": "Property", @@ -34264,7 +36057,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 620, + "line": 683, "character": 2 } ], @@ -34274,7 +36067,7 @@ } }, { - "id": 829, + "id": 904, "name": "type", "kind": 1024, "kindString": "Property", @@ -34285,16 +36078,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 685, "character": 2 } ], "type": { "type": "reference", - "id": 845, + "id": 920, "name": "MobileOtpType", "dereferenced": { - "id": 845, + "id": 920, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -34302,7 +36095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 725, "character": 12 } ], @@ -34327,26 +36120,26 @@ { "title": "Properties", "kind": 1024, - "children": [830, 827, 828, 829] + "children": [905, 902, 903, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 616, + "line": 679, "character": 17 } ] }, { - "id": 834, + "id": 909, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 835, + "id": 910, "name": "email", "kind": 1024, "kindString": "Property", @@ -34357,7 +36150,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 700, "character": 2 } ], @@ -34367,7 +36160,7 @@ } }, { - "id": 838, + "id": 913, "name": "options", "kind": 1024, "kindString": "Property", @@ -34377,21 +36170,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 642, + "line": 705, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 839, + "id": 914, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 916, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34410,7 +36203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 713, "character": 4 } ], @@ -34420,7 +36213,7 @@ } }, { - "id": 840, + "id": 915, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -34433,7 +36226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 707, "character": 4 } ], @@ -34447,14 +36240,14 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [916, 915] } ] } } }, { - "id": 836, + "id": 911, "name": "token", "kind": 1024, "kindString": "Property", @@ -34465,7 +36258,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 702, "character": 2 } ], @@ -34475,7 +36268,7 @@ } }, { - "id": 837, + "id": 912, "name": "type", "kind": 1024, "kindString": "Property", @@ -34486,16 +36279,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 704, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -34503,7 +36296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -34544,26 +36337,26 @@ { "title": "Properties", "kind": 1024, - "children": [835, 838, 836, 837] + "children": [910, 913, 911, 912] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 698, "character": 17 } ] }, { - "id": 842, + "id": 917, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 843, + "id": 918, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -34574,7 +36367,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 719, "character": 2 } ], @@ -34584,7 +36377,7 @@ } }, { - "id": 844, + "id": 919, "name": "type", "kind": 1024, "kindString": "Property", @@ -34595,16 +36388,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 659, + "line": 722, "character": 2 } ], "type": { "type": "reference", - "id": 846, + "id": 921, "name": "EmailOtpType", "dereferenced": { - "id": 846, + "id": 921, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -34612,7 +36405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 726, "character": 12 } ], @@ -34653,13 +36446,13 @@ { "title": "Properties", "kind": 1024, - "children": [843, 844] + "children": [918, 919] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 717, "character": 17 } ] @@ -34668,7 +36461,7 @@ } }, { - "id": 550, + "id": 593, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -34676,21 +36469,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 551, + "id": 594, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 596, "name": "message", "kind": 1024, "kindString": "Property", @@ -34698,7 +36491,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 94, + "line": 103, "character": 2 } ], @@ -34708,7 +36501,7 @@ } }, { - "id": 552, + "id": 595, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -34716,7 +36509,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 102, "character": 2 } ], @@ -34724,7 +36517,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 548, + "id": 591, "name": "WeakPasswordReasons" } } @@ -34734,13 +36527,13 @@ { "title": "Properties", "kind": 1024, - "children": [553, 552] + "children": [596, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 101, "character": 27 } ] @@ -34748,7 +36541,7 @@ } }, { - "id": 548, + "id": 591, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -34756,7 +36549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 12 } ], @@ -34785,7 +36578,7 @@ { "type": "reflection", "declaration": { - "id": 549, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -34793,7 +36586,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 100, "character": 80 } ] @@ -34805,7 +36598,26 @@ } }, { - "id": 497, + "id": 899, + "name": "Web3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 676, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 882, + "name": "SolanaWeb3Credentials" + } + }, + { + "id": 531, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -34830,7 +36642,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 498, + "id": 532, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -34855,7 +36667,45 @@ "defaultValue": "GoTrueClient" }, { - "id": 512, + "id": 1217, + "name": "SIGN_OUT_SCOPES", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 13 + } + ], + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "global" + }, + { + "type": "literal", + "value": "local" + }, + { + "type": "literal", + "value": "others" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 546, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -34880,14 +36730,14 @@ "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 548, "name": "debug", "kind": 1024, "kindString": "Property", @@ -34918,7 +36768,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [548] } ] } @@ -34926,7 +36776,7 @@ "defaultValue": "..." }, { - "id": 1145, + "id": 1222, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -34940,14 +36790,14 @@ ], "signatures": [ { - "id": 1146, + "id": 1223, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1147, + "id": 1224, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -34964,7 +36814,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1170, + "id": 1247, "name": "AuthApiError" } } @@ -34972,7 +36822,7 @@ ] }, { - "id": 1142, + "id": 1219, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -34986,14 +36836,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1220, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1221, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35010,7 +36860,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1160, + "id": 1237, "name": "AuthError" } } @@ -35018,7 +36868,7 @@ ] }, { - "id": 1151, + "id": 1228, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -35032,14 +36882,14 @@ ], "signatures": [ { - "id": 1152, + "id": 1229, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1153, + "id": 1230, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35056,7 +36906,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1227, + "id": 1304, "name": "AuthImplicitGrantRedirectError" } } @@ -35064,7 +36914,7 @@ ] }, { - "id": 1154, + "id": 1231, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -35078,14 +36928,14 @@ ], "signatures": [ { - "id": 1155, + "id": 1232, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1156, + "id": 1233, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35102,7 +36952,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1281, + "id": 1358, "name": "AuthRetryableFetchError" } } @@ -35110,7 +36960,7 @@ ] }, { - "id": 1148, + "id": 1225, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -35124,14 +36974,14 @@ ], "signatures": [ { - "id": 1149, + "id": 1226, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1150, + "id": 1227, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35148,7 +36998,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1202, + "id": 1279, "name": "AuthSessionMissingError" } } @@ -35156,7 +37006,7 @@ ] }, { - "id": 1157, + "id": 1234, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -35170,14 +37020,14 @@ ], "signatures": [ { - "id": 1158, + "id": 1235, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1159, + "id": 1236, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35194,7 +37044,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1291, + "id": 1368, "name": "AuthWeakPasswordError" } } @@ -35202,7 +37052,7 @@ ] }, { - "id": 499, + "id": 533, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -35216,7 +37066,7 @@ ], "signatures": [ { - "id": 500, + "id": 534, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -35227,7 +37077,7 @@ }, "typeParameter": [ { - "id": 501, + "id": 535, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -35236,7 +37086,7 @@ ], "parameters": [ { - "id": 502, + "id": 536, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -35250,7 +37100,7 @@ } }, { - "id": 503, + "id": 537, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -35264,7 +37114,7 @@ } }, { - "id": 504, + "id": 538, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -35275,14 +37125,14 @@ "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 539, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 506, + "id": 540, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -35292,7 +37142,7 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, "name": "R" } ], @@ -35311,7 +37161,128 @@ "typeArguments": [ { "type": "reference", - "id": 501, + "id": 535, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 549, + "name": "processLock", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/locks.ts", + "line": 171, + "character": 22 + } + ], + "signatures": [ + { + "id": 550, + "name": "processLock", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Implements a global exclusive lock that works only in the current process.\nUseful for environments like React Native or other non-browser\nsingle-process (i.e. no concept of \"tabs\") environments.", + "text": "Use {@link #navigatorLock} in browser environments.\n" + }, + "typeParameter": [ + { + "id": 551, + "name": "R", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 552, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Name of the lock to be acquired." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 553, + "name": "acquireTimeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "If negative, no timeout. If 0 an error is thrown if\n the lock can't be acquired without waiting. If positive, the lock acquire\n will time out after so many milliseconds. An error is\n a timeout if it has `isAcquireTimeout` set to true." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operation to run once the lock is acquired.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 556, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, + "name": "R" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 551, "name": "R" } ], @@ -35328,35 +37299,36 @@ "title": "Classes", "kind": 128, "children": [ - 1170, 1160, 1227, 1218, 1303, 1210, 1254, 1281, 1202, 1180, 1291, 1190, 1, 78, 507 + 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 666, 728, 682, 896, 1044, 995, 1135, 657, 741, 697, 690, 722, 670, 694, 834, 826, 842 + 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 517, 516, 802, 1028, 1019, 1041, 1032, 961, 1104, 951, 1088, 984, 972, 952, 938, 581, 554, - 567, 596, 609, 983, 1057, 846, 890, 880, 899, 913, 900, 920, 885, 874, 527, 1054, 1116, - 1131, 518, 934, 930, 921, 1083, 1078, 922, 925, 845, 624, 1071, 1064, 515, 1121, 847, 637, - 749, 815, 803, 772, 785, 861, 1075, 755, 1051, 646, 825, 550, 548 + 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 ] }, { "title": "Variables", "kind": 32, - "children": [497, 498, 512] + "children": [531, 532, 1217, 546] }, { "title": "Functions", "kind": 64, - "children": [1145, 1142, 1151, 1154, 1148, 1157, 499] + "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] } ], "sources": [ diff --git a/apps/docs/spec/sections/generateMgmtApiSections.ts b/apps/docs/spec/sections/generateMgmtApiSections.cts similarity index 98% rename from apps/docs/spec/sections/generateMgmtApiSections.ts rename to apps/docs/spec/sections/generateMgmtApiSections.cts index 7189048b634..580acb24866 100644 --- a/apps/docs/spec/sections/generateMgmtApiSections.ts +++ b/apps/docs/spec/sections/generateMgmtApiSections.cts @@ -41,7 +41,7 @@ function extractSectionsFromOpenApi(filePath, outputPath) { for (const route in openApiJson.paths) { const methods = openApiJson.paths[route] for (const method in methods) { - const tag = methods[method].tags[0] + const tag = methods[method].tags?.[0] const operationId = methods[method].operationId // If operationId is not in the form of a slug ignore it. // This is intentional because operationId is not defined under the swagger diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index b69b6cb68af..e41c65a32ef 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -1033,6 +1033,49 @@ functions: window.location.href = data.url } ``` + - id: get-claims + title: 'getClaims()' + $ref: '@supabase/auth-js.GoTrueClient.getClaims' + examples: + - id: get-claims + name: Get user object + code: | + ```js + const { data, error } = await supabase.auth.getClaims() + ``` + response: | + ```json + { + "data": { + "claims": { + "aal": "aal1", + "amr": [{ + "method": "email", + "timestamp": 1715766000 + }], + "app_metadata": {}, + "aud": "authenticated", + "email": "example@email.com", + "exp": 1715769600, + "iat": 1715766000, + "is_anonymous": false, + "iss": "https://api.supabase.com/auth/v1", + "phone": "+13334445555", + "role": "authenticated", + "session_id": "11111111-1111-1111-1111-111111111111", + "sub": "11111111-1111-1111-1111-111111111111", + "user_metadata": {} + }, + "header": { + "alg": "RS256", + "typ": "JWT", + "kid": "abcdefgh" + }, + "signature": [/** Uint8Array */], + }, + "error": null + } + ``` - id: sign-out title: 'signOut()' $ref: '@supabase/auth-js.GoTrueClient.signOut' diff --git a/apps/docs/spec/supabase_kt_v3.yml b/apps/docs/spec/supabase_kt_v3.yml index 970fc1229bb..f6a4988ea72 100644 --- a/apps/docs/spec/supabase_kt_v3.yml +++ b/apps/docs/spec/supabase_kt_v3.yml @@ -969,7 +969,7 @@ functions: ```kotlin supabase.from("countries").select { filter { - filterNot("name", FilterOperation.IS, "") + filterNot("name", FilterOperator.IS, "") } } ``` @@ -3720,9 +3720,11 @@ functions: $ref: '@supabase/gotrue-js.GoTrueClient.onAuthStateChange' notes: | Listen to session changes. + - `sessionStatus` is a `Flow` that emits the current session status. Everything related to the session is handled by this flow. + - `events` is a `Flow` that emits auth events. This flow is used to listen to auth events that are independent of the current session, like OTP errors, refresh failures, etc. Experimental. examples: - id: listen-to-auth-changes - name: Listen to auth changes + name: Listen to session status changes isSpotlight: true code: | ```kotlin @@ -3742,7 +3744,9 @@ functions: } } SessionStatus.Initializing -> println("Initializing") - is SessionStatus.RefreshFailure -> println("Refresh failure ${it.cause}") //Either a network error or a internal server error + is SessionStatus.RefreshFailure -> { + println("Session expired and could not be refreshed") + } is SessionStatus.NotAuthenticated -> { if(it.isSignOut) { println("User signed out") @@ -3759,6 +3763,20 @@ functions: - `Initializing`, - `RefreshFailure(cause)`, - `Authenticated(session, source)` + - id: listen-to-events + name: Listen to auth events + isSpotlight: false + code: | + ```kotlin + supabase.auth.events.collect { + when(it) { + is AuthEvent.OtpError -> + println("Found error in current URL / deeplink during the OAuth flow: ${it.error}") + is AuthEvent.RefreshFailure -> + println("Failed to refresh session: ${it.error}") + } + } + ``` - id: reset-password-for-email title: 'Send a password reset request' notes: | @@ -4053,7 +4071,7 @@ functions: supabaseKey = "supabaseKey" ) { install(Auth) { - minimalSettings() //disables session saving and auto-refreshing + minimalConfig() //disables session saving and auto-refreshing } // install other plugins (these will use the service role key) } diff --git a/apps/docs/spec/supabase_py_v2.yml b/apps/docs/spec/supabase_py_v2.yml index 194cdd3dc96..a19afdbd019 100644 --- a/apps/docs/spec/supabase_py_v2.yml +++ b/apps/docs/spec/supabase_py_v2.yml @@ -1222,7 +1222,7 @@ functions: - name: attributes isOptional: false type: UserAttributes - subContent: + subContent: - name: data isOptional: true type: object diff --git a/apps/studio/components/grid/components/grid/Grid.tsx b/apps/studio/components/grid/components/grid/Grid.tsx index 116cbf70455..fe907cabf8a 100644 --- a/apps/studio/components/grid/components/grid/Grid.tsx +++ b/apps/studio/components/grid/components/grid/Grid.tsx @@ -6,12 +6,13 @@ import { formatForeignKeys } from 'components/interfaces/TableGridEditor/SidePan import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import AlertError from 'components/ui/AlertError' import { useForeignKeyConstraintsQuery } from 'data/database/foreign-key-constraints-query' +import { ENTITY_TYPE } from 'data/entity-types/entity-type-constants' import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { useTableEditorStateSnapshot } from 'state/table-editor' import { useTableEditorTableStateSnapshot } from 'state/table-editor-table' import { Button, cn } from 'ui' -import { GenericSkeletonLoader } from 'ui-patterns' +import { GenericSkeletonLoader } from 'ui-patterns/ShimmeringLoader' import type { Filter, GridProps, SupaRow } from '../../types' import { useOnRowsChange } from './Grid.utils' import RowRenderer from './RowRenderer' @@ -67,6 +68,7 @@ export const Grid = memo( } const table = snap.table + const tableEntityType = snap.originalTable?.entity_type const { mutate: sendEvent } = useSendEventMutation() const org = useSelectedOrganization() @@ -82,13 +84,13 @@ export const Grid = memo( table?.columns.find((x) => x.name == columnName)?.foreignKey ?? {} const fk = data?.find( - (key: any) => + (key) => key.source_schema === table?.schema && key.source_table === table?.name && key.source_columns.includes(columnName) && key.target_schema === targetTableSchema && key.target_table === targetTableName && - key.target_columns.includes(targetColumnName) + key.target_columns.includes(targetColumnName ?? '') ) return fk !== undefined ? formatForeignKeys([fk])[0] : undefined @@ -141,11 +143,15 @@ export const Grid = memo( {(filters ?? []).length === 0 ? (

This table is empty

-

- Add rows to your table to get started. -

-
- { + {tableEntityType === ENTITY_TYPE.FOREIGN_TABLE ? ( +
+

+ This table is a foreign table. Add data to the connected source to get + started. +

+
+ ) : ( +
- } -
+
+ )}
) : (
diff --git a/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx b/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx index 2800dcda2d8..1a0eaa02a9e 100644 --- a/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx +++ b/apps/studio/components/interfaces/APIKeys/APIKeyRow.tsx @@ -1,5 +1,6 @@ -import { MoreVertical } from 'lucide-react' +import { APIKeysData } from 'data/api-keys/api-keys-query' import { motion } from 'framer-motion' +import { MoreVertical } from 'lucide-react' import { Button, DropdownMenu, @@ -10,7 +11,6 @@ import { } from 'ui' import { APIKeyDeleteDialog } from './APIKeyDeleteDialog' import { ApiKeyPill } from './ApiKeyPill' -import { APIKeysData } from 'data/api-keys/api-keys-query' export const APIKeyRow = ({ apiKey, @@ -34,14 +34,25 @@ export const APIKeyRow = ({ mass: 1, }} > - {apiKey.name} + +
+ {apiKey.name} +
+ {apiKey.description || No description} +
+
+
- {apiKey.description || '/'} - {lastSeen?.timestamp ?? '/'} + + +
+ {lastSeen?.timestamp ?? Never used} +
+
diff --git a/apps/studio/components/interfaces/APIKeys/APIKeysTable.tsx b/apps/studio/components/interfaces/APIKeys/APIKeysTable.tsx deleted file mode 100644 index 49aa3a94a97..00000000000 --- a/apps/studio/components/interfaces/APIKeys/APIKeysTable.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { AnimatePresence } from 'framer-motion' - -import { APIKeysData } from 'data/api-keys/api-keys-query' -import { APIKeyRow } from './APIKeyRow' - -const APIKeysTable = ({ - apiKeys, -}: { - apiKeys: Extract[] -}) => { - return ( - - - - - {apiKeys.map((apiKey) => ( - - ))} - - -
- ) -} - -export default APIKeysTable diff --git a/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx b/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx index 6024d017720..28d24040b1d 100644 --- a/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx +++ b/apps/studio/components/interfaces/APIKeys/ApiKeyPill.tsx @@ -1,10 +1,10 @@ +import { PermissionAction } from '@supabase/shared-types/out/constants' import { useQueryClient } from '@tanstack/react-query' import { AnimatePresence, motion } from 'framer-motion' import { Eye } from 'lucide-react' import { useEffect, useState } from 'react' import { toast } from 'sonner' -import { PermissionAction } from '@supabase/shared-types/out/constants' import { InputVariants } from '@ui/components/shadcn/ui/input' import { useParams } from 'common' import CopyButton from 'components/ui/CopyButton' @@ -35,7 +35,6 @@ export function ApiKeyPill({ // It fetches the fully revealed API key when needed const { data, - isLoading: isLoadingApiKey, error, refetch: refetchApiKey, } = useAPIKeyIdQuery( @@ -106,7 +105,6 @@ export function ApiKeyPill({ // States for disabling buttons/showing tooltips const isRestricted = isSecret && !canManageSecretKeys - const isLoading = isLoadingPermission return ( <> @@ -118,7 +116,7 @@ export function ApiKeyPill({ isSecret ? 'overflow-hidden' : '', show ? 'ring-1 ring-foreground-lighter ring-opacity-50' : 'ring-0 ring-opacity-0', 'transition-all', - 'max-w-[340px]', + 'max-w-[100px] sm:max-w-[140px] md:max-w-[180px] lg:max-w-[340px]', 'cursor-text', 'relative' )} diff --git a/apps/studio/components/interfaces/APIKeys/PublishableAPIKeys.tsx b/apps/studio/components/interfaces/APIKeys/PublishableAPIKeys.tsx index 99627770315..179df09b662 100644 --- a/apps/studio/components/interfaces/APIKeys/PublishableAPIKeys.tsx +++ b/apps/studio/components/interfaces/APIKeys/PublishableAPIKeys.tsx @@ -1,12 +1,14 @@ import { PermissionAction } from '@supabase/shared-types/out/constants' +import { useMemo } from 'react' + import { InputVariants } from '@ui/components/shadcn/ui/input' import { useParams } from 'common' import CopyButton from 'components/ui/CopyButton' import { FormHeader } from 'components/ui/Forms/FormHeader' import { useAPIKeysQuery } from 'data/api-keys/api-keys-query' import { useCheckPermissions, usePermissionsLoaded } from 'hooks/misc/useCheckPermissions' -import { useMemo } from 'react' import { cn, EyeOffIcon, Input_Shadcn_, Skeleton, WarningIcon } from 'ui' + // to add in later with follow up PR // import CreatePublishableAPIKeyDialog from './CreatePublishableAPIKeyDialog' // to add in later with follow up PR @@ -38,7 +40,7 @@ export const PublishableAPIKeys = () => { description="This key is safe to use in a browser if you have enabled Row Level Security (RLS) for your tables and configured policies." />
-
+
Publishable key
@@ -59,7 +61,7 @@ export const PublishableAPIKeys = () => {
) : (
- Publishable key can be safely shared in public + The publishable key can be safely shared publicly
)}
@@ -91,7 +93,8 @@ function ApiKeyInput() { // The default publisahble key will always be the first one const apiKey = publishableApiKeys[0] - const baseClasses = 'flex-1 grow gap-1 rounded-full min-w-[32em]' + const baseClasses = + 'flex-1 grow gap-1 rounded-full min-w-0 max-w-[200px] sm:max-w-[300px] md:max-w-[400px] lg:min-w-[24rem]' const size = 'tiny' if (isApiKeysLoading || isPermissionsLoading) { diff --git a/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx b/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx index 16a6a60e9fb..5f6c6e1b83f 100644 --- a/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx +++ b/apps/studio/components/interfaces/APIKeys/SecretAPIKeys.tsx @@ -112,10 +112,8 @@ export const SecretAPIKeys = () => { API Key - - Description - - + + Last Seen diff --git a/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx b/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx index ac42d836fe4..47cb816ab38 100644 --- a/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx +++ b/apps/studio/components/interfaces/Advisors/AdvisorRuleItem.tsx @@ -11,6 +11,7 @@ import { useProjectLintRulesQuery } from 'data/lint/lint-rules-query' import { useOrganizationMembersQuery } from 'data/organizations/organization-members-query' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { + Badge, Button, Card, CardContent, @@ -24,11 +25,19 @@ import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' import { LintInfo } from '../Linter/Linter.constants' import { generateRuleText } from './AdvisorRules.utils' import { CreateRuleSheet } from './CreateRuleSheet' +import { DisableRuleModal } from './DisableRuleModal' +import { EnableRuleModal } from './EnableRuleModal' interface AdvisorRuleItemProps { lint: LintInfo } +// [Joshen] Context: We're going with a simplified interface for LW15 as we launch +// this as a feature preview. Going to be purely disabling rules for the whole project, +// not assigning to members, etc (all these can come in the future when we're ready) +// Hence using this to clearly indicate where is being simplified +const SIMPLIFIED_INTERFACE = true + export const AdvisorRuleItem = ({ lint }: AdvisorRuleItemProps) => { const { ref: projectRef } = useParams() const organization = useSelectedOrganization() @@ -63,6 +72,30 @@ export const AdvisorRuleItem = ({ lint }: AdvisorRuleItemProps) => { deleteRule({ projectRef, ids: [selectedRuleToDelete] }) } + if (SIMPLIFIED_INTERFACE) { + return ( + + +
+ {lint.icon} +
+
+ {lint.title} + {rules.length > 0 && Disabled} +
+
+ + {rules.length > 0 ? ( + + ) : ( + + )} +
+
+
+ ) + } + return ( <> { + const { ref } = useParams() + const router = useRouter() + const routeCategory = router.pathname.split('/').pop() + + const [open, setOpen] = useState(false) + + const { mutate: createRule, isLoading: isCreating } = useLintRuleCreateMutation({ + onSuccess: (_, vars) => { + const ruleLint = vars.exception.lint_name + const ruleLintMeta = lintInfoMap.find((x) => x.name === ruleLint) + toast.success(`Successfully disabled the "${ruleLintMeta?.title}" rule`) + + if (ruleLintMeta) { + if (!!routeCategory && routeCategory !== ruleLintMeta.category) { + router.push( + `/project/${ref}/advisors/rules/${ruleLintMeta.category}?lint=${ruleLintMeta.name}` + ) + } + } + setOpen(false) + }, + }) + + const onCreateRule = () => { + if (!ref) return console.error('Project ref is required') + + createRule({ + projectRef: ref, + exception: { + is_disabled: true, + lint_category: undefined, + lint_name: lint.name, + assigned_to: undefined, + }, + }) + } + + return ( + + + + + + + Confirm to disable rule + + + +

+ This will silence the "{lint.title}" by hiding this rule in the Advisor reports, as well + omitting this rule from email notifications for this project. +

+
+ + + + +
+
+ ) +} diff --git a/apps/studio/components/interfaces/Advisors/EnableRuleModal.tsx b/apps/studio/components/interfaces/Advisors/EnableRuleModal.tsx new file mode 100644 index 00000000000..c744e3d632b --- /dev/null +++ b/apps/studio/components/interfaces/Advisors/EnableRuleModal.tsx @@ -0,0 +1,71 @@ +import { useRouter } from 'next/router' +import { useState } from 'react' +import { toast } from 'sonner' + +import { useParams } from 'common' +import { useLintRuleDeleteMutation } from 'data/lint/delete-lint-rule-mutation' +import { LintException } from 'data/lint/lint-rules-query' +import { + Button, + Dialog, + DialogContent, + DialogFooter, + DialogHeader, + DialogSection, + DialogSectionSeparator, + DialogTitle, + DialogTrigger, +} from 'ui' +import { LintInfo } from '../Linter/Linter.constants' + +interface EnableRuleModalProps { + lint: LintInfo + rule: LintException +} + +export const EnableRuleModal = ({ lint, rule }: EnableRuleModalProps) => { + const { ref } = useParams() + const router = useRouter() + + const [open, setOpen] = useState(false) + + const { mutate: deleteRule, isLoading: isDeleting } = useLintRuleDeleteMutation({ + onSuccess: () => { + toast.success(`Successfully enabled the "${lint.title}" rule`) + setOpen(false) + }, + }) + + const onDeleteRule = () => { + if (!ref) return console.error('Project ref is required') + deleteRule({ projectRef: ref, ids: [rule.id] }) + } + + return ( + + + + + + + Confirm to enable rule + + + +

+ The "{lint.title}" rule will be visible in the Advisor reports, and will be included in + email notifications for this project. +

+
+ + + + +
+
+ ) +} diff --git a/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx new file mode 100644 index 00000000000..42dc1d41ad5 --- /dev/null +++ b/apps/studio/components/interfaces/App/FeaturePreview/AdvisorRulesPreview.tsx @@ -0,0 +1,45 @@ +import Image from 'next/image' + +import { useParams } from 'common' +import { InlineLink } from 'components/ui/InlineLink' +import { BASE_PATH } from 'lib/constants' +import { useIsRealtimeSettingsEnabled } from './FeaturePreviewContext' + +export const AdvisorRulesPreview = () => { + const { ref } = useParams() + const isRealtimeSettingsEnabled = useIsRealtimeSettingsEnabled() + + return ( +
+

+ Disable specific Advisor categories or rules to prevent them from showing up in Advisor + reports or email notifications. This could be useful for rules that might not be applicable + to your project. +

+ api-docs-side-panel-preview +
+

Enabling this preview will:

+
    +
  • + Allow you to disable advisor rules for your project from the{' '} + + Advisors section. + +
  • +
+
+
+ ) +} diff --git a/apps/studio/components/interfaces/App/FeaturePreview/Branching2Preview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/Branching2Preview.tsx new file mode 100644 index 00000000000..88911c2d4b0 --- /dev/null +++ b/apps/studio/components/interfaces/App/FeaturePreview/Branching2Preview.tsx @@ -0,0 +1,64 @@ +import Image from 'next/image' + +import { InlineLink } from 'components/ui/InlineLink' +import { BASE_PATH } from 'lib/constants' + +export const Branching2Preview = () => { + return ( +
+ api-docs-side-panel-preview +

+ Branching 2.0 introduces a new workflow for managing database branches without having to use + Git. Create branches, review changes and merge back into production all through the + dashboard. Read the below limitations and our{' '} + + branching documentation + {' '} + before opting in. +

+
+

Limitations:

+
    +
  • Custom roles created through the dashboard are not captured on branch creation.
  • +
  • + Only public schema changes are supported right now. +
  • +
  • Extensions are not included in the diff process
  • +
  • + Branches can only be merged to main; merging between preview branches is + not supported. +
  • +
  • + If your branch is out of date, you can pull in latest changes from main, + but keep in mind that all functions will be overwritten. +
  • +
  • + Deleting functions must be done manually on main. +
  • +
  • Migration conflicts must be manually resolved on the preview branch.
  • +
  • + If you have run migrations on main, new branches will be created from + existing migrations instead of a full schema dump. +
  • +
+
+ +
+

Enabling this preview will:

+
    +
  • Enable the new Branching 2.0 workflow for your project.
  • +
  • + Allow you to create, manage, and merge database branches with improved UI and features. +
  • +
  • Access new merge request and deployment management tools.
  • +
+
+
+ ) +} diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreview.constants.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreview.constants.tsx index 2db32d6c747..4433c5b3895 100644 --- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreview.constants.tsx +++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreview.constants.tsx @@ -1,6 +1,20 @@ import { LOCAL_STORAGE_KEYS } from 'common' export const FEATURE_PREVIEWS = [ + { + key: LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS, + name: 'New Logs Interface', + discussionsUrl: 'https://github.com/orgs/supabase/discussions/37234', + isNew: true, + isPlatformOnly: true, + }, + { + key: LOCAL_STORAGE_KEYS.UI_PREVIEW_BRANCHING_2_0, + name: 'Branching 2.0', + discussionsUrl: 'https://github.com/orgs/supabase/discussions/branching-2-0', + isNew: true, + isPlatformOnly: true, + }, { key: LOCAL_STORAGE_KEYS.UI_PREVIEW_REALTIME_SETTINGS, name: 'Realtime settings', @@ -8,6 +22,13 @@ export const FEATURE_PREVIEWS = [ isNew: true, isPlatformOnly: true, }, + { + key: LOCAL_STORAGE_KEYS.UI_PREVIEW_ADVISOR_RULES, + name: 'Disable Advisor rules', + discussionsUrl: undefined, + isNew: true, + isPlatformOnly: true, + }, { key: LOCAL_STORAGE_KEYS.UI_PREVIEW_INLINE_EDITOR, name: 'Directly edit database entities', diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx index 01ed929dc86..0ab0b040922 100644 --- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx +++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx @@ -1,7 +1,17 @@ import { noop } from 'lodash' -import { PropsWithChildren, createContext, useContext, useEffect, useState } from 'react' +import { useQueryState } from 'nuqs' +import { + PropsWithChildren, + createContext, + useCallback, + useContext, + useEffect, + useMemo, + useState, +} from 'react' import { FeatureFlagContext, LOCAL_STORAGE_KEYS } from 'common' +import { useFlag, useIsRealtimeSettingsFFEnabled } from 'hooks/ui/useFlag' import { EMPTY_OBJ } from 'lib/void' import { FEATURE_PREVIEWS } from './FeaturePreview.constants' @@ -80,7 +90,111 @@ export const useIsInlineEditorEnabled = () => { return flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_INLINE_EDITOR] } +export const useUnifiedLogsPreview = () => { + const { flags, onUpdateFlag } = useFeaturePreviewContext() + const isEnabled = flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS] + const enable = () => onUpdateFlag(LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS, true) + const disable = () => onUpdateFlag(LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS, false) + return { isEnabled, enable, disable } +} + export const useIsRealtimeSettingsEnabled = () => { const { flags } = useFeaturePreviewContext() return flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_REALTIME_SETTINGS] } + +export const useIsBranching2Enabled = () => { + const { flags } = useFeaturePreviewContext() + return flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_BRANCHING_2_0] +} + +export const useIsAdvisorRulesEnabled = () => { + const { flags } = useFeaturePreviewContext() + return flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_ADVISOR_RULES] +} + +export const useFeaturePreviewModal = () => { + const [featurePreviewModal, setFeaturePreviewModal] = useQueryState('featurePreviewModal') + + const isRealtimeSettingsEnabled = useIsRealtimeSettingsFFEnabled() + const gitlessBranchingEnabled = useFlag('gitlessBranching') + const advisorRulesEnabled = useFlag('advisorRules') + const isUnifiedLogsPreviewAvailable = useFlag('unifiedLogs') + + const selectedFeatureKeyFromQuery = featurePreviewModal?.trim() ?? null + const showFeaturePreviewModal = selectedFeatureKeyFromQuery !== null + + // [Joshen] Use this if we want to feature flag previews + const isFeaturePreviewReleasedToPublic = useCallback( + (feature: (typeof FEATURE_PREVIEWS)[number]) => { + switch (feature.key) { + case 'supabase-ui-realtime-settings': + return isRealtimeSettingsEnabled + case 'supabase-ui-branching-2-0': + return gitlessBranchingEnabled + case 'supabase-ui-advisor-rules': + return advisorRulesEnabled + case 'supabase-ui-preview-unified-logs': + return isUnifiedLogsPreviewAvailable + default: + return true + } + }, + [ + isRealtimeSettingsEnabled, + gitlessBranchingEnabled, + advisorRulesEnabled, + isUnifiedLogsPreviewAvailable, + ] + ) + + const selectedFeatureKey = ( + !selectedFeatureKeyFromQuery + ? FEATURE_PREVIEWS.filter((feature) => isFeaturePreviewReleasedToPublic(feature))[0].key + : selectedFeatureKeyFromQuery + ) as (typeof FEATURE_PREVIEWS)[number]['key'] + + const selectFeaturePreview = useCallback( + (featureKey: (typeof FEATURE_PREVIEWS)[number]['key']) => { + setFeaturePreviewModal(featureKey) + }, + [setFeaturePreviewModal] + ) + + const openFeaturePreviewModal = useCallback(() => { + selectFeaturePreview(selectedFeatureKey) + }, [selectFeaturePreview, selectedFeatureKey]) + + const closeFeaturePreviewModal = useCallback(() => { + setFeaturePreviewModal(null) + }, [setFeaturePreviewModal]) + + const toggleFeaturePreviewModal = useCallback(() => { + if (showFeaturePreviewModal) { + closeFeaturePreviewModal() + } else { + openFeaturePreviewModal() + } + }, [showFeaturePreviewModal, openFeaturePreviewModal, closeFeaturePreviewModal]) + + return useMemo( + () => ({ + showFeaturePreviewModal, + selectedFeatureKey, + selectFeaturePreview, + openFeaturePreviewModal, + closeFeaturePreviewModal, + toggleFeaturePreviewModal, + isFeaturePreviewReleasedToPublic, + }), + [ + showFeaturePreviewModal, + selectedFeatureKey, + selectFeaturePreview, + openFeaturePreviewModal, + closeFeaturePreviewModal, + toggleFeaturePreviewModal, + isFeaturePreviewReleasedToPublic, + ] + ) +} diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx index 477392fa4f6..ba83954fe4b 100644 --- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx +++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx @@ -5,52 +5,46 @@ import { ReactNode } from 'react' import { LOCAL_STORAGE_KEYS, useParams } from 'common' import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import { useIsRealtimeSettingsFFEnabled } from 'hooks/ui/useFlag' import { IS_PLATFORM } from 'lib/constants' -import { useAppStateSnapshot } from 'state/app-state' import { Badge, Button, Modal, ScrollArea, cn } from 'ui' +import { AdvisorRulesPreview } from './AdvisorRulesPreview' import { APISidePanelPreview } from './APISidePanelPreview' +import { Branching2Preview } from './Branching2Preview' import { CLSPreview } from './CLSPreview' import { FEATURE_PREVIEWS } from './FeaturePreview.constants' -import { useFeaturePreviewContext } from './FeaturePreviewContext' +import { useFeaturePreviewContext, useFeaturePreviewModal } from './FeaturePreviewContext' import { InlineEditorPreview } from './InlineEditorPreview' import { RealtimeSettingsPreview } from './RealtimeSettingsPreview' +import { UnifiedLogsPreview } from './UnifiedLogsPreview' const FEATURE_PREVIEW_KEY_TO_CONTENT: { [key: string]: ReactNode } = { + [LOCAL_STORAGE_KEYS.UI_PREVIEW_BRANCHING_2_0]: , [LOCAL_STORAGE_KEYS.UI_PREVIEW_REALTIME_SETTINGS]: , + [LOCAL_STORAGE_KEYS.UI_PREVIEW_ADVISOR_RULES]: , [LOCAL_STORAGE_KEYS.UI_PREVIEW_INLINE_EDITOR]: , [LOCAL_STORAGE_KEYS.UI_PREVIEW_API_SIDE_PANEL]: , [LOCAL_STORAGE_KEYS.UI_PREVIEW_CLS]: , + [LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS]: , } const FeaturePreviewModal = () => { const { ref } = useParams() - const snap = useAppStateSnapshot() + const { + showFeaturePreviewModal, + selectedFeatureKey, + selectFeaturePreview, + closeFeaturePreviewModal, + isFeaturePreviewReleasedToPublic, + } = useFeaturePreviewModal() const org = useSelectedOrganization() const featurePreviewContext = useFeaturePreviewContext() const { mutate: sendEvent } = useSendEventMutation() - const isRealtimeSettingsEnabled = useIsRealtimeSettingsFFEnabled() - - // [Joshen] Use this if we want to feature flag previews - function isReleasedToPublic(feature: (typeof FEATURE_PREVIEWS)[number]) { - switch (feature.key) { - case 'supabase-ui-realtime-settings': - return isRealtimeSettingsEnabled - default: - return true - } - } - - const selectedFeatureKey = - snap.selectedFeaturePreview === '' - ? FEATURE_PREVIEWS.filter((feature) => isReleasedToPublic(feature))[0].key - : snap.selectedFeaturePreview - const { flags, onUpdateFlag } = featurePreviewContext - const selectedFeature = FEATURE_PREVIEWS.find((preview) => preview.key === selectedFeatureKey) + const selectedFeature = + FEATURE_PREVIEWS.find((preview) => preview.key === selectedFeatureKey) ?? FEATURE_PREVIEWS[0] const isSelectedFeatureEnabled = flags[selectedFeatureKey] const allFeaturePreviews = IS_PLATFORM @@ -58,18 +52,14 @@ const FeaturePreviewModal = () => { : FEATURE_PREVIEWS.filter((x) => !x.isPlatformOnly) const toggleFeature = () => { - onUpdateFlag(selectedFeatureKey, !isSelectedFeatureEnabled) + onUpdateFlag(selectedFeature.key, !isSelectedFeatureEnabled) sendEvent({ action: isSelectedFeatureEnabled ? 'feature_preview_disabled' : 'feature_preview_enabled', - properties: { feature: selectedFeatureKey }, + properties: { feature: selectedFeature.key }, groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' }, }) } - function handleCloseFeaturePreviewModal() { - snap.setShowFeaturePreviewModal(false) - } - return ( { size="xlarge" className="!max-w-4xl" header="Dashboard feature previews" - visible={snap.showFeaturePreviewModal} - onCancel={handleCloseFeaturePreviewModal} + visible={showFeaturePreviewModal} + onCancel={closeFeaturePreviewModal} > {FEATURE_PREVIEWS.length > 0 ? (
{allFeaturePreviews - .filter((feature) => isReleasedToPublic(feature)) + .filter((feature) => isFeaturePreviewReleasedToPublic(feature)) .map((feature) => { const isEnabled = flags[feature.key] ?? false return (
snap.setSelectedFeaturePreview(feature.key)} + onClick={() => selectFeaturePreview(feature.key)} className={cn( 'flex items-center space-x-3 p-4 border-b cursor-pointer bg transition', - selectedFeatureKey === feature.key ? 'bg-surface-300' : 'bg-surface-100' + selectedFeature.key === feature.key ? 'bg-surface-300' : 'bg-surface-100' )} > {isEnabled ? ( @@ -130,7 +120,7 @@ const FeaturePreviewModal = () => {
- {FEATURE_PREVIEW_KEY_TO_CONTENT[selectedFeatureKey]} + {FEATURE_PREVIEW_KEY_TO_CONTENT[selectedFeature.key]}
) : ( diff --git a/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx new file mode 100644 index 00000000000..981d98ad42e --- /dev/null +++ b/apps/studio/components/interfaces/App/FeaturePreview/UnifiedLogsPreview.tsx @@ -0,0 +1,36 @@ +import { useParams } from 'common' +import { InlineLink } from 'components/ui/InlineLink' +import { BASE_PATH } from 'lib/constants' +import Image from 'next/image' + +export const UnifiedLogsPreview = () => { + const { ref } = useParams() + + return ( +
+ new-logs-preview +

+ Experience our enhanced logs interface with improved filtering, real-time updates, and a + unified view across all your services. Built for better performance and easier debugging. +

+
+

Enabling this preview will:

+
    +
  • + Replace the current logs interface on the{' '} + logs page with a unified view +
  • +
  • Provide enhanced filtering capabilities and real-time log streaming
  • +
  • Improve performance with optimized data loading and virtualization
  • +
  • Offer a more modern interface with better search and navigation
  • +
+
+
+ ) +} diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx index cbb8fea06b1..01849b8ae84 100644 --- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx +++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx @@ -2,7 +2,7 @@ import { isEmpty, noop } from 'lodash' import { useEffect, useState } from 'react' import { toast } from 'sonner' -import { useAppStateSnapshot } from 'state/app-state' +import { useFeaturePreviewModal } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' import { Modal } from 'ui' import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' import { POLICY_MODAL_VIEWS } from '../Policies.constants' @@ -47,7 +47,7 @@ const PolicyEditorModal = ({ onUpdatePolicy, onSaveSuccess = noop, }: PolicyEditorModalProps) => { - const snap = useAppStateSnapshot() + const { toggleFeaturePreviewModal } = useFeaturePreviewModal() const newPolicyTemplate: PolicyFormField = { schema, @@ -95,7 +95,7 @@ const PolicyEditorModal = ({ const onSelectBackFromTemplates = () => setView(previousView) const onToggleFeaturePreviewModal = () => { - snap.setShowFeaturePreviewModal(!snap.showFeaturePreviewModal) + toggleFeaturePreviewModal() onSelectCancel() } diff --git a/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx b/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx deleted file mode 100644 index c8637b7f443..00000000000 --- a/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx +++ /dev/null @@ -1,440 +0,0 @@ -import { PermissionAction } from '@supabase/shared-types/out/constants' -import { partition } from 'lodash' -import { GitMerge, MessageCircle } from 'lucide-react' -import { useRouter } from 'next/router' -import { useState } from 'react' -import { toast } from 'sonner' - -import { useParams } from 'common' -import { GitHubStatus } from 'components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus' -import { ScaffoldContainer, ScaffoldSection } from 'components/layouts/Scaffold' -import AlertError from 'components/ui/AlertError' -import { ButtonTooltip } from 'components/ui/ButtonTooltip' -import { DocsButton } from 'components/ui/DocsButton' -import NoPermission from 'components/ui/NoPermission' -import { useBranchDeleteMutation } from 'data/branches/branch-delete-mutation' -import { useBranchesDisableMutation } from 'data/branches/branches-disable-mutation' -import { useBranchUpdateMutation } from 'data/branches/branch-update-mutation' -import { Branch, useBranchesQuery } from 'data/branches/branches-query' -import { useGitHubConnectionsQuery } from 'data/integrations/github-connections-query' -import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import { useSelectedProject } from 'hooks/misc/useSelectedProject' -import { useFlag } from 'hooks/ui/useFlag' -import { useUrlState } from 'hooks/ui/useUrlState' -import { useAppStateSnapshot } from 'state/app-state' -import { Button } from 'ui' -import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' -import TextConfirmModal from 'ui-patterns/Dialogs/TextConfirmModal' -import { BranchLoader, BranchManagementSection, BranchRow } from './BranchPanels' -import { BranchSelector } from './BranchSelector' -import { PreviewBranchesEmptyState, PullRequestsEmptyState } from './EmptyStates' -import { Overview } from './Overview' -import { ReviewRow } from './ReviewRow' - -type Tab = 'overview' | 'prs' | 'branches' - -const BranchManagement = () => { - const router = useRouter() - const { ref } = useParams() - const project = useSelectedProject() - const selectedOrg = useSelectedOrganization() - const gitlessBranching = useFlag('gitlessBranching') - - const hasBranchEnabled = project?.is_branch_enabled - - const isBranch = project?.parent_project_ref !== undefined - const projectRef = - project !== undefined ? (isBranch ? project.parent_project_ref : ref) : undefined - - const [urlParams, setParams] = useUrlState<{ tab: Tab }>() - const tab = urlParams.tab ?? 'overview' - const setTab = (tab: Tab) => setParams({ tab }) - - const snap = useAppStateSnapshot() - - const [showDisableBranching, setShowDisableBranching] = useState(false) - const [selectedBranchToDelete, setSelectedBranchToDelete] = useState() - - const canReadBranches = useCheckPermissions(PermissionAction.READ, 'preview_branches') - const canCreateBranches = useCheckPermissions(PermissionAction.CREATE, 'preview_branches', { - resource: { is_default: false }, - }) - - const { - data: connections, - error: connectionsError, - isLoading: isLoadingConnections, - isSuccess: isSuccessConnections, - isError: isErrorConnections, - } = useGitHubConnectionsQuery({ - organizationId: selectedOrg?.id, - }) - - const { - data: branches, - error: branchesError, - isLoading: isLoadingBranches, - isError: isErrorBranches, - isSuccess: isSuccessBranches, - } = useBranchesQuery({ projectRef }) - const [[mainBranch], previewBranchesUnsorted] = partition(branches, (branch) => branch.is_default) - const previewBranches = previewBranchesUnsorted.sort((a, b) => - new Date(a.updated_at) < new Date(b.updated_at) ? 1 : -1 - ) - const branchesWithPRs = previewBranches.filter((branch) => branch.pr_number !== undefined) - const branchesReadyForReview = previewBranches.filter( - (branch) => branch.review_requested_at !== undefined && branch.review_requested_at !== null - ) - - const currentBranch = branches?.find((branch) => branch.project_ref === ref) - const isCurrentBranchReadyForReview = - currentBranch?.review_requested_at !== undefined && currentBranch?.review_requested_at !== null - - const githubConnection = connections?.find((connection) => connection.project.ref === projectRef) - const repo = githubConnection?.repository.name ?? '' - - const isError = isErrorConnections || isErrorBranches - const isLoading = isLoadingConnections || isLoadingBranches - const isSuccess = isSuccessConnections && isSuccessBranches - - const { mutate: deleteBranch, isLoading: isDeleting } = useBranchDeleteMutation({ - onSuccess: () => { - if (selectedBranchToDelete?.project_ref === ref) { - toast.success( - 'Successfully deleted branch. You are now currently on the main branch of your project.' - ) - router.push(`/project/${projectRef}/branches`) - } else { - toast.success('Successfully deleted branch') - } - setSelectedBranchToDelete(undefined) - }, - }) - - const { mutate: disableBranching, isLoading: isDisabling } = useBranchesDisableMutation({ - onSuccess: () => { - toast.success('Successfully disabled branching for project') - setShowDisableBranching(false) - }, - }) - - const { mutate: updateBranch, isLoading: isUpdating } = useBranchUpdateMutation({ - onError: () => { - toast.error(`Failed to update the branch`) - }, - }) - - const handleMarkBranchForReview = (branch: Branch) => { - if (branch.id && projectRef) { - updateBranch( - { - id: branch.id, - projectRef, - requestReview: true, - }, - { - onSuccess: () => { - toast.success('Branch marked as ready for review') - router.push(`/project/${branch.project_ref}/merge`) - }, - } - ) - } - } - - const generateCreatePullRequestURL = (branch?: string) => { - if (githubConnection === undefined) return 'https://github.com' - - return branch !== undefined - ? `https://github.com/${githubConnection.repository.name}/compare/${mainBranch?.git_branch}...${branch}` - : `https://github.com/${githubConnection.repository.name}/compare` - } - - const onConfirmDeleteBranch = () => { - if (selectedBranchToDelete == undefined) return console.error('No branch selected') - if (projectRef == undefined) return console.error('Project ref is required') - deleteBranch({ id: selectedBranchToDelete?.id, projectRef }) - } - - const onConfirmDisableBranching = () => { - if (projectRef == undefined) return console.error('Project ref is required') - if (!previewBranches) return console.error('No branches available') - disableBranching({ projectRef, branchIds: previewBranches?.map((branch) => branch.id) }) - } - - return ( - <> - - -
-

Branches

- -
-
-
- - - -
-
- - - snap.setShowCreateBranchModal(true)} - tooltip={{ - content: { - side: 'bottom', - text: !canCreateBranches - ? 'You need additional permissions to create branches' - : undefined, - }, - }} - > - Create branch - -
-
- - {!canReadBranches ? ( - - ) : ( - <> - {isErrorConnections && ( - - )} - - {isSuccessConnections && hasBranchEnabled && } - - {isErrorBranches && tab === 'overview' && ( - - )} - - {!isError && ( - <> - {tab === 'overview' && ( - setTab('branches')} - onSelectCreateBranch={() => snap.setShowCreateBranchModal(true)} - onSelectDeleteBranch={setSelectedBranchToDelete} - generateCreatePullRequestURL={generateCreatePullRequestURL} - showProductionBranch={hasBranchEnabled} - /> - )} - {tab === 'prs' && ( -
- {gitlessBranching && ( - - - {branchesReadyForReview.length} branches ready for review - - -
- } - > - {isBranch && !isCurrentBranchReadyForReview && currentBranch && ( -
-
-
- - Mark{' '} - {currentBranch.name}{' '} - ready for review -
- -
-
- )} - {branchesReadyForReview.length > 0 ? ( - branchesReadyForReview.map((branch) => { - return - }) - ) : ( -
- No branches are currently ready for review -
- )} - - )} - - {branchesWithPRs.length > 0 ? ( - branchesWithPRs.map((branch) => { - return ( - setSelectedBranchToDelete(branch)} - /> - ) - }) - ) : ( - 0} - githubConnection={githubConnection} - gitlessBranching={gitlessBranching} - /> - )} - -
- )} - {tab === 'branches' && ( - - {isLoadingBranches && } - {isErrorBranches && ( - - )} - {isSuccessBranches && previewBranches.length === 0 && ( - snap.setShowCreateBranchModal(true)} - /> - )} - {isSuccessBranches && - previewBranches.map((branch) => { - return ( - setSelectedBranchToDelete(branch)} - /> - ) - })} - - )} - - )} - - )} -
-
- - - - setSelectedBranchToDelete(undefined)} - onConfirm={() => onConfirmDeleteBranch()} - loading={isDeleting} - title="Delete branch" - confirmLabel="Delete branch" - confirmPlaceholder="Type in name of branch" - confirmString={selectedBranchToDelete?.name ?? ''} - alert={{ title: 'You cannot recover this branch once deleted' }} - text={ - <> - This will delete your database preview branch{' '} - {selectedBranchToDelete?.name}. - - } - /> - - onConfirmDisableBranching()} - onCancel={() => setShowDisableBranching(false)} - alert={{ - title: 'This action cannot be undone', - description: - 'All database preview branches will be removed upon disabling branching. You may still re-enable branching again thereafter, but your existing preview branches will not be restored.', - }} - > -

Before you disable branching, consider:

-
    -
  • Your project no longer requires database previews.
  • -
  • - None of your database previews are currently being used in any app. -
  • -
-
- - ) -} - -export default BranchManagement diff --git a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx index dc7c142d066..57f3f3d0c0c 100644 --- a/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx +++ b/apps/studio/components/interfaces/BranchManagement/BranchPanels.tsx @@ -1,47 +1,13 @@ -import { PermissionAction } from '@supabase/shared-types/out/constants' import dayjs from 'dayjs' -import { - ArrowRight, - Clock, - ExternalLink, - GitPullRequest, - Github, - Infinity, - MoreVertical, - Pencil, - RefreshCw, - Shield, - Trash2, -} from 'lucide-react' -import Link from 'next/link' -import { PropsWithChildren, ReactNode, useState } from 'react' -import { useInView } from 'react-intersection-observer' -import { toast } from 'sonner' +import { Github } from 'lucide-react' +import { useRouter } from 'next/router' +import { PropsWithChildren, ReactNode } from 'react' -import { useParams } from 'common' import { ButtonTooltip } from 'components/ui/ButtonTooltip' import ShimmeringLoader from 'components/ui/ShimmeringLoader' -import { useBranchQuery } from 'data/branches/branch-query' -import { useBranchResetMutation } from 'data/branches/branch-reset-mutation' -import { useBranchUpdateMutation } from 'data/branches/branch-update-mutation' import type { Branch } from 'data/branches/branches-query' -import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { useFlag } from 'hooks/ui/useFlag' -import { - Badge, - Button, - DropdownMenu, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuTrigger, - Tooltip, - TooltipContent, - TooltipTrigger, -} from 'ui' -import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' -import BranchStatusBadge from './BranchStatusBadge' -import { EditBranchModal } from './EditBranchModal' -import WorkflowLogs from './WorkflowLogs' +import { Tooltip, TooltipContent, TooltipTrigger } from 'ui' +import { WorkflowLogs } from './WorkflowLogs' interface BranchManagementSectionProps { header: string | ReactNode @@ -54,11 +20,13 @@ export const BranchManagementSection = ({ children, }: PropsWithChildren) => { return ( -
-
+
+
{typeof header === 'string' ? {header} : header}
-
{children}
+
+ {children} +
{footer !== undefined &&
{footer}
}
) @@ -93,344 +61,78 @@ export const BranchLoader = () => { interface BranchRowProps { repo: string + label?: string | ReactNode branch: Branch - isMain?: boolean - generateCreatePullRequestURL?: (branchName?: string) => string - onSelectDeleteBranch: () => void + rowLink?: string + external?: boolean + rowActions?: ReactNode } export const BranchRow = ({ branch, - isMain = false, + label, repo, - generateCreatePullRequestURL, - onSelectDeleteBranch, + rowLink, + external = false, + rowActions, }: BranchRowProps) => { - const { ref: projectRef } = useParams() - const isActive = projectRef === branch?.project_ref - const gitlessBranching = useFlag('gitlessBranching') - - const canDeleteBranches = useCheckPermissions(PermissionAction.DELETE, 'preview_branches') - const canUpdateBranches = useCheckPermissions(PermissionAction.UPDATE, 'preview_branches') + const router = useRouter() + const page = router.pathname.split('/').pop() const daysFromNow = dayjs().diff(dayjs(branch.updated_at), 'day') const formattedTimeFromNow = dayjs(branch.updated_at).fromNow() const formattedUpdatedAt = dayjs(branch.updated_at).format('DD MMM YYYY, HH:mm:ss (ZZ)') - const createPullRequestURL = - generateCreatePullRequestURL?.(branch.git_branch) ?? 'https://github.com' + const navigateUrl = rowLink ?? `/project/${branch.project_ref}` - const { ref, inView } = useInView() - const { data } = useBranchQuery( - { projectRef, id: branch.id }, - { - enabled: inView, - refetchInterval(data) { - if (data?.status !== 'ACTIVE_HEALTHY') { - return 1000 * 3 // 3 seconds - } - - return false - }, + const handleRowClick = () => { + if (external) { + window.open(navigateUrl, '_blank', 'noopener noreferrer') + } else { + router.push(navigateUrl) } - ) - - const isBranchActiveHealthy = data?.status === 'ACTIVE_HEALTHY' - - const [showConfirmResetModal, setShowConfirmResetModal] = useState(false) - const [showBranchModeSwitch, setShowBranchModeSwitch] = useState(false) - const [showEditBranchModal, setShowEditBranchModal] = useState(false) - - const { mutate: updateBranch, isLoading: isUpdating } = useBranchUpdateMutation({ - onSuccess() { - toast.success('Successfully updated branch') - setShowBranchModeSwitch(false) - }, - }) - - const onUpdateBranchPersistentMode = () => { - if (projectRef == undefined) return console.error('Project ref is required') - updateBranch({ id: branch.id, projectRef, persistent: !branch.persistent }) - } - - const { mutate: resetBranch, isLoading: isResetting } = useBranchResetMutation({ - onSuccess() { - toast.success('Success! Please allow a few seconds for the branch to reset.') - setShowConfirmResetModal(false) - }, - }) - - function onConfirmReset() { - if (!projectRef) throw new Error('Invalid project reference') - resetBranch({ id: branch.id, projectRef }) } return ( -
+
+
+ {branch.git_branch && ( + + + + + + )} + + +
+ {label || branch.name} +
+
+ {((page === 'branches' && !branch.is_default) || page === 'merge-requests') && ( + + {page === 'branches' && !branch.is_default && 'Switch to branch'} + {page === 'merge-requests' && 'View merge request'} + + )} +
+
- - ) : branch.persistent ? ( - - ) : null - } - tooltip={{ - content: { - side: 'bottom', - text: branch.persistent - ? `${branch.name} is a persistent branch and will remain active even after the - underlying PR is closed` - : 'Switch to branch', - }, - }} - > - - {branch.name} - - - - {branch.git_branch && } - - {isActive && Current} -

{daysFromNow > 1 ? `Updated on ${formattedUpdatedAt}` : `Updated ${formattedTimeFromNow}`}

+ + {rowActions}
-
- {isMain ? ( -
- {repo && ( - - )} - - - -
- ) : ( -
- {branch.git_branch && branch.pr_number === undefined ? ( - - ) : branch.pr_number !== undefined ? ( -
- - #{branch.pr_number} - - - -
- ) : null} - - - -
- )} -
- - setShowEditBranchModal(false)} - />
) } diff --git a/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx b/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx index 3c9b4c277c1..9714d8e5e06 100644 --- a/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx +++ b/apps/studio/components/interfaces/BranchManagement/BranchSelector.tsx @@ -1,9 +1,9 @@ -import { Check, Plus, Shield } from 'lucide-react' +import { Check, GitMerge, Shield } from 'lucide-react' import { useState } from 'react' +import { ButtonTooltip } from 'components/ui/ButtonTooltip' import { Branch } from 'data/branches/branches-query' import { - Button, CommandEmpty_Shadcn_, CommandGroup_Shadcn_, CommandInput_Shadcn_, @@ -21,6 +21,7 @@ interface BranchSelectorProps { onBranchSelected?: (branch: Branch) => void disabled?: boolean isUpdating?: boolean + type?: 'primary' | 'outline' } export const BranchSelector = ({ @@ -28,6 +29,7 @@ export const BranchSelector = ({ onBranchSelected, disabled = false, isUpdating = false, + type = 'primary', }: BranchSelectorProps) => { const [open, setOpen] = useState(false) const [selectedBranch, setSelectedBranch] = useState(null) @@ -46,16 +48,26 @@ export const BranchSelector = ({ return ( - + {isUpdating ? 'Creating...' : 'New merge request'} + - + diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx index 92a6a77db2f..93c82251740 100644 --- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx +++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx @@ -1,16 +1,19 @@ import { zodResolver } from '@hookform/resolvers/zod' import { useQueryClient } from '@tanstack/react-query' -import { useParams } from 'common' -import { DollarSign, Github, GitMerge, Loader2, Merge } from 'lucide-react' +import { DollarSign, GitMerge, Github, Loader2 } from 'lucide-react' import Image from 'next/image' import Link from 'next/link' +import { useRouter } from 'next/router' import { useEffect } from 'react' import { useForm } from 'react-hook-form' import { toast } from 'sonner' import * as z from 'zod' +import { useParams } from 'common' +import { useIsBranching2Enabled } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' import { BranchingPITRNotice } from 'components/layouts/AppLayout/EnableBranchingButton/BranchingPITRNotice' import AlertError from 'components/ui/AlertError' +import { ButtonTooltip } from 'components/ui/ButtonTooltip' import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' import UpgradeToPro from 'components/ui/UpgradeToPro' import { useBranchCreateMutation } from 'data/branches/branch-create-mutation' @@ -21,7 +24,6 @@ import { projectKeys } from 'data/projects/keys' import { useProjectAddonsQuery } from 'data/subscriptions/project-addons-query' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { useSelectedProject } from 'hooks/misc/useSelectedProject' -import { useFlag } from 'hooks/ui/useFlag' import { BASE_PATH, IS_PLATFORM } from 'lib/constants' import { useAppStateSnapshot } from 'state/app-state' import { @@ -42,7 +44,8 @@ import { cn, } from 'ui' import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' -import { useRouter } from 'next/router' +import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' +import { PermissionAction } from '@supabase/shared-types/out/constants' export const CreateBranchModal = () => { const { ref } = useParams() @@ -50,7 +53,7 @@ export const CreateBranchModal = () => { const queryClient = useQueryClient() const projectDetails = useSelectedProject() const selectedOrg = useSelectedOrganization() - const gitlessBranching = useFlag('gitlessBranching') + const gitlessBranching = useIsBranching2Enabled() const { showCreateBranchModal, setShowCreateBranchModal } = useAppStateSnapshot() const organization = useSelectedOrganization() @@ -94,6 +97,8 @@ export const CreateBranchModal = () => { }, }) + const canCreateBranch = useCheckPermissions(PermissionAction.CREATE, 'preview_branches') + const githubConnection = connections?.find((connection) => connection.project.ref === projectRef) // Fetch production/default branch to inspect git_branch linkage @@ -148,6 +153,14 @@ export const CreateBranchModal = () => { }) const canSubmit = !isCreating && !isChecking + const isDisabled = + !isSuccessConnections || + isCreating || + !canSubmit || + isChecking || + (!gitlessBranching && !githubConnection) || + promptProPlanUpgrade || + !canCreateBranch const onSubmit = (data: z.infer) => { if (!projectRef) return console.error('Project ref is required') @@ -197,6 +210,7 @@ export const CreateBranchModal = () => { )} + {
-

- Preview branches are billed $0.01344 per hour -

+

Branches are billed $0.01344 per hour

This cost will continue for as long as the branch has not been removed.

@@ -367,22 +379,24 @@ export const CreateBranchModal = () => { > Cancel - + diff --git a/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx b/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx index 3b116c90e79..4748365eeaa 100644 --- a/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx +++ b/apps/studio/components/interfaces/BranchManagement/DatabaseDiffPanel.tsx @@ -1,6 +1,7 @@ import Link from 'next/link' -import { CircleAlert, Database, Wind } from 'lucide-react' -import { Card, CardContent, CardHeader, CardTitle, Skeleton } from 'ui' +import { CircleAlert, Database, Download, Wind } from 'lucide-react' +import { Card, CardContent, CardHeader, CardTitle, Skeleton, Button } from 'ui' +import { toast } from 'sonner' import DiffViewer from 'components/ui/DiffViewer' @@ -45,7 +46,7 @@ const DatabaseDiffPanel = ({ return ( - + + diff --git a/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx b/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx index eb003f42937..ad99d760f6c 100644 --- a/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx +++ b/apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx @@ -1,4 +1,4 @@ -import { Code, Wind } from 'lucide-react' +import { Circle, Code, Minus, Plus, Wind } from 'lucide-react' import Link from 'next/link' import { useEffect, useMemo, useState } from 'react' @@ -34,15 +34,31 @@ const fileKey = (fullPath: string) => basename(fullPath) const getStatusColor = (status: FileStatus): string => { switch (status) { case 'added': - return 'bg-brand' + return 'text-brand' case 'removed': - return 'bg-destructive' + return 'text-destructive' case 'modified': - return 'bg-warning' + return 'text-warning' case 'unchanged': - return 'bg-muted' + return 'text-muted' default: - return 'bg-muted' + return 'text-muted' + } +} + +// Helper to get the status icon for file indicators +const getStatusIcon = (status: FileStatus) => { + switch (status) { + case 'added': + return Plus + case 'removed': + return Minus + case 'modified': + return Circle + case 'unchanged': + return Circle + default: + return Circle } } @@ -65,8 +81,12 @@ const FunctionDiff = ({ } }, [allFileKeys, activeFileKey]) - const currentFile = currentBody.find((f) => fileKey(f.name) === activeFileKey) - const mainFile = mainBody.find((f) => fileKey(f.name) === activeFileKey) + const currentFile = currentBody.find( + (f: EdgeFunctionBodyData[number]) => fileKey(f.name) === activeFileKey + ) + const mainFile = mainBody.find( + (f: EdgeFunctionBodyData[number]) => fileKey(f.name) === activeFileKey + ) const language = useMemo(() => { if (!activeFileKey) return 'plaintext' @@ -96,28 +116,31 @@ const FunctionDiff = ({
    - {fileInfos.map((fileInfo) => ( -
  • - -
  • - ))} + > + + {fileInfo.key} + + + ) + })}
@@ -142,7 +165,9 @@ const EdgeFunctionsDiffPanel = ({ return } - if (!diffResults.hasChanges) { + const noChanges = diffResults.addedSlugs.length === 0 && diffResults.modifiedSlugs.length === 0 + + if (noChanges) { return (
diff --git a/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx index 2ab15c74e3d..bed088dd528 100644 --- a/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx +++ b/apps/studio/components/interfaces/BranchManagement/EditBranchModal.tsx @@ -16,7 +16,7 @@ import { useCheckGithubBranchValidity } from 'data/integrations/github-branch-ch import { useGitHubConnectionsQuery } from 'data/integrations/github-connections-query' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { useSelectedProject } from 'hooks/misc/useSelectedProject' -import { useFlag } from 'hooks/ui/useFlag' +import { useIsBranching2Enabled } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' import { BASE_PATH } from 'lib/constants' import { useRouter } from 'next/router' import { @@ -50,7 +50,7 @@ export const EditBranchModal = ({ branch, visible, onClose }: EditBranchModalPro const router = useRouter() const projectDetails = useSelectedProject() const selectedOrg = useSelectedOrganization() - const gitlessBranching = useFlag('gitlessBranching') + const gitlessBranching = useIsBranching2Enabled() const [isGitBranchValid, setIsGitBranchValid] = useState(false) @@ -219,7 +219,7 @@ export const EditBranchModal = ({ branch, visible, onClose }: EditBranchModalPro control={form.control} name="branchName" render={({ field }) => ( - + { - const snap = useAppStateSnapshot() - - const canCreateBranches = useCheckPermissions(PermissionAction.CREATE, 'preview_branches', { - resource: { is_default: false }, - }) - - return ( - -

- Create preview branches to experiment with changes to your database schema in a safe, - non-destructive environment. -

-
- } - onClick={() => snap.setShowCreateBranchModal(true)} - tooltip={{ - content: { - side: 'bottom', - text: !canCreateBranches - ? 'You need additional permissions to create branches' - : undefined, - }, - }} - > - Create branch - - - -
-
- ) -} +const EMPTY_STATE_CONTAINER = 'flex items-center flex-col justify-center w-full py-10 px-4' export const PullRequestsEmptyState = ({ url, projectRef, - hasBranches, + branches, + onBranchSelected, + isUpdating, githubConnection, - gitlessBranching, + gitlessBranching = false, }: { url: string projectRef: string - hasBranches: boolean + branches: Branch[] + onBranchSelected: (branch: Branch) => void + isUpdating: boolean githubConnection?: any - gitlessBranching?: boolean + gitlessBranching: boolean }) => { - // Show GitHub connection message if GitHub is not connected and gitless branching is enabled - if (!githubConnection && gitlessBranching) { - return ( -
-
-

Connect to GitHub for seamless branching

-

- Sync GitHub repos to Supabase projects for automatic branch creation and merging -

-
- - -
- ) - } - return ( -
-

No pull requests made yet for this repository

-

- Only pull requests with the ./migration directory changes will show here. +

+

No merge requests

+

+ Create your first merge request to merge changes back to the main branch

- {hasBranches && ( -
-
-
- -

Create a pull request

-
- -
-
-
-

Not sure what to do?

-

Browse our documentation

-
- -
-
- )} +
+ {githubConnection ? ( + + ) : ( + + )} + {gitlessBranching && ( + + )} +
) } @@ -130,22 +62,14 @@ export const PreviewBranchesEmptyState = ({ onSelectCreateBranch: () => void }) => { return ( -
+

Create your first preview branch

-

- Preview branches are used to experiment with changes to your database schema in a safe, - non-destructive environment. +

+ Preview branches are short-lived environments that let you safely experiment with changes to + your database schema without affecting your main database.

- + diff --git a/apps/studio/components/interfaces/BranchManagement/Overview.tsx b/apps/studio/components/interfaces/BranchManagement/Overview.tsx index 487ad934292..eebf5b79631 100644 --- a/apps/studio/components/interfaces/BranchManagement/Overview.tsx +++ b/apps/studio/components/interfaces/BranchManagement/Overview.tsx @@ -1,24 +1,51 @@ -import { noop } from 'lodash' -import { Button } from 'ui' +import { PermissionAction } from '@supabase/shared-types/out/constants' +import { useQueryClient } from '@tanstack/react-query' +import { partition } from 'lodash' +import { + Clock, + ExternalLink, + Infinity, + MoreVertical, + Pencil, + RefreshCw, + Shield, + Trash2, +} from 'lucide-react' +import Link from 'next/link' +import { useState } from 'react' +import { toast } from 'sonner' +import { useParams } from 'common' +import { useIsBranching2Enabled } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' +import { DropdownMenuItemTooltip } from 'components/ui/DropdownMenuItemTooltip' +import { useBranchQuery } from 'data/branches/branch-query' +import { useBranchResetMutation } from 'data/branches/branch-reset-mutation' +import { useBranchUpdateMutation } from 'data/branches/branch-update-mutation' import type { Branch } from 'data/branches/branches-query' -import { ChevronRight } from 'lucide-react' +import { branchKeys } from 'data/branches/keys' +import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' +import { + Button, + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuTrigger, +} from 'ui' +import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' +import TextConfirmModal from 'ui-patterns/Dialogs/TextConfirmModal' import { BranchLoader, BranchManagementSection, BranchRow, BranchRowLoader } from './BranchPanels' +import { EditBranchModal } from './EditBranchModal' import { PreviewBranchesEmptyState } from './EmptyStates' -const MAX_BRANCHES_OVERVIEW = 10 - interface OverviewProps { isLoading: boolean isSuccess: boolean repo: string mainBranch: Branch previewBranches: Branch[] - onViewAllBranches: () => void onSelectCreateBranch: () => void onSelectDeleteBranch: (branch: Branch) => void generateCreatePullRequestURL: (branchName?: string) => string - showProductionBranch?: boolean } export const Overview = ({ @@ -27,48 +54,98 @@ export const Overview = ({ repo, mainBranch, previewBranches, - onViewAllBranches, onSelectCreateBranch, onSelectDeleteBranch, generateCreatePullRequestURL, - showProductionBranch = true, }: OverviewProps) => { + const [persistentBranches, ephemeralBranches] = partition( + previewBranches, + (branch) => branch.persistent + ) + const { ref: projectRef } = useParams() + return ( <> - {showProductionBranch && ( - - {isLoading && } - {isSuccess && mainBranch !== undefined && ( - - )} - - )} + + {isLoading && } + {isSuccess && mainBranch !== undefined && ( + + + {mainBranch.name} +
+ } + repo={repo} + rowActions={} + /> + )} + {isSuccess && mainBranch === undefined && ( +
+ +
+ + main +
+ +
+ )} + - - -
- ) - } - > + {/* Persistent Branches Section */} + {isLoading && } - {isSuccess && previewBranches.length === 0 && ( - + {isSuccess && persistentBranches.length === 0 && ( +
+

No persistent branches

+

+ Persistent branches are long-lived, cannot be reset, and are ideal for staging + environments. +

+
)} {isSuccess && - previewBranches.slice(0, MAX_BRANCHES_OVERVIEW).map((branch) => { + persistentBranches.map((branch) => { return ( onSelectDeleteBranch(branch)} + rowActions={ + onSelectDeleteBranch(branch)} + generateCreatePullRequestURL={generateCreatePullRequestURL} + /> + } + /> + ) + })} +
+ + {/* Ephemeral/Preview Branches Section */} + + {isLoading && } + {isSuccess && ephemeralBranches.length === 0 && ( + + )} + {isSuccess && + ephemeralBranches.map((branch) => { + return ( + onSelectDeleteBranch(branch)} + generateCreatePullRequestURL={generateCreatePullRequestURL} + /> + } /> ) })} @@ -76,3 +153,268 @@ export const Overview = ({ ) } + +// Row actions for preview branches (non-main) +const PreviewBranchActions = ({ + branch, + onSelectDeleteBranch, + generateCreatePullRequestURL, +}: { + branch: Branch + repo: string + onSelectDeleteBranch: () => void + generateCreatePullRequestURL: (branchName?: string) => string +}) => { + const gitlessBranching = useIsBranching2Enabled() + const queryClient = useQueryClient() + const projectRef = branch.parent_project_ref ?? branch.project_ref + + const canDeleteBranches = useCheckPermissions(PermissionAction.DELETE, 'preview_branches') + const canUpdateBranches = useCheckPermissions(PermissionAction.UPDATE, 'preview_branches') + + const { data } = useBranchQuery({ projectRef, id: branch.id }) + const isBranchActiveHealthy = data?.status === 'ACTIVE_HEALTHY' + + const [showConfirmResetModal, setShowConfirmResetModal] = useState(false) + const [showBranchModeSwitch, setShowBranchModeSwitch] = useState(false) + const [showEditBranchModal, setShowEditBranchModal] = useState(false) + + const { mutate: resetBranch, isLoading: isResetting } = useBranchResetMutation({ + onSuccess() { + toast.success('Success! Please allow a few seconds for the branch to reset.') + setShowConfirmResetModal(false) + }, + }) + + const { mutate: updateBranch, isLoading: isUpdatingBranch } = useBranchUpdateMutation({ + onSuccess() { + toast.success('Successfully updated branch') + setShowBranchModeSwitch(false) + if (projectRef) { + queryClient.invalidateQueries({ queryKey: branchKeys.list(projectRef) }) + } + }, + }) + + const onConfirmReset = () => { + if (!projectRef) return + resetBranch({ id: branch.id, projectRef }) + } + + const onTogglePersistent = () => { + if (!projectRef) return + updateBranch({ id: branch.id, projectRef, persistent: !branch.persistent }) + } + + return ( + <> + + + + Workflow Logs - Select a workflow run to view logs @@ -143,5 +161,3 @@ const WorkflowLogs = ({ projectRef }: WorkflowLogsProps) => { ) } - -export default WorkflowLogs diff --git a/apps/studio/components/interfaces/Database/Backups/PITR/TimezoneSelection.tsx b/apps/studio/components/interfaces/Database/Backups/PITR/TimezoneSelection.tsx index d527da4b6d4..18c443b0ef8 100644 --- a/apps/studio/components/interfaces/Database/Backups/PITR/TimezoneSelection.tsx +++ b/apps/studio/components/interfaces/Database/Backups/PITR/TimezoneSelection.tsx @@ -48,7 +48,7 @@ export const TimezoneSelection = ({ : 'Select timezone...'} - + diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationRow.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationRow.tsx index 442540ebe09..edfab6d9239 100644 --- a/apps/studio/components/interfaces/Database/Replication/DestinationRow.tsx +++ b/apps/studio/components/interfaces/Database/Replication/DestinationRow.tsx @@ -4,9 +4,12 @@ import { ReplicationPipelinesData } from 'data/replication/pipelines-query' import { ResponseError } from 'types' import ShimmeringLoader from 'ui-patterns/ShimmeringLoader' import RowMenu from './RowMenu' -import PipelineStatus, { PipelineStatusRequestStatus } from './PipelineStatus' +import PipelineStatus, { PipelineStatusRequestStatus, PipelineStatusName } from './PipelineStatus' import { useParams } from 'common' -import { useReplicationPipelineStatusQuery } from 'data/replication/pipeline-status-query' +import { + ReplicationPipelineStatusData, + useReplicationPipelineStatusQuery, +} from 'data/replication/pipeline-status-query' import { useState } from 'react' import { toast } from 'sonner' import { useStartPipelineMutation } from 'data/replication/start-pipeline-mutation' @@ -65,10 +68,22 @@ const DestinationRow = ({ const { mutateAsync: startPipeline } = useStartPipelineMutation() const { mutateAsync: stopPipeline } = useStopPipelineMutation() const pipelineStatus = pipelineStatusData?.status + const getStatusName = ( + status: ReplicationPipelineStatusData['status'] | undefined + ): string | undefined => { + if (status && typeof status === 'object' && 'name' in status) { + return status.name + } + + return undefined + } + + const statusName = getStatusName(pipelineStatus) if ( (requestStatus === PipelineStatusRequestStatus.EnableRequested && - pipelineStatus === 'Started') || - (requestStatus === PipelineStatusRequestStatus.DisableRequested && pipelineStatus === 'Stopped') + (statusName === PipelineStatusName.STARTED || statusName === PipelineStatusName.FAILED)) || + (requestStatus === PipelineStatusRequestStatus.DisableRequested && + (statusName === PipelineStatusName.STOPPED || statusName === PipelineStatusName.FAILED)) ) { setRequestStatus(PipelineStatusRequestStatus.None) } @@ -190,7 +205,7 @@ const DestinationRow = ({ sourceId, destinationId: destinationId, pipelineId: pipeline?.id, - enabled: pipelineStatusData?.status === 'Started', + enabled: statusName === PipelineStatusName.STARTED, }} /> diff --git a/apps/studio/components/interfaces/Database/Replication/PipelineStatus.tsx b/apps/studio/components/interfaces/Database/Replication/PipelineStatus.tsx index 6e8be284823..6fb360e6d97 100644 --- a/apps/studio/components/interfaces/Database/Replication/PipelineStatus.tsx +++ b/apps/studio/components/interfaces/Database/Replication/PipelineStatus.tsx @@ -2,8 +2,21 @@ import AlertError from 'components/ui/AlertError' import ShimmeringLoader from 'ui-patterns/ShimmeringLoader' import { cn } from 'ui' import { ResponseError } from 'types' -import { Loader2 } from 'lucide-react' -import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from 'ui' +import { Loader2, ChevronDown, ChevronRight, Copy, AlertTriangle } from 'lucide-react' +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, + Button, + Collapsible_Shadcn_ as Collapsible, + CollapsibleContent_Shadcn_ as CollapsibleContent, + CollapsibleTrigger_Shadcn_ as CollapsibleTrigger, +} from 'ui' +import { useState, useEffect, useRef } from 'react' +import { copyToClipboard } from 'ui' +import { toast } from 'sonner' +import { ReplicationPipelineStatusData } from 'data/replication/pipeline-status-query' export enum PipelineStatusRequestStatus { None = 'None', @@ -11,8 +24,19 @@ export enum PipelineStatusRequestStatus { DisableRequested = 'DisableRequested', } +export enum PipelineStatusName { + FAILED = 'failed', + STARTING = 'starting', + STARTED = 'started', + STOPPED = 'stopped', + UNKNOWN = 'unknown', +} + +// Type alias for better readability +type FailedStatus = Extract + interface PipelineStatusProps { - pipelineStatus: string | undefined + pipelineStatus: ReplicationPipelineStatusData['status'] | undefined error: ResponseError | null isLoading: boolean isError: boolean @@ -28,6 +52,175 @@ const PipelineStatus = ({ isSuccess, requestStatus, }: PipelineStatusProps) => { + const [isErrorDetailsOpen, setIsErrorDetailsOpen] = useState(false) + const errorDetailsRef = useRef(null) + + useEffect(() => { + const handleClickOutside = (event: MouseEvent) => { + if (errorDetailsRef.current && !errorDetailsRef.current.contains(event.target as Node)) { + setIsErrorDetailsOpen(false) + } + } + + if (isErrorDetailsOpen) { + document.addEventListener('mousedown', handleClickOutside) + } + + return () => { + document.removeEventListener('mousedown', handleClickOutside) + } + }, [isErrorDetailsOpen]) + + const handleCopyToClipboard = async (text: string) => { + try { + await copyToClipboard(text) + toast.success('Error details copied to clipboard') + } catch (error) { + toast.error('Failed to copy error details') + } + } + + const isFailedStatus = ( + status: ReplicationPipelineStatusData['status'] | undefined + ): status is FailedStatus => { + return ( + status !== null && + status !== undefined && + typeof status === 'object' && + status.name === PipelineStatusName.FAILED + ) + } + + const isLogLoadingState = (failedStatus: FailedStatus): boolean => { + // Right now we hardcode the error message which is returned when k8s is not able to find logs, which seems + // to be a transient error. In case we find a way to properly handle this in the backend, this hack will not + // be needed anymore. + return ( + failedStatus.message?.startsWith('unable to retrieve container logs for containerd://') === + true + ) + } + + const renderFailedStatus = (failedStatus: FailedStatus) => { + const hasDetails = + failedStatus.message || failedStatus.reason || failedStatus.exit_code !== undefined + const isLoadingLogs = isLogLoadingState(failedStatus) + + return ( +
+ + + +
+ {isLoadingLogs ? ( + + ) : ( + + )} + Failed +
+
+ +

+ {isLoadingLogs + ? 'Pipeline failed - logs are being retrieved from container' + : 'Pipeline has failed - expand for error details'} +

+
+
+
+ {hasDetails && ( + + + + + +
+ {isLoadingLogs ? ( +
+ +
+
+ Pipeline Failed - Loading logs... +
+
+ Error logs are being retrieved from the container. This may take a few + moments. +
+
+
+ ) : ( + <> +
+ + Pipeline Error Details + + {(failedStatus.message || failedStatus.reason) && ( + + )} +
+
+ {failedStatus.exit_code !== undefined && ( +
+ + Exit Code: + +
+ {failedStatus.exit_code} +
+
+ )} + {failedStatus.reason && ( +
+ Reason: +
+                            {failedStatus.reason}
+                          
+
+ )} + {failedStatus.message && ( +
+ + Message: + +
+                            {failedStatus.message}
+                          
+
+ )} +
+ + )} +
+
+
+ )} +
+ ) + } // Map backend statuses to UX-friendly display const getStatusConfig = () => { if (requestStatus === PipelineStatusRequestStatus.EnableRequested) { @@ -48,42 +241,59 @@ const PipelineStatus = ({ } } - switch (pipelineStatus) { - case 'Starting': - return { - label: 'Starting', - dot: , - color: 'text-warning-600', - tooltip: 'Pipeline is initializing and will be ready soon', - } - case 'Started': - return { - label: 'Running', - dot:
, - color: 'text-brand-600', - tooltip: 'Pipeline is active and processing data', - } - case 'Stopped': - return { - label: 'Stopped', - dot:
, - color: 'text-foreground-light', - tooltip: 'Pipeline is not running - enable to start processing', - } - case 'Unknown': - return { - label: 'Unknown', - dot:
, - color: 'text-warning-600', - tooltip: 'Pipeline status could not be determined', - } - default: - return { - label: 'Unknown', - dot:
, - color: 'text-destructive-600', - tooltip: 'Pipeline status is unclear - check logs for details', - } + // Handle Failed status object + if (isFailedStatus(pipelineStatus)) { + return { + isFailedStatus: true, + } + } + + if (pipelineStatus && typeof pipelineStatus === 'object' && 'name' in pipelineStatus) { + switch (pipelineStatus.name) { + case PipelineStatusName.STARTING: + return { + label: 'Starting', + dot: , + color: 'text-warning-600', + tooltip: 'Pipeline is initializing and will be ready soon', + } + case PipelineStatusName.STARTED: + return { + label: 'Running', + dot:
, + color: 'text-brand-600', + tooltip: 'Pipeline is active and processing data', + } + case PipelineStatusName.STOPPED: + return { + label: 'Stopped', + dot:
, + color: 'text-foreground-light', + tooltip: 'Pipeline is not running - enable to start processing', + } + case PipelineStatusName.UNKNOWN: + return { + label: 'Unknown', + dot:
, + color: 'text-warning-600', + tooltip: 'Pipeline status could not be determined', + } + default: + return { + label: 'Unknown', + dot:
, + color: 'text-destructive-600', + tooltip: 'Pipeline status is unclear - check logs for details', + } + } + } + + // Fallback for undefined or invalid status + return { + label: 'Unknown', + dot:
, + color: 'text-destructive-600', + tooltip: 'Pipeline status is unclear - check logs for details', } } @@ -94,19 +304,25 @@ const PipelineStatus = ({ {isLoading && } {isError && } {isSuccess && ( - - - -
- {statusConfig.dot} - {statusConfig.label} -
-
- -

{statusConfig.tooltip}

-
-
-
+ <> + {statusConfig.isFailedStatus ? ( +
{renderFailedStatus(pipelineStatus as FailedStatus)}
+ ) : ( + + + +
+ {statusConfig.dot} + {statusConfig.label} +
+
+ +

{statusConfig.tooltip}

+
+
+
+ )} + )} ) diff --git a/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx b/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx index 2852aea3577..f09cc703093 100644 --- a/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx +++ b/apps/studio/components/interfaces/Database/Replication/RowMenu.tsx @@ -10,9 +10,10 @@ import { DropdownMenuTrigger, } from 'ui' import ShimmeringLoader from 'ui-patterns/ShimmeringLoader' +import { PipelineStatusName } from './PipelineStatus' interface RowMenuProps { - pipelineStatus: string | undefined + pipelineStatus: any error: ResponseError | null isLoading: boolean isError: boolean @@ -32,7 +33,16 @@ const RowMenu = ({ onEditClick, onDeleteClick, }: RowMenuProps) => { - const pipelineEnabled = pipelineStatus === 'Stopped' ? false : true + const getStatusName = (status: any) => { + if (status && typeof status === 'object' && 'name' in status) { + return status.name + } + return status + } + + const statusName = getStatusName(pipelineStatus) + const pipelineEnabled = statusName !== PipelineStatusName.STOPPED + return (
{isLoading && } diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx index 6be17b8c501..132b4523d61 100644 --- a/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx +++ b/apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx @@ -226,14 +226,6 @@ export const SchemaGraph = () => { > Copy as SQL - } - onClick={() => downloadImage('png')} - tooltip={{ content: { side: 'bottom', text: 'Download current view as PNG' } }} - /> { currentBranch?.status === 'MIGRATIONS_FAILED' ? 'UNHEALTHY' : 'COMING_UP') as ProjectServiceStatus, - logsUrl: '/logs/edge-functions-logs', + logsUrl: '/branches', }, ] : []), diff --git a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx index 2faf363d538..47a7262ee50 100644 --- a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx +++ b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx @@ -39,8 +39,10 @@ export const SecretsManagement = () => { const allSecrets = data || [] const secrets = sortBy( searchValue.length > 0 - ? allSecrets.filter((secret) => - (secret?.name ?? '').toLowerCase().includes(searchValue.toLowerCase()) + ? allSecrets.filter( + (secret) => + (secret?.name ?? '').toLowerCase().includes(searchValue.toLowerCase()) || + (secret?.id ?? '').toLowerCase().includes(searchValue.toLowerCase()) ) : allSecrets, (s) => { diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx index a57546e61f2..8ff308fd878 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx @@ -8,6 +8,7 @@ import { FormSection, FormSectionContent, FormSectionLabel } from 'components/ui import SchemaSelector from 'components/ui/SchemaSelector' import { useSchemasQuery } from 'data/database/schemas-query' import { useFDWCreateMutation } from 'data/fdw/fdw-create-mutation' +import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { Button, Form, @@ -24,6 +25,7 @@ import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' import { CreateWrapperSheetProps } from './CreateWrapperSheet' import InputField from './InputField' import { makeValidateRequired } from './Wrappers.utils' +import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' const FORM_ID = 'create-wrapper-form' @@ -63,6 +65,8 @@ export const CreateIcebergWrapperSheet = ({ onClose, }: CreateWrapperSheetProps) => { const { project } = useProjectContext() + const org = useSelectedOrganization() + const { mutate: sendEvent } = useSendEventMutation() const [createSchemaSheetOpen, setCreateSchemaSheetOpen] = useState(false) const [selectedTarget, setSelectedTarget] = useState('S3Tables') @@ -131,6 +135,17 @@ export const CreateIcebergWrapperSheet = ({ sourceSchema: values.source_schema, targetSchema: values.target_schema, }) + + sendEvent({ + action: 'foreign_data_wrapper_created', + properties: { + wrapperType: wrapperMeta.label, + }, + groups: { + project: project?.ref ?? 'Unknown', + organization: org?.slug ?? 'Unknown', + }, + }) } return ( diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx index 881db37bb74..d737aa6733b 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx @@ -11,6 +11,7 @@ import SchemaSelector from 'components/ui/SchemaSelector' import { useDatabaseExtensionsQuery } from 'data/database-extensions/database-extensions-query' import { invalidateSchemasQuery, useSchemasQuery } from 'data/database/schemas-query' import { useFDWCreateMutation } from 'data/fdw/fdw-create-mutation' +import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { Button, Form, @@ -29,6 +30,7 @@ import InputField from './InputField' import { WrapperMeta } from './Wrappers.types' import { makeValidateRequired } from './Wrappers.utils' import WrapperTableEditor from './WrapperTableEditor' +import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' export interface CreateWrapperSheetProps { isClosing: boolean @@ -47,6 +49,8 @@ export const CreateWrapperSheet = ({ }: CreateWrapperSheetProps) => { const queryClient = useQueryClient() const { project } = useProjectContext() + const org = useSelectedOrganization() + const { mutate: sendEvent } = useSendEventMutation() const [newTables, setNewTables] = useState([]) const [isEditingTable, setIsEditingTable] = useState(false) @@ -135,6 +139,17 @@ export const CreateWrapperSheet = ({ sourceSchema: values.source_schema, targetSchema: values.target_schema, }) + + sendEvent({ + action: 'foreign_data_wrapper_created', + properties: { + wrapperType: wrapperMeta.label, + }, + groups: { + project: project?.ref ?? 'Unknown', + organization: org?.slug ?? 'Unknown', + }, + }) } return ( diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx index 87703801cc5..041c2c518b9 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx @@ -58,7 +58,9 @@ export const EditWrapperSheet = ({ }, }) - const [wrapperTables, setWrapperTables] = useState(formatWrapperTables(wrapper, wrapperMeta)) + const [wrapperTables, setWrapperTables] = useState(() => + formatWrapperTables(wrapper, wrapperMeta) + ) const [isEditingTable, setIsEditingTable] = useState(false) const [selectedTableToEdit, setSelectedTableToEdit] = useState( undefined @@ -93,7 +95,8 @@ export const EditWrapperSheet = ({ const { wrapper_name } = values if (wrapper_name.length === 0) errors.name = 'Please provide a name for your wrapper' - if (wrapperTables.length === 0) errors.tables = 'Please add at least one table' + if (!wrapperMeta.canTargetSchema && wrapperTables.length === 0) + errors.tables = 'Please add at least one table' if (!isEmpty(errors)) return setFormErrors(errors) updateFDW({ diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts b/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts index 92f2101a570..63786de027c 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts +++ b/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts @@ -109,7 +109,7 @@ export const formatWrapperTables = ( }) } -export const convertKVStringArrayToJson = (values: string[]) => { +export const convertKVStringArrayToJson = (values: string[]): Record => { return Object.fromEntries(values.map((value) => value.split('='))) } diff --git a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx index e546c0900e3..1d69c0051a0 100644 --- a/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx +++ b/apps/studio/components/interfaces/JwtSecrets/algorithm-hover-card.tsx @@ -1,5 +1,4 @@ import { LockKeyholeOpen, RectangleEllipsis } from 'lucide-react' -import React from 'react' import { InfoPill } from 'components/ui/InfoPill' import { AlgorithmDetail, algorithmDetails } from './algorithm-details' @@ -9,7 +8,7 @@ interface AlgorithmHoverCardProps { legacy?: boolean } -export const AlgorithmHoverCard: React.FC = ({ algorithm, legacy }) => { +export const AlgorithmHoverCard = ({ algorithm, legacy }: AlgorithmHoverCardProps) => { const details: AlgorithmDetail = algorithmDetails[algorithm] return ( @@ -17,9 +16,9 @@ export const AlgorithmHoverCard: React.FC = ({ algorith label={{legacy ? `Legacy ${details.label}` : details.label}} icon={ algorithm === 'HS256' ? ( - + ) : ( - + ) } title={details.name} 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 026a25cba57..52227d9be6a 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 @@ -1,16 +1,7 @@ -import { AnimatePresence, motion } from 'framer-motion' -import { - CircleArrowUp, - Eye, - FileKey, - Key, - MoreVertical, - RotateCw, - ShieldOff, - Timer, - Trash2, -} from 'lucide-react' +import { AnimatePresence } from 'framer-motion' +import { RotateCw, Timer } from 'lucide-react' import { useMemo, useState } from 'react' +import { toast } from 'sonner' import { useParams } from 'common' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' @@ -18,11 +9,7 @@ import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' import { useLegacyAPIKeysStatusQuery } from 'data/api-keys/legacy-api-keys-status-query' import { useJWTSigningKeyDeleteMutation } from 'data/jwt-signing-keys/jwt-signing-key-delete-mutation' import { useJWTSigningKeyUpdateMutation } from 'data/jwt-signing-keys/jwt-signing-key-update-mutation' -import { - JWTAlgorithm, - JWTSigningKey, - useJWTSigningKeysQuery, -} from 'data/jwt-signing-keys/jwt-signing-keys-query' +import { JWTSigningKey, useJWTSigningKeysQuery } from 'data/jwt-signing-keys/jwt-signing-keys-query' import { useLegacyJWTSigningKeyCreateMutation } from 'data/jwt-signing-keys/legacy-jwt-signing-key-create-mutation' import { useLegacyJWTSigningKeyQuery } from 'data/jwt-signing-keys/legacy-jwt-signing-key-query' import { useFlag } from 'hooks/ui/useFlag' @@ -34,11 +21,9 @@ import { AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, - Badge, Button, Card, CardContent, - cn, Dialog, DialogContent, DialogFooter, @@ -46,29 +31,22 @@ import { DialogSection, DialogSectionSeparator, DialogTitle, - DropdownMenu, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuTrigger, Table, TableBody, - TableCell, TableHead, TableHeader, TableRow, } from 'ui' import TextConfirmModal from 'ui-patterns/Dialogs/TextConfirmModal' -import { AlgorithmHoverCard } from '../algorithm-hover-card' -import { statusColors, statusLabels } from '../jwt.constants' import { SigningKeysComingSoonBanner } from '../signing-keys-coming-soon' import { StartUsingJwtSigningKeysBanner } from '../start-using-keys-banner' import { ActionPanel } from './action-panel' import { CreateKeyDialog } from './create-key-dialog' -import { RotateKeyDialog } from './rotate-key-dialog' import { KeyDetailsDialog } from './key-details-dialog' +import { RotateKeyDialog } from './rotate-key-dialog' import { SigningKeyRow } from './signing-key-row' -const MotionTableRow = motion(TableRow) +type DialogType = 'legacy' | 'create' | 'rotate' | 'key-details' | 'revoke' | 'delete' export default function JWTSecretKeysTable() { const { ref: projectRef } = useParams() @@ -76,17 +54,9 @@ export default function JWTSecretKeysTable() { const newJwtSecrets = useFlag('newJwtSecrets') - const [selectedKey, setSelectedKey] = useState(null) - const [shownDialog, setShownDialog] = useState< - 'legacy' | 'create' | 'rotate' | 'key-details' | 'revoke' | 'delete' | null - >(null) - - const resetDialog = () => { - setSelectedKey(null) - setShownDialog(null) - } - - const [newKeyAlgorithm, setNewKeyAlgorithm] = useState('RS256') + const [selectedKey, setSelectedKey] = useState() + const [selectedKeyToUpdate, setSelectedKeyToUpdate] = useState() + const [shownDialog, setShownDialog] = useState() const { data: signingKeys, isLoading: isLoadingSigningKeys } = useJWTSigningKeysQuery({ projectRef, @@ -97,13 +67,26 @@ export default function JWTSecretKeysTable() { const { data: legacyAPIKeysStatus, isLoading: isLoadingLegacyAPIKeysStatus } = useLegacyAPIKeysStatusQuery({ projectRef }) - const legacyMutation = useLegacyJWTSigningKeyCreateMutation() + const { mutate: migrateJWTSecret, isLoading: isMigrating } = useLegacyJWTSigningKeyCreateMutation( + { + onSuccess: () => { + setShownDialog(undefined) + toast.success('Successfully migrated JWT secret!') + }, + } + ) - const updateMutation = useJWTSigningKeyUpdateMutation() - const deleteMutation = useJWTSigningKeyDeleteMutation() + const { mutate: updateJWTSigningKey, isLoading: isUpdatingJWTSigningKey } = + useJWTSigningKeyUpdateMutation({ + onSuccess: () => { + resetDialog() + setSelectedKeyToUpdate(undefined) + }, + }) + const { mutate: deleteJWTSigningKey, isLoading: isDeletingJWTSigningKey } = + useJWTSigningKeyDeleteMutation({ onSuccess: () => resetDialog(), onError: () => resetDialog() }) - const isLoadingMutation = - updateMutation.isLoading || deleteMutation.isLoading || legacyMutation.isLoading + const isLoadingMutation = isUpdatingJWTSigningKey || isDeletingJWTSigningKey || isMigrating const isLoading = isProjectLoading || isLoadingSigningKeys || isLoadingLegacyKey || isLoadingLegacyAPIKeysStatus @@ -135,60 +118,38 @@ export default function JWTSecretKeysTable() { [sortedKeys] ) - const handleLegacyMigration = async () => { - try { - await legacyMutation.mutateAsync({ - projectRef: projectRef!, - }) - } catch (error) { - console.error('Failed to migrate legacy JWT secret to new JWT signing keys', error) - } + const resetDialog = () => { + setSelectedKey(undefined) + setShownDialog(undefined) } const handlePreviouslyUsedKey = async (keyId: string) => { - updateMutation.mutate( + setSelectedKeyToUpdate(keyId) + updateJWTSigningKey( { projectRef, keyId, status: 'previously_used' }, - { - onSuccess: () => { - resetDialog() - }, - } + { onSuccess: () => toast.success('Successfully moved key to previously used') } ) } const handleStandbyKey = (keyId: string) => { - updateMutation.mutate( + setSelectedKeyToUpdate(keyId) + updateJWTSigningKey( { projectRef: projectRef!, keyId, status: 'standby' }, - { - onSuccess: () => { - resetDialog() - }, - } + { onSuccess: () => toast.success('Successfully moved key to standby') } ) } const handleRevokeKey = (keyId: string) => { - updateMutation.mutate( + updateJWTSigningKey( { projectRef: projectRef!, keyId, status: 'revoked' }, - { - onSuccess: () => { - resetDialog() - }, - } + { onSuccess: () => toast.success('Successfully revoked key') } ) } const handleDeleteKey = (keyId: string) => { - deleteMutation.mutate( + deleteJWTSigningKey( { projectRef: projectRef!, keyId }, - { - onSuccess: () => { - resetDialog() - }, - onError: () => { - resetDialog() - }, - } + { onSuccess: () => toast.success('Successfully deleted key') } ) } @@ -211,7 +172,7 @@ export default function JWTSecretKeysTable() { description="Switch the standby key to in use. All new JSON Web Tokens issued by Supabase Auth will be signed with this key." buttonLabel="Rotate keys" onClick={() => setShownDialog('rotate')} - loading={isLoadingMutation} + loading={isUpdatingJWTSigningKey} icon={} type="primary" /> @@ -232,7 +193,7 @@ export default function JWTSecretKeysTable() { ) : ( setShownDialog('legacy')} - isLoading={isLoadingMutation} + isLoading={isMigrating} /> )}
@@ -265,12 +226,15 @@ export default function JWTSecretKeysTable() { )} {inUseKey && ( @@ -316,6 +280,9 @@ export default function JWTSecretKeysTable() { Type + + Last rotated at + Actions @@ -327,20 +294,27 @@ export default function JWTSecretKeysTable() { ))} ) : ( -
- No previously used keys +
+ +
+

No previously used keys

+

+ Rotated keys will appear here for verification of existing tokens +

+
)} @@ -371,6 +345,9 @@ export default function JWTSecretKeysTable() { Type + + Last rotated at + Actions @@ -455,9 +432,8 @@ export default function JWTSecretKeysTable() { diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/signing-key-row.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/signing-key-row.tsx index 6e6075b0532..cbb86d1f7f0 100644 --- a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/signing-key-row.tsx +++ b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/signing-key-row.tsx @@ -1,16 +1,18 @@ +import dayjs from 'dayjs' import { motion } from 'framer-motion' import { CircleArrowDown, CircleArrowUp, - Trash2, Eye, Key, MoreVertical, ShieldOff, Timer, + Trash2, } from 'lucide-react' import { components } from 'api-types' +import { DropdownMenuItemTooltip } from 'components/ui/DropdownMenuItemTooltip' import { JWTSigningKey } from 'data/jwt-signing-keys/jwt-signing-keys-query' import { Badge, @@ -28,12 +30,13 @@ import { statusColors, statusLabels } from '../jwt.constants' interface SigningKeyRowProps { signingKey: components['schemas']['SigningKeyResponse'] - setSelectedKey: (key: JWTSigningKey | null) => void - setShownDialog: (dialog: 'key-details' | 'revoke' | 'delete' | null) => void + setSelectedKey: (key?: JWTSigningKey) => void + setShownDialog: (dialog?: 'key-details' | 'revoke' | 'delete') => void handlePreviouslyUsedKey: (keyId: string) => void handleStandbyKey: (keyId: string) => void legacyKey?: JWTSigningKey | null standbyKey?: JWTSigningKey | null + isLoading?: boolean } const MotionTableRow = motion(TableRow) @@ -46,6 +49,7 @@ export const SigningKeyRow = ({ handleStandbyKey, legacyKey, standbyKey, + isLoading = false, }: SigningKeyRowProps) => ( {signingKey.status === 'standby' ? ( - + ) : ( - + )} - {statusLabels[signingKey.status]} + {statusLabels[signingKey.status]}
-
+
- {signingKey.id} + + {signingKey.id} +
@@ -100,13 +106,23 @@ export const SigningKeyRow = ({ legacy={signingKey.id === legacyKey?.id} /> + {(signingKey.status === 'previously_used' || signingKey.status === 'revoked') && ( + + {dayjs(signingKey.updated_at).fromNow()} + + )} {(signingKey.status !== 'in_use' || signingKey.algorithm !== 'HS256') && ( -
)} - {changeType !== 'downgrade' && ( -
-
- {testimonialTweet.text} -
— @{testimonialTweet.handle}
-
-
- )}
diff --git a/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx b/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx index a1c811a09ad..9721137b0bb 100644 --- a/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx +++ b/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx @@ -68,11 +68,13 @@ interface NewOrgFormProps { onPlanSelected: (plan: string) => void } +const plans = ['FREE', 'PRO', 'TEAM'] as const + const formSchema = z.object({ plan: z .string() .transform((val) => val.toUpperCase()) - .pipe(z.enum(['FREE', 'PRO', 'TEAM', 'ENTERPRISE'] as const)), + .pipe(z.enum(plans)), name: z.string().min(1), kind: z .string() @@ -149,9 +151,10 @@ const NewOrgForm = ({ onPaymentMethodReset, setupIntent, onPlanSelected }: NewOr if (typeof name === 'string') updateForm('name', name) if (typeof kind === 'string') updateForm('kind', kind) - if (typeof plan === 'string') { - updateForm('plan', plan) - onPlanSelected(plan) + if (typeof plan === 'string' && plans.includes(plan.toUpperCase() as (typeof plans)[number])) { + const uppercasedPlan = plan.toUpperCase() as (typeof plans)[number] + updateForm('plan', uppercasedPlan) + onPlanSelected(uppercasedPlan) } if (typeof size === 'string') updateForm('size', size) if (typeof spend_cap === 'string') updateForm('spend_cap', spend_cap === 'true') @@ -251,8 +254,7 @@ const NewOrgForm = ({ onPaymentMethodReset, setupIntent, onPlanSelected }: NewOr | 'tier_payg' | 'tier_pro' | 'tier_free' - | 'tier_team' - | 'tier_enterprise', + | 'tier_team', ...(formState.kind == 'COMPANY' ? { size: formState.size } : {}), payment_method: paymentMethodId, billing_name: dbTier === 'FREE' ? undefined : customerData?.billing_name, diff --git a/apps/studio/components/interfaces/Organization/SecuritySettings/SecuritySettings.tsx b/apps/studio/components/interfaces/Organization/SecuritySettings/SecuritySettings.tsx index 906fb82dc4e..076e8ded568 100644 --- a/apps/studio/components/interfaces/Organization/SecuritySettings/SecuritySettings.tsx +++ b/apps/studio/components/interfaces/Organization/SecuritySettings/SecuritySettings.tsx @@ -15,6 +15,7 @@ import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' import { useOrganizationMembersQuery } from 'data/organizations/organization-members-query' import { useOrganizationMfaToggleMutation } from 'data/organizations/organization-mfa-mutation' import { useOrganizationMfaQuery } from 'data/organizations/organization-mfa-query' +import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { useProfile } from 'lib/profile' @@ -48,6 +49,7 @@ const SecuritySettings = () => { const { data: members } = useOrganizationMembersQuery({ slug }) const canReadMfaConfig = useCheckPermissions(PermissionAction.READ, 'organizations') const canUpdateMfaConfig = useCheckPermissions(PermissionAction.UPDATE, 'organizations') + const { mutate: sendEvent } = useSendEventMutation() const isPaidPlan = selectedOrganization?.plan.id !== 'free' @@ -66,6 +68,15 @@ const SecuritySettings = () => { }, onSuccess: (data) => { toast.success('Successfully updated organization MFA settings') + sendEvent({ + action: 'organization_mfa_enforcement_updated', + properties: { + mfaEnforced: data.enforced, + }, + groups: { + organization: slug ?? 'Unknown', + }, + }) }, }) diff --git a/apps/studio/components/interfaces/Reports/ReportChart.tsx b/apps/studio/components/interfaces/Reports/ReportChart.tsx index 378e11abb32..6c2eb90253d 100644 --- a/apps/studio/components/interfaces/Reports/ReportChart.tsx +++ b/apps/studio/components/interfaces/Reports/ReportChart.tsx @@ -7,10 +7,16 @@ * This component acts as a bridge between the data-fetching logic and the * presentational chart component. */ +import { useFillTimeseriesSorted } from 'hooks/analytics/useFillTimeseriesSorted' import LogChartHandler from 'components/ui/Charts/LogChartHandler' import { useChartData } from 'hooks/useChartData' import type { UpdateDateRange } from 'pages/project/[ref]/reports/database' import type { MultiAttribute } from 'components/ui/Charts/ComposedChart.utils' +import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' +import Link from 'next/link' +import { Button, cn } from 'ui' +import Panel from 'components/ui/Panel' +import { useRef, useState } from 'react' const ReportChart = ({ chart, @@ -19,6 +25,10 @@ const ReportChart = ({ interval, updateDateRange, functionIds, + orgPlanId, + isLoading, + availableIn, + className, }: { chart: any startDate: string @@ -26,11 +36,19 @@ const ReportChart = ({ interval: string updateDateRange: UpdateDateRange functionIds?: string[] + orgPlanId?: string + isLoading?: boolean + availableIn?: string[] + className?: string }) => { + const org = useSelectedOrganization() + const [isHoveringUpgrade, setIsHoveringUpgrade] = useState(false) + const isAvailable = + chart.availableIn === undefined || (orgPlanId && chart.availableIn.includes(orgPlanId)) + const canFetch = orgPlanId !== undefined const { data, - isLoading: isLoading, - chartAttributes, + isLoading: isLoadingChart, highlightedValue, } = useChartData({ attributes: chart.attributes, @@ -39,20 +57,108 @@ const ReportChart = ({ interval, functionIds, data: undefined, + enabled: canFetch, highlightedValue: chart.id === 'client-connections' || chart.id === 'pgbouncer-connections' ? true : chart.showMaxValue, }) + const isTopListChart = chart.id === 'top-api-routes' || chart.id === 'top-rpc-functions' + + const chartDataArray = Array.isArray(data) ? data : [] + + const { data: filledData, isError: isFillError } = useFillTimeseriesSorted( + chartDataArray, + 'period_start', + chart.attributes.map((attr: any) => attr.attribute), + 0, + startDate, + endDate, + undefined, + interval + ) + + const finalData = + chartDataArray.length > 0 && chartDataArray.length < 20 && !isFillError && !isTopListChart + ? filledData + : chartDataArray + + const getExpDemoChartData = () => + new Array(20).fill(0).map((_, index) => ({ + period_start: new Date(startDate).getTime() + index * 1000, + demo: Math.floor(Math.pow(1.25, index) * 10), + max_demo: 1000, + })) + + const getDemoChartData = () => + new Array(20).fill(0).map((_, index) => ({ + period_start: new Date(startDate).getTime() + index * 1000, + demo: Math.floor(Math.random() * 10) + 1, + max_demo: 1000, + })) + + // [Jordi] useRef to prevent re-rendering making the chart change. + const demoChartData = useRef(getDemoChartData()) + const exponentialChartData = useRef(getExpDemoChartData()) + + const chartData = isHoveringUpgrade ? exponentialChartData.current : demoChartData.current + + if (!isAvailable && !isLoading) { + return ( + {chart.label}} + className={cn('h-[260px] relative', className)} + > +
+

{chart.label}

+

+ This chart is available from{' '} + {!!availableIn?.length ? availableIn[0] : 'Pro'}{' '} + plan and above +

+ +
+
+ +
+
+ ) + } + return ( 0 ? chartAttributes : chart.attributes) as MultiAttribute[] - } - data={data} - isLoading={isLoading} + attributes={chart.attributes as MultiAttribute[]} + data={finalData} + isLoading={isLoadingChart || isLoading} highlightedValue={highlightedValue as any} updateDateRange={updateDateRange} /> diff --git a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx index 6d4b3dc2a16..336f1b195e0 100644 --- a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx +++ b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx @@ -16,13 +16,13 @@ import { DropdownMenuSeparator, DropdownMenuTrigger, Input, - Popover, Select, cn, } from 'ui' import { DatePickerValue, LogsDatePicker } from '../Settings/Logs/Logs.DatePickers' import { REPORTS_DATEPICKER_HELPERS } from './Reports.constants' import type { ReportFilterItem } from './Reports.types' +import { Popover, PopoverContent, PopoverTrigger } from '@ui/components/shadcn/ui/popover' interface ReportFilterBarProps { filters: ReportFilterItem[] @@ -262,9 +262,11 @@ const ReportFilterBar = ({ .map((filter) => (
- {filter.key} {filter.compare} {filter.value} + {filter.key} + {filter.compare} + {filter.value}
))} - -
Add Filter
- - -
- } - open={showAdder} - onOpenChange={(openValue) => setShowAdder(openValue)} - overlay={ -
+ setShowAdder(openValue)}> + + + + 0 ? 'end' : 'start'} + portal={true} + className="p-0 w-60" + > +
- } - showClose - > - + +
+ +
+
@@ -369,4 +372,5 @@ const ReportFilterBar = ({
) } + export default ReportFilterBar diff --git a/apps/studio/components/interfaces/Reports/Reports.constants.ts b/apps/studio/components/interfaces/Reports/Reports.constants.ts index a46746ec604..69edacca9cb 100644 --- a/apps/studio/components/interfaces/Reports/Reports.constants.ts +++ b/apps/studio/components/interfaces/Reports/Reports.constants.ts @@ -36,50 +36,43 @@ export const REPORTS_DATEPICKER_HELPERS: ReportsDatetimeHelper[] = [ }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_60_MINUTES, - calcFrom: () => dayjs().subtract(1, 'hour').startOf('day').toISOString(), + calcFrom: () => dayjs().subtract(1, 'hour').toISOString(), calcTo: () => dayjs().toISOString(), default: true, availableIn: ['free', 'pro', 'team', 'enterprise'], }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_3_HOURS, - calcFrom: () => dayjs().subtract(3, 'hour').startOf('day').toISOString(), + calcFrom: () => dayjs().subtract(3, 'hour').toISOString(), calcTo: () => dayjs().toISOString(), availableIn: ['free', 'pro', 'team', 'enterprise'], }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_24_HOURS, - calcFrom: () => dayjs().subtract(1, 'day').startOf('day').toISOString(), + calcFrom: () => dayjs().subtract(1, 'day').toISOString(), calcTo: () => dayjs().toISOString(), availableIn: ['free', 'pro', 'team', 'enterprise'], }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_7_DAYS, - calcFrom: () => dayjs().subtract(7, 'day').startOf('day').toISOString(), - calcTo: () => '', + calcFrom: () => dayjs().subtract(7, 'day').toISOString(), + calcTo: () => dayjs().toISOString(), availableIn: ['pro', 'team', 'enterprise'], }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_14_DAYS, - calcFrom: () => dayjs().subtract(14, 'day').startOf('day').toISOString(), - calcTo: () => '', + calcFrom: () => dayjs().subtract(14, 'day').toISOString(), + calcTo: () => dayjs().toISOString(), availableIn: ['team', 'enterprise'], }, { text: REPORT_DATERANGE_HELPER_LABELS.LAST_28_DAYS, - calcFrom: () => dayjs().subtract(28, 'day').startOf('day').toISOString(), - calcTo: () => '', + calcFrom: () => dayjs().subtract(28, 'day').toISOString(), + calcTo: () => dayjs().toISOString(), availableIn: ['team', 'enterprise'], }, ] -export const createFilteredDatePickerHelpers = (planId: PlanId) => { - return REPORTS_DATEPICKER_HELPERS.map((helper) => ({ - ...helper, - disabled: !helper.availableIn?.includes(planId), - })) -} - export const DEFAULT_QUERY_PARAMS = { iso_timestamp_start: REPORTS_DATEPICKER_HELPERS[0].calcFrom(), iso_timestamp_end: REPORTS_DATEPICKER_HELPERS[0].calcTo(), diff --git a/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.constants.ts b/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.constants.ts new file mode 100644 index 00000000000..e9d97dbea32 --- /dev/null +++ b/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.constants.ts @@ -0,0 +1,338 @@ +import { get } from 'data/fetchers' +import { generateRegexpWhere } from '../Reports.constants' +import { ReportFilterItem } from '../Reports.types' +import { useQueries, useQueryClient } from '@tanstack/react-query' +import * as Sentry from '@sentry/nextjs' +import { useState } from 'react' +import { useParams } from 'common' +import { isEqual } from 'lodash' + +export const SHARED_API_REPORT_SQL = { + totalRequests: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + --reports-api-total-requests + select + cast(timestamp_trunc(t.timestamp, hour) as datetime) as timestamp, + count(t.id) as count + FROM ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + ${generateRegexpWhere(filters)} + GROUP BY + timestamp + ORDER BY + timestamp ASC`, + }, + topRoutes: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-top-routes + select + request.path as path, + request.method as method, + request.search as search, + response.status_code as status_code, + count(t.id) as count + from ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + ${generateRegexpWhere(filters)} + group by + request.path, request.method, request.search, response.status_code + order by + count desc + limit 10 + `, + }, + errorCounts: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-error-counts + select + cast(timestamp_trunc(t.timestamp, hour) as datetime) as timestamp, + count(t.id) as count + FROM ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + WHERE + response.status_code >= 400 + ${generateRegexpWhere(filters, false)} + GROUP BY + timestamp + ORDER BY + timestamp ASC + `, + }, + topErrorRoutes: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-top-error-routes + select + request.path as path, + request.method as method, + request.search as search, + response.status_code as status_code, + count(t.id) as count + from ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + where + response.status_code >= 400 + ${generateRegexpWhere(filters, false)} + group by + request.path, request.method, request.search, response.status_code + order by + count desc + limit 10 + `, + }, + responseSpeed: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-response-speed + select + cast(timestamp_trunc(t.timestamp, hour) as datetime) as timestamp, + avg(response.origin_time) as avg + FROM + ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + ${generateRegexpWhere(filters)} + GROUP BY + timestamp + ORDER BY + timestamp ASC + `, + }, + topSlowRoutes: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-top-slow-routes + select + request.path as path, + request.method as method, + request.search as search, + response.status_code as status_code, + count(t.id) as count, + avg(response.origin_time) as avg + from ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + ${generateRegexpWhere(filters)} + group by + request.path, request.method, request.search, response.status_code + order by + avg desc + limit 10 + `, + }, + networkTraffic: { + queryType: 'logs', + sql: (filters: ReportFilterItem[], src = 'edge_logs') => ` + -- reports-api-network-traffic + select + cast(timestamp_trunc(t.timestamp, hour) as datetime) as timestamp, + coalesce( + safe_divide( + sum( + cast(coalesce(headers.content_length, "0") as int64) + ), + 1000000 + ), + 0 + ) as ingress_mb, + coalesce( + safe_divide( + sum( + cast(coalesce(resp_headers.content_length, "0") as int64) + ), + 1000000 + ), + 0 + ) as egress_mb, + FROM + ${src} t + cross join unnest(metadata) as m + cross join unnest(m.response) as response + cross join unnest(m.request) as request + cross join unnest(request.headers) as headers + cross join unnest(response.headers) as resp_headers + ${generateRegexpWhere(filters)} + GROUP BY + timestamp + ORDER BY + timestamp ASC + `, + }, +} + +export type SharedAPIReportKey = keyof typeof SHARED_API_REPORT_SQL + +const fetchLogs = async ({ + projectRef, + sql, + start, + end, +}: { + projectRef: string + sql: string + start: string + end: string +}) => { + const { data, error } = await get(`/platform/projects/{ref}/analytics/endpoints/logs.all`, { + params: { + path: { ref: projectRef }, + query: { + sql, + iso_timestamp_start: start, + iso_timestamp_end: end, + }, + }, + }) + + if (error || data?.error) { + Sentry.captureException({ + message: 'Shared API Report Error', + data: { + error, + data, + }, + }) + throw error || data?.error + } + + return data +} + +const DEFAULT_KEYS = ['shared-api-report'] + +type SharedAPIReportParams = { + filterBy: 'auth' | 'realtime' | 'storage' | 'graphql' | 'functions' | 'postgrest' + start: string + end: string + projectRef: string + enabled?: boolean +} +export const useSharedAPIReport = ({ + filterBy, + start, + end, + enabled = true, +}: Omit) => { + const { ref } = useParams() as { ref: string } + const [filters, setFilters] = useState([]) + const queryClient = useQueryClient() + const filterByMapSource = { + functions: 'function_edge_logs', + realtime: 'edge_logs', + storage: 'edge_logs', + graphql: 'edge_logs', + postgrest: 'edge_logs', + auth: 'edge_logs', + } + + const filterByMapValue = { + functions: '/functions', + realtime: '/realtime', + storage: '/storage', + graphql: '/graphql', + postgrest: '/rest', + auth: '/auth', + } + + const baseFilter = { + key: 'request.path', + value: filterByMapValue[filterBy], + compare: 'matches' as const, + } + + const allFilters = [baseFilter, ...filters] + + const queries = useQueries({ + queries: Object.entries(SHARED_API_REPORT_SQL).map(([key, value]) => ({ + queryKey: [...DEFAULT_KEYS, key, filterByMapSource[filterBy], filters, start, end, ref], + enabled: enabled && !!ref && !!filterBy, + queryFn: () => + fetchLogs({ + projectRef: ref, + sql: value.sql(allFilters, filterByMapSource[filterBy]), + start, + end, + }), + })), + }) + + const keys = Object.keys(SHARED_API_REPORT_SQL) as Array + + const data = keys.reduce( + (acc, key, i) => { + acc[key] = queries[i].data?.result || [] + return acc + }, + {} as { [K in keyof typeof SHARED_API_REPORT_SQL]: unknown[] } + ) + + const error = keys.reduce( + (acc, key, i) => { + acc[key] = queries[i].error as string + return acc + }, + {} as { [K in keyof typeof SHARED_API_REPORT_SQL]: string } + ) + + const isLoading = keys.reduce( + (acc, key, i) => { + acc[key] = queries[i].isLoading + return acc + }, + {} as { [K in keyof typeof SHARED_API_REPORT_SQL]: boolean } + ) + const addFilter = (filter: ReportFilterItem) => { + if (isEqual(filter, baseFilter)) return + if (filters.some((f) => isEqual(f, filter))) return + setFilters((prev) => + [...prev, filter].sort((a, b) => { + const keyA = a.key.toLowerCase() + const keyB = b.key.toLowerCase() + if (keyA < keyB) { + return -1 + } + if (keyA > keyB) { + return 1 + } + return 0 + }) + ) + } + + const removeFilters = (toRemove: ReportFilterItem[]) => { + setFilters((prev) => prev.filter((f) => !toRemove.find((r) => isEqual(f, r)))) + } + + const isLoadingData = Object.values(isLoading).some(Boolean) + + return { + data, + error, + isLoading, + isLoadingData, + isRefetching: queryClient.isFetching({ queryKey: DEFAULT_KEYS }) > 0 || false, + refetch: () => queryClient.invalidateQueries({ queryKey: DEFAULT_KEYS }), + filters, + addFilter, + removeFilters, + } +} diff --git a/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.tsx b/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.tsx new file mode 100644 index 00000000000..8a60490cf8a --- /dev/null +++ b/apps/studio/components/interfaces/Reports/SharedAPIReport/SharedAPIReport.tsx @@ -0,0 +1,77 @@ +import ReportWidget from '../ReportWidget' +import { + ErrorCountsChartRenderer, + NetworkTrafficRenderer, + ResponseSpeedChartRenderer, + TopApiRoutesRenderer, + TotalRequestsChartRenderer, +} from '../renderers/ApiRenderers' +import { SharedAPIReportKey } from './SharedAPIReport.constants' + +type SharedAPIReportWidgetsProps = { + data: any + error: any + isLoading: any + isRefetching: boolean + hiddenReports?: SharedAPIReportKey[] +} + +export function SharedAPIReport({ + data, + error, + isLoading, + isRefetching, + hiddenReports = [], +}: SharedAPIReportWidgetsProps) { + return ( +
+ {!hiddenReports.includes('totalRequests') && ( + + )} + {!hiddenReports.includes('errorCounts') && ( + + )} + {!hiddenReports.includes('responseSpeed') && ( + + )} + {!hiddenReports.includes('networkTraffic') && ( + + )} +
+ ) +} diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx index b120389a4e4..c525ced88a6 100644 --- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx +++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx @@ -1,6 +1,6 @@ -import { useRouter } from 'next/router' -import { CheckCircle2, Settings, AlertCircle } from 'lucide-react' +import { AlertCircle, ArrowUpRight, CheckCircle2 } from 'lucide-react' import Image from 'next/image' +import Link from 'next/link' import { useParams } from 'common' import { useBranchesQuery } from 'data/branches/branches-query' @@ -8,8 +8,7 @@ import { useGitHubConnectionsQuery } from 'data/integrations/github-connections- import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import { useSelectedProject } from 'hooks/misc/useSelectedProject' import { BASE_PATH } from 'lib/constants' -import { Button, Card, CardContent } from 'ui' -import Link from 'next/link' +import { HoverCard, HoverCardContent, HoverCardTrigger } from 'ui' export const GitHubStatus = () => { const { ref: projectRef } = useParams() @@ -33,13 +32,42 @@ export const GitHubStatus = () => { const mainBranch = branches?.find((branch) => branch.is_default) const isConnected = Boolean(githubConnection) + const hasGitBranchSync = Boolean(mainBranch?.git_branch?.trim()) const hasAutomaticBranching = Boolean(githubConnection?.new_branch_per_pr) return ( - - -
+ + + +
+

GitHub Integration

+ +
+

+ {isConnected ? ( + <> + GitHub + {githubConnection?.repository.name} + + ) : ( + 'Not connected' + )} +

+ +
+ + +
{ height={20} alt="GitHub" /> - -
-

- {isConnected - ? `Connected to ${githubConnection?.repository.name}` - : 'GitHub Integration'} -

- -
- {isConnected ? ( - <> -
- {hasGitBranchSync ? ( - - ) : ( - - )} - - {hasGitBranchSync - ? `Syncing production (${mainBranch?.git_branch})` - : 'Production sync disabled'} - -
-
- {hasAutomaticBranching ? ( - - ) : ( - - )} - - {hasAutomaticBranching - ? 'Automatically creating branches' - : 'Automatic branching disabled'} - -
- - ) : ( - Not connected to any repository - )} -
-
+ + {isConnected ? githubConnection?.repository.name : 'Not connected'} +
- - - + {isConnected ? ( +
+
+ {hasGitBranchSync ? ( + + ) : ( + + )} + + {hasGitBranchSync + ? `Syncing production (${mainBranch?.git_branch})` + : 'Production sync disabled'} + +
+
+ {hasAutomaticBranching ? ( + + ) : ( + + )} + + {hasAutomaticBranching + ? 'Automatically creating branches' + : 'Automatic branching disabled'} + +
+
+ ) : ( +

Not connected to any repository

+ )} +
+
) } diff --git a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx index f3576372338..b4a7010cce6 100644 --- a/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx +++ b/apps/studio/components/interfaces/Settings/Logs/Logs.DatePickers.tsx @@ -5,10 +5,13 @@ import { PropsWithChildren, useEffect, useState } from 'react' import DatePicker from 'react-datepicker' import { Label } from '@ui/components/shadcn/ui/label' +import { Badge } from '@ui/components/shadcn/ui/badge' import { RadioGroup, RadioGroupItem } from '@ui/components/shadcn/ui/radio-group' import TimeSplitInput from 'components/ui/DatePicker/TimeSplitInput' +import { useCurrentOrgPlan } from 'hooks/misc/useCurrentOrgPlan' import { Button, + ButtonProps, PopoverContent_Shadcn_, PopoverTrigger_Shadcn_, Popover_Shadcn_, @@ -27,11 +30,19 @@ export type DatePickerValue = { interface Props { value: DatePickerValue - onSubmit: (args: DatePickerValue) => void helpers: DatetimeHelper[] + onSubmit: (value: DatePickerValue) => void + buttonTriggerProps?: ButtonProps + popoverContentProps?: typeof PopoverContent_Shadcn_ } -export const LogsDatePicker = ({ onSubmit, helpers, value }: PropsWithChildren) => { +export const LogsDatePicker = ({ + onSubmit, + helpers, + value, + buttonTriggerProps, + popoverContentProps, +}: PropsWithChildren) => { const [open, setOpen] = useState(false) // Reset the state when the popover closes @@ -215,10 +226,20 @@ export const LogsDatePicker = ({ onSubmit, helpers, value }: PropsWithChildren

LOGS_LARGE_DATE_RANGE_DAYS_THRESHOLD - 1 + const { plan: orgPlan, isLoading: isOrgPlanLoading } = useCurrentOrgPlan() + const showHelperBadge = (helper?: DatetimeHelper) => { + if (!helper) return false + if (!helper.availableIn?.length) return false + + if (helper.availableIn.includes('free')) return false + if (helper.availableIn.includes(orgPlan?.id || 'free') && !isOrgPlanLoading) return false + return true + } + return ( - diff --git a/apps/studio/components/interfaces/Sidebar.tsx b/apps/studio/components/interfaces/Sidebar.tsx index bb7625b410a..e729bc0b732 100644 --- a/apps/studio/components/interfaces/Sidebar.tsx +++ b/apps/studio/components/interfaces/Sidebar.tsx @@ -224,7 +224,6 @@ const ProjectLinks = () => { const { securityLints, errorLints } = useLints() const showWarehouse = useFlag('warehouse') - const showUnifiedLogs = useFlag('unifiedLogs') const activeRoute = router.pathname.split('/')[3] @@ -247,7 +246,7 @@ const ProjectLinks = () => { storage: storageEnabled, realtime: realtimeEnabled, }) - const otherRoutes = generateOtherRoutes(ref, project, { unifiedLogs: showUnifiedLogs }) + const otherRoutes = generateOtherRoutes(ref, project) const settingsRoutes = generateSettingsRoutes(ref, project) return ( diff --git a/apps/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx b/apps/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx deleted file mode 100644 index 176f4112373..00000000000 --- a/apps/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx +++ /dev/null @@ -1,106 +0,0 @@ -import HCaptcha from '@hcaptcha/react-hcaptcha' -import { useRouter } from 'next/router' -import { useRef, useState } from 'react' -import { toast } from 'sonner' -import { object, string } from 'yup' - -import { useResetPasswordMutation } from 'data/misc/reset-password-mutation' -import { BASE_PATH } from 'lib/constants' -import { Button, Form, Input } from 'ui' - -const forgotPasswordSchema = object({ - email: string().email('Must be a valid email').required('Email is required'), -}) - -const ForgotPasswordForm = () => { - const router = useRouter() - const captchaRef = useRef(null) - const [captchaToken, setCaptchaToken] = useState(null) - - const { mutate: resetPassword, isLoading } = useResetPasswordMutation({ - onSuccess: async () => { - toast.success( - `If you registered using your email and password, you will receive a password reset email. The password reset link expires in 10 minutes.` - ) - await router.push('/sign-in') - }, - onError: (error) => { - setCaptchaToken(null) - captchaRef.current?.resetCaptcha() - toast.error(`Failed to send reset email: ${error.message}`) - }, - }) - - const onForgotPassword = async ({ email }: { email: string }) => { - let token = captchaToken - if (!token) { - const captchaResponse = await captchaRef.current?.execute({ async: true }) - token = captchaResponse?.response ?? null - } - - resetPassword({ - email, - hcaptchaToken: token, - redirectTo: `${ - process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' - ? location.origin - : process.env.NEXT_PUBLIC_SITE_URL - }${BASE_PATH}/reset-password`, - }) - } - - return ( -

- {() => { - return ( -
- - -
- { - setCaptchaToken(token) - }} - onExpire={() => { - setCaptchaToken(null) - }} - /> -
- -
- - -
- ) - }} - - ) -} - -export default ForgotPasswordForm diff --git a/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx b/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx new file mode 100644 index 00000000000..4aa80ad51d1 --- /dev/null +++ b/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx @@ -0,0 +1,197 @@ +import HCaptcha from '@hcaptcha/react-hcaptcha' +import { zodResolver } from '@hookform/resolvers/zod' +import { useRouter } from 'next/router' +import { useRef, useState } from 'react' +import { SubmitHandler, useForm } from 'react-hook-form' +import { toast } from 'sonner' +import * as z from 'zod' + +import { useResetPasswordMutation } from 'data/misc/reset-password-mutation' +import { BASE_PATH } from 'lib/constants' +import { auth } from 'lib/gotrue' +import { Button, Form_Shadcn_, FormControl_Shadcn_, FormField_Shadcn_, Input_Shadcn_ } from 'ui' +import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' + +const forgotPasswordSchema = z.object({ + email: z.string().email('Must be a valid email').min(1, 'Email is required'), +}) + +const codeSchema = z.object({ + code: z.string().regex(/^\d{6}$/, 'Code must be 6 digits'), +}) + +type ForgotPasswordFormData = z.infer +type CodeFormData = z.infer + +export const ForgotPasswordWizard = () => { + const [email, setEmail] = useState('') + + if (email) { + return + } + + return setEmail(email)} /> +} + +const ConfirmResetCodeForm = ({ email }: { email: string }) => { + const router = useRouter() + const [isLoading, setIsLoading] = useState(false) + + const codeForm = useForm({ + resolver: zodResolver(codeSchema), + defaultValues: { code: '' }, + }) + + const onCodeEntered: SubmitHandler = async (data) => { + setIsLoading(true) + const { + data: { user }, + error, + } = await auth.verifyOtp({ email, token: data.code, type: 'recovery' }) + + // This fixes a race condition where the user is redirected to the reset password page without the session being set + // which causes the user to be redirected to /sign-in page even though he's signed in + await new Promise((resolve) => setTimeout(resolve, 1000)) + + if (error) { + setIsLoading(false) + toast.error(`Failed to verify code: ${error.message}`) + } else { + if (user?.factors?.length) { + await router.push({ + pathname: '/forgot-password-mfa', + query: { returnTo: '/reset-password' }, + }) + } else { + await router.push('reset-password') + } + } + } + + return ( + +
+ ( + + + + + + )} + /> + +
+ + + + + ) +} + +const ForgotPasswordForm = ({ onSuccess }: { onSuccess: (email: string) => void }) => { + const captchaRef = useRef(null) + const [captchaToken, setCaptchaToken] = useState(null) + + const forgotPasswordForm = useForm({ + resolver: zodResolver(forgotPasswordSchema), + defaultValues: { email: '' }, + }) + + const { mutate: resetPassword, isLoading } = useResetPasswordMutation({ + onSuccess: () => { + onSuccess(forgotPasswordForm.getValues('email')) + }, + onError: (error) => { + setCaptchaToken(null) + captchaRef.current?.resetCaptcha() + toast.error(`Failed to send reset email: ${error.message}`) + }, + }) + + const onForgotPassword: SubmitHandler = async (data) => { + let token = captchaToken + if (!token) { + const captchaResponse = await captchaRef.current?.execute({ async: true }) + token = captchaResponse?.response ?? null + } + + resetPassword({ + email: data.email, + hcaptchaToken: token, + redirectTo: `${ + process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' + ? location.origin + : process.env.NEXT_PUBLIC_SITE_URL + }${BASE_PATH}/reset-password`, + }) + } + + return ( + +
+ ( + + + + + + )} + /> + +
+ { + setCaptchaToken(token) + }} + onExpire={() => { + setCaptchaToken(null) + }} + /> +
+ +
+ + + + + ) +} diff --git a/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx b/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx index d048a96b0fe..868b5d96162 100644 --- a/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx +++ b/apps/studio/components/interfaces/SignIn/ResetPasswordForm.tsx @@ -1,22 +1,66 @@ +import { zodResolver } from '@hookform/resolvers/zod' import * as Sentry from '@sentry/nextjs' +import { Eye, EyeOff } from 'lucide-react' import { useRouter } from 'next/router' +import { useState } from 'react' +import { useForm } from 'react-hook-form' import { toast } from 'sonner' +import { z } from 'zod' import { auth } from 'lib/gotrue' -import { passwordSchema } from 'lib/schemas' -import { Button, Form, Input } from 'ui' +import { + Button, + Form_Shadcn_, + FormControl_Shadcn_, + FormField_Shadcn_, + FormItem_Shadcn_, + FormMessage_Shadcn_, + Input, +} from 'ui' + +import PasswordConditionsHelper from './PasswordConditionsHelper' const WHITELIST_ERRORS = [ 'New password should be different from the old password', 'Password is known to be weak and easy to guess, please choose a different one', ] +// Convert the existing yup passwordSchema to Zod +const passwordSchema = z.object({ + password: z + .string() + .min(1, 'Password is required') + .max(72, 'Password cannot exceed 72 characters') + .refine((password) => { + // Basic password validation - you can enhance this based on your requirements + const hasUppercase = /[A-Z]/.test(password) + const hasLowercase = /[a-z]/.test(password) + const hasNumber = /[0-9]/.test(password) + const hasSpecialChar = /[!@#$%^&*()_+\-=\[\]{};`':"\\|,.<>\/?]/.test(password) + const isLongEnough = password.length >= 8 + + return hasUppercase && hasLowercase && hasNumber && hasSpecialChar && isLongEnough + }, 'Password must contain at least 8 characters, including uppercase, lowercase, number, and special character'), +}) + +type FormData = z.infer + const ResetPasswordForm = () => { const router = useRouter() + const [showConditions, setShowConditions] = useState(false) + const [passwordHidden, setPasswordHidden] = useState(true) - const onResetPassword = async ({ password }: { password: string }) => { + const form = useForm({ + resolver: zodResolver(passwordSchema), + defaultValues: { + password: '', + }, + mode: 'onChange', + }) + + const onResetPassword = async (data: FormData) => { const toastId = toast.loading('Saving password...') - const { error } = await auth.updateUser({ password }) + const { error } = await auth.updateUser({ password: data.password }) if (!error) { toast.success('Password saved successfully!', { id: toastId }) @@ -33,42 +77,59 @@ const ResetPasswordForm = () => { } return ( -
- {({ isSubmitting }: { isSubmitting: boolean }) => { - return ( -
- + + + ( + + + setShowConditions(true)} + autoComplete="new-password" + actions={ + -
- ) - }} -
+
+ + + + ) } diff --git a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx index 552e59f16e8..1d5f0fa8236 100644 --- a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx +++ b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx @@ -1,10 +1,15 @@ +import { zodResolver } from '@hookform/resolvers/zod' +import { snakeCase } from 'lodash' import { ChevronDown } from 'lucide-react' import Link from 'next/link' import { useRouter } from 'next/router' import { useEffect, useState } from 'react' +import { SubmitHandler, useForm } from 'react-hook-form' import { toast } from 'sonner' +import z from 'zod' import { useParams } from 'common' +import { useIcebergWrapperExtension } from 'components/to-be-cleaned/Storage/AnalyticBucketDetails/useIcebergWrapper' import { StorageSizeUnits } from 'components/to-be-cleaned/Storage/StorageSettings/StorageSettings.constants' import { convertFromBytes, @@ -12,94 +17,145 @@ import { } from 'components/to-be-cleaned/Storage/StorageSettings/StorageSettings.utils' import { useProjectStorageConfigQuery } from 'data/config/project-storage-config-query' import { useBucketCreateMutation } from 'data/storage/bucket-create-mutation' -import { IS_PLATFORM } from 'lib/constants' -import { Button, Collapsible, Form, Input, Listbox, Modal, Toggle, cn } from 'ui' -import { Admonition } from 'ui-patterns' +import { useIcebergWrapperCreateMutation } from 'data/storage/iceberg-wrapper-create-mutation' +import { BASE_PATH, IS_PLATFORM } from 'lib/constants' +import { + Alert_Shadcn_, + AlertDescription_Shadcn_, + AlertTitle_Shadcn_, + Button, + cn, + Collapsible, + Form_Shadcn_, + FormControl_Shadcn_, + FormField_Shadcn_, + Input_Shadcn_, + Label_Shadcn_, + Listbox, + Modal, + RadioGroupStacked, + RadioGroupStackedItem, + Toggle, + WarningIcon, +} from 'ui' +import { Admonition } from 'ui-patterns/admonition' +import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' export interface CreateBucketModalProps { visible: boolean onClose: () => void } +const FormSchema = z.object({ + name: z + .string() + .trim() + .min(1, 'Please provide a name for your bucket') + .regex( + /^[a-z0-9.-]+$/, + 'The name of the bucket must only contain lowercase letters, numbers, dots, and hyphens' + ) + .refine((value) => !value.endsWith(' '), 'The name of the bucket cannot end with a whitespace') + .refine( + (value) => value !== 'public', + '"public" is a reserved name. Please choose another name' + ), + type: z.enum(['STANDARD', 'ANALYTICS']).default('STANDARD'), + public: z.boolean().default(false), + has_file_size_limit: z.boolean().default(false), + formatted_size_limit: z.coerce + .number() + .min(0, 'File size upload limit has to be at least 0') + .default(0), + allowed_mime_types: z.string().trim().default(''), +}) + +export type CreateBucketForm = z.infer + const CreateBucketModal = ({ visible, onClose }: CreateBucketModalProps) => { const { ref } = useParams() const router = useRouter() - const { mutate: createBucket, isLoading: isCreating } = useBucketCreateMutation({ - onSuccess: (res) => { - toast.success(`Successfully created bucket ${res.name}`) - router.push(`/project/${ref}/storage/buckets/${res.name}`) - onClose() - }, - }) + const { mutateAsync: createBucket, isLoading: isCreating } = useBucketCreateMutation() + const { mutateAsync: createIcebergWrapper, isLoading: isCreatingIcebergWrapper } = + useIcebergWrapperCreateMutation() - const { data } = useProjectStorageConfigQuery( - { projectRef: ref }, - { enabled: IS_PLATFORM && visible } - ) + const { data } = useProjectStorageConfigQuery({ projectRef: ref }, { enabled: IS_PLATFORM }) const { value, unit } = convertFromBytes(data?.fileSizeLimit ?? 0) const formattedGlobalUploadLimit = `${value} ${unit}` const [selectedUnit, setSelectedUnit] = useState(StorageSizeUnits.BYTES) const [showConfiguration, setShowConfiguration] = useState(false) - const initialValues = { - name: '', - public: false, - file_size_limit: 0, - allowed_mime_types: '', - has_file_size_limit: false, - formatted_size_limit: 0, - } + const form = useForm({ + resolver: zodResolver(FormSchema), + defaultValues: { + name: '', + public: false, + type: 'STANDARD', + has_file_size_limit: false, + formatted_size_limit: 0, + allowed_mime_types: '', + }, + }) - const validate = (values: any) => { - const errors = {} as any + const bucketName = snakeCase(form.watch('name')) + const isPublicBucket = form.watch('public') + const isStandardBucket = form.watch('type') === 'STANDARD' + const hasFileSizeLimit = form.watch('has_file_size_limit') + const formattedSizeLimit = form.watch('formatted_size_limit') + const icebergWrapperExtensionState = useIcebergWrapperExtension() - if (!values.name) { - errors.name = 'Please provide a name for your bucket' - } - - if (values.name && !/^[a-z0-9.-]+$/.test(values.name)) { - errors.name = - 'The name of the bucket must only container lowercase letters, numbers, dots, and hyphens' - } - - if (values.name && values.name.endsWith(' ')) { - errors.name = 'The name of the bucket cannot end with a whitespace' - } - - if (values.has_file_size_limit && values.formatted_size_limit < 0) { - errors.formatted_size_limit = 'File size upload limit has to be at least 0' - } - if (values.name === 'public') { - errors.name = '"public" is a reserved name. Please choose another name' - } - return errors - } - - const onSubmit = async (values: any) => { + const onSubmit: SubmitHandler = async (values) => { if (!ref) return console.error('Project ref is required') - createBucket({ - projectRef: ref, - id: values.name, - isPublic: values.public, - file_size_limit: values.has_file_size_limit + if (values.type === 'ANALYTICS' && !icebergCatalogEnabled) { + toast.error( + 'The Analytics catalog feature is not enabled for your project. Please contact support to enable it.' + ) + return + } + + try { + const fileSizeLimit = values.has_file_size_limit ? convertToBytes(values.formatted_size_limit, selectedUnit) - : null, - allowed_mime_types: + : undefined + + const allowedMimeTypes = values.allowed_mime_types.length > 0 - ? values.allowed_mime_types.split(',').map((x: string) => x.trim()) - : null, - }) + ? values.allowed_mime_types.split(',').map((x) => x.trim()) + : undefined + + await createBucket({ + projectRef: ref, + id: values.name, + type: values.type, + isPublic: values.public, + file_size_limit: fileSizeLimit, + allowed_mime_types: allowedMimeTypes, + }) + + if (values.type === 'ANALYTICS' && icebergWrapperExtensionState === 'installed') { + await createIcebergWrapper({ bucketName: values.name }) + } + toast.success(`Successfully created bucket ${values.name}`) + router.push(`/project/${ref}/storage/buckets/${values.name}`) + onClose() + } catch (error) { + console.error(error) + toast.error('Failed to create bucket') + } } useEffect(() => { if (visible) { + form.reset() setSelectedUnit(StorageSizeUnits.BYTES) setShowConfiguration(false) } - }, [visible]) + }, [visible, form]) + + const icebergCatalogEnabled = data?.features?.icebergCatalog?.enabled return ( { header="Create storage bucket" onCancel={() => onClose()} > -
- {({ values }: { values: any }) => { - const isPublicBucket = values.public - - return ( - <> - - + + + ( + -
- + + + + + )} + /> + +
+ ( + + + field.onChange(v)} + value={field.value} + > + +
+
+

+ Compatible with S3 buckets. +

+
+
+
+ {IS_PLATFORM && ( + +
+
+

+ Stores Iceberg files and is optimized for analytical workloads. +

+
+
+ {icebergCatalogEnabled ? null : ( +
+ + + This feature is currently in alpha and not yet enabled for your + project. Sign up{' '} + + here + + +
+ )} +
+ )} +
+
+
+ )} + /> +
+ + + {isStandardBucket ? ( + <> + +
+ ( + + + + + + )} /> {isPublicBucket && ( { )}
+ setShowConfiguration(!showConfiguration)} > -
-

Additional configuration

+
+

Additional restrictions

{
- ( + + + + + + )} /> - {values.has_file_size_limit && ( + {hasFileSizeLimit && (
- { - if (event.charCode < 48 || event.charCode > 57) { - event.preventDefault() - } - }} - descriptionText={`Equivalent to ${convertToBytes( - values.formatted_size_limit, - selectedUnit - ).toLocaleString()} bytes.`} + render={({ field }) => ( + + + { + if (event.charCode < 48 || event.charCode > 57) { + event.preventDefault() + } + }} + /> + + + Equivalent to{' '} + {convertToBytes( + formattedSizeLimit, + selectedUnit + ).toLocaleString()}{' '} + bytes. + + + )} />
@@ -232,36 +390,122 @@ const CreateBucketModal = ({ visible, onClose }: CreateBucketModalProps) => {
)}
- ( + + + + + + )} />
- - - - - - ) - }} - + ) : ( + + {icebergWrapperExtensionState === 'installed' ? ( + +

+ Supabase will setup a + + foreign data wrapper + {bucketName && {`${bucketName}_fdw`}} + + + {' '} + for easier access to the data. This action will also create{' '} + + S3 Access Keys + {bucketName && ( + <> + {' '} + named {`${bucketName}_keys`} + + )} + + and + + four Vault Secrets + {bucketName && ( + <> + {' '} + prefixed with{' '} + {`${bucketName}_vault_`} + + )} + + . + +

+

+ As a final step, you'll need to create an{' '} + Iceberg namespace before you + connect the Iceberg data to your database. +

+
+ ) : ( + + + + You need to install the Iceberg wrapper extension to connect your Analytic + bucket to your database. + + +

+ You need to install the wrappers extension + (with the minimum version of 0.5.3) if you want to connect your + Analytics bucket to your database. +

+
+
+ )} +
+ )} + + + + + + + ) } diff --git a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx index aff15a75ef7..5abb63cd4d5 100644 --- a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx +++ b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx @@ -15,11 +15,11 @@ import { useProjectStorageConfigQuery } from 'data/config/project-storage-config import { useBucketUpdateMutation } from 'data/storage/bucket-update-mutation' import { IS_PLATFORM } from 'lib/constants' import { Admonition } from 'ui-patterns' -import type { StorageBucket } from './Storage.types' +import { Bucket } from 'data/storage/buckets-query' export interface EditBucketModalProps { visible: boolean - bucket?: StorageBucket + bucket?: Bucket onClose: () => void } diff --git a/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx new file mode 100644 index 00000000000..a173dbcfa52 --- /dev/null +++ b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx @@ -0,0 +1,167 @@ +import { zodResolver } from '@hookform/resolvers/zod' +import { snakeCase } from 'lodash' +import { useEffect, useState } from 'react' +import { SubmitHandler, useForm } from 'react-hook-form' +import { toast } from 'sonner' +import z from 'zod' + +import { useParams } from 'common' +import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' +import SchemaSelector from 'components/ui/SchemaSelector' +import { useFDWImportForeignSchemaMutation } from 'data/fdw/fdw-import-foreign-schema-mutation' +import { + Button, + Form_Shadcn_, + FormControl_Shadcn_, + FormField_Shadcn_, + Input_Shadcn_, + Modal, +} from 'ui' +import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' +import SchemaEditor from '../TableGridEditor/SidePanelEditor/SchemaEditor' + +export interface ImportForeignSchemaDialogProps { + bucketName: string + namespace: string + excludedSchemas: string[] + wrapperValues: Record + visible: boolean + onClose: () => void +} + +const FormSchema = z.object({ + bucketName: z.string().trim(), + sourceNamespace: z.string().trim(), + targetSchema: z.string().trim(), +}) + +export type ImportForeignSchemaForm = z.infer + +export const ImportForeignSchemaDialog = ({ + bucketName, + namespace, + excludedSchemas, + wrapperValues, + visible, + onClose, +}: ImportForeignSchemaDialogProps) => { + const { project } = useProjectContext() + const { ref } = useParams() + const [loading, setLoading] = useState(false) + const [createSchemaSheetOpen, setCreateSchemaSheetOpen] = useState(false) + + const { mutateAsync: importForeignSchema } = useFDWImportForeignSchemaMutation({ + onSuccess: () => { + toast.success(`Successfully connected ${bucketName} to the database.`) + onClose() + }, + }) + + const form = useForm({ + resolver: zodResolver(FormSchema), + defaultValues: { + bucketName, + sourceNamespace: namespace, + targetSchema: '', + }, + }) + + const onSubmit: SubmitHandler = async (values) => { + if (!ref) return console.error('Project ref is required') + setLoading(true) + + try { + await importForeignSchema({ + projectRef: ref, + connectionString: project?.connectionString, + serverName: `${snakeCase(values.bucketName)}_fdw_server`, + sourceSchema: values.sourceNamespace, + targetSchema: values.targetSchema, + }) + } catch (error: any) { + // error will be handled by the mutation onError callback + } finally { + setLoading(false) + } + } + + useEffect(() => { + if (visible) { + form.reset({ + bucketName, + sourceNamespace: namespace, + targetSchema: '', + }) + } + }, [visible, form, bucketName, namespace]) + + return ( + + Connect namespace {namespace} + + } + onCancel={() => onClose()} + > + +
+ + ( + + + + + + )} + /> + + ( + + field.onChange(schema)} + onSelectCreateSchema={() => setCreateSchemaSheetOpen(true)} + /> + + )} + /> + + + + + + + +
+ setCreateSchemaSheetOpen(false)} + onSuccess={(schema) => { + form.setValue('targetSchema', schema) + setCreateSchemaSheetOpen(false) + }} + /> +
+ ) +} diff --git a/apps/studio/components/interfaces/Storage/Storage.types.ts b/apps/studio/components/interfaces/Storage/Storage.types.ts index 37b00902f28..8de8a32625e 100644 --- a/apps/studio/components/interfaces/Storage/Storage.types.ts +++ b/apps/studio/components/interfaces/Storage/Storage.types.ts @@ -4,17 +4,6 @@ export interface StoragePolicyFormField extends PolicyFormField { allowedOperations: string[] } -export interface StorageBucket { - id: string - name: string - owner: string - public: boolean - file_size_limit: number | null - allowed_mime_types: string[] | null - created_at: string - updated_at: string -} - export interface BucketUpdatePayload { public?: boolean file_size_limit?: number | null diff --git a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.fields.tsx b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.fields.tsx index a2ab7ee4912..b0a2fad0c04 100644 --- a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.fields.tsx +++ b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.fields.tsx @@ -3,7 +3,7 @@ import { User } from 'lucide-react' import { LEVELS } from 'components/ui/DataTable/DataTable.constants' import { DataTableFilterField, Option } from 'components/ui/DataTable/DataTable.types' -import { getLevelColor, getStatusColor } from 'components/ui/DataTable/DataTable.utils' +import { getLevelColor } from 'components/ui/DataTable/DataTable.utils' import { cn } from 'ui' import { LOG_TYPES, METHODS, STATUS_CODE_LABELS } from './UnifiedLogs.constants' import { ColumnSchema } from './UnifiedLogs.schema' @@ -41,11 +41,8 @@ export const filterFields = [ value: 'status', type: 'checkbox', defaultOpen: true, - options: [ - { label: '2xx', value: 200 }, - { label: '4xx', value: 400 }, - { label: '4xx', value: 500 }, - ], // REMINDER: this is a placeholder to set the type in the client.tsx + options: [], + hasDynamicOptions: true, component: (props: Option) => { if (typeof props.value === 'boolean') return null if (typeof props.value === 'undefined') return null @@ -53,10 +50,6 @@ export const filterFields = [ const statusValue = String(props.value) const statusLabel = STATUS_CODE_LABELS[statusValue as keyof typeof STATUS_CODE_LABELS] - // Convert string status codes to numbers for HTTP status styling - const statusCode = typeof props.value === 'string' ? parseInt(props.value, 10) : props.value - const isHttpStatus = !isNaN(statusCode) && statusCode >= 100 && statusCode < 600 - return (
{statusValue} @@ -105,26 +98,14 @@ export const filterFields = [ ) }, }, - { - label: 'Host', - value: 'host', - type: 'checkbox', - defaultOpen: false, - options: [], // Will be populated dynamically from facets - component: (props: Option) => { - return ( - - {props.value} - - ) - }, - }, { label: 'Pathname', value: 'pathname', type: 'checkbox', - defaultOpen: true, - options: [], // Will be populated dynamically from facets + defaultOpen: false, + options: [], + hasDynamicOptions: true, + hasAsyncSearch: true, component: (props: Option) => { return ( @@ -138,7 +119,9 @@ export const filterFields = [ value: 'auth_user', type: 'checkbox', defaultOpen: false, - options: [], // Will be populated dynamically from facets + options: [], + hasDynamicOptions: true, + hasAsyncSearch: true, component: (props: Option) => { return (
@@ -197,12 +180,6 @@ export const sheetFields = [ ), skeletonClassName: 'w-56', }, - { - id: 'host', - label: 'Host', - type: 'input', - skeletonClassName: 'w-24', - }, { id: 'pathname', label: 'Pathname', diff --git a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.queries.ts b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.queries.ts index 4d9cba79b51..984be6580c8 100644 --- a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.queries.ts +++ b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.queries.ts @@ -459,7 +459,7 @@ const getSupabaseStorageLogsQuery = () => { /** * Combine all log sources to create the unified logs CTE */ -const getUnifiedLogsCTE = () => { +export const getUnifiedLogsCTE = () => { return ` WITH unified_logs AS ( ${getPostgrestLogsQuery()} @@ -510,39 +510,72 @@ ${finalWhere} * Get a count query for the total logs within the timeframe * Uses proper faceted search behavior where facets show "what would I get if I selected ONLY this option" */ + +// Helper function to build WHERE clause excluding a specific field +const buildFacetWhere = (search: QuerySearchParamsType, excludeField: string): string => { + const conditions: string[] = [] + + Object.entries(search).forEach(([key, value]) => { + if (key === excludeField) return // Skip the field we're getting facets for + if (EXCLUDED_QUERY_PARAMS.includes(key as any)) return // Skip pagination and special params + + // Handle array filters (IN clause) + if (Array.isArray(value) && value.length > 0) { + conditions.push(`${key} IN (${value.map((v) => `'${v}'`).join(',')})`) + return + } + + // Handle scalar values + if (value !== null && value !== undefined) { + if (['host', 'pathname'].includes(key)) { + conditions.push(`${key} LIKE '%${value}%'`) + } else { + conditions.push(`${key} = '${value}'`) + } + } + }) + + return conditions.length > 0 ? `WHERE ${conditions.join(' AND ')}` : '' +} + +export const getFacetCountCTE = ({ + search, + facet, + facetSearch, +}: { + search: QuerySearchParamsType + facet: string + facetSearch?: string +}) => { + const MAX_FACETS_QUANTITY = 20 + + return ` +${facet}_count AS ( + SELECT '${facet}' as dimension, ${facet} as value, COUNT(*) as count + FROM unified_logs + ${buildFacetWhere(search, `${facet}`) || `WHERE ${facet} IS NOT NULL`} + ${buildFacetWhere(search, `${facet}`) ? ` AND ${facet} IS NOT NULL` : ''} + ${!!facetSearch ? `AND ${facet} LIKE '%${facetSearch}%'` : ''} + GROUP BY ${facet} + LIMIT ${MAX_FACETS_QUANTITY} +) +`.trim() +} + export const getLogsCountQuery = (search: QuerySearchParamsType): string => { const { finalWhere } = buildQueryConditions(search) - // Helper function to build WHERE clause excluding a specific field - const buildFacetWhere = (excludeField: string): string => { - const conditions: string[] = [] - - Object.entries(search).forEach(([key, value]) => { - if (key === excludeField) return // Skip the field we're getting facets for - if (EXCLUDED_QUERY_PARAMS.includes(key as any)) return // Skip pagination and special params - - // Handle array filters (IN clause) - if (Array.isArray(value) && value.length > 0) { - conditions.push(`${key} IN (${value.map((v) => `'${v}'`).join(',')})`) - return - } - - // Handle scalar values - if (value !== null && value !== undefined) { - if (['host', 'pathname'].includes(key)) { - conditions.push(`${key} LIKE '%${value}%'`) - } else { - conditions.push(`${key} = '${value}'`) - } - } - }) - - return conditions.length > 0 ? `WHERE ${conditions.join(' AND ')}` : '' - } - // Create a count query using the same unified logs CTE const sql = ` -${getUnifiedLogsCTE()} +${getUnifiedLogsCTE()}, +${getFacetCountCTE({ search, facet: 'log_type' })}, +${getFacetCountCTE({ search, facet: 'method' })}, +${getFacetCountCTE({ search, facet: 'level' })}, +${getFacetCountCTE({ search, facet: 'status' })}, +${getFacetCountCTE({ search, facet: 'host' })}, +${getFacetCountCTE({ search, facet: 'pathname' })}, +${getFacetCountCTE({ search, facet: 'auth_user' })} + -- Get total count SELECT 'total' as dimension, 'all' as value, COUNT(*) as count FROM unified_logs @@ -551,65 +584,37 @@ ${finalWhere} UNION ALL -- Get counts by log_type (exclude log_type filter to avoid self-filtering) -SELECT 'log_type' as dimension, log_type as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('log_type') || 'WHERE log_type IS NOT NULL'} -${buildFacetWhere('log_type') ? ' AND log_type IS NOT NULL' : ''} -GROUP BY log_type +SELECT dimension, value, count from log_type_count UNION ALL -- Get counts by method (exclude method filter to avoid self-filtering) -SELECT 'method' as dimension, method as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('method') || 'WHERE method IS NOT NULL'} -${buildFacetWhere('method') ? ' AND method IS NOT NULL' : ''} -GROUP BY method +SELECT dimension, value, count from method_count UNION ALL -- Get counts by level (exclude level filter to avoid self-filtering) -SELECT 'level' as dimension, level as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('level') || 'WHERE level IS NOT NULL'} -${buildFacetWhere('level') ? ' AND level IS NOT NULL' : ''} -GROUP BY level +SELECT dimension, value, count from level_count UNION ALL -- Get counts by status (exclude status filter to avoid self-filtering) -SELECT 'status' as dimension, status as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('status') || 'WHERE status IS NOT NULL'} -${buildFacetWhere('status') ? ' AND status IS NOT NULL' : ''} -GROUP BY status +SELECT dimension, value, count from status_count UNION ALL -- Get counts by host (exclude host filter to avoid self-filtering) -SELECT 'host' as dimension, host as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('host') || 'WHERE host IS NOT NULL'} -${buildFacetWhere('host') ? ' AND host IS NOT NULL' : ''} -GROUP BY host +SELECT dimension, value, count from host_count UNION ALL -- Get counts by pathname (exclude pathname filter to avoid self-filtering) -SELECT 'pathname' as dimension, pathname as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('pathname') || 'WHERE pathname IS NOT NULL'} -${buildFacetWhere('pathname') ? ' AND pathname IS NOT NULL' : ''} -GROUP BY pathname +SELECT dimension, value, count from pathname_count UNION ALL -- Get counts by auth_user (exclude auth_user filter to avoid self-filtering) -SELECT 'auth_user' as dimension, auth_user as value, COUNT(*) as count -FROM unified_logs -${buildFacetWhere('auth_user') || 'WHERE auth_user IS NOT NULL'} -${buildFacetWhere('auth_user') ? ' AND auth_user IS NOT NULL' : ''} -GROUP BY auth_user +SELECT dimension, value, count from auth_user_count ` return sql diff --git a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.schema.ts b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.schema.ts index 361308dd660..0ec4c679a46 100644 --- a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.schema.ts +++ b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.schema.ts @@ -11,7 +11,6 @@ export const columnSchema = z.object({ id: z.string(), log_type: z.enum(LOG_TYPES), method: z.enum(METHODS), - host: z.string(), pathname: z.string(), level: z.enum(LEVELS), status: z.number(), @@ -36,7 +35,6 @@ export const columnFilterSchema = z.object({ .transform((val) => val.split(ARRAY_DELIMITER)) .pipe(z.enum(METHODS).array()) .optional(), - host: z.string().optional(), pathname: z.string().optional(), status: z .string() diff --git a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx index 0cb64d8ab94..739270c7ec7 100644 --- a/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx +++ b/apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx @@ -41,7 +41,7 @@ import { Separator, } from 'ui' import { RefreshButton } from '../../ui/DataTable/RefreshButton' -import { UNIFIED_LOGS_COLUMNS } from './components/Columns' +import { generateDynamicColumns, UNIFIED_LOGS_COLUMNS } from './components/Columns' import { DownloadLogsButton } from './components/DownloadLogsButton' import { LogsListPanel } from './components/LogsListPanel' import { ServiceFlowPanel } from './ServiceFlowPanel' @@ -71,8 +71,6 @@ export const UnifiedLogs = () => { const [columnFilters, setColumnFilters] = useState(defaultColumnFilters) const [rowSelection, setRowSelection] = useState(defaultRowSelection) - const [showBottomLogsPanel, setShowBottomLogsPanelState] = useState(false) - const [columnVisibility, setColumnVisibility] = useLocalStorageQuery( 'data-table-visibility', defaultColumnVisibility @@ -102,6 +100,8 @@ export const UnifiedLogs = () => { data: unifiedLogsData, isLoading, isFetching, + isFetchingNextPage, + isFetchingPreviousPage, hasNextPage, refetch: refetchLogs, fetchNextPage, @@ -133,6 +133,9 @@ export const UnifiedLogs = () => { const isRefetchingData = isFetching || isFetchingCounts || isFetchingCharts + // Only fade when filtering (not when loading more data or live mode) + const isFetchingButNotPaginating = isFetching && !isFetchingNextPage && !isFetchingPreviousPage + const rawFlatData = useMemo(() => { return unifiedLogsData?.pages?.flatMap((page) => page.data ?? []) ?? [] }, [unifiedLogsData?.pages]) @@ -167,13 +170,18 @@ export const UnifiedLogs = () => { return cn(levelClassName, isPast ? 'opacity-50' : 'opacity-100', 'h-[30px]') } + // Generate dynamic columns based on current data + const { columns: dynamicColumns, columnVisibility: dynamicColumnVisibility } = useMemo(() => { + return generateDynamicColumns(flatData) + }, [flatData]) + const table: Table = useReactTable({ data: flatData, - columns: UNIFIED_LOGS_COLUMNS, + columns: dynamicColumns, state: { columnFilters, sorting, - columnVisibility, + columnVisibility: { ...columnVisibility, ...dynamicColumnVisibility }, rowSelection, columnOrder, }, @@ -203,7 +211,11 @@ export const UnifiedLogs = () => { }, [isLoading, isFetching, flatData.length, table, selectedRowKey]) // REMINDER: this is currently needed for the cmdk search + // [Joshen] This is where facets are getting dynamically loaded // TODO: auto search via API when the user changes the filter instead of hardcoded + + // Will need to refactor this bit + // - Each facet just handles its own state, rather than getting passed down like this const filterFields = useMemo(() => { return defaultFilterFields.map((field) => { const facetsField = facets?.[field.value] @@ -289,6 +301,7 @@ export const UnifiedLogs = () => { rowSelection={rowSelection} columnOrder={columnOrder} columnVisibility={columnVisibility} + searchParameters={searchParameters} enableColumnOrdering={true} isFetching={isFetching} isLoading={isLoading} @@ -297,7 +310,7 @@ export const UnifiedLogs = () => { > - + { /> @@ -343,7 +359,14 @@ export const UnifiedLogs = () => { className="h-full" > - + [] = [ - { - accessorKey: 'level', - header: '', - cell: ({ row }) => { - const level = row.getValue('level') - return - }, - enableHiding: false, - enableResizing: false, - enableSorting: false, - filterFn: (row, columnId, filterValue) => true, - size: 48, - minSize: 48, - maxSize: 48, - meta: { - headerClassName: - 'w-[--header-level-size] max-w-[--header-level-size] min-w-[--header-level-size]', - cellClassName: 'w-[--col-level-size] max-w-[--col-level-size] min-w-[--col-level-size]', - }, - }, - { - accessorKey: 'date', - header: ({ column }) => , - cell: ({ row }) => { - const date = new Date(row.getValue('date')) - return - }, - filterFn: (row, columnId, filterValue) => true, - enableResizing: false, - enableSorting: false, - size: 130, - minSize: 130, - maxSize: 130, - meta: { - headerClassName: - 'w-[--header-date-size] max-w-[--header-date-size] min-w-[--header-date-size]', - cellClassName: - 'font-mono w-[--col-date-size] max-w-[--col-date-size] min-w-[--col-date-size]', - }, - }, - { - accessorKey: 'log_type', - header: '', - cell: ({ row }) => { - const logType = row.getValue('log_type') - return ( -
- -
- ) - }, - enableHiding: false, - filterFn: (row, columnId, filterValue) => true, - size: 40, - minSize: 40, - maxSize: 40, - enableResizing: false, - enableSorting: false, - meta: { - headerClassName: - 'w-[--header-log_type-size] max-w-[--header-log_type-size] min-w-[--header-log_type-size]', - cellClassName: - 'text-right px-0 relative justify-end items-center font-mono w-[--col-log_type-size] max-w-[--col-log_type-size] min-w-[--col-log_type-size]', - }, - }, - { - // TODO: make it a type of MethodSchema! - accessorKey: 'method', - header: 'Method', - filterFn: 'arrIncludesSome', - cell: ({ row }) => { - const value = row.getValue('method') - return {value} - }, - enableResizing: false, - enableSorting: false, - size: 70, - minSize: 70, - meta: { - cellClassName: - 'font-mono text-muted-foreground w-[--col-method-size] max-w-[--col-method-size] min-w-[--col-method-size]', - headerClassName: - 'w-[--header-method-size] max-w-[--header-method-size] min-w-[--header-method-size]', - }, - }, - { - accessorKey: 'status', - header: '', - cell: ({ row }) => { - const value = row.getValue('status') - return ( -
- {row.original.auth_user && ( -
- -
- )} - ('level')} - /> -
- ) - }, - filterFn: (row, columnId, filterValue) => true, - enableResizing: false, - enableSorting: false, - size: 55, - minSize: 55, - meta: { - headerClassName: - 'w-[--header-status-size] max-w-[--header-status-size] min-w-[--header-status-size]', - cellClassName: - 'font-mono w-[--col-status-size] max-w-[--col-status-size] min-w-[--col-status-size]', - }, - }, +/** + * Determines if a column should be hidden based on its values in the data. + * Returns true if all values for the specified columnKey are empty, null, or undefined. + * Returns false if data is empty or if any value is present. + * + * @param data - Array of data rows to check + * @param columnKey - The key of the column to check for emptiness + * @returns boolean - true if column should be hidden, false otherwise + */ +function shouldHideColumn(data: ColumnSchema[], columnKey: keyof ColumnSchema): boolean { + // If there is no data or the data array is empty, do not hide the column + if (!data || data.length === 0) return false - { - accessorKey: 'host', - header: 'Host', - cell: ({ row }) => { - const value = row.getValue('host') - return - }, - enableSorting: false, - size: 220, - minSize: 220, - meta: { - cellClassName: 'font-mono w-[--col-host-size] max-w-[--col-host-size]', - headerClassName: 'min-w-[--header-host-size] w-[--header-host-size]', - }, - }, - { - accessorKey: 'pathname', - header: 'Pathname', - cell: ({ row }) => { - const value = row.getValue('pathname') ?? '' - return - }, - enableSorting: false, - size: 320, - minSize: 320, - meta: { - cellClassName: 'font-mono w-[--col-pathname-size] max-w-[--col-pathname-size]', - headerClassName: 'min-w-[--header-pathname-size] w-[--header-pathname-size]', - }, - }, - { - accessorKey: 'event_message', - header: ({ column }) => , - cell: ({ row }) => { - const value = row.getValue('event_message') - const logCount = row.original.log_count + // Check if every row has an empty, null, or undefined value for the given columnKey + return data.every((row) => { + const value = row[columnKey] + return !value || value === '' || value === null || value === undefined + }) +} - return ( -
- {logCount && ( - - - - {logCount} - - - - {logCount} {logCount === 1 ? 'log' : 'logs'} for this execution - - - )} - {value && ( - - - - )} -
- ) +// Generate dynamic columns based on data +export function generateDynamicColumns(data: ColumnSchema[]): { + columns: ColumnDef[] + columnVisibility: Record +} { + const hideMethod = shouldHideColumn(data, 'method') + const hidePathname = shouldHideColumn(data, 'pathname') + const hideEventMessage = shouldHideColumn(data, 'event_message') + + const columns: ColumnDef[] = [ + // Level column - always visible + { + accessorKey: 'level', + header: '', + cell: ({ row }) => { + const level = row.getValue('level') + return + }, + enableHiding: false, + enableResizing: false, + enableSorting: false, + filterFn: (row, columnId, filterValue) => true, + size: 48, + minSize: 48, + maxSize: 48, + meta: { + cellClassName: 'w-[32px]', + headerClassName: 'w-[32px]', + }, }, - enableResizing: true, - enableSorting: false, - size: 200, - minSize: 200, - meta: { - headerClassName: - 'w-[--header-event_message-size] max-w-[--header-event_message-size] min-w-[--header-event_message-size]', - cellClassName: - 'font-mono w-[--col-event_message-size] max-w-[--col-event_message-size] min-w-[--col-event_message-size]', + // Date column - always visible + { + accessorKey: 'date', + header: ({ column }) => , + cell: ({ row }) => { + const date = new Date(row.getValue('date')) + return + }, + filterFn: (row, columnId, filterValue) => true, + enableResizing: false, + enableSorting: false, + size: 130, + minSize: 130, + maxSize: 130, + meta: { + cellClassName: 'font-mono w-[130px]', + headerClassName: 'w-[130px]', + }, }, - }, -] + // Log type column - always visible + { + accessorKey: 'log_type', + header: '', + cell: ({ row }) => { + const logType = row.getValue('log_type') + return ( +
+ +
+ ) + }, + enableHiding: false, + filterFn: (row, columnId, filterValue) => true, + enableResizing: false, + enableSorting: false, + size: 40, + minSize: 40, + maxSize: 40, + meta: { + cellClassName: 'w-[32px]', + headerClassName: 'w-[32px]', + }, + }, + // Status column - always visible + { + accessorKey: 'status', + header: '', + cell: ({ row }) => { + const value = row.getValue('status') + return ( +
+ {/* {row.original.auth_user && ( + // to do: add auth user hover card +
+ +
+ )} */} + ('level')} + /> +
+ ) + }, + filterFn: (row, columnId, filterValue) => true, + enableResizing: false, + enableSorting: false, + size: 70, + minSize: 70, + maxSize: 70, + meta: { + cellClassName: 'w-[70px]', + headerClassName: 'w-[70px]', + }, + }, + // Method column - controlled by columnVisibility + { + accessorKey: 'method', + header: 'Method', + filterFn: 'arrIncludesSome', + cell: ({ row }) => { + const value = row.getValue('method') + return {value} + }, + enableResizing: false, + enableSorting: false, + size: 70, + minSize: 70, + maxSize: 70, + meta: { + cellClassName: 'w-[70px]', + headerClassName: 'w-[70px]', + }, + }, + // Pathname column - controlled by columnVisibility + { + accessorKey: 'pathname', + header: 'Pathname', + cell: ({ row }) => { + const value = row.getValue('pathname') ?? '' + return + }, + enableSorting: false, + enableResizing: false, + size: 200, + minSize: 200, + maxSize: 200, + meta: { + cellClassName: 'max-w-[320px]', + headerClassName: 'max-w-[320px]', + }, + }, + // Event message column - controlled by columnVisibility + { + accessorKey: 'event_message', + header: ({ column }) => , + cell: ({ row }) => { + const value = row.getValue('event_message') + const logCount = row.original.log_count + + return ( +
+ {logCount && ( + + + + {logCount} + + + + {logCount} {logCount === 1 ? 'log' : 'logs'} for this execution + + + )} + {value && ( + + + + )} +
+ ) + }, + enableResizing: true, + enableSorting: false, + size: 200, + minSize: 200, + maxSize: 400, + }, + ] + + // Define column visibility based on data + const columnVisibility = { + method: !hideMethod, + pathname: !hidePathname, + event_message: !hideEventMessage, + } + + return { columns, columnVisibility } +} + +// Static fallback columns +export const UNIFIED_LOGS_COLUMNS: ColumnDef[] = generateDynamicColumns([]).columns diff --git a/apps/studio/components/interfaces/UserDropdown.tsx b/apps/studio/components/interfaces/UserDropdown.tsx index d3efda8c593..f9dc116ecfd 100644 --- a/apps/studio/components/interfaces/UserDropdown.tsx +++ b/apps/studio/components/interfaces/UserDropdown.tsx @@ -23,6 +23,7 @@ import { singleThemes, } from 'ui' import { useSetCommandMenuOpen } from 'ui-patterns/CommandMenu' +import { useFeaturePreviewModal } from './App/FeaturePreview/FeaturePreviewContext' export function UserDropdown() { const router = useRouter() @@ -31,6 +32,7 @@ export function UserDropdown() { const { theme, setTheme } = useTheme() const appStateSnapshot = useAppStateSnapshot() const setCommandMenuOpen = useSetCommandMenuOpen() + const { openFeaturePreviewModal } = useFeaturePreviewModal() return ( @@ -87,8 +89,8 @@ export function UserDropdown() { appStateSnapshot.setShowFeaturePreviewModal(true)} - onSelect={() => appStateSnapshot.setShowFeaturePreviewModal(true)} + onClick={openFeaturePreviewModal} + onSelect={openFeaturePreviewModal} > Feature previews diff --git a/apps/studio/components/layouts/APIKeys/APIKeysLayout.tsx b/apps/studio/components/layouts/APIKeys/APIKeysLayout.tsx index 3b8e6d79ca7..a29be33a270 100644 --- a/apps/studio/components/layouts/APIKeys/APIKeysLayout.tsx +++ b/apps/studio/components/layouts/APIKeys/APIKeysLayout.tsx @@ -9,12 +9,12 @@ const ApiKeysLayout = ({ children }: PropsWithChildren) => { const navigationItems = [ { - label: 'API Keys', + label: 'Legacy API Keys', href: `/project/${projectRef}/settings/api-keys`, id: 'legacy-keys', }, { - label: 'New API Keys (Coming Soon)', + label: 'API Keys', href: `/project/${projectRef}/settings/api-keys/new`, id: 'new-keys', }, diff --git a/apps/studio/components/layouts/AdvisorsLayout/AdvisorRulesLayout.tsx b/apps/studio/components/layouts/AdvisorsLayout/AdvisorRulesLayout.tsx index 7b4544c017d..a26200f858e 100644 --- a/apps/studio/components/layouts/AdvisorsLayout/AdvisorRulesLayout.tsx +++ b/apps/studio/components/layouts/AdvisorsLayout/AdvisorRulesLayout.tsx @@ -11,8 +11,8 @@ export const AdvisorRulesLayout = ({ children }: PropsWithChildren<{}>) => { ) => { const project = useSelectedProject() - const advisorRules = useFlag('advisorRules') + const advisorRules = useIsAdvisorRulesEnabled() const router = useRouter() const page = router.pathname.split('/')[4] diff --git a/apps/studio/components/layouts/AdvisorsLayout/AdvisorsMenu.utils.ts b/apps/studio/components/layouts/AdvisorsLayout/AdvisorsMenu.utils.ts index a7eef66d429..ee22c2d7ba5 100644 --- a/apps/studio/components/layouts/AdvisorsLayout/AdvisorsMenu.utils.ts +++ b/apps/studio/components/layouts/AdvisorsLayout/AdvisorsMenu.utils.ts @@ -38,7 +38,7 @@ export const generateAdvisorsMenu = ( title: 'Configuration', items: [ { - name: 'Advisor Rules', + name: 'Settings', key: 'rules', url: `/project/${ref}/advisors/rules/security`, items: [], diff --git a/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx b/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx index af8a2f25e6c..08d4b8eb2a7 100644 --- a/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx +++ b/apps/studio/components/layouts/AppLayout/BranchDropdown.tsx @@ -2,7 +2,6 @@ import { AlertCircle, Check, ChevronsUpDown, - GitMerge, ListTree, MessageCircle, Plus, @@ -15,7 +14,6 @@ import { useState } from 'react' import { useParams } from 'common' import ShimmeringLoader from 'components/ui/ShimmeringLoader' import { Branch, useBranchesQuery } from 'data/branches/branches-query' -import { useBranchUpdateMutation } from 'data/branches/branch-update-mutation' import { useSelectedProject } from 'hooks/misc/useSelectedProject' import { useAppStateSnapshot } from 'state/app-state' import { @@ -35,8 +33,6 @@ import { cn, } from 'ui' import { sanitizeRoute } from './ProjectDropdown' -import { useFlag } from 'hooks/ui/useFlag' -import { toast } from 'sonner' const BranchLink = ({ branch, @@ -78,22 +74,13 @@ const BranchLink = ({ export const BranchDropdown = () => { const router = useRouter() const { ref } = useParams() - const gitlessBranching = useFlag('gitlessBranching') - const projectDetails = useSelectedProject() const snap = useAppStateSnapshot() + const projectDetails = useSelectedProject() + + const [open, setOpen] = useState(false) const projectRef = projectDetails?.parent_project_ref || ref - const { mutate: updateBranch, isLoading: isUpdatingBranch } = useBranchUpdateMutation({ - onSuccess: (_, variables) => { - if (variables.requestReview) { - router.push(`/project/${ref}/merge`) - } - setOpen(false) - toast.success('Branch marked as ready for review') - }, - }) - const { data: branches, isLoading, @@ -122,135 +109,10 @@ export const BranchDropdown = () => { ? [mainBranch].concat(restOfBranches ?? []) : restOfBranches ?? [] : [defaultMainBranch] + const branchList = isBranchingEnabled ? sortedBranches ?? [] : [defaultMainBranch] const BRANCHING_GITHUB_DISCUSSION_LINK = 'https://github.com/orgs/supabase/discussions/18937' - const [open, setOpen] = useState(false) - - const MenuContent = ({ - branchList, - showSearch, - }: { - branchList: Branch[] - showSearch?: boolean - }) => ( - - {showSearch && } - - {showSearch && No branches found} - - - - {branchList.map((branch) => ( - - ))} - - - - - - - { - setOpen(false) - snap.setShowCreateBranchModal(true) - }} - onClick={() => { - setOpen(false) - snap.setShowCreateBranchModal(true) - }} - > -
- -

Create branch

-
-
- {gitlessBranching && - isBranchingEnabled && - selectedBranch && - !selectedBranch.is_default && ( - <> - { - if (selectedBranch?.review_requested_at) { - router.push(`/project/${ref}/merge`) - } else { - if (selectedBranch?.id && projectRef) { - updateBranch({ - id: selectedBranch.id, - projectRef, - requestReview: true, - }) - } - } - }} - onClick={() => setOpen(false)} - > -
- - {isUpdatingBranch - ? 'Updating...' - : selectedBranch?.review_requested_at - ? 'Review changes' - : 'Ready for review'} -
-
- - )} - { - setOpen(false) - router.push(`/project/${ref}/branches`) - }} - onClick={() => setOpen(false)} - > - - -

Manage branches

- -
-
- - - - - { - setOpen(false) - window?.open(BRANCHING_GITHUB_DISCUSSION_LINK, '_blank')?.focus() - }} - onClick={() => setOpen(false)} - > - { - setOpen(false) - }} - className="w-full flex gap-2" - > - -
-

Branching feedback

-

Join Github Discussion

-
- -
-
-
-
- ) - return ( <> {isLoading && } @@ -271,8 +133,10 @@ export const BranchDropdown = () => { {isBranchingEnabled ? ( selectedBranch?.is_default ? ( Production + ) : selectedBranch?.persistent ? ( + Persistent ) : ( - Preview Branch + Preview ) ) : ( Production @@ -288,10 +152,91 @@ export const BranchDropdown = () => { /> - + + {isBranchingEnabled && } + + {isBranchingEnabled && ( + No branches found + )} + + + + {branchList.map((branch) => ( + + ))} + + + + + + + { + setOpen(false) + snap.setShowCreateBranchModal(true) + }} + onClick={() => { + setOpen(false) + snap.setShowCreateBranchModal(true) + }} + > +
+ +

Create branch

+
+
+ { + setOpen(false) + router.push(`/project/${ref}/branches`) + }} + onClick={() => setOpen(false)} + > + + +

Manage branches

+ +
+
+ + + + + { + setOpen(false) + window?.open(BRANCHING_GITHUB_DISCUSSION_LINK, '_blank')?.focus() + }} + onClick={() => setOpen(false)} + > + setOpen(false)} + className="w-full flex gap-2" + > + +
+

Branching feedback

+

Join Github Discussion

+
+
+
+
+
+
diff --git a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPITRNotice.tsx b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPITRNotice.tsx index 289bf7b33c4..32d66d380a5 100644 --- a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPITRNotice.tsx +++ b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingPITRNotice.tsx @@ -24,11 +24,12 @@ export const BranchingPITRNotice = () => {
-
+

Consider enabling Point in Time Recovery (PITR)

- This ensures you can recover data if you make a bad migration (e.g. delete a column). + This ensures you can recover production data if you merge a bad migration (e.g. delete a + column).

{!canUpdateSubscription ? ( diff --git a/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx b/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx index 1ac41c011b8..5b0c209fac7 100644 --- a/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx +++ b/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx @@ -9,7 +9,7 @@ import ShimmeringLoader from 'components/ui/ShimmeringLoader' import { ProjectInfo, useProjectsQuery } from 'data/projects/projects-query' import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import { useSelectedProject } from 'hooks/misc/useSelectedProject' +import { useProjectByRef, useSelectedProject } from 'hooks/misc/useSelectedProject' import { IS_PLATFORM } from 'lib/constants' import type { Organization } from 'types' import { @@ -27,6 +27,7 @@ import { ScrollArea, cn, } from 'ui' +import { useBranchesQuery } from 'data/branches/branches-query' // [Fran] the idea is to let users change projects without losing the current page, // but at the same time we need to redirect correctly between urls that might be @@ -119,7 +120,9 @@ export const ProjectDropdown = () => { className="flex items-center gap-2 flex-shrink-0 text-sm" > - {project?.name} + + {selectedProject?.name} + diff --git a/apps/studio/components/layouts/AuthenticationLayout.tsx b/apps/studio/components/layouts/AuthenticationLayout.tsx index 60ad6705137..8f1f32dd306 100644 --- a/apps/studio/components/layouts/AuthenticationLayout.tsx +++ b/apps/studio/components/layouts/AuthenticationLayout.tsx @@ -6,7 +6,7 @@ import { AppBannerContextProvider } from 'components/interfaces/App/AppBannerWra export const AuthenticationLayout = ({ children }: PropsWithChildren<{}>) => { return ( -
+
{children}
diff --git a/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx b/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx new file mode 100644 index 00000000000..9ce4fb7d2f7 --- /dev/null +++ b/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx @@ -0,0 +1,40 @@ +import { useRouter } from 'next/router' +import { PropsWithChildren } from 'react' + +import { useParams } from 'common' +import { GitHubStatus } from 'components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus' +import { ProductMenu } from 'components/ui/ProductMenu' +import { withAuth } from 'hooks/misc/withAuth' +import ProjectLayout from '../ProjectLayout/ProjectLayout' +import { generateBranchMenu } from './BranchLayout.utils' + +const BranchProductMenu = () => { + const router = useRouter() + const { ref: projectRef = 'default' } = useParams() + const page = router.pathname.split('/')[4] ?? 'branches' + + return ( + <> + +
+

Configure

+ +
+ + ) +} + +const BranchLayout = ({ children }: PropsWithChildren<{}>) => { + return ( + } + isBlocking={false} + > + {children} + + ) +} + +export default withAuth(BranchLayout) diff --git a/apps/studio/components/layouts/BranchLayout/BranchLayout.utils.ts b/apps/studio/components/layouts/BranchLayout/BranchLayout.utils.ts new file mode 100644 index 00000000000..40785ed8827 --- /dev/null +++ b/apps/studio/components/layouts/BranchLayout/BranchLayout.utils.ts @@ -0,0 +1,23 @@ +import type { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types' + +export const generateBranchMenu = (ref: string): ProductMenuGroup[] => { + return [ + { + title: 'Manage', + items: [ + { + name: 'Branches', + key: 'branches', + url: `/project/${ref}/branches`, + items: [], + }, + { + name: 'Merge requests', + key: 'merge-requests', + url: `/project/${ref}/branches/merge-requests`, + items: [], + }, + ], + }, + ] +} diff --git a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx index cf1e55afaac..528108172a4 100644 --- a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx +++ b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx @@ -56,10 +56,22 @@ const EdgeFunctionDetailsLayout = ({ isError, } = useEdgeFunctionQuery({ projectRef: ref, slug: functionSlug }) - const { data: functionFiles = [], error: filesError } = useEdgeFunctionBodyQuery({ - projectRef: ref, - slug: functionSlug, - }) + const { data: functionFiles = [], error: filesError } = useEdgeFunctionBodyQuery( + { + projectRef: ref, + slug: functionSlug, + }, + { + retry: false, + retryOnMount: true, + refetchOnWindowFocus: false, + staleTime: Infinity, + refetchOnMount: false, + refetchOnReconnect: false, + refetchInterval: false, + refetchIntervalInBackground: false, + } + ) const name = selectedFunction?.name || '' diff --git a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx index f47831e49e3..b9f02d6b4a0 100644 --- a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx +++ b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx @@ -1,14 +1,19 @@ import { PermissionAction } from '@supabase/shared-types/out/constants' -import { ChevronRight, FilePlus, Plus } from 'lucide-react' +import { ChevronRight, CircleHelpIcon, FilePlus, Plus } from 'lucide-react' import Link from 'next/link' import { useRouter } from 'next/router' import { useState } from 'react' import { IS_PLATFORM, useParams } from 'common' +import { + useFeaturePreviewModal, + useUnifiedLogsPreview, +} from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' import { CreateWarehouseCollectionModal } from 'components/interfaces/DataWarehouse/CreateWarehouseCollection' import { WarehouseMenuItem } from 'components/interfaces/DataWarehouse/WarehouseMenuItem' import SavedQueriesItem from 'components/interfaces/Settings/Logs/Logs.SavedQueriesItem' import { LogsSidebarItem } from 'components/interfaces/Settings/Logs/SidebarV2/SidebarItem' +import { ButtonTooltip } from 'components/ui/ButtonTooltip' import { useWarehouseCollectionsQuery } from 'data/analytics/warehouse-collections-query' import { useWarehouseTenantQuery } from 'data/analytics/warehouse-tenant-query' import { useContentQuery } from 'data/content/content-query' @@ -17,6 +22,7 @@ import { useCurrentOrgPlan } from 'hooks/misc/useCurrentOrgPlan' import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled' import { useFlag } from 'hooks/ui/useFlag' import { + Badge, Button, Collapsible_Shadcn_, CollapsibleContent_Shadcn_, @@ -37,6 +43,7 @@ import { InnerSideMenuItem, } from 'ui-patterns/InnerSideMenu' import { GenericSkeletonLoader } from 'ui-patterns/ShimmeringLoader' +import { FeaturePreviewSidebarPanel } from '../../ui/FeaturePreviewSidebarPanel' const SupaIcon = ({ className }: { className?: string }) => { return ( @@ -82,7 +89,11 @@ export function SidebarCollapsible({ export function LogsSidebarMenuV2() { const router = useRouter() const { ref } = useParams() as { ref: string } + const warehouseEnabled = useFlag('warehouse') + const isUnifiedLogsPreviewAvailable = useFlag('unifiedLogs') + const { selectFeaturePreview } = useFeaturePreviewModal() + const { enable: enableUnifiedLogs } = useUnifiedLogsPreview() const [searchText, setSearchText] = useState('') const [createCollectionOpen, setCreateCollectionOpen] = useState(false) @@ -213,6 +224,36 @@ export function LogsSidebarMenuV2() { return (
+ {isUnifiedLogsPreviewAvailable && ( + Feature Preview} + actions={ + <> + + } + onClick={() => selectFeaturePreview('supabase-ui-preview-unified-logs')} + tooltip={{ content: { side: 'bottom', text: 'More information' } }} + /> + + } + /> + )} +
) => ( @@ -60,6 +62,7 @@ const LayoutHeader = ({ const selectedProject = useSelectedProject() const selectedOrganization = useSelectedOrganization() const { setMobileMenuOpen } = useAppStateSnapshot() + const gitlessBranching = useIsBranching2Enabled() // We only want to query the org usage and check for possible over-ages for plans without usage billing enabled (free or pro with spend cap) const { data: orgUsage } = useOrgUsageQuery( @@ -136,7 +139,7 @@ const LayoutHeader = ({ {selectedProject && ( <> - + {IS_PLATFORM && } )} @@ -165,7 +168,7 @@ const LayoutHeader = ({ {projectRef && ( - {} + {IS_PLATFORM && gitlessBranching && } + )} diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MergeRequestButton.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MergeRequestButton.tsx new file mode 100644 index 00000000000..ec88c816115 --- /dev/null +++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/MergeRequestButton.tsx @@ -0,0 +1,78 @@ +import { ButtonTooltip } from 'components/ui/ButtonTooltip' +import { GitMerge } from 'lucide-react' +import { useBranchesQuery } from 'data/branches/branches-query' +import { useParams } from 'common' +import { useSelectedProject } from 'hooks/misc/useSelectedProject' +import { useRouter } from 'next/router' +import { useBranchUpdateMutation } from 'data/branches/branch-update-mutation' +import { toast } from 'sonner' + +export const MergeRequestButton = () => { + const { ref } = useParams() + const router = useRouter() + const projectDetails = useSelectedProject() + + const projectRef = projectDetails?.parent_project_ref || ref + + const { data: branches } = useBranchesQuery({ projectRef }, { enabled: Boolean(projectDetails) }) + + const { mutate: updateBranch, isLoading: isUpdating } = useBranchUpdateMutation({ + onError: () => { + toast.error(`Failed to open merge request`) + }, + }) + + const selectedBranch = branches?.find((branch) => branch.project_ref === ref) + + if (!projectRef || !selectedBranch || selectedBranch.is_default || selectedBranch.git_branch) + return null + + const hasReviewRequested = !!selectedBranch?.review_requested_at + const buttonLabel = hasReviewRequested ? 'Review merge request' : 'Open merge request' + + const handleClick = () => { + if (hasReviewRequested) { + router.push(`/project/${selectedBranch.project_ref}/merge`) + } else { + updateBranch( + { + id: selectedBranch.id, + projectRef, + requestReview: true, + }, + { + onSuccess: () => { + toast.success('Merge request created') + router.push(`/project/${selectedBranch.project_ref}/merge`) + }, + } + ) + } + } + + return ( + + {hasReviewRequested && ( + + )} + +
+ } + /> + ) +} + +export default MergeRequestButton diff --git a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx index 41a6434e197..48faa8be673 100644 --- a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx +++ b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx @@ -1,4 +1,4 @@ -import { Blocks, FileText, Lightbulb, List, Logs, Settings } from 'lucide-react' +import { Blocks, FileText, Lightbulb, List, Settings } from 'lucide-react' import { ICON_SIZE, ICON_STROKE_WIDTH } from 'components/interfaces/Sidebar' import { generateAuthMenu } from 'components/layouts/AuthLayout/AuthLayout.utils' @@ -116,16 +116,10 @@ export const generateProductRoutes = ( ] } -export const generateOtherRoutes = ( - ref?: string, - project?: Project, - features?: { unifiedLogs?: boolean } -): Route[] => { +export const generateOtherRoutes = (ref?: string, project?: Project, features?: {}): Route[] => { const isProjectBuilding = project?.status === PROJECT_STATUS.COMING_UP const buildingUrl = `/project/${ref}` - const showUnifiedLogs = features?.unifiedLogs ?? false - return [ { key: 'advisors', @@ -149,16 +143,6 @@ export const generateOtherRoutes = ( icon: , link: ref && (isProjectBuilding ? buildingUrl : `/project/${ref}/logs`), }, - ...(showUnifiedLogs - ? [ - { - key: 'unified-logs', - label: 'Unified Logs', - icon: , - link: ref && (isProjectBuilding ? buildingUrl : `/project/${ref}/unified-logs`), - }, - ] - : []), { key: 'api', label: 'API Docs', diff --git a/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx b/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx index 5cb4130dce2..b52a30832ac 100644 --- a/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx +++ b/apps/studio/components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx @@ -3,7 +3,6 @@ import { PropsWithChildren } from 'react' import { useParams } from 'common' import { useCurrentPath } from 'hooks/misc/useCurrentPath' -import { useFlag } from 'hooks/ui/useFlag' import { NavMenu, NavMenuItem } from 'ui' import { ScaffoldContainerLegacy, ScaffoldTitle } from '../Scaffold' @@ -13,9 +12,6 @@ function OrganizationSettingsLayout({ children }: PropsWithChildren) { const fullCurrentPath = useCurrentPath() const [currentPath] = fullCurrentPath.split('#') - // [Joshen] RE Organization Settings - need to figure out how to enforce MFA across users before this goes live - const newSecurityPage = useFlag('showOrganizationSecuritySettings') - // Hide these settings in the new layout on the following paths const isHidden = (path: string) => { return ( @@ -35,7 +31,7 @@ function OrganizationSettingsLayout({ children }: PropsWithChildren) { label: 'General', href: `/org/${slug}/general`, }, - newSecurityPage && { + { label: 'Security', href: `/org/${slug}/security`, }, diff --git a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx index 25991f5b885..fa41c5735f3 100644 --- a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx +++ b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx @@ -86,7 +86,7 @@ const ProjectLayout = forwardRef } - if (requiresDbConnection && isProjectBuilding) { + if (requiresDbConnection && isProjectBuilding && !isBranchesPage) { return } diff --git a/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx b/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx index 1ebb482970c..d3d034eef97 100644 --- a/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx +++ b/apps/studio/components/layouts/ReportsLayout/ReportsMenu.tsx @@ -29,6 +29,7 @@ const ReportsMenu = () => { const edgeFnEnabled = useFlag('edgefunctionreport') const realtimeEnabled = useFlag('realtimeReport') const storageReportEnabled = useFlag('storagereport') + const postgrestReportEnabled = useFlag('postgrestreport') // b/c fly doesn't support storage const storageSupported = useIsFeatureEnabled('project_storage:all') @@ -133,15 +134,6 @@ const ReportsMenu = () => { key: 'database', url: `/project/${ref}/reports/database${preservedQueryParams}`, }, - ...(realtimeEnabled - ? [ - { - name: 'Realtime', - key: 'realtime', - url: `/project/${ref}/reports/realtime${preservedQueryParams}`, - }, - ] - : []), ...(edgeFnEnabled ? [ { @@ -151,6 +143,25 @@ const ReportsMenu = () => { }, ] : []), + ...(postgrestReportEnabled + ? [ + { + name: 'PostgREST', + key: 'postgrest', + url: `/project/${ref}/reports/postgrest${preservedQueryParams}`, + }, + ] + : []), + ...(realtimeEnabled + ? [ + { + name: 'Realtime', + key: 'realtime', + url: `/project/${ref}/reports/realtime${preservedQueryParams}`, + }, + ] + : []), + ...(storageEnabled ? [ { diff --git a/apps/studio/components/layouts/SignInLayout/ForgotPasswordLayout.tsx b/apps/studio/components/layouts/SignInLayout/ForgotPasswordLayout.tsx index 2973ef53b79..8723843fd13 100644 --- a/apps/studio/components/layouts/SignInLayout/ForgotPasswordLayout.tsx +++ b/apps/studio/components/layouts/SignInLayout/ForgotPasswordLayout.tsx @@ -21,7 +21,7 @@ const ForgotPasswordLayout = ({ const { resolvedTheme } = useTheme() return ( -
+
) } diff --git a/apps/ui-library/config/docs.ts b/apps/ui-library/config/docs.ts index 55bfa3b7bbe..c257d7dacf9 100644 --- a/apps/ui-library/config/docs.ts +++ b/apps/ui-library/config/docs.ts @@ -36,6 +36,18 @@ export const aiEditorsRules: SidebarNavGroup = { ], } +export const platformBlocks: SidebarNavGroup = { + title: 'Platform', + items: [ + { + title: 'Platform Kit', + href: '/docs/platform/platform-kit', + items: [], + commandItemLabel: 'Platform Kit', + }, + ], +} + // Component definitions with supported frameworks export const componentPages: SidebarNavGroup = { title: 'Components', diff --git a/apps/ui-library/content/docs/platform/platform-kit.mdx b/apps/ui-library/content/docs/platform/platform-kit.mdx new file mode 100644 index 00000000000..9e9ff343ea9 --- /dev/null +++ b/apps/ui-library/content/docs/platform/platform-kit.mdx @@ -0,0 +1,110 @@ +--- +title: Platform Kit +description: The easiest way to build platforms on top of Supabase +--- + + + +## Installation + + + +## Folder structure + + + +## Introduction + +The Platform Kit is a collection of customizable API's, hooks and components you can use to provide an embedded Supabase experience within your own platform. It comes in the form of a single dialog that enables the management of database, authentication, storage, users, secrets, logs, and performance monitoring. + +**Features** + +- Database, Auth, Storage, User, Secrets, Logs, and Performance management +- Responsive dialog/drawer interface (desktop & mobile) +- API proxy for Management API +- AI-powered SQL generation (optional) +- Customize to your liking + +## Who is it for + +Anyone who is providing Postgres databases to their users. + +## Usage + +Embed the manager dialog in your app and manage its state: + +```tsx +import { useState } from 'react' +import { useMobile } from '@/hooks/use-mobile' +import { Button } from '@/components/ui/button' +import SupabaseManagerDialog from '@/components/supabase-manager' + +export default function Example() { + const [open, setOpen] = useState(false) + const projectRef = 'your-project-ref' // Replace with your actual project ref + const isMobile = useMobile() + + return ( + <> + + + + ) +} +``` + +## Quick Start + +1. **Set up environment variables:** in your `.env.local` file: + + ```bash + SUPABASE_MANAGEMENT_API_TOKEN=your-personal-access-token + NEXT_PUBLIC_ENABLE_AI_QUERIES=true + OPENAI_API_KEY=your-openai-api-key + ``` + +2. **Add project-level authentication checks** in your API proxy at `app/api/supabase-proxy/[...path]/route.ts` as well as your ai/sql route at `app/api/ai/sql/route.ts` to ensure only authorized users can access their own project resources. + +3. **Add a Toaster for notifications:** + Place the following component at the root of your app (e.g., in your `layout.tsx` or `App.tsx`) to enable toast notifications: + + ```tsx + import { Toaster } from '@/components/ui/sonner' + + export default function RootLayout({ children }) { + return ( + + + +
{children}
+ + + + ) + } + ``` + +That's it! The default setup uses your Supabase personal access token for the Management API. + +## Security + +- Never expose your Management API token to the client +- Always implement authentication and permission checks in your proxy + +## Further reading + +- [Supabase Management API](https://supabase.com/docs/reference/api/introduction) diff --git a/apps/ui-library/package.json b/apps/ui-library/package.json index 9bc4d888e92..b47da318fa6 100644 --- a/apps/ui-library/package.json +++ b/apps/ui-library/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "preinstall": "npx only-allow pnpm", - "dev": "next dev --turbopack --port 3004", + "dev": "next dev --port 3004", "build": "pnpm run content:build && pnpm run build:registry && pnpm run build:llms && next build", "build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --cache --write registry.json && rimraf -G public/r && shadcn build && tsx scripts/clean-registry.ts", "build:llms": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-llms-txt.ts", @@ -17,17 +17,44 @@ "typecheck": "contentlayer2 build && tsc --noEmit -p tsconfig.json" }, "dependencies": { + "@hookform/resolvers": "^3.1.1", + "@monaco-editor/react": "^4.6.0", + "@radix-ui/react-accordion": "*", + "@radix-ui/react-alert-dialog": "*", + "@radix-ui/react-aspect-ratio": "*", "@radix-ui/react-avatar": "*", "@radix-ui/react-checkbox": "*", + "@radix-ui/react-collapsible": "*", + "@radix-ui/react-context-menu": "*", + "@radix-ui/react-dialog": "*", + "@radix-ui/react-dropdown-menu": "*", + "@radix-ui/react-hover-card": "*", "@radix-ui/react-label": "*", + "@radix-ui/react-menubar": "*", + "@radix-ui/react-navigation-menu": "*", + "@radix-ui/react-popover": "*", "@radix-ui/react-progress": "*", + "@radix-ui/react-radio-group": "*", + "@radix-ui/react-scroll-area": "*", + "@radix-ui/react-select": "*", + "@radix-ui/react-separator": "*", + "@radix-ui/react-slider": "*", "@radix-ui/react-slot": "*", + "@radix-ui/react-switch": "*", + "@radix-ui/react-tabs": "*", + "@radix-ui/react-toast": "*", + "@radix-ui/react-toggle": "*", + "@radix-ui/react-toggle-group": "*", "@radix-ui/react-tooltip": "*", "@react-router/fs-routes": "^7.4.0", "@supabase/postgrest-js": "*", "@supabase/supa-mdx-lint": "0.2.6-alpha", + "@tanstack/react-query": "^5.83.0", + "axios": "^1.10.0", "class-variance-authority": "*", + "cmdk": "^1.0.0", "common": "workspace:*", + "common-tags": "^1.8.2", "contentlayer2": "0.4.6", "eslint-config-supabase": "workspace:*", "framer-motion": "^11.0.3", @@ -37,11 +64,16 @@ "next": "catalog:", "next-contentlayer2": "0.4.6", "next-themes": "^0.3.0", + "openai": "^5.9.0", + "openapi-fetch": "0.12.4", "react": "catalog:", "react-docgen": "^7.0.3", "react-dom": "catalog:", + "react-hook-form": "^7.45.0", "react-inlinesvg": "^4.0.4", + "react-markdown": "^10.1.0", "react-wrap-balancer": "^1.1.0", + "recharts": "^2.8.0", "rehype-autolink-headings": "^7.1.0", "rehype-pretty-code": "^0.9.0", "rehype-slug": "^6.0.0", @@ -52,6 +84,7 @@ "ui": "workspace:*", "ui-patterns": "workspace:*", "unist-util-visit": "^5.0.0", + "vaul": "^0.9.6", "zod": "^3.22.4" }, "devDependencies": { @@ -61,6 +94,7 @@ "@supabase/supabase-js": "^2.49.1", "@tanstack/react-router": "^1.114.27", "@tanstack/react-start": "^1.114.25", + "@types/common-tags": "^1.8.4", "@types/lodash": "^4.17.16", "@types/react": "catalog:", "@types/react-dom": "catalog:", diff --git a/apps/ui-library/public/llms.txt b/apps/ui-library/public/llms.txt index 863d7d8581e..137187575d0 100644 --- a/apps/ui-library/public/llms.txt +++ b/apps/ui-library/public/llms.txt @@ -1,5 +1,5 @@ # Supabase UI Library -Last updated: 2025-07-07T17:50:06.137Z +Last updated: 2025-07-13T02:57:35.186Z ## Overview Library of components for your project. The components integrate with Supabase and are shadcn compatible. diff --git a/apps/ui-library/public/r/platform-kit-nextjs.json b/apps/ui-library/public/r/platform-kit-nextjs.json new file mode 100644 index 00000000000..7b9a5d2083e --- /dev/null +++ b/apps/ui-library/public/r/platform-kit-nextjs.json @@ -0,0 +1,209 @@ +{ + "$schema": "https://ui.shadcn.com/schema/registry-item.json", + "name": "platform-kit-nextjs", + "type": "registry:block", + "title": "Platform Kit for Nextjs and Supabase", + "description": "Platform Kit for Nextjs and Supabase", + "dependencies": [ + "@hookform/resolvers", + "@monaco-editor/react", + "@tanstack/react-query", + "@tanstack/react-table", + "axios", + "cmdk", + "common-tags", + "openai", + "openapi-fetch", + "react-hook-form", + "react-markdown", + "recharts", + "sonner" + ], + "registryDependencies": [ + "alert", + "badge", + "button", + "card", + "chart", + "command", + "dialog", + "drawer", + "form", + "hover-card", + "input", + "label", + "popover", + "select", + "skeleton", + "switch", + "table", + "toggle", + "toggle-group", + "tooltip" + ], + "files": [ + { + "path": "registry/default/platform/platform-kit-nextjs/app/api/ai/sql/route.ts", + "content": "import type { paths } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api-schema'\nimport { listTablesSql } from '@/registry/default/platform/platform-kit-nextjs/lib/pg-meta'\nimport { NextResponse } from 'next/server'\nimport OpenAI from 'openai'\nimport createClient from 'openapi-fetch'\n\nconst openai = new OpenAI({\n apiKey: process.env.OPENAI_API_KEY,\n})\n\nconst client = createClient({\n baseUrl: 'https://api.supabase.com',\n headers: {\n Authorization: `Bearer ${process.env.SUPABASE_MANAGEMENT_API_TOKEN}`,\n },\n})\n\n// Function to get database schema\nasync function getDbSchema(projectRef: string) {\n const token = process.env.SUPABASE_MANAGEMENT_API_TOKEN\n if (!token) {\n throw new Error('Supabase Management API token is not configured.')\n }\n\n const sql = listTablesSql()\n\n const { data, error } = await client.POST('/v1/projects/{ref}/database/query', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n body: {\n query: sql,\n read_only: true,\n },\n })\n\n if (error) {\n throw error\n }\n\n return data as any\n}\n\nfunction formatSchemaForPrompt(schema: any) {\n let schemaString = ''\n if (schema && Array.isArray(schema)) {\n schema.forEach((table: any) => {\n const columnInfo = table.columns.map((c: any) => `${c.name} (${c.data_type})`)\n schemaString += `Table \"${table.name}\" has columns: ${columnInfo.join(', ')}.\\n`\n })\n }\n return schemaString\n}\n\nexport async function POST(request: Request) {\n try {\n const { prompt, projectRef } = await request.json()\n\n if (!prompt) {\n return NextResponse.json({ message: 'Prompt is required.' }, { status: 400 })\n }\n if (!projectRef) {\n return NextResponse.json({ message: 'projectRef is required.' }, { status: 400 })\n }\n\n // Implement your permission check here (e.g. check if the user is a member of the project)\n // In this example, everyone can access all projects\n const userHasPermissionForProject = Boolean(projectRef)\n\n if (!userHasPermissionForProject) {\n return NextResponse.json(\n { message: 'You do not have permission to access this project.' },\n { status: 403 }\n )\n }\n\n // 1. Get database schema\n const schema = await getDbSchema(projectRef)\n const formattedSchema = formatSchemaForPrompt(schema)\n\n // 2. Create a prompt for OpenAI\n const systemPrompt = `You are an expert SQL assistant. Given the following database schema, write a SQL query that answers the user's question. Return only the SQL query, do not include any explanations or markdown.\\n\\nSchema:\\n${formattedSchema}`\n\n // 3. Call OpenAI to generate SQL using responses.create (plain text output)\n const response = await openai.responses.create({\n model: 'gpt-4.1',\n instructions: systemPrompt, // Use systemPrompt as instructions\n input: prompt, // User's question\n })\n\n const sql = response.output_text\n\n if (!sql) {\n return NextResponse.json(\n { message: 'Could not generate SQL from the prompt.' },\n { status: 500 }\n )\n }\n\n // 4. Return the generated SQL\n return NextResponse.json({ sql })\n } catch (error: any) {\n console.error('AI SQL generation error:', error)\n const errorMessage = error.message || 'An unexpected error occurred.'\n const status = error.response?.status || 500\n return NextResponse.json({ message: errorMessage }, { status })\n }\n}\n", + "type": "registry:page", + "target": "app/api/ai/sql/route.ts" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts", + "content": "import { NextResponse } from 'next/server'\n\nasync function forwardToSupabaseAPI(request: Request, method: string, params: { path: string[] }) {\n if (!process.env.SUPABASE_MANAGEMENT_API_TOKEN) {\n console.error('Supabase Management API token is not configured.')\n return NextResponse.json({ message: 'Server configuration error.' }, { status: 500 })\n }\n\n const { path } = params\n const apiPath = path.join('/')\n\n const url = new URL(request.url)\n url.protocol = 'https'\n url.hostname = 'api.supabase.com'\n url.port = '443'\n url.pathname = apiPath\n\n const projectRef = path[2]\n\n // Implement your permission check here (e.g. check if the user is a member of the project)\n // In this example, everyone can access all projects\n const userHasPermissionForProject = Boolean(projectRef)\n\n if (!userHasPermissionForProject) {\n return NextResponse.json(\n { message: 'You do not have permission to access this project.' },\n { status: 403 }\n )\n }\n\n try {\n const forwardHeaders: HeadersInit = {\n Authorization: `Bearer ${process.env.SUPABASE_MANAGEMENT_API_TOKEN}`,\n }\n\n // Copy relevant headers from the original request\n const contentType = request.headers.get('content-type')\n if (contentType) {\n forwardHeaders['Content-Type'] = contentType\n }\n\n const fetchOptions: RequestInit = {\n method,\n headers: forwardHeaders,\n }\n\n // Include body for methods that support it\n if (method !== 'GET' && method !== 'HEAD') {\n try {\n const body = await request.text()\n if (body) {\n fetchOptions.body = body\n }\n } catch (error) {\n // Handle cases where body is not readable\n console.warn('Could not read request body:', error)\n }\n }\n\n const response = await fetch(url, fetchOptions)\n\n // Get response body\n const responseText = await response.text()\n let responseData\n\n try {\n responseData = responseText ? JSON.parse(responseText) : null\n } catch {\n responseData = responseText\n }\n\n // Return the response with the same status\n return NextResponse.json(responseData, { status: response.status })\n } catch (error: any) {\n console.error('Supabase API proxy error:', error)\n const errorMessage = error.message || 'An unexpected error occurred.'\n return NextResponse.json({ message: errorMessage }, { status: 500 })\n }\n}\n\nexport async function GET(request: Request, { params }: { params: Promise<{ path: string[] }> }) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'GET', resolvedParams)\n}\n\nexport async function HEAD(request: Request, { params }: { params: Promise<{ path: string[] }> }) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'HEAD', resolvedParams)\n}\n\nexport async function POST(request: Request, { params }: { params: Promise<{ path: string[] }> }) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'POST', resolvedParams)\n}\n\nexport async function PUT(request: Request, { params }: { params: Promise<{ path: string[] }> }) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'PUT', resolvedParams)\n}\n\nexport async function DELETE(\n request: Request,\n { params }: { params: Promise<{ path: string[] }> }\n) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'DELETE', resolvedParams)\n}\n\nexport async function PATCH(request: Request, { params }: { params: Promise<{ path: string[] }> }) {\n const resolvedParams = await params\n return forwardToSupabaseAPI(request, 'PATCH', resolvedParams)\n}\n", + "type": "registry:page", + "target": "app/api/supabase-proxy/[...path]/route.ts" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/dynamic-form.tsx", + "content": "'use client'\n\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport { useForm } from 'react-hook-form'\nimport type { z, ZodTypeAny } from 'zod'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Form,\n FormControl,\n FormDescription,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/registry/default/components/ui/form'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Switch } from '@/registry/default/components/ui/switch'\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@/registry/default/components/ui/select'\nimport { useEffect, useRef } from 'react'\n\ninterface DynamicFormProps {\n schema: z.ZodObject\n onSubmit: (data: z.infer>) => void\n isLoading?: boolean\n initialValues?: Partial>>\n labels?: Record }>\n columnInfo?: Record\n}\n\nconst getZodDef = (schema: ZodTypeAny): Record =>\n (schema as any)._def || (schema as any).def\n\nconst unwrapZodType = (fieldSchema: ZodTypeAny): ZodTypeAny => {\n if (\n !fieldSchema ||\n typeof getZodDef(fieldSchema) !== 'object' ||\n getZodDef(fieldSchema) === null\n ) {\n throw new Error(\n `unwrapZodType received an invalid Zod schema object. Check the console for the problematic schema/key.`\n )\n }\n let currentSchema = fieldSchema\n\n // Support both old (typeName) and new (type) Zod formats\n const getTypeName = (def: Record) => def.typeName || def.type\n\n while (\n getTypeName(getZodDef(currentSchema)) === 'ZodOptional' ||\n getTypeName(getZodDef(currentSchema)) === 'optional' ||\n getTypeName(getZodDef(currentSchema)) === 'ZodDefault' ||\n getTypeName(getZodDef(currentSchema)) === 'default' ||\n getTypeName(getZodDef(currentSchema)) === 'ZodNullable' ||\n getTypeName(getZodDef(currentSchema)) === 'nullable' ||\n getTypeName(getZodDef(currentSchema)) === 'ZodEffects' ||\n getTypeName(getZodDef(currentSchema)) === 'effects'\n ) {\n const typeName = getTypeName(getZodDef(currentSchema))\n if (typeName === 'ZodEffects' || typeName === 'effects') {\n // For ZodEffects, get the schema inside the effect\n currentSchema = getZodDef(currentSchema).schema\n } else {\n currentSchema = getZodDef(currentSchema).innerType\n }\n }\n return currentSchema\n}\n\nexport function DynamicForm({\n schema,\n onSubmit,\n isLoading = false,\n initialValues,\n labels,\n columnInfo,\n}: DynamicFormProps) {\n const isInitializingRef = useRef(true)\n\n const defaultValues = Object.keys(schema.shape).reduce(\n (acc, key) => {\n const originalFieldSchema = schema.shape[key]\n if (typeof originalFieldSchema === 'undefined') {\n throw new Error(\n `Schema error: schema.shape['${key}'] is undefined. Check schema definition.`\n )\n }\n\n // Support both old (typeName) and new (type) Zod formats\n const getTypeName = (def: Record) => def.typeName || def.type\n\n if (\n getTypeName(getZodDef(originalFieldSchema)) === 'ZodDefault' ||\n getTypeName(getZodDef(originalFieldSchema)) === 'default'\n ) {\n acc[key] = getZodDef(originalFieldSchema).defaultValue()\n return acc\n }\n\n const baseType = unwrapZodType(originalFieldSchema)\n\n switch (getTypeName(getZodDef(baseType))) {\n case 'ZodString':\n case 'string':\n acc[key] = ''\n break\n case 'ZodBoolean':\n case 'boolean':\n acc[key] = false // Default optional booleans to false\n break\n case 'ZodEnum':\n case 'enum':\n // For enums, use the first enum value as default\n const enumValues = getZodDef(baseType).values || []\n acc[key] = enumValues.length > 0 ? enumValues[0] : ''\n break\n case 'ZodNumber':\n case 'number':\n acc[key] = 0 // Default optional numbers to 0\n break\n case 'ZodArray':\n case 'array':\n acc[key] = [] // Default arrays to empty array\n break\n default:\n acc[key] = undefined // For other types, or if truly no default makes sense\n break\n }\n return acc\n },\n {} as Record\n )\n\n const form = useForm>({\n resolver: zodResolver(schema),\n defaultValues: defaultValues as any,\n })\n\n useEffect(() => {\n if (initialValues) {\n isInitializingRef.current = true\n const schemaKeys = Object.keys(schema.shape)\n const processedInitialValues = schemaKeys.reduce(\n (acc, key) => {\n const fieldDefFromSchema = schema.shape[key]\n if (typeof fieldDefFromSchema === 'undefined') {\n throw new Error(`Schema error in useEffect: schema.shape['${key}'] is undefined.`)\n }\n const value = initialValues.hasOwnProperty(key) ? initialValues[key] : undefined\n const baseFieldType = unwrapZodType(fieldDefFromSchema)\n\n // Support both old (typeName) and new (type) Zod formats\n const getTypeName = (def: Record) => def.typeName || def.type\n\n const fieldTypeName = getTypeName(getZodDef(baseFieldType))\n if (fieldTypeName === 'ZodBoolean' || fieldTypeName === 'boolean') {\n acc[key] = !!value\n } else if (fieldTypeName === 'ZodString' || fieldTypeName === 'string') {\n acc[key] = value === null || value === undefined ? '' : String(value)\n } else if (fieldTypeName === 'ZodEnum' || fieldTypeName === 'enum') {\n const enumValues = getZodDef(baseFieldType).values || []\n acc[key] =\n value === null || value === undefined || !enumValues.includes(value)\n ? enumValues[0] || ''\n : String(value)\n } else if (fieldTypeName === 'ZodNumber' || fieldTypeName === 'number') {\n const num = Number(value)\n acc[key] = isNaN(num) ? 0 : num\n } else if (fieldTypeName === 'ZodArray' || fieldTypeName === 'array') {\n // For arrays, the value should already be an array from the database\n // Handle null values properly\n if (Array.isArray(value)) {\n acc[key] = value\n } else if (value === null || value === undefined) {\n acc[key] = []\n } else if (typeof value === 'string' && value.startsWith('{') && value.endsWith('}')) {\n // Parse PostgreSQL array format like {ONE,TWO} into JavaScript array\n try {\n const innerContent = value.slice(1, -1) // Remove { and }\n if (innerContent.trim() === '') {\n acc[key] = []\n } else {\n // Split by comma and trim whitespace\n acc[key] = innerContent.split(',').map((item: string) => item.trim())\n }\n } catch {\n // If parsing fails, default to empty array\n acc[key] = []\n }\n } else {\n acc[key] = []\n }\n } else {\n acc[key] = value\n }\n return acc\n },\n {} as Record\n )\n form.reset(processedInitialValues as any)\n setTimeout(() => {\n isInitializingRef.current = false\n }, 0)\n } else {\n isInitializingRef.current = false\n }\n }, [initialValues, form, schema])\n\n const renderField = (fieldName: string, fieldSchema: ZodTypeAny) => {\n const baseType = unwrapZodType(fieldSchema)\n // Support both old (typeName) and new (type) Zod formats\n const getTypeName = (def: Record) => def.typeName || def.type\n const typeName = getTypeName(getZodDef(baseType))\n const description = fieldSchema.description\n\n return (\n {\n const labelConfig = labels?.[fieldName]\n const label =\n typeof labelConfig === 'string' ? labelConfig : labelConfig?.label || fieldName\n const typeDisplay = columnInfo?.[fieldName]?.data_type || ''\n switch (typeName) {\n case 'ZodString':\n case 'string':\n return (\n \n
\n
\n {label}\n
{typeDisplay}
\n {description && {description}}\n \n
\n
\n \n \n \n
\n
\n
\n )\n case 'ZodNumber':\n case 'number':\n return (\n \n
\n
\n {label}\n
{typeDisplay}
\n {description && {description}}\n \n
\n
\n \n {\n const value = e.target.value\n const num = parseInt(value, 10)\n field.onChange(isNaN(num) ? undefined : num)\n }}\n />\n \n
\n
\n
\n )\n case 'ZodBoolean':\n case 'boolean':\n return (\n \n
\n {label}\n
{typeDisplay}
\n {description && {description}}\n \n
\n \n \n \n
\n )\n case 'ZodEnum':\n case 'enum':\n const options = getZodDef(baseType).values\n const optionLabels = typeof labelConfig === 'object' ? labelConfig.options : undefined\n return (\n \n
\n
\n {label}\n
{typeDisplay}
\n {description && {description}}\n \n
\n
\n {\n if (!isInitializingRef.current) {\n field.onChange(value)\n }\n }}\n value={String(field.value || '')}\n >\n \n \n \n \n \n \n {options.map((option: string) => (\n \n {optionLabels?.[option] || option}\n \n ))}\n \n \n
\n
\n
\n )\n case 'ZodArray':\n case 'array':\n return (\n \n
\n
\n {label}\n
\n Enter as JSON array: ["item1", "item2"]\n {columnInfo?.[fieldName]?.is_nullable && ' (leave empty for null)'}\n
\n\n {description && {description}}\n \n
\n
\n \n {\n const value = e.target.value\n if (value.trim() === '') {\n // Empty string means null (for nullable) or empty array (for non-nullable)\n field.onChange(null)\n } else {\n try {\n const parsed = JSON.parse(value)\n if (Array.isArray(parsed)) {\n field.onChange(parsed)\n } else {\n // If it's not an array, treat as invalid input\n field.onChange(value)\n }\n } catch {\n // Invalid JSON, keep the string value to show error\n field.onChange(value)\n }\n }\n }}\n />\n \n
\n
\n
\n )\n default:\n return <>\n }\n }}\n />\n )\n }\n\n return (\n
\n \n {Object.keys(schema.shape).map((fieldName) =>\n renderField(fieldName, schema.shape[fieldName])\n )}\n
\n \n
\n
\n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/logo-supabase.tsx", + "content": "export function LogoSupabase({ className, size = 24 }: { className?: string; size?: number }) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/results-table.tsx", + "content": "'use client'\n\nimport {\n Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,\n} from '@/registry/default/components/ui/table'\nimport { cn } from '@/lib/utils'\n\ninterface ResultsTableProps {\n data: any[]\n onRowClick?: (row: any) => void\n}\n\nexport function ResultsTable({ data, onRowClick }: ResultsTableProps) {\n if (!data || data.length === 0) {\n return

The query returned no results.

\n }\n\n const headers = Object.keys(data[0])\n\n return (\n
\n \n \n \n {headers.map((header) => (\n \n {header}\n \n ))}\n \n \n \n {data.map((row, rowIndex) => (\n onRowClick?.(row)}\n className={cn(onRowClick && 'cursor-pointer hover:bg-muted/50 group')}\n >\n {headers.map((header) => (\n \n
\n {JSON.stringify(row[header]).replace(/^\"|\"$/g, '')}\n
\n \n ))}\n \n ))}\n
\n
\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/sql-editor.tsx", + "content": "'use client'\n\nimport { useState, useEffect, useCallback, useMemo } from 'react'\nimport { Editor } from '@monaco-editor/react'\nimport { Button } from '@/registry/default/components/ui/button'\nimport { ResultsTable } from '@/registry/default/platform/platform-kit-nextjs/components/results-table'\nimport { Label } from '@/registry/default/components/ui/label'\nimport { useRunQuery } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-run-query'\nimport {\n ArrowUp,\n Loader2,\n BarChart as BarChartIcon,\n Wand,\n FileText,\n AlertTriangle,\n} from 'lucide-react'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport { Popover, PopoverContent, PopoverTrigger } from '@/registry/default/components/ui/popover'\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@/registry/default/components/ui/select'\nimport { Bar, BarChart, CartesianGrid, XAxis, YAxis } from 'recharts'\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from '@/registry/default/components/ui/chart'\nimport { ToggleGroup, ToggleGroupItem } from '@/registry/default/components/ui/toggle-group'\nimport { Switch } from '@/registry/default/components/ui/switch'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\ninterface SqlEditorProps {\n projectRef: string\n initialSql?: string\n queryKey?: any\n label?: string\n onResults?: (data: any[] | undefined) => void\n onRowClick?: (row: any, queryKey?: any) => void\n hideSql?: boolean\n readOnly?: boolean\n runAutomatically?: boolean\n refetch?: number\n initialNaturalLanguageMode?: boolean\n hideChartOption?: boolean\n}\n\nexport function SqlEditor({\n projectRef,\n initialSql,\n queryKey,\n onResults,\n onRowClick,\n label = 'Query your data',\n hideSql = false,\n readOnly = false,\n runAutomatically = false,\n refetch,\n initialNaturalLanguageMode = false,\n hideChartOption = false,\n}: SqlEditorProps) {\n const [sql, setSql] = useState(initialSql || '')\n const [isSqlVisible, setIsSqlVisible] = useState(!hideSql)\n const [isNaturalLanguageMode, setIsNaturalLanguageMode] = useState(\n process.env.NEXT_PUBLIC_ENABLE_AI_QUERIES === 'true' && initialNaturalLanguageMode\n )\n const [naturalLanguageQuery, setNaturalLanguageQuery] = useState('')\n const { mutate: runQuery, data, isPending, error } = useRunQuery()\n const [isGeneratingSql, setIsGeneratingSql] = useState(false)\n const [aiError, setAiError] = useState(null)\n const [isChartVisible, setIsChartVisible] = useState(false)\n const [xAxisColumn, setXAxisColumn] = useState(null)\n const [yAxisColumn, setYAxisColumn] = useState(null)\n\n const columns = useMemo(() => {\n if (!data || data.length === 0) return []\n return Object.keys(data[0])\n }, [data])\n\n useEffect(() => {\n if (initialSql) {\n setSql(initialSql)\n }\n }, [initialSql])\n\n const handleRunNaturalLanguageQuery = async () => {\n if (!naturalLanguageQuery) return\n\n setIsGeneratingSql(true)\n setAiError(null)\n try {\n const response = await fetch('/api/ai/sql', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n prompt: naturalLanguageQuery,\n projectRef,\n }),\n })\n\n if (!response.ok) {\n const errorData = await response.json()\n throw new Error(errorData.message || 'Failed to generate SQL')\n }\n\n const { sql: generatedSql } = await response.json()\n setSql(generatedSql)\n runQuery({ projectRef, query: generatedSql, readOnly: true })\n } catch (error: any) {\n console.error(error)\n setAiError(error.message)\n } finally {\n setIsGeneratingSql(false)\n }\n }\n\n const handleRunQuery = useCallback(() => {\n if (sql) {\n runQuery({ projectRef, query: sql, readOnly: true })\n }\n }, [sql, projectRef, runQuery])\n\n useEffect(() => {\n setIsSqlVisible(!hideSql)\n }, [hideSql])\n\n useEffect(() => {\n if (runAutomatically && initialSql) {\n runQuery({ projectRef, query: initialSql, readOnly: true })\n }\n }, [runAutomatically, initialSql, projectRef, runQuery])\n\n useEffect(() => {\n if (refetch && refetch > 0) {\n handleRunQuery()\n }\n }, [refetch, handleRunQuery])\n\n useEffect(() => {\n if (onResults) {\n onResults(data)\n }\n }, [data, onResults])\n\n useEffect(() => {\n const noResults = !data || (Array.isArray(data) && data.length === 0)\n if (noResults && !isSqlVisible && !isNaturalLanguageMode && !readOnly && !isPending) {\n setIsSqlVisible(true)\n }\n }, [data, isSqlVisible, isNaturalLanguageMode])\n\n const serverErrorMessage = (error as any)?.response?.data?.message || ''\n const isReadOnlyError =\n serverErrorMessage.includes('permission denied') || serverErrorMessage.includes('42501')\n const customReadOnlyError = \"You can't directly alter your database schema, use chat instead\"\n\n // Build the toggle-group selection based on current UI state\n const toggleValues = useMemo(() => {\n const values: string[] = []\n if (isNaturalLanguageMode) values.push('chat')\n if (isSqlVisible) values.push('sql')\n if (!hideChartOption && isChartVisible) values.push('chart')\n return values\n }, [isNaturalLanguageMode, isSqlVisible, isChartVisible, hideChartOption])\n\n const handleToggleGroupChange = (values: string[]) => {\n setIsNaturalLanguageMode(values.includes('chat'))\n setIsSqlVisible(values.includes('sql'))\n if (!hideChartOption) {\n setIsChartVisible(values.includes('chart'))\n }\n }\n\n return (\n
\n
\n
\n

{label}

\n \n {process.env.NEXT_PUBLIC_ENABLE_AI_QUERIES === 'true' && (\n \n \n \n )}\n \n \n \n {!hideChartOption && (\n \n \n \n \n \n \n \n
\n
\n
\n
\n \n

\n Visualize your data with a chart.\n

\n
\n \n
\n {isChartVisible && (\n
\n
\n \n \n \n \n \n \n {columns.map((col) => (\n \n {col}\n \n ))}\n \n \n
\n
\n \n \n \n \n \n \n {columns.map((col) => (\n \n {col}\n \n ))}\n \n \n
\n
\n )}\n
\n
\n
\n
\n )}\n \n
\n
\n {isNaturalLanguageMode && (\n
\n \n setNaturalLanguageQuery(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === 'Enter' && !e.shiftKey) {\n e.preventDefault()\n handleRunNaturalLanguageQuery()\n }\n }}\n className=\"w-full px-10\"\n />\n \n {isGeneratingSql ? (\n \n ) : isPending ? (\n \n ) : (\n \n )}\n \n
\n )}\n {isSqlVisible && (\n
\n setSql(value || '')}\n theme=\"vs-dark\"\n className=\"bg-transparent\"\n options={{\n minimap: { enabled: false },\n fontSize: 14,\n readOnly,\n padding: {\n top: 24,\n bottom: 24,\n },\n }}\n />\n \n {isPending ? 'Running...' : 'Run Query'}\n \n
\n )}\n
\n
\n {isPending && (\n
\n \n \n \n \n \n \n
\n )}\n {aiError && (\n
\n \n \n Error generating SQL\n {aiError}\n \n
\n )}\n {error && (\n
\n \n \n Query Error\n \n {isReadOnlyError\n ? customReadOnlyError\n : serverErrorMessage || (error as Error)?.message || 'An unexpected error occurred'}\n \n \n
\n )}\n\n {!hideChartOption && data && isChartVisible && xAxisColumn && yAxisColumn && (\n
\n \n
\n )}\n\n {data && (\n
\n onRowClick?.(row, queryKey)} />\n
\n )}\n
\n )\n}\n\nfunction QueryResultChart({ data, xAxis, yAxis }: { data: any[]; xAxis: string; yAxis: string }) {\n const chartConfig = {\n [yAxis]: {\n label: yAxis,\n color: 'var(--chart-1)',\n },\n } satisfies ChartConfig\n\n return (\n \n \n \n \n \n } />\n \n \n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/auth.tsx", + "content": "'use client'\n\nimport { DynamicForm } from '@/registry/default/platform/platform-kit-nextjs/components/dynamic-form'\nimport {\n useGetAuthConfig,\n useUpdateAuthConfig,\n} from '@/registry/default/platform/platform-kit-nextjs/hooks/use-auth'\nimport {\n authEmailProviderSchema,\n authFieldLabels,\n authGeneralSettingsSchema,\n type AuthGeneralSettingsSchema,\n authGoogleProviderSchema,\n authPhoneProviderSchema,\n} from '../../lib/schemas/auth'\nimport { AlertTriangle, ChevronRight, Mail, Phone, User } from 'lucide-react'\nimport { useCallback, useMemo } from 'react'\nimport { z } from 'zod'\nimport { useSheetNavigation } from '@/registry/default/platform/platform-kit-nextjs/contexts/SheetNavigationContext'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport { Button } from '@/registry/default/components/ui/button'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\nfunction ProviderSettingsView({\n projectRef,\n schema,\n title,\n initialValues: allInitialValues,\n onSuccess,\n}: {\n projectRef: string\n schema: z.ZodObject | z.ZodEffects>\n title: string\n initialValues: any\n onSuccess: () => void\n}) {\n const { mutate: updateAuthConfig, isPending: isUpdatingConfig } = useUpdateAuthConfig()\n\n const actualSchema = 'shape' in schema ? schema : (schema._def.schema as z.ZodObject)\n\n const handleUpdateAuthConfig = (formData: z.infer) => {\n const payload = Object.fromEntries(\n Object.entries(formData).filter(([_, value]) => value !== undefined)\n )\n\n if (Object.keys(payload).length === 0) {\n alert('No changes to submit. Please modify a field to update.')\n return\n }\n\n updateAuthConfig(\n {\n projectRef,\n payload,\n },\n {\n onSuccess,\n }\n )\n }\n\n const formInitialValues = useMemo(() => {\n if (!allInitialValues) {\n return undefined\n }\n const schemaKeys = Object.keys(actualSchema.shape)\n const result = schemaKeys.reduce(\n (acc, key) => {\n if (Object.prototype.hasOwnProperty.call(allInitialValues, key)) {\n acc[key] = allInitialValues[key]\n }\n return acc\n },\n {} as Record\n )\n\n return result\n }, [allInitialValues, actualSchema])\n\n return (\n
\n

{title}

\n \n
\n )\n}\n\nexport function AuthManager({ projectRef }: { projectRef: string }) {\n const {\n data: authConfigData,\n isLoading: isLoadingConfig,\n error: errorLoadingConfig,\n } = useGetAuthConfig(projectRef)\n\n const { mutate: updateAuthConfig, isPending: isUpdatingConfig } = useUpdateAuthConfig()\n const { push, pop } = useSheetNavigation()\n\n const handleUpdateGeneralSettings = (formData: AuthGeneralSettingsSchema) => {\n const payload = Object.fromEntries(\n Object.entries(formData).filter(([_, value]) => value !== undefined)\n )\n\n if (Object.keys(payload).length === 0) {\n alert('No changes to submit. Please modify a field to update.')\n return\n }\n\n updateAuthConfig({\n projectRef,\n payload,\n })\n }\n\n const providers: {\n name: string\n icon: React.ReactNode\n description: string\n schema: z.ZodObject | z.ZodEffects>\n }[] = [\n {\n icon: ,\n name: 'Email',\n description: 'Sign in with email and password',\n schema: authEmailProviderSchema,\n },\n {\n icon: ,\n name: 'Phone',\n description: 'Sign in with phone number',\n schema: authPhoneProviderSchema,\n },\n {\n icon: ,\n name: 'Google',\n description: 'Sign in with Google',\n schema: authGoogleProviderSchema,\n },\n ]\n\n const handleProviderClick = useCallback(\n (provider: { name: string; schema: z.ZodObject | z.ZodEffects> }) => {\n push({\n title: `${provider.name} Provider Settings`,\n component: (\n pop()}\n />\n ),\n })\n },\n [projectRef, authConfigData, push, pop]\n )\n\n const formInitialValues = useMemo(() => {\n if (!authConfigData) {\n return undefined\n }\n const schemaKeys = Object.keys(authGeneralSettingsSchema.shape)\n return schemaKeys.reduce(\n (acc, key) => {\n if (Object.prototype.hasOwnProperty.call(authConfigData, key)) {\n acc[key] = authConfigData[key as keyof typeof authConfigData]\n }\n return acc\n },\n {} as Record\n )\n }, [authConfigData])\n\n if (errorLoadingConfig) {\n return (\n
\n \n \n Error loading auth settings\n \n There was a problem loading your authentication configuration.\n \n \n
\n )\n }\n\n if (isLoadingConfig)\n return (\n
\n \n \n \n
\n )\n\n return (\n
\n
\n

General Settings

\n

\n Allow people to sign up to your app\n

\n \n
\n
\n

Sign in methods

\n

\n Configure how people sign in and up to your app.\n

\n
\n {providers.map((provider) => (\n handleProviderClick(provider)}\n key={provider.name}\n className=\"rounded-none justify-start flex-row text-left h-auto px-8 py-4 w-full gap-4 border-b last:border-b-0\"\n >\n {provider.icon}\n
\n

{provider.name}

\n

{provider.description}

\n
\n \n \n ))}\n
\n
\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/database.tsx", + "content": "'use client'\n\nimport { useState, useMemo, useCallback } from 'react'\nimport { z, type ZodTypeAny } from 'zod'\nimport { useListTables } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-tables'\nimport { useRunQuery } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-run-query'\nimport { SqlEditor } from '@/registry/default/platform/platform-kit-nextjs/components/sql-editor'\nimport { DynamicForm } from '@/registry/default/platform/platform-kit-nextjs/components/dynamic-form'\nimport { toast } from 'sonner'\nimport { useSheetNavigation } from '@/registry/default/platform/platform-kit-nextjs/contexts/SheetNavigationContext'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport { Button } from '@/registry/default/components/ui/button'\nimport { AlertTriangle, Table, Wand } from 'lucide-react'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\n// Helper to generate a Zod schema from the table's column definitions\nfunction generateZodSchema(table: any): z.ZodObject {\n if (!table || !table.columns) {\n return z.object({})\n }\n\n const shape: Record = {}\n for (const column of table.columns) {\n // We can only edit updatable columns that are not generated\n if (!column.is_updatable || column.is_generated) continue\n\n let fieldSchema: ZodTypeAny\n const dataType = column.data_type.toLowerCase()\n\n if (dataType.includes('array')) {\n fieldSchema = z.array(z.any())\n } else if (dataType.includes('int') || dataType.includes('numeric')) {\n fieldSchema = z.number()\n } else if (dataType.includes('bool')) {\n fieldSchema = z.boolean()\n } else if (\n dataType === 'user-defined' &&\n column.enums &&\n Array.isArray(column.enums) &&\n column.enums.length > 0\n ) {\n // Handle enum types\n fieldSchema = z.enum(column.enums as [string, ...string[]])\n } else {\n // Default to string for text, varchar, timestamp, uuid, etc.\n fieldSchema = z.string()\n }\n\n if (column.is_nullable) {\n fieldSchema = fieldSchema.nullish()\n }\n\n shape[column.name] = fieldSchema\n }\n return z.object(shape)\n}\n\nconst getPrimaryKeys = (table: any): string[] => {\n if (!table || !table.primary_keys) {\n return []\n }\n return table.primary_keys.map((pk: any) => pk.name)\n}\n\nfunction EditRowView({\n projectRef,\n table,\n row,\n onSuccess,\n}: {\n projectRef: string\n table: any\n row: any\n onSuccess: () => void\n}) {\n const { mutate: runUpdateQuery, isPending: isUpdatePending } = useRunQuery()\n const formSchema = useMemo(() => generateZodSchema(table), [table])\n\n const columnInfo = useMemo(() => {\n if (!table || !table.columns) return {}\n\n const info: Record = {}\n for (const column of table.columns) {\n // Only include updatable columns that are not generated\n if (!column.is_updatable || column.is_generated) continue\n\n const dataType = column.data_type.toLowerCase()\n const displayType =\n dataType === 'user-defined' &&\n column.enums &&\n Array.isArray(column.enums) &&\n column.enums.length > 0\n ? 'enum'\n : dataType\n\n info[column.name] = {\n data_type: displayType,\n is_nullable: column.is_nullable,\n }\n }\n return info\n }, [table])\n\n const handleFormSubmit = useCallback(\n (formData: any) => {\n const pks = getPrimaryKeys(table)\n if (pks.length === 0) {\n toast.error('Cannot update row. This table does not have a primary key.')\n return\n }\n\n const setClauses = Object.entries(formData)\n .map(([key, value]) => {\n if (JSON.stringify(row[key]) === JSON.stringify(value)) return null\n\n // Find the column type to determine formatting\n const column = table.columns.find((col: any) => col.name === key)\n const dataType = column?.data_type?.toLowerCase() || ''\n const isNullable = column?.is_nullable || false\n\n let formattedValue\n\n // Handle empty/null values\n if (\n value === null ||\n value === undefined ||\n (typeof value === 'string' && value.trim() === '')\n ) {\n if (isNullable) {\n formattedValue = 'NULL'\n } else if (dataType.includes('array')) {\n // Non-nullable array, set to empty array\n const jsonObj = JSON.stringify({ [key]: [] })\n formattedValue = `(select ${key} from json_populate_record(null::public.\"${\n table.name\n }\", '${jsonObj.replace(/'/g, \"''\")}'))`\n } else {\n // Non-nullable text field, set to empty string\n formattedValue = \"''\"\n }\n } else if (Array.isArray(value) && value.length === 0) {\n // Explicitly empty array (different from null)\n const jsonObj = JSON.stringify({ [key]: [] })\n formattedValue = `(select ${key} from json_populate_record(null::public.\"${\n table.name\n }\", '${jsonObj.replace(/'/g, \"''\")}'))`\n } else if (dataType.includes('array')) {\n // Array type with actual values - use json_populate_record syntax\n const jsonObj = JSON.stringify({ [key]: value })\n formattedValue = `(select ${key} from json_populate_record(null::public.\"${\n table.name\n }\", '${jsonObj.replace(/'/g, \"''\")}'))`\n } else if (dataType === 'user-defined' && column?.enums) {\n // Handle enum values - treat as strings with proper escaping\n formattedValue = `'${String(value).replace(/'/g, \"''\")}'`\n } else if (typeof value === 'string') {\n formattedValue = `'${value.replace(/'/g, \"''\")}'`\n } else {\n formattedValue = value\n }\n\n return `\"${key}\" = ${formattedValue}`\n })\n .filter(Boolean)\n .join(', ')\n\n if (!setClauses) {\n toast.error('No changes to save')\n onSuccess()\n return\n }\n\n const whereClauses = pks\n .map((pk) => {\n const value = row[pk]\n const formattedValue =\n typeof value === 'string' ? `'${value.replace(/'/g, \"''\")}'` : value\n return `\"${pk}\" = ${formattedValue}`\n })\n .join(' AND ')\n\n const updateSql = `UPDATE public.\"${table.name}\" SET ${setClauses} WHERE ${whereClauses};`\n\n runUpdateQuery({ projectRef, query: updateSql, readOnly: false }, { onSuccess })\n },\n [projectRef, table, row, runUpdateQuery, onSuccess]\n )\n\n return (\n
\n

Editing row in {table.name}

\n \n
\n )\n}\n\nfunction TableRecordsView({ projectRef, table }: { projectRef: string; table: any }) {\n const { push, pop } = useSheetNavigation()\n const [refetchCounter, setRefetchCounter] = useState(0)\n\n const handleRowClick = useCallback(\n (row: any) => {\n push({\n title: `Editing row`,\n component: (\n {\n pop()\n setRefetchCounter((c) => c + 1)\n }}\n />\n ),\n })\n },\n [push, pop, projectRef, table]\n )\n\n return (\n \n )\n}\n\nexport function DatabaseManager({ projectRef }: { projectRef: string }) {\n const { push } = useSheetNavigation()\n const { data: tables, isLoading, isError } = useListTables(projectRef, ['public'])\n\n const handleTableClick = useCallback(\n (table: any) => {\n push({\n title: table.name,\n component: ,\n })\n },\n [push, projectRef]\n )\n\n const handleNaturalLanguageQueryClick = useCallback(() => {\n push({\n title: 'Talk to your database',\n component: (\n \n ),\n })\n }, [push, projectRef])\n\n return (\n
\n
\n
\n

Database

\n

\n View and manage the data stored in your app.\n

\n
\n \n \n Query your database\n \n
\n\n {isError && (\n \n \n Error loading tables\n There was a problem loading your database tables.\n \n )}\n\n {isLoading && (\n
\n \n \n \n \n
\n )}\n\n {tables && tables.length > 0 ? (\n
\n {tables.map((table: any) => (\n handleTableClick(table)}\n >\n \n

{table.name}

\n
\n {table.live_rows_estimate} rows\n
\n \n ))}\n \n ) : !isLoading && (!tables || tables.length === 0) ? (\n \n
\n No database tables\n Create tables to store and organize your data.\n \n ) : null}\n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/index.tsx", + "content": "'use client'\n\nimport { useState, ReactNode, useMemo } from 'react'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Dialog,\n DialogContent,\n DialogTitle,\n DialogTrigger,\n} from '@/registry/default/components/ui/dialog'\nimport {\n Drawer,\n DrawerContent,\n DrawerHeader,\n DrawerTitle,\n} from '@/registry/default/components/ui/drawer'\nimport { AuthManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/auth'\nimport { DatabaseManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/database'\nimport { StorageManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/storage'\nimport { LogsManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs'\nimport { SuggestionsManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions'\nimport { UsersManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/users'\nimport { SecretsManager } from '@/registry/default/platform/platform-kit-nextjs/components/supabase-manager/secrets'\nimport {\n SheetNavigationProvider,\n useSheetNavigation,\n} from '@/registry/default/platform/platform-kit-nextjs/contexts/SheetNavigationContext'\nimport {\n ChevronLeft,\n ChevronRight,\n Database,\n ExternalLink,\n HardDrive,\n KeyRound,\n Lightbulb,\n ScrollText,\n Shield,\n Users,\n} from 'lucide-react'\nimport {\n HoverCard,\n HoverCardTrigger,\n HoverCardContent,\n} from '@/registry/default/components/ui/hover-card'\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query'\nimport { LogoSupabase } from '@/registry/default/platform/platform-kit-nextjs/components/logo-supabase'\nimport Link from 'next/link'\n\nconst queryClient = new QueryClient()\n\nfunction DialogView({ projectRef, isMobile }: { projectRef: string; isMobile?: boolean }) {\n const { stack, push, popTo, reset } = useSheetNavigation()\n\n const handleTopLevelNavigation = (title: string, component: ReactNode) => {\n if (stack.length === 1 && stack[0].title === title) {\n return\n }\n reset()\n push({ title, component })\n }\n\n const currentView = stack[stack.length - 1]\n const activeManager = stack.length > 0 ? stack[0].title : null\n\n const navigationItems = useMemo(\n () => [\n {\n title: 'Database',\n icon: Database,\n component: ,\n },\n {\n title: 'Storage',\n icon: HardDrive,\n component: ,\n },\n {\n title: 'Auth',\n icon: Shield,\n component: ,\n },\n {\n title: 'Users',\n icon: Users,\n component: ,\n },\n {\n title: 'Secrets',\n icon: KeyRound,\n component: ,\n },\n {\n title: 'Logs',\n icon: ScrollText,\n component: ,\n },\n {\n title: 'Suggestions',\n icon: Lightbulb,\n component: ,\n },\n ],\n [projectRef]\n )\n\n if (isMobile) {\n return (\n
\n {/* Content Area */}\n
\n
\n {currentView ? (\n currentView.component\n ) : (\n
\n

\n Select a manager from the bottom navigation to get started.\n

\n
\n )}\n
\n
\n\n {/* Bottom Navigation Bar */}\n
\n
\n
\n {navigationItems.map((item) => {\n const Icon = item.icon\n return (\n handleTopLevelNavigation(item.title, item.component)}\n >\n \n \n {item.title === 'Auth' ? 'Auth' : item.title}\n \n \n )\n })}\n
\n
\n
\n
\n )\n }\n\n return (\n
\n {/* Sidebar */}\n
\n
\n

Manage your back-end

\n
\n
\n {navigationItems.map((item) => {\n const Icon = item.icon\n return (\n handleTopLevelNavigation(item.title, item.component)}\n >\n \n {item.title === 'Auth' ? 'Authentication' : item.title}\n \n )\n })}\n
\n
\n \n \n \n \n Open in Supabase\n \n \n \n \n

About Supabase

\n

\n Access powerful back-end tools for database, auth, storage, and logs directly in\n Supabase.\n

\n \n
\n
\n
\n\n {/* Content Area */}\n
\n {/* Header with breadcrumbs */}\n
\n {stack.length > 1 && (\n popTo(stack.length - 2)}\n >\n \n Back\n \n )}\n {/* Breadcrumbs */}\n
\n {stack.map((item: { title: string }, index: number) => (\n
\n {index > 0 && }\n {index === stack.length - 1 ? (\n {item.title}\n ) : (\n \n )}\n
\n ))}\n
\n
\n\n
\n {currentView ? (\n currentView.component\n ) : (\n
\n

\n Select a manager from the sidebar to get started.\n

\n
\n )}\n
\n
\n
\n )\n}\n\nexport default function SupabaseManagerDialog({\n projectRef,\n open,\n onOpenChange,\n isMobile,\n}: {\n projectRef: string\n open: boolean\n onOpenChange: (open: boolean) => void\n isMobile: boolean\n}) {\n const content = (\n {}}\n initialStack={[\n {\n title: 'Database',\n component: ,\n },\n ]}\n >\n \n \n )\n\n if (!isMobile) {\n return (\n \n \n \n Manage your back-end\n {content}\n \n \n \n )\n }\n\n return (\n \n \n \n \n Manage your back-end\n \n {content}\n \n \n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx", + "content": "'use client'\n\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '@/registry/default/components/ui/command'\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from '@/registry/default/components/ui/hover-card'\nimport { Popover, PopoverContent, PopoverTrigger } from '@/registry/default/components/ui/popover'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport {\n Table,\n TableBody,\n TableCell,\n TableHead,\n TableHeader,\n TableRow,\n} from '@/registry/default/components/ui/table'\nimport { useGetLogs } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-logs'\nimport { LogsTableName, genDefaultQuery } from '../../lib/logs'\nimport { cn } from '@/lib/utils'\nimport { Check, ChevronsUpDown, Logs, Terminal } from 'lucide-react'\nimport { useMemo, useState } from 'react'\n\n// Define log types with names and descriptions\nconst logTypes = [\n {\n value: LogsTableName.FN_EDGE,\n label: 'Function Edge Logs',\n description: 'Edge function execution logs with request/response data',\n },\n {\n value: LogsTableName.AUTH,\n label: 'Authentication Logs',\n description: 'User authentication events and security logs',\n },\n {\n value: LogsTableName.POSTGRES,\n label: 'PostgreSQL Logs',\n description: 'Database queries, errors, and performance metrics',\n },\n {\n value: LogsTableName.REALTIME,\n label: 'Realtime Logs',\n description: 'WebSocket connections and realtime subscriptions',\n },\n {\n value: LogsTableName.STORAGE,\n label: 'Storage Logs',\n description: 'File uploads, downloads, and storage operations',\n },\n {\n value: LogsTableName.PG_CRON,\n label: 'Cron Job Logs',\n description: 'Scheduled job executions and cron task logs',\n },\n {\n value: LogsTableName.EDGE,\n label: 'Edge Logs',\n description: 'HTTP requests and responses from Edge Functions',\n },\n\n {\n value: LogsTableName.FUNCTIONS,\n label: 'Function Logs',\n description: 'Serverless function execution logs and events',\n },\n {\n value: LogsTableName.POSTGREST,\n label: 'PostgREST Logs',\n description: 'API requests to your database through PostgREST',\n },\n {\n value: LogsTableName.SUPAVISOR,\n label: 'Supavisor Logs',\n description: 'Connection pooling and database proxy logs',\n },\n {\n value: LogsTableName.PGBOUNCER,\n label: 'PgBouncer Logs',\n description: 'Legacy connection pooling logs',\n },\n {\n value: LogsTableName.WAREHOUSE,\n label: 'Warehouse Logs',\n description: 'Data warehouse operations and analytics',\n },\n {\n value: LogsTableName.PG_UPGRADE,\n label: 'PostgreSQL Upgrade Logs',\n description: 'Database upgrade processes and migration logs',\n },\n]\n\nexport function LogsManager({ projectRef }: { projectRef: string }) {\n const [activeTab, setActiveTab] = useState(LogsTableName.FN_EDGE)\n const [open, setOpen] = useState(false)\n\n const sql = useMemo(() => genDefaultQuery(activeTab), [activeTab])\n\n const { data: logs, isLoading, error } = useGetLogs(projectRef, { sql })\n\n const selectedLogType = logTypes.find((type) => type.value === activeTab)\n\n return (\n <>\n
\n
\n

Logs

\n

\n Debug errors and track activity in your app\n

\n
\n \n \n \n {selectedLogType ? selectedLogType.label : 'Select log type...'}\n \n \n \n \n \n \n {\n e.stopPropagation()\n }}\n style={{ overscrollBehavior: 'contain' }}\n >\n No log type found.\n \n {logTypes.map((logType) => (\n {\n setActiveTab(currentValue as LogsTableName)\n setOpen(false)\n }}\n className=\"flex items-center gap-2 p-3\"\n >\n
\n
{logType.label}
\n
\n {logType.description}\n
\n
\n \n \n ))}\n
\n \n
\n
\n
\n
\n\n {isLoading && (\n
\n \n \n \n \n
\n )}\n {(error || (logs && logs.error)) && (\n
\n \n \n Error fetching logs\n \n {(error as any)?.message ||\n (typeof logs?.error === 'object' && logs.error?.message) ||\n 'An unexpected error occurred. Please try again.'}\n \n \n
\n )}\n {logs && logs.result && logs.result.length > 0 && (\n
\n
\n \n \n {Object.keys(logs.result[0] as object).map((key, idx, arr) => (\n \n {key.replace(/_/g, ' ').replace(/\\b\\w/g, (l) => l.toUpperCase())}\n \n ))}\n \n \n \n {(logs.result as any[]).map((log, index) => (\n \n {Object.keys(logs.result?.[0] ?? []).map((key, idx, arr) => {\n const value = log[key]\n const formattedValue = (() => {\n if (key === 'timestamp' && typeof value === 'number') {\n return new Date(value / 1000).toLocaleString()\n }\n if (value === null) {\n return 'NULL'\n }\n return typeof value === 'object'\n ? JSON.stringify(value, null, 2)\n : String(value)\n })()\n\n return (\n \n \n \n
\n {formattedValue}\n
\n
\n \n
\n                              {formattedValue}\n                            
\n
\n
\n \n )\n })}\n
\n ))}\n
\n
\n
\n )}\n {logs && logs.result && logs.result.length === 0 && (\n
\n \n \n No logs found\n \n Logs will appear here when your application generates activity.\n \n \n
\n )}\n \n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/secrets.tsx", + "content": "'use client'\n\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Form,\n FormControl,\n FormField,\n FormItem,\n FormLabel,\n FormMessage,\n} from '@/registry/default/components/ui/form'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport {\n useCreateSecrets,\n useDeleteSecrets,\n useGetSecrets,\n} from '@/registry/default/platform/platform-kit-nextjs/hooks/use-secrets'\nimport { secretsSchema } from '../../lib/schemas/secrets'\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport { AlertTriangle, Minus, PlusIcon, Key } from 'lucide-react'\nimport { useFieldArray, useForm } from 'react-hook-form'\nimport { z } from 'zod'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\nexport function SecretsManager({ projectRef }: { projectRef: string }) {\n const { data: secrets, isLoading, error } = useGetSecrets(projectRef)\n const { mutate: createSecrets, isPending: isCreating } = useCreateSecrets()\n const { mutate: deleteSecrets, isPending: isDeleting } = useDeleteSecrets()\n const form = useForm>({\n resolver: zodResolver(secretsSchema),\n defaultValues: {\n secrets: [{ name: '', value: '' }],\n },\n })\n\n const { fields, append, remove } = useFieldArray({\n control: form.control,\n name: 'secrets',\n })\n\n const handleCreateSecrets = (formData: z.infer) => {\n createSecrets(\n {\n projectRef,\n secrets: formData.secrets,\n },\n {\n onSuccess: () => {\n form.reset({ secrets: [{ name: '', value: '' }] })\n },\n }\n )\n }\n\n const handleDeleteSecret = (secretName: string) => {\n if (window.confirm(`Are you sure you want to delete the secret \"${secretName}\"?`)) {\n deleteSecrets({\n projectRef,\n secretNames: [secretName],\n })\n }\n }\n\n if (isLoading) {\n return (\n
\n \n \n \n
\n )\n }\n\n if (error) {\n return (\n
\n \n \n Error loading secrets\n \n There was a problem loading your secrets configuration.\n \n \n
\n )\n }\n\n return (\n
\n
\n

Add New Secret

\n

\n Add sensitive information like API keys that your app needs to work securely.\n

\n
\n \n {fields.map((field, index) => (\n
\n (\n \n {index === 0 && Name}\n \n \n \n \n \n )}\n />\n (\n \n {index === 0 && Value}\n \n \n \n \n \n )}\n />\n
\n {index === 0 && Remove}\n remove(index)}\n disabled={fields.length <= 1}\n >\n \n \n
\n
\n ))}\n
\n append({ name: '', value: '' })}\n >\n \n Add Secret\n \n
\n\n \n
\n \n
\n\n
\n

Existing secrets

\n {secrets && secrets.length > 0 ? (\n secrets.map((secret) => (\n \n
\n

{secret.name}

\n {secret.updated_at && (\n

\n Last updated: {new Date(secret.updated_at).toLocaleString()}\n

\n )}\n
\n handleDeleteSecret(secret.name)}\n disabled={isDeleting}\n >\n Delete\n \n
\n ))\n ) : (\n \n \n No secrets found\n No secrets found for this project.\n \n )}\n
\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/storage.tsx", + "content": "'use client'\n\nimport { useGetBuckets } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-storage'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport { Badge } from '@/registry/default/components/ui/badge'\nimport { Button } from '@/registry/default/components/ui/button'\nimport { AlertTriangle, Folder } from 'lucide-react'\nimport { Tooltip, TooltipContent, TooltipTrigger } from '@/registry/default/components/ui/tooltip'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\nexport function StorageManager({ projectRef }: { projectRef: string }) {\n const { data: buckets, isLoading, isError } = useGetBuckets(projectRef)\n\n return (\n
\n

Storage

\n

\n View and manage the files stored in your app.\n

\n\n {isLoading && (\n
\n \n \n \n \n
\n )}\n {isError && (\n \n \n Error loading buckets\n There was a problem loading your storage buckets.\n \n )}\n\n {buckets && buckets.length > 0 ? (\n
\n {buckets.map((bucket: any) => (\n \n \n \n \n
\n

{bucket.name}

\n\n

\n Updated {new Date(bucket.updated_at).toLocaleDateString()}\n

\n
\n \n {bucket.public ? 'Public' : 'Private'}\n \n \n
\n \n

Viewing files is coming soon

\n
\n
\n ))}\n
\n ) : buckets && buckets.length === 0 ? (\n \n \n No storage buckets\n \n A bucket is a container used to store and protect files in your app.\n \n \n ) : null}\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx", + "content": "'use client'\n\nimport { useGetSuggestions } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-suggestions'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\nimport { Terminal } from 'lucide-react'\nimport { Badge } from '@/registry/default/components/ui/badge'\nimport { useMemo } from 'react'\n\nimport ReactMarkdown from 'react-markdown'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\n\nexport function SuggestionsManager({ projectRef }: { projectRef: string }) {\n const { data: suggestions, isLoading, error } = useGetSuggestions(projectRef)\n\n const sortedSuggestions = useMemo(() => {\n if (!suggestions) return []\n const levelOrder = { ERROR: 1, WARN: 2, INFO: 3 }\n return [...suggestions].sort((a: any, b: any) => {\n const levelA = levelOrder[a.level as keyof typeof levelOrder] || 99\n const levelB = levelOrder[b.level as keyof typeof levelOrder] || 99\n return levelA - levelB\n })\n }, [suggestions])\n\n const getBadgeVariant = (level: 'ERROR' | 'WARN' | 'INFO') => {\n switch (level) {\n case 'ERROR':\n return 'destructive'\n case 'WARN':\n return 'secondary'\n default:\n return 'outline'\n }\n }\n\n return (\n
\n

Suggestions

\n

\n Improve your project's security and performance.\n

\n {isLoading && (\n
\n \n \n \n \n
\n )}\n {error && (\n \n \n Error fetching suggestions\n \n {(error as any)?.message || 'An unexpected error occurred. Please try again.'}\n \n \n )}\n {suggestions && (\n
\n {sortedSuggestions.length > 0 ? (\n
\n {sortedSuggestions.map((suggestion: any) => (\n \n
\n
\n

{suggestion.title}

\n
\n \n {suggestion.level}\n \n {suggestion.type && (\n \n {suggestion.type.charAt(0).toUpperCase() + suggestion.type.slice(1)}\n \n )}\n
\n
\n
\n \n {children}\n \n ) : (\n
\n                                {children}\n                              
\n )\n },\n }}\n >\n {suggestion.detail}\n \n
\n
\n
\n ))}\n
\n ) : (\n \n \n No suggestions found\n \n Your project looks good! No suggestions at this time.\n \n \n )}\n
\n )}\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/users.tsx", + "content": "'use client'\n\nimport { SqlEditor } from '@/registry/default/platform/platform-kit-nextjs/components/sql-editor'\nimport { useState } from 'react'\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@/registry/default/components/ui/select'\nimport { UsersGrowthChart } from '@/registry/default/platform/platform-kit-nextjs/components/users-growth-chart'\n\nexport function UsersManager({ projectRef }: { projectRef: string }) {\n const [timeRange, setTimeRange] = useState(90)\n const defaultSql = `SELECT * FROM auth.users ORDER BY created_at DESC LIMIT 100;`\n\n return (\n
\n
\n
\n

Users

\n

\n View user signups over time\n

\n
\n \n
\n
\n \n
\n \n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/users-growth-chart.tsx", + "content": "'use client'\n\nimport * as React from 'react'\nimport { Bar, BarChart, CartesianGrid, XAxis, YAxis } from 'recharts'\nimport {\n ChartConfig,\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n} from '@/registry/default/components/ui/chart'\nimport { useGetUserCountsByDay } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-user-counts'\nimport { Skeleton } from '@/registry/default/components/ui/skeleton'\nimport { AlertTriangle } from 'lucide-react'\nimport { Alert, AlertDescription, AlertTitle } from '@/registry/default/components/ui/alert'\n\nconst chartConfig = {\n users: {\n label: 'New Users',\n color: 'var(--chart-1)',\n },\n} satisfies ChartConfig\n\nexport function UsersGrowthChart({\n projectRef,\n timeRange,\n}: {\n projectRef: string\n timeRange: number\n}) {\n const { data: chartData, isLoading, isError } = useGetUserCountsByDay(projectRef, timeRange)\n\n return (\n
\n {isLoading && }\n {isError && (\n \n \n Error loading chart data\n There was a problem loading your chart data.\n \n )}\n {chartData && !isLoading && (\n \n \n \n {\n const date = new Date(value)\n return date.toLocaleDateString('en-US', {\n month: 'short',\n day: 'numeric',\n })\n }}\n />\n \n {\n return new Date(value).toLocaleDateString('en-US', {\n month: 'short',\n day: 'numeric',\n year: 'numeric',\n })\n }}\n indicator=\"dot\"\n />\n }\n />\n \n \n \n )}\n
\n )\n}\n", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-auth.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport type { components } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api-schema'\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'\nimport { type AxiosError } from 'axios'\nimport { toast } from 'sonner'\n\nconst getAuthConfig = async (projectRef: string) => {\n const { data, error } = await client.GET('/v1/projects/{ref}/config/auth', {\n params: {\n path: { ref: projectRef },\n },\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useGetAuthConfig = (projectRef: string) => {\n return useQuery({\n queryKey: ['auth-config', projectRef],\n queryFn: () => getAuthConfig(projectRef),\n enabled: !!projectRef,\n retry: false,\n })\n}\n\n// UPDATE Auth Config\nconst updateAuthConfig = async ({\n projectRef,\n payload,\n}: {\n projectRef: string\n payload: components['schemas']['UpdateAuthConfigBody']\n}) => {\n const { data, error } = await client.PATCH('/v1/projects/{ref}/config/auth', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n body: payload,\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useUpdateAuthConfig = () => {\n const queryClient = useQueryClient()\n return useMutation({\n mutationFn: updateAuthConfig,\n onSuccess: (data, variables) => {\n toast.success(`Auth config updated.`)\n queryClient.invalidateQueries({\n queryKey: ['auth-config', variables.projectRef],\n })\n },\n onError: (error: AxiosError<{ message: string }>) => {\n toast.error(error.response?.data?.message || 'There was a problem with your request.')\n },\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-logs.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport { useQuery } from '@tanstack/react-query'\n\n// GET Logs\nconst getLogs = async ({\n projectRef,\n iso_timestamp_start,\n iso_timestamp_end,\n sql,\n}: {\n projectRef: string\n iso_timestamp_start?: string\n iso_timestamp_end?: string\n sql?: string\n}) => {\n const { data, error } = await client.GET('/v1/projects/{ref}/analytics/endpoints/logs.all', {\n params: {\n path: {\n ref: projectRef,\n },\n query: {\n iso_timestamp_start,\n iso_timestamp_end,\n sql,\n },\n },\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useGetLogs = (\n projectRef: string,\n params: {\n iso_timestamp_start?: string\n iso_timestamp_end?: string\n sql?: string\n } = {}\n) => {\n const queryKey = ['logs', projectRef, params.sql]\n\n return useQuery({\n queryKey: queryKey,\n queryFn: () => {\n const now = new Date()\n const oneHourAgo = new Date(now.getTime() - 60 * 60 * 1000)\n\n const queryParams = {\n sql: params.sql,\n iso_timestamp_start: params.iso_timestamp_start ?? oneHourAgo.toISOString(),\n iso_timestamp_end: params.iso_timestamp_end ?? now.toISOString(),\n }\n return getLogs({ projectRef, ...queryParams })\n },\n enabled: !!projectRef,\n retry: false,\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-run-query.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport { useMutation } from '@tanstack/react-query'\nimport { type AxiosError } from 'axios'\nimport { toast } from 'sonner'\n\n// RUN SQL Query\nexport const runQuery = async ({\n projectRef,\n query,\n readOnly,\n}: {\n projectRef: string\n query: string\n readOnly?: boolean\n}) => {\n const { data, error } = await client.POST('/v1/projects/{ref}/database/query', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n body: {\n query,\n read_only: readOnly,\n },\n })\n\n if (error) {\n throw error\n }\n\n return data as any\n}\n\nexport const useRunQuery = () => {\n return useMutation({\n mutationFn: runQuery,\n onError: (error: AxiosError<{ message: string }>) => {\n toast.error(error.response?.data?.message || 'There was a problem with your query.')\n },\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-secrets.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport type { components } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api-schema'\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'\nimport { type AxiosError } from 'axios'\nimport { toast } from 'sonner'\n\n// GET Secrets\nconst getSecrets = async (projectRef: string) => {\n const { data, error } = await client.GET('/v1/projects/{ref}/secrets', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useGetSecrets = (projectRef: string) => {\n return useQuery({\n queryKey: ['secrets', projectRef],\n queryFn: () => getSecrets(projectRef),\n enabled: !!projectRef,\n retry: false,\n })\n}\n\n// CREATE Secrets\nconst createSecrets = async ({\n projectRef,\n secrets,\n}: {\n projectRef: string\n secrets: components['schemas']['CreateSecretBody']\n}) => {\n const { data, error } = await client.POST('/v1/projects/{ref}/secrets', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n body: secrets,\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useCreateSecrets = () => {\n const queryClient = useQueryClient()\n return useMutation({\n mutationFn: createSecrets,\n onSuccess: (data, variables) => {\n toast.success(`Secrets created successfully.`)\n queryClient.refetchQueries({\n queryKey: ['secrets', variables.projectRef],\n })\n },\n onError: (error: AxiosError<{ message: string }>) => {\n toast.error(error.response?.data?.message || 'There was a problem with your request.')\n },\n })\n}\n\n// DELETE Secrets\nconst deleteSecrets = async ({\n projectRef,\n secretNames,\n}: {\n projectRef: string\n secretNames: string[]\n}) => {\n const { data, error } = await client.DELETE('/v1/projects/{ref}/secrets', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n body: secretNames,\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useDeleteSecrets = () => {\n const queryClient = useQueryClient()\n return useMutation({\n mutationFn: deleteSecrets,\n onSuccess: (data, variables) => {\n toast.success(`Secrets deleted successfully.`)\n queryClient.invalidateQueries({\n queryKey: ['secrets', variables.projectRef],\n })\n },\n onError: (error: AxiosError<{ message: string }>) => {\n toast.error(error.response?.data?.message || 'There was a problem with your request.')\n },\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-storage.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport { useQuery } from '@tanstack/react-query'\n\n// GET Buckets\nconst getBuckets = async (projectRef: string) => {\n const { data, error } = await client.GET('/v1/projects/{ref}/storage/buckets', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n })\n if (error) {\n throw error\n }\n\n return data\n}\n\nexport const useGetBuckets = (projectRef: string) => {\n return useQuery({\n queryKey: ['buckets', projectRef],\n queryFn: () => getBuckets(projectRef),\n enabled: !!projectRef,\n retry: false,\n })\n}\n\n// LIST Objects\nconst listObjects = async ({ projectRef, bucketId }: { projectRef: string; bucketId: string }) => {\n const { data, error } = await client.POST(\n // TODO\n // @ts-expect-error this endpoint is not yet implemented\n '/v1/projects/{ref}/storage/buckets/{bucketId}/objects/list',\n {\n params: {\n path: {\n ref: projectRef,\n bucketId,\n },\n },\n body: {\n path: '',\n options: { limit: 100, offset: 0 },\n },\n }\n )\n if (error) {\n throw error\n }\n\n return data as any\n}\n\nexport const useListObjects = (projectRef: string, bucketId: string) => {\n return useQuery({\n queryKey: ['objects', projectRef, bucketId],\n queryFn: () => listObjects({ projectRef, bucketId }),\n enabled: !!projectRef && !!bucketId,\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-suggestions.ts", + "content": "'use client'\n\nimport { client } from '@/registry/default/platform/platform-kit-nextjs/lib/management-api'\nimport { useQuery } from '@tanstack/react-query'\n\n// GET Suggestions\nconst getSuggestions = async (projectRef: string) => {\n const [\n { data: performanceData, error: performanceError },\n { data: securityData, error: securityError },\n ] = await Promise.all([\n client.GET('/v1/projects/{ref}/advisors/performance', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n }),\n client.GET('/v1/projects/{ref}/advisors/security', {\n params: {\n path: {\n ref: projectRef,\n },\n },\n }),\n ])\n if (performanceError) {\n throw performanceError\n }\n if (securityError) {\n throw securityError\n }\n\n // Add type to each suggestion\n const performanceLints = (performanceData?.lints || []).map((lint) => ({\n ...lint,\n type: 'performance' as const,\n }))\n const securityLints = (securityData?.lints || []).map((lint) => ({\n ...lint,\n type: 'security' as const,\n }))\n return [...performanceLints, ...securityLints]\n}\n\nexport const useGetSuggestions = (projectRef: string) => {\n return useQuery({\n queryKey: ['suggestions', projectRef],\n queryFn: () => getSuggestions(projectRef),\n enabled: !!projectRef,\n retry: false,\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-tables.ts", + "content": "'use client'\n\nimport { listTablesSql } from '@/registry/default/platform/platform-kit-nextjs/lib/pg-meta'\nimport { runQuery } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-run-query'\nimport { useQuery } from '@tanstack/react-query'\n\n// LIST Tables\nconst listTables = ({ projectRef, schemas }: { projectRef: string; schemas?: string[] }) => {\n const sql = listTablesSql(schemas)\n return runQuery({\n projectRef,\n query: sql,\n readOnly: true,\n })\n}\n\nexport const useListTables = (projectRef: string, schemas?: string[]) => {\n return useQuery({\n queryKey: ['tables', projectRef, schemas],\n queryFn: () => listTables({ projectRef, schemas }),\n enabled: !!projectRef,\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-user-counts.ts", + "content": "'use client'\n\nimport { useQuery } from '@tanstack/react-query'\nimport { runQuery } from '@/registry/default/platform/platform-kit-nextjs/hooks/use-run-query'\n\n// GET User Counts by day\nconst getUserCountsByDay = ({ projectRef, days }: { projectRef: string; days: number }) => {\n const sql = `\n WITH days_series AS (\n SELECT generate_series(\n date_trunc('day', now() - interval '${Number(days) - 1} days'),\n date_trunc('day', now()),\n '1 day'::interval\n )::date AS date\n )\n SELECT\n d.date,\n COALESCE(u.users, 0)::int as users\n FROM\n days_series d\n LEFT JOIN (\n SELECT\n date_trunc('day', created_at AT TIME ZONE 'UTC')::date as date,\n count(id) as users\n FROM\n auth.users\n GROUP BY 1\n ) u ON d.date = u.date\n ORDER BY\n d.date ASC;\n `\n\n return runQuery({\n projectRef,\n query: sql,\n readOnly: true,\n })\n}\n\nexport const useGetUserCountsByDay = (projectRef: string, days: number) => {\n return useQuery({\n queryKey: ['user-counts', projectRef, days],\n queryFn: () => getUserCountsByDay({ projectRef, days }),\n enabled: !!projectRef,\n retry: false,\n })\n}\n", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/logs.ts", + "content": "export enum LogsTableName {\n FN_EDGE = 'function_edge_logs',\n AUTH = 'auth_logs',\n POSTGRES = 'postgres_logs',\n REALTIME = 'realtime_logs',\n STORAGE = 'storage_logs',\n PG_CRON = 'pg_cron_logs',\n EDGE = 'edge_logs',\n FUNCTIONS = 'function_logs',\n POSTGREST = 'postgrest_logs',\n SUPAVISOR = 'supavisor_logs',\n PGBOUNCER = 'pgbouncer_logs',\n WAREHOUSE = 'warehouse_logs',\n PG_UPGRADE = 'pg_upgrade_logs',\n}\n\nconst genCrossJoinUnnests = (table: LogsTableName) => {\n switch (table) {\n case LogsTableName.EDGE:\n return `cross join unnest(metadata) as m\n cross join unnest(m.request) as request\n cross join unnest(m.response) as response`\n case LogsTableName.POSTGRES:\n return `cross join unnest(metadata) as m\n cross join unnest(m.parsed) as parsed`\n case LogsTableName.FUNCTIONS:\n return `cross join unnest(metadata) as metadata`\n case LogsTableName.AUTH:\n return `cross join unnest(metadata) as metadata`\n case LogsTableName.FN_EDGE:\n return `cross join unnest(metadata) as m\n cross join unnest(m.response) as response\n cross join unnest(m.request) as request`\n case LogsTableName.SUPAVISOR:\n return `cross join unnest(metadata) as m`\n default:\n return ''\n }\n}\n\nexport const genDefaultQuery = (table: LogsTableName, limit: number = 100) => {\n const joins = genCrossJoinUnnests(table)\n const orderBy = 'order by timestamp desc'\n\n switch (table) {\n case LogsTableName.EDGE:\n return `select id, ${table}.timestamp, event_message, request.method, request.path, request.search, response.status_code\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.POSTGRES:\n return `select ${table}.timestamp, id, event_message, parsed.error_severity, parsed.detail, parsed.hint\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.FUNCTIONS:\n return `select id, ${table}.timestamp, event_message, metadata.event_type, metadata.function_id, metadata.level\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.AUTH:\n return `select id, ${table}.timestamp, event_message, metadata.level, metadata.status, metadata.path, metadata.msg as msg, metadata.error\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.FN_EDGE:\n return `select id, ${table}.timestamp, event_message, response.status_code, request.method, m.function_id, m.execution_time_ms, m.deployment_id, m.version\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.SUPAVISOR:\n return `select id, ${table}.timestamp, event_message\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.PG_UPGRADE:\n return `select id, ${table}.timestamp, event_message\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n\n case LogsTableName.PG_CRON:\n return `select postgres_logs.timestamp, id, event_message, parsed.error_severity, parsed.query\nfrom postgres_logs\ncross join unnest(metadata) as m\ncross join unnest(m.parsed) as parsed\nwhere (parsed.application_name = 'pg_cron' OR event_message LIKE '%cron job%')\n${orderBy}\nlimit ${limit}`\n\n default:\n return `select id, ${table}.timestamp, event_message\nfrom ${table}\n${joins}\n${orderBy}\nlimit ${limit}`\n }\n}\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts", + "content": "/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n '/v1/branches/{branch_id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Get database branch config\n * @description Fetches configurations of the specified database branch\n */\n get: operations['v1-get-a-branch-config']\n put?: never\n post?: never\n /**\n * Delete a database branch\n * @description Deletes the specified database branch\n */\n delete: operations['v1-delete-a-branch']\n options?: never\n head?: never\n /**\n * Update database branch config\n * @description Updates the configuration of the specified database branch\n */\n patch: operations['v1-update-a-branch-config']\n trace?: never\n }\n '/v1/branches/{branch_id}/push': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /**\n * Pushes a database branch\n * @description Pushes the specified database branch\n */\n post: operations['v1-push-a-branch']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/branches/{branch_id}/merge': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /**\n * Merges a database branch\n * @description Merges the specified database branch\n */\n post: operations['v1-merge-a-branch']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/branches/{branch_id}/reset': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /**\n * Resets a database branch\n * @description Resets the specified database branch\n */\n post: operations['v1-reset-a-branch']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/branches/{branch_id}/diff': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * [Beta] Diffs a database branch\n * @description Diffs the specified database branch\n */\n get: operations['v1-diff-a-branch']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * List all projects\n * @description Returns a list of all projects you've previously created.\n */\n get: operations['v1-list-all-projects']\n put?: never\n /** Create a project */\n post: operations['v1-create-a-project']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/organizations': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * List all organizations\n * @description Returns a list of organizations that you currently belong to.\n */\n get: operations['v1-list-all-organizations']\n put?: never\n /** Create an organization */\n post: operations['v1-create-an-organization']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/oauth/authorize': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Authorize user through oauth */\n get: operations['v1-authorize-user']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/oauth/token': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Exchange auth code for user's access and refresh token */\n post: operations['v1-exchange-oauth-token']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/oauth/revoke': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Revoke oauth app authorization and it's corresponding tokens */\n post: operations['v1-revoke-token']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/oauth/authorize/project-claim': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Authorize user through oauth and claim a project\n * @description Initiates the OAuth authorization flow for the specified provider. After successful authentication, the user can claim ownership of the specified project.\n */\n get: operations['v1-oauth-authorize-project-claim']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/snippets': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists SQL snippets for the logged in user */\n get: operations['v1-list-all-snippets']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/snippets/{id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets a specific SQL snippet */\n get: operations['v1-get-a-snippet']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/api-keys': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Get project api keys */\n get: operations['v1-get-project-api-keys']\n put?: never\n /** Creates a new API key for the project */\n post: operations['v1-create-project-api-key']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/api-keys/legacy': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */\n get: operations['v1-get-project-legacy-api-keys']\n /** Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found. */\n put: operations['v1-update-project-legacy-api-keys']\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/api-keys/{id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Get API key */\n get: operations['v1-get-project-api-key']\n put?: never\n post?: never\n /** Deletes an API key for the project */\n delete: operations['v1-delete-project-api-key']\n options?: never\n head?: never\n /** Updates an API key for the project */\n patch: operations['v1-update-project-api-key']\n trace?: never\n }\n '/v1/projects/{ref}/branches': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * List all database branches\n * @description Returns all database branches of the specified project.\n */\n get: operations['v1-list-all-branches']\n put?: never\n /**\n * Create a database branch\n * @description Creates a database branch from the specified project.\n */\n post: operations['v1-create-a-branch']\n /**\n * Disables preview branching\n * @description Disables preview branching for the specified project\n */\n delete: operations['v1-disable-preview-branching']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/custom-hostname': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Gets project's custom hostname config */\n get: operations['v1-get-hostname-config']\n put?: never\n post?: never\n /** [Beta] Deletes a project's custom hostname configuration */\n delete: operations['v1-Delete hostname config']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/custom-hostname/initialize': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Updates project's custom hostname configuration */\n post: operations['v1-update-hostname-config']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/custom-hostname/reverify': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */\n post: operations['v1-verify-dns-config']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/custom-hostname/activate': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Activates a custom hostname for a project. */\n post: operations['v1-activate-custom-hostname']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/network-bans/retrieve': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Gets project's network bans */\n post: operations['v1-list-all-network-bans']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/network-bans/retrieve/enriched': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Gets project's network bans with additional information about which databases they affect */\n post: operations['v1-list-all-network-bans-enriched']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/network-bans': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** [Beta] Remove network bans. */\n delete: operations['v1-delete-network-bans']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/network-restrictions': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Gets project's network restrictions */\n get: operations['v1-get-network-restrictions']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/network-restrictions/apply': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Updates project's network restrictions */\n post: operations['v1-update-network-restrictions']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/pgsodium': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Gets project's pgsodium config */\n get: operations['v1-get-pgsodium-config']\n /** [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible. */\n put: operations['v1-update-pgsodium-config']\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/postgrest': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's postgrest config */\n get: operations['v1-get-postgrest-service-config']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n /** Updates project's postgrest config */\n patch: operations['v1-update-postgrest-service-config']\n trace?: never\n }\n '/v1/projects/{ref}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets a specific project that belongs to the authenticated user */\n get: operations['v1-get-project']\n put?: never\n post?: never\n /** Deletes the given project */\n delete: operations['v1-delete-a-project']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/secrets': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * List all secrets\n * @description Returns all secrets you've previously added to the specified project.\n */\n get: operations['v1-list-all-secrets']\n put?: never\n /**\n * Bulk create secrets\n * @description Creates multiple secrets and adds them to the specified project.\n */\n post: operations['v1-bulk-create-secrets']\n /**\n * Bulk delete secrets\n * @description Deletes all secrets with the given names from the specified project\n */\n delete: operations['v1-bulk-delete-secrets']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/ssl-enforcement': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Get project's SSL enforcement configuration. */\n get: operations['v1-get-ssl-enforcement-config']\n /** [Beta] Update project's SSL enforcement configuration. */\n put: operations['v1-update-ssl-enforcement-config']\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/types/typescript': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Generate TypeScript types\n * @description Returns the TypeScript types of your schema for use with supabase-js.\n */\n get: operations['v1-generate-typescript-types']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/vanity-subdomain': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Gets current vanity subdomain config */\n get: operations['v1-get-vanity-subdomain-config']\n put?: never\n post?: never\n /** [Beta] Deletes a project's vanity subdomain configuration */\n delete: operations['v1-deactivate-vanity-subdomain-config']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/vanity-subdomain/check-availability': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Checks vanity subdomain availability */\n post: operations['v1-check-vanity-subdomain-availability']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/vanity-subdomain/activate': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Activates a vanity subdomain for a project. */\n post: operations['v1-activate-vanity-subdomain-config']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/upgrade': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Upgrades the project's Postgres version */\n post: operations['v1-upgrade-postgres-version']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/upgrade/eligibility': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Returns the project's eligibility for upgrades */\n get: operations['v1-get-postgres-upgrade-eligibility']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/upgrade/status': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Beta] Gets the latest status of the project's upgrade */\n get: operations['v1-get-postgres-upgrade-status']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/readonly': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Returns project's readonly mode status */\n get: operations['v1-get-readonly-mode-status']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/readonly/temporary-disable': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** Disables project's readonly mode for the next 15 minutes */\n post: operations['v1-disable-readonly-mode-temporarily']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/read-replicas/setup': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Set up a read replica */\n post: operations['v1-setup-a-read-replica']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/read-replicas/remove': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Remove a read replica */\n post: operations['v1-remove-a-read-replica']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/health': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's service health status */\n get: operations['v1-get-services-health']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/signing-keys': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Alpha] List all signing keys for the project */\n get: operations['v1-get-project-signing-keys']\n put?: never\n /** [Alpha] Create a new signing key for the project in standby status */\n post: operations['v1-create-project-signing-key']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/signing-keys/{id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** [Alpha] Get information about a signing key */\n get: operations['v1-get-project-signing-key']\n put?: never\n post?: never\n /** [Alpha] Remove a signing key from a project, where the status is previously_used */\n delete: operations['v1-remove-project-signing-key']\n options?: never\n head?: never\n /** [Alpha] Update a signing key, mainly its status */\n patch: operations['v1-update-project-signing-key']\n trace?: never\n }\n '/v1/projects/{ref}/config/storage': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's storage config */\n get: operations['v1-get-storage-config']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n /** Updates project's storage config */\n patch: operations['v1-update-storage-config']\n trace?: never\n }\n '/v1/projects/{ref}/config/database/postgres': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's Postgres config */\n get: operations['v1-get-postgres-config']\n /** Updates project's Postgres config */\n put: operations['v1-update-postgres-config']\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/database/pgbouncer': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Get project's pgbouncer config */\n get: operations['v1-get-project-pgbouncer-config']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/database/pooler': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's supavisor config */\n get: operations['v1-get-pooler-config']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n /** Updates project's supavisor config */\n patch: operations['v1-update-pooler-config']\n trace?: never\n }\n '/v1/projects/{ref}/config/auth': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's auth config */\n get: operations['v1-get-auth-service-config']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n /** Updates a project's auth config */\n patch: operations['v1-update-auth-service-config']\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/third-party-auth': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists all third-party auth integrations */\n get: operations['v1-list-project-tpa-integrations']\n put?: never\n /** Creates a new third-party auth integration */\n post: operations['v1-create-project-tpa-integration']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Get a third-party integration */\n get: operations['v1-get-project-tpa-integration']\n put?: never\n post?: never\n /** Removes a third-party auth integration */\n delete: operations['v1-delete-project-tpa-integration']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/pause': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** Pauses the given project */\n post: operations['v1-pause-a-project']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/restore': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists available restore versions for the given project */\n get: operations['v1-list-available-restore-versions']\n put?: never\n /** Restores the given project */\n post: operations['v1-restore-a-project']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/restore/cancel': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** Cancels the given project restoration */\n post: operations['v1-cancel-a-project-restoration']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/billing/addons': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists project addons */\n get: operations['v1-list-project-addons']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n /** Applies project addon */\n patch: operations['v1-apply-project-addon']\n trace?: never\n }\n '/v1/projects/{ref}/billing/addons/{addon_variant}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** Removes project addon */\n delete: operations['v1-remove-project-addon']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/claim-token': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project claim token */\n get: operations['v1-get-project-claim-token']\n put?: never\n /** Creates project claim token */\n post: operations['v1-create-project-claim-token']\n /** Revokes project claim token */\n delete: operations['v1-delete-project-claim-token']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/advisors/performance': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Gets project performance advisors.\n * @deprecated\n * @description This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.\n */\n get: operations['v1-get-performance-advisors']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/advisors/security': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Gets project security advisors.\n * @deprecated\n * @description This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.\n */\n get: operations['v1-get-security-advisors']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/analytics/endpoints/logs.all': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Gets project's logs\n * @description Executes a SQL query on the project's logs.\n *\n * Either the 'iso_timestamp_start' and 'iso_timestamp_end' parameters must be provided.\n * If both are not provided, only the last 1 minute of logs will be queried.\n * The timestamp range must be no more than 24 hours and is rounded to the nearest minute. If the range is more than 24 hours, a validation error will be thrown.\n *\n */\n get: operations['v1-get-project-logs']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/analytics/endpoints/usage.api-counts': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's usage api counts */\n get: operations['v1-get-project-usage-api-count']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/analytics/endpoints/usage.api-requests-count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project's usage api requests count */\n get: operations['v1-get-project-usage-request-count']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/migrations': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * [Beta] List applied migration versions\n * @description Only available to selected partner OAuth apps\n */\n get: operations['v1-list-migration-history']\n /**\n * [Beta] Upsert a database migration without applying\n * @description Only available to selected partner OAuth apps\n */\n put: operations['v1-upsert-a-migration']\n /**\n * [Beta] Apply a database migration\n * @description Only available to selected partner OAuth apps\n */\n post: operations['v1-apply-a-migration']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/query': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Run sql query */\n post: operations['v1-run-a-query']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/webhooks/enable': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** [Beta] Enables Database Webhooks on the project */\n post: operations['v1-enable-database-webhook']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/context': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Gets database metadata for the given project.\n * @deprecated\n * @description This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.\n */\n get: operations['v1-get-database-metadata']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/functions': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * List all functions\n * @description Returns all functions you've previously added to the specified project.\n */\n get: operations['v1-list-all-functions']\n /**\n * Bulk update functions\n * @description Bulk update functions. It will create a new function or replace existing. The operation is idempotent. NOTE: You will need to manually bump the version.\n */\n put: operations['v1-bulk-update-functions']\n /**\n * Create a function\n * @deprecated\n * @description This endpoint is deprecated - use the deploy endpoint. Creates a function and adds it to the specified project.\n */\n post: operations['v1-create-a-function']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/functions/deploy': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /**\n * Deploy a function\n * @description A new endpoint to deploy functions. It will create if function does not exist.\n */\n post: operations['v1-deploy-a-function']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/functions/{function_slug}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Retrieve a function\n * @description Retrieves a function with the specified slug and project.\n */\n get: operations['v1-get-a-function']\n put?: never\n post?: never\n /**\n * Delete a function\n * @description Deletes a function with the specified slug from the specified project.\n */\n delete: operations['v1-delete-a-function']\n options?: never\n head?: never\n /**\n * Update a function\n * @description Updates a function with the specified slug and project.\n */\n patch: operations['v1-update-a-function']\n trace?: never\n }\n '/v1/projects/{ref}/functions/{function_slug}/body': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /**\n * Retrieve a function body\n * @description Retrieves a function body for the specified slug and project.\n */\n get: operations['v1-get-a-function-body']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/storage/buckets': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists all buckets */\n get: operations['v1-list-all-buckets']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/sso/providers': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists all SSO providers */\n get: operations['v1-list-all-sso-provider']\n put?: never\n /** Creates a new SSO provider */\n post: operations['v1-create-a-sso-provider']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/config/auth/sso/providers/{provider_id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets a SSO provider by its UUID */\n get: operations['v1-get-a-sso-provider']\n /** Updates a SSO provider by its UUID */\n put: operations['v1-update-a-sso-provider']\n post?: never\n /** Removes a SSO provider by its UUID */\n delete: operations['v1-delete-a-sso-provider']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/backups': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Lists all backups */\n get: operations['v1-list-all-backups']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/backups/restore-pitr': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** Restores a PITR backup for a database */\n post: operations['v1-restore-pitr-backup']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/backups/restore-point': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Get restore points for project */\n get: operations['v1-get-restore-point']\n put?: never\n /** Initiates a creation of a restore point for a database */\n post: operations['v1-create-restore-point']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/projects/{ref}/database/backups/undo': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** Initiates an undo to a given restore point */\n post: operations['v1-undo']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/organizations/{slug}/members': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** List members of an organization */\n get: operations['v1-list-organization-members']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/organizations/{slug}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets information about the organization */\n get: operations['v1-get-an-organization']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/v1/organizations/{slug}/project-claim/{token}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** Gets project details for the specified organization and claim token */\n get: operations['v1-get-organization-project-claim']\n put?: never\n /** Claims project for the specified organization */\n post: operations['v1-claim-project-for-organization']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n}\nexport type webhooks = Record\nexport interface components {\n schemas: {\n BranchDetailResponse: {\n ref: string\n postgres_version: string\n postgres_engine: string\n release_channel: string\n /** @enum {string} */\n status:\n | 'INACTIVE'\n | 'ACTIVE_HEALTHY'\n | 'ACTIVE_UNHEALTHY'\n | 'COMING_UP'\n | 'UNKNOWN'\n | 'GOING_DOWN'\n | 'INIT_FAILED'\n | 'REMOVED'\n | 'RESTORING'\n | 'UPGRADING'\n | 'PAUSING'\n | 'RESTORE_FAILED'\n | 'RESTARTING'\n | 'PAUSE_FAILED'\n | 'RESIZING'\n db_host: string\n db_port: number\n db_user?: string\n db_pass?: string\n jwt_secret?: string\n }\n UpdateBranchBody: {\n branch_name?: string\n git_branch?: string\n /**\n * @deprecated\n * @description This field is deprecated and will be ignored. Use v1-reset-a-branch endpoint directly instead.\n */\n reset_on_push?: boolean\n persistent?: boolean\n /** @enum {string} */\n status?:\n | 'CREATING_PROJECT'\n | 'RUNNING_MIGRATIONS'\n | 'MIGRATIONS_PASSED'\n | 'MIGRATIONS_FAILED'\n | 'FUNCTIONS_DEPLOYED'\n | 'FUNCTIONS_FAILED'\n }\n BranchResponse: {\n id: string\n name: string\n project_ref: string\n parent_project_ref: string\n is_default: boolean\n git_branch?: string\n /** Format: int32 */\n pr_number?: number\n /**\n * @deprecated\n * @description This field is deprecated and will not be populated.\n */\n latest_check_run_id?: number\n persistent: boolean\n /** @enum {string} */\n status:\n | 'CREATING_PROJECT'\n | 'RUNNING_MIGRATIONS'\n | 'MIGRATIONS_PASSED'\n | 'MIGRATIONS_FAILED'\n | 'FUNCTIONS_DEPLOYED'\n | 'FUNCTIONS_FAILED'\n created_at: string\n updated_at: string\n }\n BranchDeleteResponse: {\n /** @enum {string} */\n message: 'ok'\n }\n BranchActionBody: {\n migration_version?: string\n }\n BranchUpdateResponse: {\n workflow_run_id: string\n /** @enum {string} */\n message: 'ok'\n }\n V1ProjectWithDatabaseResponse: {\n /** @description Id of your project */\n id: string\n /** @description Slug of your organization */\n organization_id: string\n /** @description Name of your project */\n name: string\n /**\n * @description Region of your project\n * @example us-east-1\n */\n region: string\n /**\n * @description Creation timestamp\n * @example 2023-03-29T16:32:59Z\n */\n created_at: string\n /** @enum {string} */\n status:\n | 'INACTIVE'\n | 'ACTIVE_HEALTHY'\n | 'ACTIVE_UNHEALTHY'\n | 'COMING_UP'\n | 'UNKNOWN'\n | 'GOING_DOWN'\n | 'INIT_FAILED'\n | 'REMOVED'\n | 'RESTORING'\n | 'UPGRADING'\n | 'PAUSING'\n | 'RESTORE_FAILED'\n | 'RESTARTING'\n | 'PAUSE_FAILED'\n | 'RESIZING'\n database: {\n /** @description Database host */\n host: string\n /** @description Database version */\n version: string\n /** @description Database engine */\n postgres_engine: string\n /** @description Release channel */\n release_channel: string\n }\n }\n V1CreateProjectBody: {\n /** @description Database password */\n db_pass: string\n /** @description Name of your project */\n name: string\n /** @description Slug of your organization */\n organization_id: string\n /**\n * @deprecated\n * @description Subscription Plan is now set on organization level and is ignored in this request\n * @enum {string}\n */\n plan?: 'free' | 'pro'\n /**\n * @description Region you want your server to reside in\n * @enum {string}\n */\n region:\n | 'us-east-1'\n | 'us-east-2'\n | 'us-west-1'\n | 'us-west-2'\n | 'ap-east-1'\n | 'ap-southeast-1'\n | 'ap-northeast-1'\n | 'ap-northeast-2'\n | 'ap-southeast-2'\n | 'eu-west-1'\n | 'eu-west-2'\n | 'eu-west-3'\n | 'eu-north-1'\n | 'eu-central-1'\n | 'eu-central-2'\n | 'ca-central-1'\n | 'ap-south-1'\n | 'sa-east-1'\n /**\n * @deprecated\n * @description This field is deprecated and is ignored in this request\n */\n kps_enabled?: boolean\n /** @enum {string} */\n desired_instance_size?:\n | 'pico'\n | 'nano'\n | 'micro'\n | 'small'\n | 'medium'\n | 'large'\n | 'xlarge'\n | '2xlarge'\n | '4xlarge'\n | '8xlarge'\n | '12xlarge'\n | '16xlarge'\n | '24xlarge'\n | '24xlarge_optimized_memory'\n | '24xlarge_optimized_cpu'\n | '24xlarge_high_memory'\n | '48xlarge'\n | '48xlarge_optimized_memory'\n | '48xlarge_optimized_cpu'\n | '48xlarge_high_memory'\n /**\n * Format: uri\n * @description Template URL used to create the project from the CLI.\n * @example https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone\n */\n template_url?: string\n }\n V1ProjectResponse: {\n /** @description Id of your project */\n id: string\n /** @description Slug of your organization */\n organization_id: string\n /** @description Name of your project */\n name: string\n /**\n * @description Region of your project\n * @example us-east-1\n */\n region: string\n /**\n * @description Creation timestamp\n * @example 2023-03-29T16:32:59Z\n */\n created_at: string\n /** @enum {string} */\n status:\n | 'INACTIVE'\n | 'ACTIVE_HEALTHY'\n | 'ACTIVE_UNHEALTHY'\n | 'COMING_UP'\n | 'UNKNOWN'\n | 'GOING_DOWN'\n | 'INIT_FAILED'\n | 'REMOVED'\n | 'RESTORING'\n | 'UPGRADING'\n | 'PAUSING'\n | 'RESTORE_FAILED'\n | 'RESTARTING'\n | 'PAUSE_FAILED'\n | 'RESIZING'\n }\n OrganizationResponseV1: {\n id: string\n name: string\n }\n CreateOrganizationV1: {\n name: string\n }\n OAuthTokenBody: {\n /** @enum {string} */\n grant_type?: 'authorization_code' | 'refresh_token'\n /** Format: uuid */\n client_id?: string\n client_secret?: string\n code?: string\n code_verifier?: string\n redirect_uri?: string\n refresh_token?: string\n }\n OAuthTokenResponse: {\n access_token: string\n refresh_token: string\n expires_in: number\n /** @enum {string} */\n token_type: 'Bearer'\n }\n OAuthRevokeTokenBody: {\n /** Format: uuid */\n client_id: string\n client_secret: string\n refresh_token: string\n }\n SnippetList: {\n data: {\n id: string\n inserted_at: string\n updated_at: string\n /** @enum {string} */\n type: 'sql'\n /** @enum {string} */\n visibility: 'user' | 'project' | 'org' | 'public'\n name: string\n description: string | null\n project: {\n id: number\n name: string\n }\n owner: {\n id: number\n username: string\n }\n updated_by: {\n id: number\n username: string\n }\n }[]\n cursor?: string\n }\n SnippetResponse: {\n id: string\n inserted_at: string\n updated_at: string\n /** @enum {string} */\n type: 'sql'\n /** @enum {string} */\n visibility: 'user' | 'project' | 'org' | 'public'\n name: string\n description: string | null\n project: {\n id: number\n name: string\n }\n owner: {\n id: number\n username: string\n }\n updated_by: {\n id: number\n username: string\n }\n content: {\n favorite: boolean\n schema_version: string\n sql: string\n }\n }\n ApiKeyResponse: {\n api_key: string\n id?: string | null\n /** @enum {string|null} */\n type?: 'publishable' | 'secret' | 'legacy' | null\n prefix?: string | null\n name: string\n description?: string | null\n hash?: string | null\n secret_jwt_template?: {\n role: string\n } | null\n /** Format: date-time */\n inserted_at?: string | null\n /** Format: date-time */\n updated_at?: string | null\n }\n LegacyApiKeysResponse: {\n enabled: boolean\n }\n CreateApiKeyBody: {\n /** @enum {string} */\n type: 'publishable' | 'secret'\n name: string\n description?: string | null\n secret_jwt_template?: {\n role: string\n } | null\n }\n UpdateApiKeyBody: {\n name?: string\n description?: string | null\n secret_jwt_template?: {\n role: string\n } | null\n }\n CreateBranchBody: {\n branch_name: string\n git_branch?: string\n persistent?: boolean\n region?: string\n /** @enum {string} */\n desired_instance_size?:\n | 'pico'\n | 'nano'\n | 'micro'\n | 'small'\n | 'medium'\n | 'large'\n | 'xlarge'\n | '2xlarge'\n | '4xlarge'\n | '8xlarge'\n | '12xlarge'\n | '16xlarge'\n | '24xlarge'\n | '24xlarge_optimized_memory'\n | '24xlarge_optimized_cpu'\n | '24xlarge_high_memory'\n | '48xlarge'\n | '48xlarge_optimized_memory'\n | '48xlarge_optimized_cpu'\n | '48xlarge_high_memory'\n /**\n * @description Release channel. If not provided, GA will be used.\n * @enum {string}\n */\n release_channel?: 'internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview'\n /**\n * @description Postgres engine version. If not provided, the latest version will be used.\n * @enum {string}\n */\n postgres_engine?: '15' | '17' | '17-oriole'\n secrets?: {\n [key: string]: string\n }\n }\n UpdateCustomHostnameResponse: {\n /** @enum {string} */\n status:\n | '1_not_started'\n | '2_initiated'\n | '3_challenge_verified'\n | '4_origin_setup_completed'\n | '5_services_reconfigured'\n custom_hostname: string\n data: {\n success: boolean\n errors: unknown[]\n messages: unknown[]\n result: {\n id: string\n hostname: string\n ssl: {\n status: string\n validation_records: {\n txt_name: string\n txt_value: string\n }[]\n validation_errors?: {\n message: string\n }[]\n }\n ownership_verification: {\n type: string\n name: string\n value: string\n }\n custom_origin_server: string\n verification_errors?: string[]\n status: string\n }\n }\n }\n UpdateCustomHostnameBody: {\n custom_hostname: string\n }\n NetworkBanResponse: {\n banned_ipv4_addresses: string[]\n }\n NetworkBanResponseEnriched: {\n banned_ipv4_addresses: {\n banned_address: string\n identifier: string\n type: string\n }[]\n }\n RemoveNetworkBanRequest: {\n ipv4_addresses: string[]\n identifier?: string\n }\n NetworkRestrictionsResponse: {\n /** @enum {string} */\n entitlement: 'disallowed' | 'allowed'\n /** @description At any given point in time, this is the config that the user has requested be applied to their project. The `status` field indicates if it has been applied to the project, or is pending. When an updated config is received, the applied config is moved to `old_config`. */\n config: {\n dbAllowedCidrs?: string[]\n dbAllowedCidrsV6?: string[]\n }\n /** @description Populated when a new config has been received, but not registered as successfully applied to a project. */\n old_config?: {\n dbAllowedCidrs?: string[]\n dbAllowedCidrsV6?: string[]\n }\n /** @enum {string} */\n status: 'stored' | 'applied'\n }\n NetworkRestrictionsRequest: {\n dbAllowedCidrs?: string[]\n dbAllowedCidrsV6?: string[]\n }\n PgsodiumConfigResponse: {\n root_key: string\n }\n UpdatePgsodiumConfigBody: {\n root_key: string\n }\n PostgrestConfigWithJWTSecretResponse: {\n db_schema: string\n max_rows: number\n db_extra_search_path: string\n /** @description If `null`, the value is automatically configured based on compute size. */\n db_pool: number | null\n jwt_secret?: string\n }\n V1UpdatePostgrestConfigBody: {\n db_extra_search_path?: string\n db_schema?: string\n max_rows?: number\n db_pool?: number\n }\n V1PostgrestConfigResponse: {\n db_schema: string\n max_rows: number\n db_extra_search_path: string\n /** @description If `null`, the value is automatically configured based on compute size. */\n db_pool: number | null\n }\n V1ProjectRefResponse: {\n id: number\n ref: string\n name: string\n }\n SecretResponse: {\n name: string\n value: string\n updated_at?: string\n }\n CreateSecretBody: {\n /**\n * @description Secret name must not start with the SUPABASE_ prefix.\n * @example string\n */\n name: string\n value: string\n }[]\n SslEnforcementResponse: {\n currentConfig: {\n database: boolean\n }\n appliedSuccessfully: boolean\n }\n SslEnforcementRequest: {\n requestedConfig: {\n database: boolean\n }\n }\n TypescriptResponse: {\n types: string\n }\n VanitySubdomainConfigResponse: {\n /** @enum {string} */\n status: 'not-used' | 'custom-domain-used' | 'active'\n custom_domain?: string\n }\n VanitySubdomainBody: {\n vanity_subdomain: string\n }\n SubdomainAvailabilityResponse: {\n available: boolean\n }\n ActivateVanitySubdomainResponse: {\n custom_domain: string\n }\n UpgradeDatabaseBody: {\n target_version: string\n /** @enum {string} */\n release_channel?: 'internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview'\n }\n ProjectUpgradeInitiateResponse: {\n tracking_id: string\n }\n ProjectUpgradeEligibilityResponse: {\n eligible: boolean\n current_app_version: string\n /** @enum {string} */\n current_app_version_release_channel:\n | 'internal'\n | 'alpha'\n | 'beta'\n | 'ga'\n | 'withdrawn'\n | 'preview'\n latest_app_version: string\n target_upgrade_versions: {\n /** @enum {string} */\n postgres_version: '15' | '17' | '17-oriole'\n /** @enum {string} */\n release_channel: 'internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview'\n app_version: string\n }[]\n potential_breaking_changes: string[]\n duration_estimate_hours: number\n legacy_auth_custom_roles: string[]\n extension_dependent_objects: string[]\n }\n DatabaseUpgradeStatusResponse: {\n databaseUpgradeStatus: {\n initiated_at: string\n latest_status_at: string\n target_version: number\n /** @enum {string} */\n error?:\n | '1_upgraded_instance_launch_failed'\n | '2_volume_detachchment_from_upgraded_instance_failed'\n | '3_volume_attachment_to_original_instance_failed'\n | '4_data_upgrade_initiation_failed'\n | '5_data_upgrade_completion_failed'\n | '6_volume_detachchment_from_original_instance_failed'\n | '7_volume_attachment_to_upgraded_instance_failed'\n | '8_upgrade_completion_failed'\n | '9_post_physical_backup_failed'\n /** @enum {string} */\n progress?:\n | '0_requested'\n | '1_started'\n | '2_launched_upgraded_instance'\n | '3_detached_volume_from_upgraded_instance'\n | '4_attached_volume_to_original_instance'\n | '5_initiated_data_upgrade'\n | '6_completed_data_upgrade'\n | '7_detached_volume_from_original_instance'\n | '8_attached_volume_to_upgraded_instance'\n | '9_completed_upgrade'\n | '10_completed_post_physical_backup'\n status: number\n } | null\n }\n ReadOnlyStatusResponse: {\n enabled: boolean\n override_enabled: boolean\n override_active_until: string\n }\n SetUpReadReplicaBody: {\n /**\n * @description Region you want your read replica to reside in\n * @example us-east-1\n * @enum {string}\n */\n read_replica_region:\n | 'us-east-1'\n | 'us-east-2'\n | 'us-west-1'\n | 'us-west-2'\n | 'ap-east-1'\n | 'ap-southeast-1'\n | 'ap-northeast-1'\n | 'ap-northeast-2'\n | 'ap-southeast-2'\n | 'eu-west-1'\n | 'eu-west-2'\n | 'eu-west-3'\n | 'eu-north-1'\n | 'eu-central-1'\n | 'eu-central-2'\n | 'ca-central-1'\n | 'ap-south-1'\n | 'sa-east-1'\n }\n RemoveReadReplicaBody: {\n database_identifier: string\n }\n V1ServiceHealthResponse: {\n /** @enum {string} */\n name: 'auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage'\n healthy: boolean\n /** @enum {string} */\n status: 'COMING_UP' | 'ACTIVE_HEALTHY' | 'UNHEALTHY'\n info?:\n | {\n /** @enum {string} */\n name: 'GoTrue'\n version: string\n description: string\n }\n | {\n healthy: boolean\n db_connected: boolean\n connected_cluster: number\n }\n error?: string\n }\n CreateSigningKeyBody: {\n /** @enum {string} */\n algorithm: 'EdDSA' | 'ES256' | 'RS256' | 'HS256'\n /** @enum {string} */\n status?: 'in_use' | 'standby'\n }\n SigningKeyResponse: {\n /** Format: uuid */\n id: string\n /** @enum {string} */\n algorithm: 'EdDSA' | 'ES256' | 'RS256' | 'HS256'\n /** @enum {string} */\n status: 'in_use' | 'previously_used' | 'revoked' | 'standby'\n public_jwk?: unknown\n /** Format: date-time */\n created_at: string\n /** Format: date-time */\n updated_at: string\n }\n SigningKeysResponse: {\n keys: {\n /** Format: uuid */\n id: string\n /** @enum {string} */\n algorithm: 'EdDSA' | 'ES256' | 'RS256' | 'HS256'\n /** @enum {string} */\n status: 'in_use' | 'previously_used' | 'revoked' | 'standby'\n public_jwk?: unknown\n /** Format: date-time */\n created_at: string\n /** Format: date-time */\n updated_at: string\n }[]\n }\n UpdateSigningKeyBody: {\n /** @enum {string} */\n status: 'in_use' | 'previously_used' | 'revoked' | 'standby'\n }\n StorageConfigResponse: {\n /** Format: int64 */\n fileSizeLimit: number\n features: {\n imageTransformation: {\n enabled: boolean\n }\n s3Protocol: {\n enabled: boolean\n }\n }\n }\n UpdateStorageConfigBody: {\n /** Format: int64 */\n fileSizeLimit?: number\n features?: {\n imageTransformation: {\n enabled: boolean\n }\n s3Protocol: {\n enabled: boolean\n }\n }\n }\n PostgresConfigResponse: {\n effective_cache_size?: string\n logical_decoding_work_mem?: string\n maintenance_work_mem?: string\n track_activity_query_size?: string\n max_connections?: number\n max_locks_per_transaction?: number\n max_parallel_maintenance_workers?: number\n max_parallel_workers?: number\n max_parallel_workers_per_gather?: number\n max_replication_slots?: number\n max_slot_wal_keep_size?: string\n max_standby_archive_delay?: string\n max_standby_streaming_delay?: string\n max_wal_size?: string\n max_wal_senders?: number\n max_worker_processes?: number\n /** @enum {string} */\n session_replication_role?: 'origin' | 'replica' | 'local'\n shared_buffers?: string\n statement_timeout?: string\n track_commit_timestamp?: boolean\n wal_keep_size?: string\n wal_sender_timeout?: string\n work_mem?: string\n }\n UpdatePostgresConfigBody: {\n effective_cache_size?: string\n logical_decoding_work_mem?: string\n maintenance_work_mem?: string\n track_activity_query_size?: string\n max_connections?: number\n max_locks_per_transaction?: number\n max_parallel_maintenance_workers?: number\n max_parallel_workers?: number\n max_parallel_workers_per_gather?: number\n max_replication_slots?: number\n max_slot_wal_keep_size?: string\n max_standby_archive_delay?: string\n max_standby_streaming_delay?: string\n max_wal_size?: string\n max_wal_senders?: number\n max_worker_processes?: number\n /** @enum {string} */\n session_replication_role?: 'origin' | 'replica' | 'local'\n shared_buffers?: string\n statement_timeout?: string\n track_commit_timestamp?: boolean\n wal_keep_size?: string\n wal_sender_timeout?: string\n work_mem?: string\n restart_database?: boolean\n }\n V1PgbouncerConfigResponse: {\n default_pool_size?: number\n ignore_startup_parameters?: string\n max_client_conn?: number\n /** @enum {string} */\n pool_mode?: 'transaction' | 'session' | 'statement'\n connection_string?: string\n }\n SupavisorConfigResponse: {\n identifier: string\n /** @enum {string} */\n database_type: 'PRIMARY' | 'READ_REPLICA'\n is_using_scram_auth: boolean\n db_user: string\n db_host: string\n db_port: number\n db_name: string\n connection_string: string\n /** @description Use connection_string instead */\n connectionString: string\n default_pool_size: number | null\n max_client_conn: number | null\n /** @enum {string} */\n pool_mode: 'transaction' | 'session'\n }\n UpdateSupavisorConfigBody: {\n default_pool_size?: number | null\n /**\n * @description Dedicated pooler mode for the project\n * @enum {string}\n */\n pool_mode?: 'transaction' | 'session'\n }\n UpdateSupavisorConfigResponse: {\n default_pool_size: number | null\n pool_mode: string\n }\n AuthConfigResponse: {\n api_max_request_duration: number | null\n db_max_pool_size: number | null\n disable_signup: boolean | null\n external_anonymous_users_enabled: boolean | null\n external_apple_additional_client_ids: string | null\n external_apple_client_id: string | null\n external_apple_enabled: boolean | null\n external_apple_secret: string | null\n external_azure_client_id: string | null\n external_azure_enabled: boolean | null\n external_azure_secret: string | null\n external_azure_url: string | null\n external_bitbucket_client_id: string | null\n external_bitbucket_enabled: boolean | null\n external_bitbucket_secret: string | null\n external_discord_client_id: string | null\n external_discord_enabled: boolean | null\n external_discord_secret: string | null\n external_email_enabled: boolean | null\n external_facebook_client_id: string | null\n external_facebook_enabled: boolean | null\n external_facebook_secret: string | null\n external_figma_client_id: string | null\n external_figma_enabled: boolean | null\n external_figma_secret: string | null\n external_github_client_id: string | null\n external_github_enabled: boolean | null\n external_github_secret: string | null\n external_gitlab_client_id: string | null\n external_gitlab_enabled: boolean | null\n external_gitlab_secret: string | null\n external_gitlab_url: string | null\n external_google_additional_client_ids: string | null\n external_google_client_id: string | null\n external_google_enabled: boolean | null\n external_google_secret: string | null\n external_google_skip_nonce_check: boolean | null\n external_kakao_client_id: string | null\n external_kakao_enabled: boolean | null\n external_kakao_secret: string | null\n external_keycloak_client_id: string | null\n external_keycloak_enabled: boolean | null\n external_keycloak_secret: string | null\n external_keycloak_url: string | null\n external_linkedin_oidc_client_id: string | null\n external_linkedin_oidc_enabled: boolean | null\n external_linkedin_oidc_secret: string | null\n external_slack_oidc_client_id: string | null\n external_slack_oidc_enabled: boolean | null\n external_slack_oidc_secret: string | null\n external_notion_client_id: string | null\n external_notion_enabled: boolean | null\n external_notion_secret: string | null\n external_phone_enabled: boolean | null\n external_slack_client_id: string | null\n external_slack_enabled: boolean | null\n external_slack_secret: string | null\n external_spotify_client_id: string | null\n external_spotify_enabled: boolean | null\n external_spotify_secret: string | null\n external_twitch_client_id: string | null\n external_twitch_enabled: boolean | null\n external_twitch_secret: string | null\n external_twitter_client_id: string | null\n external_twitter_enabled: boolean | null\n external_twitter_secret: string | null\n external_workos_client_id: string | null\n external_workos_enabled: boolean | null\n external_workos_secret: string | null\n external_workos_url: string | null\n external_web3_solana_enabled: boolean | null\n external_zoom_client_id: string | null\n external_zoom_enabled: boolean | null\n external_zoom_secret: string | null\n hook_custom_access_token_enabled: boolean | null\n hook_custom_access_token_uri: string | null\n hook_custom_access_token_secrets: string | null\n hook_mfa_verification_attempt_enabled: boolean | null\n hook_mfa_verification_attempt_uri: string | null\n hook_mfa_verification_attempt_secrets: string | null\n hook_password_verification_attempt_enabled: boolean | null\n hook_password_verification_attempt_uri: string | null\n hook_password_verification_attempt_secrets: string | null\n hook_send_sms_enabled: boolean | null\n hook_send_sms_uri: string | null\n hook_send_sms_secrets: string | null\n hook_send_email_enabled: boolean | null\n hook_send_email_uri: string | null\n hook_send_email_secrets: string | null\n hook_before_user_created_enabled: boolean | null\n hook_before_user_created_uri: string | null\n hook_before_user_created_secrets: string | null\n jwt_exp: number | null\n mailer_allow_unverified_email_sign_ins: boolean | null\n mailer_autoconfirm: boolean | null\n mailer_otp_exp: number\n mailer_otp_length: number | null\n mailer_secure_email_change_enabled: boolean | null\n mailer_subjects_confirmation: string | null\n mailer_subjects_email_change: string | null\n mailer_subjects_invite: string | null\n mailer_subjects_magic_link: string | null\n mailer_subjects_reauthentication: string | null\n mailer_subjects_recovery: string | null\n mailer_templates_confirmation_content: string | null\n mailer_templates_email_change_content: string | null\n mailer_templates_invite_content: string | null\n mailer_templates_magic_link_content: string | null\n mailer_templates_reauthentication_content: string | null\n mailer_templates_recovery_content: string | null\n mfa_max_enrolled_factors: number | null\n mfa_totp_enroll_enabled: boolean | null\n mfa_totp_verify_enabled: boolean | null\n mfa_phone_enroll_enabled: boolean | null\n mfa_phone_verify_enabled: boolean | null\n mfa_web_authn_enroll_enabled: boolean | null\n mfa_web_authn_verify_enabled: boolean | null\n mfa_phone_otp_length: number\n mfa_phone_template: string | null\n mfa_phone_max_frequency: number | null\n password_hibp_enabled: boolean | null\n password_min_length: number | null\n /** @enum {string|null} */\n password_required_characters:\n | 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'\n | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'\n | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\\'\\\\\\\\:\"|<>?,./`~'\n | ''\n | null\n rate_limit_anonymous_users: number | null\n rate_limit_email_sent: number | null\n rate_limit_sms_sent: number | null\n rate_limit_token_refresh: number | null\n rate_limit_verify: number | null\n rate_limit_otp: number | null\n rate_limit_web3: number | null\n refresh_token_rotation_enabled: boolean | null\n saml_enabled: boolean | null\n saml_external_url: string | null\n saml_allow_encrypted_assertions: boolean | null\n security_captcha_enabled: boolean | null\n /** @enum {string|null} */\n security_captcha_provider: 'turnstile' | 'hcaptcha' | null\n security_captcha_secret: string | null\n security_manual_linking_enabled: boolean | null\n security_refresh_token_reuse_interval: number | null\n security_update_password_require_reauthentication: boolean | null\n sessions_inactivity_timeout: number | null\n sessions_single_per_user: boolean | null\n sessions_tags: string | null\n sessions_timebox: number | null\n site_url: string | null\n sms_autoconfirm: boolean | null\n sms_max_frequency: number | null\n sms_messagebird_access_key: string | null\n sms_messagebird_originator: string | null\n sms_otp_exp: number | null\n sms_otp_length: number\n /** @enum {string|null} */\n sms_provider: 'messagebird' | 'textlocal' | 'twilio' | 'twilio_verify' | 'vonage' | null\n sms_template: string | null\n sms_test_otp: string | null\n /** Format: date-time */\n sms_test_otp_valid_until: string | null\n sms_textlocal_api_key: string | null\n sms_textlocal_sender: string | null\n sms_twilio_account_sid: string | null\n sms_twilio_auth_token: string | null\n sms_twilio_content_sid: string | null\n sms_twilio_message_service_sid: string | null\n sms_twilio_verify_account_sid: string | null\n sms_twilio_verify_auth_token: string | null\n sms_twilio_verify_message_service_sid: string | null\n sms_vonage_api_key: string | null\n sms_vonage_api_secret: string | null\n sms_vonage_from: string | null\n smtp_admin_email: string | null\n smtp_host: string | null\n smtp_max_frequency: number | null\n smtp_pass: string | null\n smtp_port: string | null\n smtp_sender_name: string | null\n smtp_user: string | null\n uri_allow_list: string | null\n }\n UpdateAuthConfigBody: {\n site_url?: string | null\n disable_signup?: boolean | null\n jwt_exp?: number | null\n smtp_admin_email?: string | null\n smtp_host?: string | null\n smtp_port?: string | null\n smtp_user?: string | null\n smtp_pass?: string | null\n smtp_max_frequency?: number | null\n smtp_sender_name?: string | null\n mailer_allow_unverified_email_sign_ins?: boolean | null\n mailer_autoconfirm?: boolean | null\n mailer_subjects_invite?: string | null\n mailer_subjects_confirmation?: string | null\n mailer_subjects_recovery?: string | null\n mailer_subjects_email_change?: string | null\n mailer_subjects_magic_link?: string | null\n mailer_subjects_reauthentication?: string | null\n mailer_templates_invite_content?: string | null\n mailer_templates_confirmation_content?: string | null\n mailer_templates_recovery_content?: string | null\n mailer_templates_email_change_content?: string | null\n mailer_templates_magic_link_content?: string | null\n mailer_templates_reauthentication_content?: string | null\n mfa_max_enrolled_factors?: number | null\n uri_allow_list?: string | null\n external_anonymous_users_enabled?: boolean | null\n external_email_enabled?: boolean | null\n external_phone_enabled?: boolean | null\n saml_enabled?: boolean | null\n saml_external_url?: string | null\n security_captcha_enabled?: boolean | null\n /** @enum {string|null} */\n security_captcha_provider?: 'turnstile' | 'hcaptcha' | null\n security_captcha_secret?: string | null\n sessions_timebox?: number | null\n sessions_inactivity_timeout?: number | null\n sessions_single_per_user?: boolean | null\n sessions_tags?: string | null\n rate_limit_anonymous_users?: number | null\n rate_limit_email_sent?: number | null\n rate_limit_sms_sent?: number | null\n rate_limit_verify?: number | null\n rate_limit_token_refresh?: number | null\n rate_limit_otp?: number | null\n rate_limit_web3?: number | null\n mailer_secure_email_change_enabled?: boolean | null\n refresh_token_rotation_enabled?: boolean | null\n password_hibp_enabled?: boolean | null\n password_min_length?: number | null\n /** @enum {string|null} */\n password_required_characters?:\n | 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'\n | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'\n | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\\'\\\\\\\\:\"|<>?,./`~'\n | ''\n | null\n security_manual_linking_enabled?: boolean | null\n security_update_password_require_reauthentication?: boolean | null\n security_refresh_token_reuse_interval?: number | null\n mailer_otp_exp?: number\n mailer_otp_length?: number | null\n sms_autoconfirm?: boolean | null\n sms_max_frequency?: number | null\n sms_otp_exp?: number | null\n sms_otp_length?: number\n /** @enum {string|null} */\n sms_provider?: 'messagebird' | 'textlocal' | 'twilio' | 'twilio_verify' | 'vonage' | null\n sms_messagebird_access_key?: string | null\n sms_messagebird_originator?: string | null\n sms_test_otp?: string | null\n /** Format: date-time */\n sms_test_otp_valid_until?: string | null\n sms_textlocal_api_key?: string | null\n sms_textlocal_sender?: string | null\n sms_twilio_account_sid?: string | null\n sms_twilio_auth_token?: string | null\n sms_twilio_content_sid?: string | null\n sms_twilio_message_service_sid?: string | null\n sms_twilio_verify_account_sid?: string | null\n sms_twilio_verify_auth_token?: string | null\n sms_twilio_verify_message_service_sid?: string | null\n sms_vonage_api_key?: string | null\n sms_vonage_api_secret?: string | null\n sms_vonage_from?: string | null\n sms_template?: string | null\n hook_mfa_verification_attempt_enabled?: boolean | null\n hook_mfa_verification_attempt_uri?: string | null\n hook_mfa_verification_attempt_secrets?: string | null\n hook_password_verification_attempt_enabled?: boolean | null\n hook_password_verification_attempt_uri?: string | null\n hook_password_verification_attempt_secrets?: string | null\n hook_custom_access_token_enabled?: boolean | null\n hook_custom_access_token_uri?: string | null\n hook_custom_access_token_secrets?: string | null\n hook_send_sms_enabled?: boolean | null\n hook_send_sms_uri?: string | null\n hook_send_sms_secrets?: string | null\n hook_send_email_enabled?: boolean | null\n hook_send_email_uri?: string | null\n hook_send_email_secrets?: string | null\n hook_before_user_created_enabled?: boolean | null\n hook_before_user_created_uri?: string | null\n hook_before_user_created_secrets?: string | null\n external_apple_enabled?: boolean | null\n external_apple_client_id?: string | null\n external_apple_secret?: string | null\n external_apple_additional_client_ids?: string | null\n external_azure_enabled?: boolean | null\n external_azure_client_id?: string | null\n external_azure_secret?: string | null\n external_azure_url?: string | null\n external_bitbucket_enabled?: boolean | null\n external_bitbucket_client_id?: string | null\n external_bitbucket_secret?: string | null\n external_discord_enabled?: boolean | null\n external_discord_client_id?: string | null\n external_discord_secret?: string | null\n external_facebook_enabled?: boolean | null\n external_facebook_client_id?: string | null\n external_facebook_secret?: string | null\n external_figma_enabled?: boolean | null\n external_figma_client_id?: string | null\n external_figma_secret?: string | null\n external_github_enabled?: boolean | null\n external_github_client_id?: string | null\n external_github_secret?: string | null\n external_gitlab_enabled?: boolean | null\n external_gitlab_client_id?: string | null\n external_gitlab_secret?: string | null\n external_gitlab_url?: string | null\n external_google_enabled?: boolean | null\n external_google_client_id?: string | null\n external_google_secret?: string | null\n external_google_additional_client_ids?: string | null\n external_google_skip_nonce_check?: boolean | null\n external_kakao_enabled?: boolean | null\n external_kakao_client_id?: string | null\n external_kakao_secret?: string | null\n external_keycloak_enabled?: boolean | null\n external_keycloak_client_id?: string | null\n external_keycloak_secret?: string | null\n external_keycloak_url?: string | null\n external_linkedin_oidc_enabled?: boolean | null\n external_linkedin_oidc_client_id?: string | null\n external_linkedin_oidc_secret?: string | null\n external_slack_oidc_enabled?: boolean | null\n external_slack_oidc_client_id?: string | null\n external_slack_oidc_secret?: string | null\n external_notion_enabled?: boolean | null\n external_notion_client_id?: string | null\n external_notion_secret?: string | null\n external_slack_enabled?: boolean | null\n external_slack_client_id?: string | null\n external_slack_secret?: string | null\n external_spotify_enabled?: boolean | null\n external_spotify_client_id?: string | null\n external_spotify_secret?: string | null\n external_twitch_enabled?: boolean | null\n external_twitch_client_id?: string | null\n external_twitch_secret?: string | null\n external_twitter_enabled?: boolean | null\n external_twitter_client_id?: string | null\n external_twitter_secret?: string | null\n external_workos_enabled?: boolean | null\n external_workos_client_id?: string | null\n external_workos_secret?: string | null\n external_workos_url?: string | null\n external_web3_solana_enabled?: boolean | null\n external_zoom_enabled?: boolean | null\n external_zoom_client_id?: string | null\n external_zoom_secret?: string | null\n db_max_pool_size?: number | null\n api_max_request_duration?: number | null\n mfa_totp_enroll_enabled?: boolean | null\n mfa_totp_verify_enabled?: boolean | null\n mfa_web_authn_enroll_enabled?: boolean | null\n mfa_web_authn_verify_enabled?: boolean | null\n mfa_phone_enroll_enabled?: boolean | null\n mfa_phone_verify_enabled?: boolean | null\n mfa_phone_max_frequency?: number | null\n mfa_phone_otp_length?: number | null\n mfa_phone_template?: string | null\n }\n CreateThirdPartyAuthBody: {\n oidc_issuer_url?: string\n jwks_url?: string\n custom_jwks?: unknown\n }\n ThirdPartyAuth: {\n /** Format: uuid */\n id: string\n type: string\n oidc_issuer_url?: string | null\n jwks_url?: string | null\n custom_jwks?: unknown\n resolved_jwks?: unknown\n inserted_at: string\n updated_at: string\n resolved_at?: string | null\n }\n GetProjectAvailableRestoreVersionsResponse: {\n available_versions: {\n version: string\n /** @enum {string} */\n release_channel: 'internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview'\n /** @enum {string} */\n postgres_engine: '13' | '14' | '15' | '17' | '17-oriole'\n }[]\n }\n ListProjectAddonsResponse: {\n selected_addons: {\n /** @enum {string} */\n type:\n | 'custom_domain'\n | 'compute_instance'\n | 'pitr'\n | 'ipv4'\n | 'auth_mfa_phone'\n | 'auth_mfa_web_authn'\n | 'log_drain'\n variant: {\n id:\n | (\n | 'ci_micro'\n | 'ci_small'\n | 'ci_medium'\n | 'ci_large'\n | 'ci_xlarge'\n | 'ci_2xlarge'\n | 'ci_4xlarge'\n | 'ci_8xlarge'\n | 'ci_12xlarge'\n | 'ci_16xlarge'\n | 'ci_24xlarge'\n | 'ci_24xlarge_optimized_cpu'\n | 'ci_24xlarge_optimized_memory'\n | 'ci_24xlarge_high_memory'\n | 'ci_48xlarge'\n | 'ci_48xlarge_optimized_cpu'\n | 'ci_48xlarge_optimized_memory'\n | 'ci_48xlarge_high_memory'\n )\n | 'cd_default'\n | ('pitr_7' | 'pitr_14' | 'pitr_28')\n | 'ipv4_default'\n | 'auth_mfa_phone_default'\n | 'auth_mfa_web_authn_default'\n | 'log_drain_default'\n name: string\n price: {\n description: string\n /** @enum {string} */\n type: 'fixed' | 'usage'\n /** @enum {string} */\n interval: 'monthly' | 'hourly'\n amount: number\n }\n /** @description Any JSON-serializable value */\n meta?: unknown\n }\n }[]\n available_addons: {\n /** @enum {string} */\n type:\n | 'custom_domain'\n | 'compute_instance'\n | 'pitr'\n | 'ipv4'\n | 'auth_mfa_phone'\n | 'auth_mfa_web_authn'\n | 'log_drain'\n name: string\n variants: {\n id:\n | (\n | 'ci_micro'\n | 'ci_small'\n | 'ci_medium'\n | 'ci_large'\n | 'ci_xlarge'\n | 'ci_2xlarge'\n | 'ci_4xlarge'\n | 'ci_8xlarge'\n | 'ci_12xlarge'\n | 'ci_16xlarge'\n | 'ci_24xlarge'\n | 'ci_24xlarge_optimized_cpu'\n | 'ci_24xlarge_optimized_memory'\n | 'ci_24xlarge_high_memory'\n | 'ci_48xlarge'\n | 'ci_48xlarge_optimized_cpu'\n | 'ci_48xlarge_optimized_memory'\n | 'ci_48xlarge_high_memory'\n )\n | 'cd_default'\n | ('pitr_7' | 'pitr_14' | 'pitr_28')\n | 'ipv4_default'\n | 'auth_mfa_phone_default'\n | 'auth_mfa_web_authn_default'\n | 'log_drain_default'\n name: string\n price: {\n description: string\n /** @enum {string} */\n type: 'fixed' | 'usage'\n /** @enum {string} */\n interval: 'monthly' | 'hourly'\n amount: number\n }\n /** @description Any JSON-serializable value */\n meta?: unknown\n }[]\n }[]\n }\n ApplyProjectAddonBody: {\n addon_variant:\n | (\n | 'ci_micro'\n | 'ci_small'\n | 'ci_medium'\n | 'ci_large'\n | 'ci_xlarge'\n | 'ci_2xlarge'\n | 'ci_4xlarge'\n | 'ci_8xlarge'\n | 'ci_12xlarge'\n | 'ci_16xlarge'\n | 'ci_24xlarge'\n | 'ci_24xlarge_optimized_cpu'\n | 'ci_24xlarge_optimized_memory'\n | 'ci_24xlarge_high_memory'\n | 'ci_48xlarge'\n | 'ci_48xlarge_optimized_cpu'\n | 'ci_48xlarge_optimized_memory'\n | 'ci_48xlarge_high_memory'\n )\n | 'cd_default'\n | ('pitr_7' | 'pitr_14' | 'pitr_28')\n | 'ipv4_default'\n /** @enum {string} */\n addon_type:\n | 'custom_domain'\n | 'compute_instance'\n | 'pitr'\n | 'ipv4'\n | 'auth_mfa_phone'\n | 'auth_mfa_web_authn'\n | 'log_drain'\n }\n ProjectClaimTokenResponse: {\n token_alias: string\n expires_at: string\n created_at: string\n /** Format: uuid */\n created_by: string\n }\n CreateProjectClaimTokenResponse: {\n token: string\n token_alias: string\n expires_at: string\n created_at: string\n /** Format: uuid */\n created_by: string\n }\n V1ProjectAdvisorsResponse: {\n lints: {\n /** @enum {string} */\n name:\n | 'unindexed_foreign_keys'\n | 'auth_users_exposed'\n | 'auth_rls_initplan'\n | 'no_primary_key'\n | 'unused_index'\n | 'multiple_permissive_policies'\n | 'policy_exists_rls_disabled'\n | 'rls_enabled_no_policy'\n | 'duplicate_index'\n | 'security_definer_view'\n | 'function_search_path_mutable'\n | 'rls_disabled_in_public'\n | 'extension_in_public'\n | 'rls_references_user_metadata'\n | 'materialized_view_in_api'\n | 'foreign_table_in_api'\n | 'unsupported_reg_types'\n | 'auth_otp_long_expiry'\n | 'auth_otp_short_length'\n | 'ssl_not_enforced'\n | 'network_restrictions_not_set'\n | 'password_requirements_min_length'\n | 'pitr_not_enabled'\n | 'auth_leaked_password_protection'\n | 'auth_insufficient_mfa_options'\n | 'auth_password_policy_missing'\n | 'leaked_service_key'\n | 'no_backup_admin'\n title: string\n /** @enum {string} */\n level: 'ERROR' | 'WARN' | 'INFO'\n /** @enum {string} */\n facing: 'EXTERNAL'\n categories: ('PERFORMANCE' | 'SECURITY')[]\n description: string\n detail: string\n remediation: string\n metadata?: {\n schema?: string\n name?: string\n entity?: string\n /** @enum {string} */\n type?: 'table' | 'view' | 'auth' | 'function' | 'extension' | 'compliance'\n fkey_name?: string\n fkey_columns?: number[]\n }\n cache_key: string\n }[]\n }\n AnalyticsResponse: {\n result?: unknown[]\n error?:\n | string\n | {\n code: number\n errors: {\n domain: string\n location: string\n locationType: string\n message: string\n reason: string\n }[]\n message: string\n status: string\n }\n }\n V1ListMigrationsResponse: {\n version: string\n name?: string\n }[]\n V1CreateMigrationBody: {\n query: string\n name?: string\n }\n V1UpsertMigrationBody: {\n query: string\n name?: string\n }\n V1RunQueryBody: {\n query: string\n read_only?: boolean\n }\n GetProjectDbMetadataResponse: {\n databases: ({\n name: string\n schemas: ({\n name: string\n } & {\n [key: string]: unknown\n })[]\n } & {\n [key: string]: unknown\n })[]\n }\n FunctionResponse: {\n id: string\n slug: string\n name: string\n /** @enum {string} */\n status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'\n version: number\n /** Format: int64 */\n created_at: number\n /** Format: int64 */\n updated_at: number\n verify_jwt?: boolean\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }\n V1CreateFunctionBody: {\n slug: string\n name: string\n body: string\n verify_jwt?: boolean\n }\n BulkUpdateFunctionBody: {\n id: string\n slug: string\n name: string\n /** @enum {string} */\n status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'\n version: number\n /** Format: int64 */\n created_at?: number\n verify_jwt?: boolean\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }[]\n BulkUpdateFunctionResponse: {\n functions: {\n id: string\n slug: string\n name: string\n /** @enum {string} */\n status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'\n version: number\n /** Format: int64 */\n created_at: number\n /** Format: int64 */\n updated_at: number\n verify_jwt?: boolean\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }[]\n }\n FunctionDeployBody: {\n file?: string[]\n metadata: {\n entrypoint_path: string\n import_map_path?: string\n static_patterns?: string[]\n verify_jwt?: boolean\n name?: string\n }\n }\n DeployFunctionResponse: {\n id: string\n slug: string\n name: string\n /** @enum {string} */\n status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'\n version: number\n /** Format: int64 */\n created_at?: number\n /** Format: int64 */\n updated_at?: number\n verify_jwt?: boolean\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }\n FunctionSlugResponse: {\n id: string\n slug: string\n name: string\n /** @enum {string} */\n status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'\n version: number\n /** Format: int64 */\n created_at: number\n /** Format: int64 */\n updated_at: number\n verify_jwt?: boolean\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }\n StreamableFile: Record\n V1UpdateFunctionBody: {\n name?: string\n body?: string\n verify_jwt?: boolean\n }\n V1StorageBucketResponse: {\n id: string\n name: string\n owner: string\n created_at: string\n updated_at: string\n public: boolean\n }\n CreateProviderBody: {\n /**\n * @description What type of provider will be created\n * @enum {string}\n */\n type: 'saml'\n metadata_xml?: string\n metadata_url?: string\n domains?: string[]\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n CreateProviderResponse: {\n id: string\n saml?: {\n id: string\n entity_id: string\n metadata_url?: string\n metadata_xml?: string\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n domains?: {\n id: string\n domain?: string\n created_at?: string\n updated_at?: string\n }[]\n created_at?: string\n updated_at?: string\n }\n ListProvidersResponse: {\n items: {\n id: string\n saml?: {\n id: string\n entity_id: string\n metadata_url?: string\n metadata_xml?: string\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n domains?: {\n id: string\n domain?: string\n created_at?: string\n updated_at?: string\n }[]\n created_at?: string\n updated_at?: string\n }[]\n }\n GetProviderResponse: {\n id: string\n saml?: {\n id: string\n entity_id: string\n metadata_url?: string\n metadata_xml?: string\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n domains?: {\n id: string\n domain?: string\n created_at?: string\n updated_at?: string\n }[]\n created_at?: string\n updated_at?: string\n }\n UpdateProviderBody: {\n metadata_xml?: string\n metadata_url?: string\n domains?: string[]\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n UpdateProviderResponse: {\n id: string\n saml?: {\n id: string\n entity_id: string\n metadata_url?: string\n metadata_xml?: string\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n domains?: {\n id: string\n domain?: string\n created_at?: string\n updated_at?: string\n }[]\n created_at?: string\n updated_at?: string\n }\n DeleteProviderResponse: {\n id: string\n saml?: {\n id: string\n entity_id: string\n metadata_url?: string\n metadata_xml?: string\n attribute_mapping?: {\n keys: {\n [key: string]: {\n name?: string\n names?: string[]\n default?: Record | number | string | boolean\n array?: boolean\n }\n }\n }\n }\n domains?: {\n id: string\n domain?: string\n created_at?: string\n updated_at?: string\n }[]\n created_at?: string\n updated_at?: string\n }\n V1BackupsResponse: {\n region: string\n walg_enabled: boolean\n pitr_enabled: boolean\n backups: {\n is_physical_backup: boolean\n /** @enum {string} */\n status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED' | 'CANCELLED'\n inserted_at: string\n }[]\n physical_backup_data: {\n earliest_physical_backup_date_unix?: number\n latest_physical_backup_date_unix?: number\n }\n }\n V1RestorePitrBody: {\n /** Format: int64 */\n recovery_time_target_unix: number\n }\n V1RestorePointPostBody: {\n name: string\n }\n V1RestorePointResponse: {\n name: string\n /** @enum {string} */\n status: 'AVAILABLE' | 'PENDING' | 'REMOVED'\n }\n V1UndoBody: {\n name: string\n }\n V1OrganizationMemberResponse: {\n user_id: string\n user_name: string\n email?: string\n role_name: string\n mfa_enabled: boolean\n }\n V1OrganizationSlugResponse: {\n id: string\n name: string\n /** @enum {string} */\n plan?: 'free' | 'pro' | 'team' | 'enterprise'\n opt_in_tags: (\n | 'AI_SQL_GENERATOR_OPT_IN'\n | 'AI_DATA_GENERATOR_OPT_IN'\n | 'AI_LOG_GENERATOR_OPT_IN'\n )[]\n allowed_release_channels: ('internal' | 'alpha' | 'beta' | 'ga' | 'withdrawn' | 'preview')[]\n }\n OrganizationProjectClaimResponse: {\n project: {\n ref: string\n name: string\n }\n preview: {\n valid: boolean\n warnings: {\n key: string\n message: string\n }[]\n errors: {\n key: string\n message: string\n }[]\n info: {\n key: string\n message: string\n }[]\n members_exceeding_free_project_limit: {\n name: string\n limit: number\n }[]\n target_organization_eligible: boolean | null\n target_organization_has_free_project_slots: boolean | null\n /** @enum {string} */\n source_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise'\n /** @enum {string|null} */\n target_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise' | null\n }\n expires_at: string\n created_at: string\n /** Format: uuid */\n created_by: string\n }\n }\n responses: never\n parameters: never\n requestBodies: never\n headers: never\n pathItems: never\n}\nexport type $defs = Record\nexport interface operations {\n 'v1-get-a-branch-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchDetailResponse']\n }\n }\n /** @description Failed to retrieve database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-a-branch': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchDeleteResponse']\n }\n }\n /** @description Failed to delete database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-a-branch-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateBranchBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchResponse']\n }\n }\n /** @description Failed to update database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-push-a-branch': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['BranchActionBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchUpdateResponse']\n }\n }\n /** @description Failed to push database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-merge-a-branch': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['BranchActionBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchUpdateResponse']\n }\n }\n /** @description Failed to merge database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-reset-a-branch': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['BranchActionBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchUpdateResponse']\n }\n }\n /** @description Failed to reset database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-diff-a-branch': {\n parameters: {\n query?: {\n included_schemas?: string\n }\n header?: never\n path: {\n /** @description Branch ID */\n branch_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'text/plain': string\n }\n }\n /** @description Failed to diff database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-projects': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectWithDatabaseResponse'][]\n }\n }\n }\n }\n 'v1-create-a-project': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1CreateProjectBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectResponse']\n }\n }\n }\n }\n 'v1-list-all-organizations': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['OrganizationResponseV1'][]\n }\n }\n /** @description Unexpected error listing organizations */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-an-organization': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateOrganizationV1']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['OrganizationResponseV1']\n }\n }\n /** @description Unexpected error creating an organization */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-authorize-user': {\n parameters: {\n query: {\n client_id: string\n response_type: 'code' | 'token' | 'id_token token'\n redirect_uri: string\n scope?: string\n state?: string\n response_mode?: string\n code_challenge?: string\n code_challenge_method?: 'plain' | 'sha256' | 'S256'\n }\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n 204: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-exchange-oauth-token': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/x-www-form-urlencoded': components['schemas']['OAuthTokenBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['OAuthTokenResponse']\n }\n }\n }\n }\n 'v1-revoke-token': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['OAuthRevokeTokenBody']\n }\n }\n responses: {\n 204: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-oauth-authorize-project-claim': {\n parameters: {\n query: {\n /** @description Project ref */\n project_ref: string\n client_id: string\n response_type: 'code' | 'token' | 'id_token token'\n redirect_uri: string\n state?: string\n response_mode?: string\n code_challenge?: string\n code_challenge_method?: 'plain' | 'sha256' | 'S256'\n }\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n 204: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-snippets': {\n parameters: {\n query?: {\n /** @description Project ref */\n project_ref?: string\n cursor?: string\n limit?: string\n sort_by?: 'name' | 'inserted_at'\n sort_order?: 'asc' | 'desc'\n }\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SnippetList']\n }\n }\n /** @description Failed to list user's SQL snippets */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-a-snippet': {\n parameters: {\n query?: never\n header?: never\n path: {\n id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SnippetResponse']\n }\n }\n /** @description Failed to retrieve SQL snippet */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-api-keys': {\n parameters: {\n query?: {\n /** @description Boolean string, true or false */\n reveal?: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ApiKeyResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-project-api-key': {\n parameters: {\n query?: {\n /** @description Boolean string, true or false */\n reveal?: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateApiKeyBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ApiKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-legacy-api-keys': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['LegacyApiKeysResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-project-legacy-api-keys': {\n parameters: {\n query: {\n /** @description Boolean string, true or false */\n enabled: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['LegacyApiKeysResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-api-key': {\n parameters: {\n query?: {\n /** @description Boolean string, true or false */\n reveal?: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ApiKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-project-api-key': {\n parameters: {\n query?: {\n /** @description Boolean string, true or false */\n reveal?: boolean\n /** @description Boolean string, true or false */\n was_compromised?: boolean\n reason?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ApiKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-project-api-key': {\n parameters: {\n query?: {\n /** @description Boolean string, true or false */\n reveal?: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateApiKeyBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ApiKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-branches': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve database branches */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-a-branch': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateBranchBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BranchResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to create database branch */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-disable-preview-branching': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to disable preview branching */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-hostname-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateCustomHostnameResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's custom hostname config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-Delete hostname config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to delete project custom hostname configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-hostname-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateCustomHostnameBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateCustomHostnameResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project custom hostname configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-verify-dns-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateCustomHostnameResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to verify project custom hostname configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-activate-custom-hostname': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateCustomHostnameResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to activate project custom hostname configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-network-bans': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['NetworkBanResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's network bans */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-network-bans-enriched': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['NetworkBanResponseEnriched']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's enriched network bans */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-network-bans': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['RemoveNetworkBanRequest']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to remove network bans. */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-network-restrictions': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['NetworkRestrictionsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's network restrictions */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-network-restrictions': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['NetworkRestrictionsRequest']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['NetworkRestrictionsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project network restrictions */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-pgsodium-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['PgsodiumConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's pgsodium config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-pgsodium-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdatePgsodiumConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['PgsodiumConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's pgsodium config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-postgrest-service-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['PostgrestConfigWithJWTSecretResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's postgrest config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-postgrest-service-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1UpdatePostgrestConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1PostgrestConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's postgrest config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectWithDatabaseResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-a-project': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectRefResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-secrets': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SecretResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's secrets */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-bulk-create-secrets': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateSecretBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to create project's secrets */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-bulk-delete-secrets': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': string[]\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to delete secrets with given names */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-ssl-enforcement-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SslEnforcementResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's SSL enforcement config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-ssl-enforcement-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['SslEnforcementRequest']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SslEnforcementResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's SSL enforcement configuration. */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-generate-typescript-types': {\n parameters: {\n query?: {\n included_schemas?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['TypescriptResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to generate TypeScript types */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-vanity-subdomain-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['VanitySubdomainConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get project vanity subdomain configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-deactivate-vanity-subdomain-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to delete project vanity subdomain configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-check-vanity-subdomain-availability': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['VanitySubdomainBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SubdomainAvailabilityResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to check project vanity subdomain configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-activate-vanity-subdomain-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['VanitySubdomainBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ActivateVanitySubdomainResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to activate project vanity subdomain configuration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-upgrade-postgres-version': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpgradeDatabaseBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProjectUpgradeInitiateResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to initiate project upgrade */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-postgres-upgrade-eligibility': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProjectUpgradeEligibilityResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to determine project upgrade eligibility */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-postgres-upgrade-status': {\n parameters: {\n query?: {\n tracking_id?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['DatabaseUpgradeStatusResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project upgrade status */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-readonly-mode-status': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ReadOnlyStatusResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get project readonly mode status */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-disable-readonly-mode-temporarily': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to disable project's readonly mode */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-setup-a-read-replica': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['SetUpReadReplicaBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to set up read replica */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-remove-a-read-replica': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['RemoveReadReplicaBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to remove read replica */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-services-health': {\n parameters: {\n query: {\n services: ('auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage')[]\n timeout_ms?: number\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ServiceHealthResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's service health status */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-signing-keys': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SigningKeysResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-project-signing-key': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateSigningKeyBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SigningKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-signing-key': {\n parameters: {\n query?: never\n header?: never\n path: {\n id: string\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SigningKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-remove-project-signing-key': {\n parameters: {\n query?: never\n header?: never\n path: {\n id: string\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SigningKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-project-signing-key': {\n parameters: {\n query?: never\n header?: never\n path: {\n id: string\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateSigningKeyBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SigningKeyResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-storage-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StorageConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's storage config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-storage-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateStorageConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's storage config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-postgres-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['PostgresConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's Postgres config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-postgres-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdatePostgresConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['PostgresConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's Postgres config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-pgbouncer-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1PgbouncerConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's pgbouncer config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-pooler-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SupavisorConfigResponse'][]\n }\n }\n /** @description Failed to retrieve project's supavisor config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-pooler-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateSupavisorConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateSupavisorConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's supavisor config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-auth-service-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['AuthConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's auth config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-auth-service-config': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateAuthConfigBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['AuthConfigResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update project's auth config */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-project-tpa-integrations': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ThirdPartyAuth'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-project-tpa-integration': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateThirdPartyAuthBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ThirdPartyAuth']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-tpa-integration': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n tpa_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ThirdPartyAuth']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-project-tpa-integration': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n tpa_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ThirdPartyAuth']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-pause-a-project': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-available-restore-versions': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['GetProjectAvailableRestoreVersionsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-restore-a-project': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-cancel-a-project-restoration': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-project-addons': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ListProjectAddonsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to list project addons */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-apply-project-addon': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['ApplyProjectAddonBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to apply project addon */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-remove-project-addon': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n addon_variant: unknown\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to remove project addon */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-claim-token': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProjectClaimTokenResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-project-claim-token': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['CreateProjectClaimTokenResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-project-claim-token': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 204: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-performance-advisors': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectAdvisorsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-security-advisors': {\n parameters: {\n query?: {\n lint_type?: 'sql'\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ProjectAdvisorsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-logs': {\n parameters: {\n query?: {\n sql?: string\n iso_timestamp_start?: string\n iso_timestamp_end?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['AnalyticsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-usage-api-count': {\n parameters: {\n query?: {\n interval?: '15min' | '30min' | '1hr' | '3hr' | '1day' | '3day' | '7day'\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['AnalyticsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get project's usage api counts */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-project-usage-request-count': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['AnalyticsResponse']\n }\n }\n /** @description Failed to get project's usage api requests count */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-migration-history': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1ListMigrationsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to list database migrations */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-upsert-a-migration': {\n parameters: {\n query?: never\n header?: {\n /** @description A unique key to ensure the same migration is tracked only once. */\n 'Idempotency-Key'?: string\n }\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1UpsertMigrationBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to upsert database migration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-apply-a-migration': {\n parameters: {\n query?: never\n header?: {\n /** @description A unique key to ensure the same migration is tracked only once. */\n 'Idempotency-Key'?: string\n }\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1CreateMigrationBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to apply database migration */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-run-a-query': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1RunQueryBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to run sql query */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-enable-database-webhook': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to enable Database Webhooks on the project */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-database-metadata': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['GetProjectDbMetadataResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-functions': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['FunctionResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve project's functions */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-bulk-update-functions': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['BulkUpdateFunctionBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['BulkUpdateFunctionResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update functions */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-a-function': {\n parameters: {\n query?: {\n slug?: string\n name?: string\n /** @description Boolean string, true or false */\n verify_jwt?: boolean\n /** @description Boolean string, true or false */\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/vnd.denoland.eszip': string\n 'application/json': components['schemas']['V1CreateFunctionBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['FunctionResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to create project's function */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-deploy-a-function': {\n parameters: {\n query?: {\n slug?: string\n /** @description Boolean string, true or false */\n bundleOnly?: boolean\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'multipart/form-data': components['schemas']['FunctionDeployBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['DeployFunctionResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to deploy function */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-a-function': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n /** @description Function slug */\n function_slug: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['FunctionSlugResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve function with given slug */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-a-function': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n /** @description Function slug */\n function_slug: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to delete function with given slug */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-a-function': {\n parameters: {\n query?: {\n slug?: string\n name?: string\n /** @description Boolean string, true or false */\n verify_jwt?: boolean\n /** @description Boolean string, true or false */\n import_map?: boolean\n entrypoint_path?: string\n import_map_path?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n /** @description Function slug */\n function_slug: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/vnd.denoland.eszip': string\n 'application/json': components['schemas']['V1UpdateFunctionBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['FunctionResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to update function with given slug */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-a-function-body': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n /** @description Function slug */\n function_slug: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StreamableFile']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to retrieve function body with given slug */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-buckets': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1StorageBucketResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get list of buckets */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-sso-provider': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ListProvidersResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description SAML 2.0 support is not enabled for this project */\n 404: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-a-sso-provider': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['CreateProviderBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['CreateProviderResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description SAML 2.0 support is not enabled for this project */\n 404: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-a-sso-provider': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n provider_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['GetProviderResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */\n 404: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-update-a-sso-provider': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n provider_id: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['UpdateProviderBody']\n }\n }\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['UpdateProviderResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */\n 404: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-delete-a-sso-provider': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n provider_id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['DeleteProviderResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */\n 404: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-all-backups': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1BackupsResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get backups */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-restore-pitr-backup': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1RestorePitrBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-restore-point': {\n parameters: {\n query?: {\n name?: string\n }\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1RestorePointResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n /** @description Failed to get requested restore points */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-create-restore-point': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1RestorePointPostBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1RestorePointResponse']\n }\n }\n }\n }\n 'v1-undo': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Project ref */\n ref: string\n }\n cookie?: never\n }\n requestBody: {\n content: {\n 'application/json': components['schemas']['V1UndoBody']\n }\n }\n responses: {\n 201: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-list-organization-members': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Organization slug */\n slug: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1OrganizationMemberResponse'][]\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-an-organization': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Organization slug */\n slug: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['V1OrganizationSlugResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-get-organization-project-claim': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Organization slug */\n slug: string\n token: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['OrganizationProjectClaimResponse']\n }\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n 'v1-claim-project-for-organization': {\n parameters: {\n query?: never\n header?: never\n path: {\n /** @description Organization slug */\n slug: string\n token: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n 204: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n 403: {\n headers: {\n [name: string]: unknown\n }\n content?: never\n }\n }\n }\n}\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/management-api.ts", + "content": "import createClient from 'openapi-fetch'\nimport type { paths } from './management-api-schema'\n\nexport const client = createClient({\n baseUrl: '/api/supabase-proxy',\n})\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/sql.ts", + "content": "export const columnsSql = `\nSELECT\n c.oid :: int8 AS table_id,\n nc.nspname AS schema,\n c.relname AS table,\n (c.oid || '.' || a.attnum) AS id,\n a.attnum AS ordinal_position,\n a.attname AS name,\n CASE\n WHEN a.atthasdef THEN pg_get_expr(ad.adbin, ad.adrelid)\n ELSE NULL\n END AS default_value,\n CASE\n WHEN t.typtype = 'd' THEN CASE\n WHEN bt.typelem <> 0 :: oid\n AND bt.typlen = -1 THEN 'ARRAY'\n WHEN nbt.nspname = 'pg_catalog' THEN format_type(t.typbasetype, NULL)\n ELSE 'USER-DEFINED'\n END\n ELSE CASE\n WHEN t.typelem <> 0 :: oid\n AND t.typlen = -1 THEN 'ARRAY'\n WHEN nt.nspname = 'pg_catalog' THEN format_type(a.atttypid, NULL)\n ELSE 'USER-DEFINED'\n END\n END AS data_type,\n COALESCE(bt.typname, t.typname) AS format,\n a.attidentity IN ('a', 'd') AS is_identity,\n CASE\n a.attidentity\n WHEN 'a' THEN 'ALWAYS'\n WHEN 'd' THEN 'BY DEFAULT'\n ELSE NULL\n END AS identity_generation,\n a.attgenerated IN ('s') AS is_generated,\n NOT (\n a.attnotnull\n OR t.typtype = 'd' AND t.typnotnull\n ) AS is_nullable,\n (\n c.relkind IN ('r', 'p')\n OR c.relkind IN ('v', 'f') AND pg_column_is_updatable(c.oid, a.attnum, FALSE)\n ) AS is_updatable,\n uniques.table_id IS NOT NULL AS is_unique,\n check_constraints.definition AS \"check\",\n array_to_json(\n array(\n SELECT\n enumlabel\n FROM\n pg_catalog.pg_enum enums\n WHERE\n enums.enumtypid = coalesce(bt.oid, t.oid)\n OR enums.enumtypid = coalesce(bt.typelem, t.typelem)\n ORDER BY\n enums.enumsortorder\n )\n ) AS enums,\n col_description(c.oid, a.attnum) AS comment\nFROM\n pg_attribute a\n LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid\n AND a.attnum = ad.adnum\n JOIN (\n pg_class c\n JOIN pg_namespace nc ON c.relnamespace = nc.oid\n ) ON a.attrelid = c.oid\n JOIN (\n pg_type t\n JOIN pg_namespace nt ON t.typnamespace = nt.oid\n ) ON a.atttypid = t.oid\n LEFT JOIN (\n pg_type bt\n JOIN pg_namespace nbt ON bt.typnamespace = nbt.oid\n ) ON t.typtype = 'd'\n AND t.typbasetype = bt.oid\n LEFT JOIN (\n SELECT DISTINCT ON (table_id, ordinal_position)\n conrelid AS table_id,\n conkey[1] AS ordinal_position\n FROM pg_catalog.pg_constraint\n WHERE contype = 'u' AND cardinality(conkey) = 1\n ) AS uniques ON uniques.table_id = c.oid AND uniques.ordinal_position = a.attnum\n LEFT JOIN (\n -- We only select the first column check\n SELECT DISTINCT ON (table_id, ordinal_position)\n conrelid AS table_id,\n conkey[1] AS ordinal_position,\n substring(\n pg_get_constraintdef(pg_constraint.oid, true),\n 8,\n length(pg_get_constraintdef(pg_constraint.oid, true)) - 8\n ) AS \"definition\"\n FROM pg_constraint\n WHERE contype = 'c' AND cardinality(conkey) = 1\n ORDER BY table_id, ordinal_position, oid asc\n ) AS check_constraints ON check_constraints.table_id = c.oid AND check_constraints.ordinal_position = a.attnum\nWHERE\n NOT pg_is_other_temp_schema(nc.oid)\n AND a.attnum > 0\n AND NOT a.attisdropped\n AND (c.relkind IN ('r', 'v', 'm', 'f', 'p'))\n AND (\n pg_has_role(c.relowner, 'USAGE')\n OR has_column_privilege(\n c.oid,\n a.attnum,\n 'SELECT, INSERT, UPDATE, REFERENCES'\n )\n )\n`\n\nexport const tablesSql = `\nSELECT\n c.oid :: int8 AS id,\n nc.nspname AS schema,\n c.relname AS name,\n c.relrowsecurity AS rls_enabled,\n c.relforcerowsecurity AS rls_forced,\n CASE\n WHEN c.relreplident = 'd' THEN 'DEFAULT'\n WHEN c.relreplident = 'i' THEN 'INDEX'\n WHEN c.relreplident = 'f' THEN 'FULL'\n ELSE 'NOTHING'\n END AS replica_identity,\n pg_total_relation_size(format('%I.%I', nc.nspname, c.relname)) :: int8 AS bytes,\n pg_size_pretty(\n pg_total_relation_size(format('%I.%I', nc.nspname, c.relname))\n ) AS size,\n pg_stat_get_live_tuples(c.oid) AS live_rows_estimate,\n pg_stat_get_dead_tuples(c.oid) AS dead_rows_estimate,\n obj_description(c.oid) AS comment,\n coalesce(pk.primary_keys, '[]') as primary_keys,\n coalesce(\n jsonb_agg(relationships) filter (where relationships is not null),\n '[]'\n ) as relationships\nFROM\n pg_namespace nc\n JOIN pg_class c ON nc.oid = c.relnamespace\n left join (\n select\n table_id,\n jsonb_agg(_pk.*) as primary_keys\n from (\n select\n n.nspname as schema,\n c.relname as table_name,\n a.attname as name,\n c.oid :: int8 as table_id\n from\n pg_index i,\n pg_class c,\n pg_attribute a,\n pg_namespace n\n where\n i.indrelid = c.oid\n and c.relnamespace = n.oid\n and a.attrelid = c.oid\n and a.attnum = any (i.indkey)\n and i.indisprimary\n ) as _pk\n group by table_id\n ) as pk\n on pk.table_id = c.oid\n left join (\n select\n c.oid :: int8 as id,\n c.conname as constraint_name,\n nsa.nspname as source_schema,\n csa.relname as source_table_name,\n sa.attname as source_column_name,\n nta.nspname as target_table_schema,\n cta.relname as target_table_name,\n ta.attname as target_column_name\n from\n pg_constraint c\n join (\n pg_attribute sa\n join pg_class csa on sa.attrelid = csa.oid\n join pg_namespace nsa on csa.relnamespace = nsa.oid\n ) on sa.attrelid = c.conrelid and sa.attnum = any (c.conkey)\n join (\n pg_attribute ta\n join pg_class cta on ta.attrelid = cta.oid\n join pg_namespace nta on cta.relnamespace = nta.oid\n ) on ta.attrelid = c.confrelid and ta.attnum = any (c.confkey)\n where\n c.contype = 'f'\n ) as relationships\n on (relationships.source_schema = nc.nspname and relationships.source_table_name = c.relname)\n or (relationships.target_table_schema = nc.nspname and relationships.target_table_name = c.relname)\nWHERE\n c.relkind IN ('r', 'p')\n AND NOT pg_is_other_temp_schema(nc.oid)\n AND (\n pg_has_role(c.relowner, 'USAGE')\n OR has_table_privilege(\n c.oid,\n 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER'\n )\n OR has_any_column_privilege(c.oid, 'SELECT, INSERT, UPDATE, REFERENCES')\n )\ngroup by\n c.oid,\n c.relname,\n c.relrowsecurity,\n c.relforcerowsecurity,\n c.relreplident,\n nc.nspname,\n pk.primary_keys\n`\n\nexport const extensionsSql = `\nSELECT\n e.name,\n n.nspname AS schema,\n e.default_version,\n x.extversion AS installed_version,\n e.comment\nFROM\n pg_available_extensions() e(name, default_version, comment)\n LEFT JOIN pg_extension x ON e.name = x.extname\n LEFT JOIN pg_namespace n ON x.extnamespace = n.oid\n`\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/index.ts", + "content": "import { stripIndent } from 'common-tags'\n\nimport { columnsSql, extensionsSql, tablesSql } from './sql'\n\nexport const SYSTEM_SCHEMAS = [\n 'information_schema',\n 'pg_catalog',\n 'pg_toast',\n '_timescaledb_internal',\n]\n\n/**\n * Generates the SQL query to list tables in the database.\n */\nexport function listTablesSql(schemas: string[] = []) {\n let sql = stripIndent`\n with\n tables as (${tablesSql}),\n columns as (${columnsSql})\n select\n *,\n ${coalesceRowsToArray('columns', 'columns.table_id = tables.id')}\n from tables\n `\n\n sql += '\\n'\n\n if (schemas.length > 0) {\n sql += `where schema in (${schemas.map((s) => `'${s}'`).join(',')})`\n } else {\n sql += `where schema not in (${SYSTEM_SCHEMAS.map((s) => `'${s}'`).join(',')})`\n }\n\n return sql\n}\n\n/**\n * Generates the SQL query to list all extensions in the database.\n */\nexport function listExtensionsSql() {\n return extensionsSql\n}\n\n/**\n * Generates a SQL segment that coalesces rows into an array of JSON objects.\n */\nexport const coalesceRowsToArray = (source: string, filter: string) => {\n return stripIndent`\n COALESCE(\n (\n SELECT\n array_agg(row_to_json(${source})) FILTER (WHERE ${filter})\n FROM\n ${source}\n ),\n '{}'\n ) AS ${source}\n `\n}\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/types.ts", + "content": "import { z } from 'zod'\n\nexport const postgresPrimaryKeySchema = z.object({\n schema: z.string(),\n table_name: z.string(),\n name: z.string(),\n table_id: z.number().int(),\n})\n\nexport const postgresRelationshipSchema = z.object({\n id: z.number().int(),\n constraint_name: z.string(),\n source_schema: z.string(),\n source_table_name: z.string(),\n source_column_name: z.string(),\n target_table_schema: z.string(),\n target_table_name: z.string(),\n target_column_name: z.string(),\n})\n\nexport const postgresColumnSchema = z.object({\n table_id: z.number().int(),\n schema: z.string(),\n table: z.string(),\n id: z.string().regex(/^(\\d+)\\.(\\d+)$/),\n ordinal_position: z.number().int(),\n name: z.string(),\n default_value: z.any(),\n data_type: z.string(),\n format: z.string(),\n is_identity: z.boolean(),\n identity_generation: z.union([z.literal('ALWAYS'), z.literal('BY DEFAULT'), z.null()]),\n is_generated: z.boolean(),\n is_nullable: z.boolean(),\n is_updatable: z.boolean(),\n is_unique: z.boolean(),\n enums: z.array(z.string()),\n check: z.union([z.string(), z.null()]),\n comment: z.union([z.string(), z.null()]),\n})\n\nexport const postgresTableSchema = z.object({\n id: z.number().int(),\n schema: z.string(),\n name: z.string(),\n rls_enabled: z.boolean(),\n rls_forced: z.boolean(),\n replica_identity: z.union([\n z.literal('DEFAULT'),\n z.literal('INDEX'),\n z.literal('FULL'),\n z.literal('NOTHING'),\n ]),\n bytes: z.number().int(),\n size: z.string(),\n live_rows_estimate: z.number().int(),\n dead_rows_estimate: z.number().int(),\n comment: z.string().nullable(),\n columns: z.array(postgresColumnSchema).optional(),\n primary_keys: z.array(postgresPrimaryKeySchema),\n relationships: z.array(postgresRelationshipSchema),\n})\n\nexport const postgresExtensionSchema = z.object({\n name: z.string(),\n schema: z.union([z.string(), z.null()]),\n default_version: z.string(),\n installed_version: z.union([z.string(), z.null()]),\n comment: z.union([z.string(), z.null()]),\n})\n\nexport type PostgresPrimaryKey = z.infer\nexport type PostgresRelationship = z.infer\nexport type PostgresColumn = z.infer\nexport type PostgresTable = z.infer\nexport type PostgresExtension = z.infer\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/schemas/auth.ts", + "content": "import { z } from 'zod'\n\n// Field labels mapping for form generation\nexport const authFieldLabels: Record<\n string,\n string | { label: string; options?: Record }\n> = {\n // General Settings\n disable_signup: 'Disable Signup',\n external_anonymous_users_enabled: 'Allow Anonymous Sign-ins',\n\n // Email Provider\n external_email_enabled: 'Enable Email Provider',\n mailer_autoconfirm: 'Confirm Email',\n mailer_secure_email_change_enabled: 'Secure Email Change',\n security_update_password_require_reauthentication: 'Secure Password Change',\n password_hibp_enabled: 'Prevent Leaked Passwords',\n password_min_length: 'Minimum Password Length',\n password_required_characters: {\n label: 'Password Requirements',\n options: {\n NO_REQUIRED_CHARS: 'No requirements',\n 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789': 'Letters and numbers',\n 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789':\n 'Lowercase, uppercase, and numbers',\n 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\\'\\\\\\\\:\"|<>?,./`~':\n 'Letters, numbers, and symbols',\n },\n },\n mailer_otp_exp: 'Email OTP Expiration (seconds)',\n mailer_otp_length: 'Email OTP Length',\n\n // Phone Provider\n external_phone_enabled: 'Enable Phone Provider',\n sms_provider: {\n label: 'SMS Provider',\n options: {\n twilio: 'Twilio',\n messagebird: 'MessageBird',\n textlocal: 'TextLocal',\n vonage: 'Vonage',\n twilio_verify: 'Twilio Verify',\n },\n },\n sms_twilio_account_sid: 'Twilio Account SID',\n sms_twilio_auth_token: 'Twilio Auth Token',\n sms_twilio_message_service_sid: 'Twilio Message Service SID',\n sms_twilio_content_sid: 'Twilio Content SID',\n sms_twilio_verify_account_sid: 'Twilio Verify Account SID',\n sms_twilio_verify_auth_token: 'Twilio Verify Auth Token',\n sms_twilio_verify_message_service_sid: 'Twilio Verify Message Service SID',\n sms_messagebird_access_key: 'MessageBird Access Key',\n sms_messagebird_originator: 'MessageBird Originator',\n sms_textlocal_api_key: 'TextLocal API Key',\n sms_textlocal_sender: 'TextLocal Sender',\n sms_vonage_api_key: 'Vonage API Key',\n sms_vonage_api_secret: 'Vonage API Secret',\n sms_vonage_from: 'Vonage From Number',\n sms_autoconfirm: 'Enable Phone Confirmations',\n sms_otp_exp: 'SMS OTP Expiry (seconds)',\n sms_otp_length: 'SMS OTP Length',\n sms_template: 'SMS Message Template',\n sms_test_otp: 'Test Phone Numbers and OTPs',\n sms_test_otp_valid_until: 'Test OTPs Valid Until',\n\n // Google Provider\n external_google_enabled: 'Enable Google Sign-in',\n external_google_client_id: 'Google Client ID(s)',\n external_google_secret: 'Google OAuth Client Secret',\n external_google_skip_nonce_check: 'Skip Nonce Check',\n\n // Secrets\n name: 'Secret Name',\n value: 'Secret Value',\n secretNames: 'Secret Names',\n}\n\n// New schemas for auth settings\n\nexport const authGeneralSettingsSchema = z.object({\n disable_signup: z.boolean().optional().describe('This will prevent new users from signing up.'),\n external_anonymous_users_enabled: z\n .boolean()\n .optional()\n .describe('This will enable anonymous users to sign in to your application.'),\n})\nexport type AuthGeneralSettingsSchema = z.infer\n\nconst NO_REQUIRED_CHARACTERS = 'NO_REQUIRED_CHARS'\n\nexport const authEmailProviderSchema = z\n .object({\n external_email_enabled: z\n .boolean()\n .optional()\n .describe('This will enable Email based signup and login for your application.'),\n mailer_autoconfirm: z\n .boolean()\n .optional()\n .describe(\n 'Users will need to confirm their email address before signing in for the first time.'\n ),\n mailer_secure_email_change_enabled: z\n .boolean()\n .optional()\n .describe(\n 'Users will be required to confirm any email change on both the old email address and new email address. If disabled, only the new email is required to confirm.'\n ),\n security_update_password_require_reauthentication: z\n .boolean()\n .optional()\n .describe(\n 'Users will need to be recently logged in to change their password without requiring reauthentication. (A user is considered recently logged in if the session was created within the last 24 hours.) If disabled, a user can change their password at any time.'\n ),\n password_hibp_enabled: z\n .boolean()\n .optional()\n .describe(\n 'Rejects the use of known or easy to guess passwords on sign up or password change. Powered by the HaveIBeenPwned.org Pwned Passwords API.'\n ),\n password_min_length: z\n .number()\n .int()\n .min(6, 'Must be greater or equal to 6.')\n .describe(\n 'Passwords shorter than this value will be rejected as weak. Minimum 6, recommended 8 or more.'\n ),\n password_required_characters: z\n .preprocess(\n (val) => (val === '' || val === null || val === undefined ? NO_REQUIRED_CHARACTERS : val),\n z.enum([\n NO_REQUIRED_CHARACTERS,\n 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789',\n 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789',\n 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\\'\\\\\\\\:\"|<>?,./`~',\n ])\n )\n .optional()\n .transform((val) => (val === NO_REQUIRED_CHARACTERS ? '' : val))\n .describe('Passwords that do not have at least one of each will be rejected as weak.'),\n mailer_otp_exp: z\n .number()\n .int()\n .min(0, 'Must be more than 0')\n .max(86400, 'Must be no more than 86400')\n .describe('Duration before an email otp / link expires in seconds.'),\n mailer_otp_length: z\n .number()\n .int()\n .min(6, 'Must be at least 6')\n .max(10, 'Must be no more than 10')\n .optional()\n .describe('Number of digits in the email OTP'),\n })\n .describe('Email provider settings.')\nexport type AuthEmailProviderSchema = z.infer\n\nexport const authPhoneProviderSchema = z\n .object({\n external_phone_enabled: z\n .boolean()\n .optional()\n .describe('This will enable phone based login for your application'),\n sms_provider: z\n .enum(['twilio', 'messagebird', 'textlocal', 'vonage', 'twilio_verify'])\n .optional()\n .describe('External provider that will handle sending SMS messages'),\n // Twilio\n sms_twilio_account_sid: z.string().optional(),\n sms_twilio_auth_token: z.string().optional(),\n sms_twilio_message_service_sid: z.string().optional(),\n sms_twilio_content_sid: z\n .string()\n .optional()\n .describe('Twilio Content SID (Optional, For WhatsApp Only)'),\n // Twilio Verify\n sms_twilio_verify_account_sid: z.string().optional(),\n sms_twilio_verify_auth_token: z.string().optional(),\n sms_twilio_verify_message_service_sid: z.string().optional(),\n // Messagebird\n sms_messagebird_access_key: z.string().optional(),\n sms_messagebird_originator: z.string().optional(),\n // Textlocal\n sms_textlocal_api_key: z.string().optional(),\n sms_textlocal_sender: z.string().optional(),\n // Vonage\n sms_vonage_api_key: z.string().optional(),\n sms_vonage_api_secret: z.string().optional(),\n sms_vonage_from: z.string().optional(),\n // SMS Confirm settings\n sms_autoconfirm: z\n .boolean()\n .optional()\n .describe('Users will need to confirm their phone number before signing in.'),\n sms_otp_exp: z\n .number()\n .int()\n .optional()\n .describe('Duration before an SMS OTP expires in seconds.'),\n sms_otp_length: z.number().int().optional().describe('Number of digits in OTP.'),\n sms_template: z.string().optional().describe('To format the OTP code use `{{ .Code }}`'),\n sms_test_otp: z\n .string()\n .optional()\n .describe(\n 'Register phone number and OTP combinations for testing as a comma separated list of = pairs. Example: `18005550123=789012`'\n ),\n sms_test_otp_valid_until: z\n .string()\n .datetime({ message: 'Invalid datetime string.' })\n .optional()\n .describe(\n \"Test phone number and OTP combinations won't be active past this date and time (local time zone).\"\n ),\n })\n .describe('Phone provider settings.')\nexport type AuthPhoneProviderSchema = z.infer\n\nexport const authGoogleProviderObject = z.object({\n external_google_enabled: z.boolean().optional().describe('Enable Sign in with Google'),\n external_google_client_id: z\n .string()\n .regex(\n /^([a-z0-9-]+\\.[a-z0-9-]+(\\.[a-z0-9-]+)*(,[a-z0-9-]+\\.[a-z0-9-]+(\\.[a-z0-9-]+)*)*)$/i,\n 'Google Client IDs should be a comma-separated list of domain-like strings.'\n )\n .optional(),\n external_google_secret: z\n .string()\n .regex(\n /^[a-z0-9.\\/_-]*$/i,\n 'Google OAuth Client Secrets usually contain letters, numbers, dots, dashes, and underscores.'\n )\n .optional(),\n external_google_skip_nonce_check: z\n .boolean()\n .optional()\n .describe('Allows ID tokens with any nonce to be accepted, which is less secure.'),\n})\n\nexport const authGoogleProviderSchema = authGoogleProviderObject\n .superRefine((data, ctx) => {\n if (data.external_google_enabled && !data.external_google_client_id) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n path: ['external_google_client_id'],\n message: 'At least one Client ID is required when Google sign-in is enabled.',\n })\n }\n if (data.external_google_client_id && data.external_google_client_id.includes(' ')) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n path: ['external_google_client_id'],\n message: 'Client IDs should not contain spaces.',\n })\n }\n })\n .describe('Google provider settings.')\nexport type AuthGoogleProviderSchema = z.infer\n\nexport const authConfigUpdateSchema = authGeneralSettingsSchema\n .merge(authEmailProviderSchema)\n .merge(authPhoneProviderSchema)\n .merge(authGoogleProviderObject)\n\nexport type AuthConfigUpdateSchema = z.infer\n\n// A version used for partial updates (all fields optional)\nexport const authConfigUpdatePayloadSchema = authConfigUpdateSchema.partial()\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/schemas/secrets.ts", + "content": "import z from 'zod'\n\nexport const secretsSchema = z\n .object({\n secrets: z.array(\n z.object({\n name: z\n .string()\n .min(1, 'Secret name is required.')\n .regex(\n /^[a-zA-Z_][a-zA-Z0-9_]*$/,\n 'Must contain letters, numbers, and underscores, starting with a letter or underscore.'\n ),\n value: z.string().min(1, 'Secret value is required.'),\n })\n ),\n })\n .describe('Secrets schema for managing environment variables.')\n\nexport type SecretsSchema = z.infer\n\nexport const deleteSecretsSchema = z\n .object({\n secretNames: z\n .array(z.string().min(1, 'Secret name cannot be empty.'))\n .min(1, 'At least one secret name is required.'),\n })\n .describe('Schema for deleting secrets by name.')\nexport type DeleteSecretsSchema = z.infer\n", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/contexts/SheetNavigationContext.tsx", + "content": "'use client'\n\nimport { createContext, useContext, useState, ReactNode, useMemo, useCallback } from 'react'\n\ntype StackItem = {\n title: string\n component: ReactNode\n}\n\ntype SheetNavigationContextType = {\n stack: StackItem[]\n push: (item: StackItem) => void\n pop: () => void\n popTo: (index: number) => void\n reset: () => void\n}\n\nconst SheetNavigationContext = createContext(undefined)\n\nexport function SheetNavigationProvider({\n children,\n onStackEmpty,\n initialStack = [],\n}: {\n children: ReactNode\n onStackEmpty?: () => void\n initialStack?: StackItem[]\n}) {\n const [stack, setStack] = useState(initialStack)\n\n const push = useCallback((item: StackItem) => {\n setStack((prev) => [...prev, item])\n }, [])\n\n const pop = useCallback(() => {\n setStack((prev) => {\n const newStack = prev.slice(0, -1)\n if (newStack.length === 0) {\n onStackEmpty?.()\n }\n return newStack\n })\n }, [onStackEmpty])\n\n const popTo = useCallback((index: number) => {\n if (index < 0) return\n setStack((prev) => prev.slice(0, index + 1))\n }, [])\n\n const reset = useCallback(() => {\n setStack([])\n onStackEmpty?.()\n }, [onStackEmpty])\n\n const value = useMemo(\n () => ({ stack, push, pop, popTo, reset }),\n [stack, push, pop, popTo, reset]\n )\n\n return {children}\n}\n\nexport function useSheetNavigation() {\n const context = useContext(SheetNavigationContext)\n if (context === undefined) {\n throw new Error('useSheetNavigation must be used within a SheetNavigationProvider')\n }\n return context\n}\n", + "type": "registry:component", + "target": "contexts/SheetNavigationContext.tsx" + } + ] +} \ No newline at end of file diff --git a/apps/ui-library/registry.json b/apps/ui-library/registry.json index 22379b2828e..a7458fc4414 100644 --- a/apps/ui-library/registry.json +++ b/apps/ui-library/registry.json @@ -1210,6 +1210,183 @@ } ] }, + { + "$schema": "https://ui.shadcn.com/schema/registry-item.json", + "name": "platform-kit-nextjs", + "type": "registry:block", + "title": "Platform Kit for Nextjs and Supabase", + "description": "Platform Kit for Nextjs and Supabase", + "registryDependencies": [ + "alert", + "badge", + "button", + "card", + "chart", + "command", + "dialog", + "drawer", + "form", + "hover-card", + "input", + "label", + "popover", + "select", + "skeleton", + "switch", + "table", + "toggle", + "toggle-group", + "tooltip" + ], + "dependencies": [ + "@hookform/resolvers", + "@monaco-editor/react", + "@tanstack/react-query", + "@tanstack/react-table", + "axios", + "cmdk", + "common-tags", + "openai", + "openapi-fetch", + "react-hook-form", + "react-markdown", + "recharts", + "sonner" + ], + "files": [ + { + "path": "registry/default/platform/platform-kit-nextjs/app/api/ai/sql/route.ts", + "type": "registry:page", + "target": "app/api/ai/sql/route.ts" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts", + "type": "registry:page", + "target": "app/api/supabase-proxy/[...path]/route.ts" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/dynamic-form.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/logo-supabase.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/results-table.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/sql-editor.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/auth.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/database.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/index.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/logs.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/secrets.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/storage.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/supabase-manager/users.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/components/users-growth-chart.tsx", + "type": "registry:component" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-auth.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-logs.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-run-query.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-secrets.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-storage.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-suggestions.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-tables.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/hooks/use-user-counts.ts", + "type": "registry:hook" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/logs.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/management-api-schema.d.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/management-api.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/sql.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/index.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/pg-meta/types.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/schemas/auth.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/lib/schemas/secrets.ts", + "type": "registry:lib" + }, + { + "path": "registry/default/platform/platform-kit-nextjs/contexts/SheetNavigationContext.tsx", + "type": "registry:component", + "target": "contexts/SheetNavigationContext.tsx" + } + ] + }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "ai-editor-rules", diff --git a/apps/ui-library/registry/default/components/ui/alert.tsx b/apps/ui-library/registry/default/components/ui/alert.tsx new file mode 100644 index 00000000000..e9c7035408d --- /dev/null +++ b/apps/ui-library/registry/default/components/ui/alert.tsx @@ -0,0 +1,52 @@ +import * as React from 'react' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const alertVariants = cva( + 'relative w-full rounded-lg border p-8 text-center [&>svg]:mx-auto [&>svg]:mb-4 [&>svg]:text-foreground', + { + variants: { + variant: { + default: 'bg-background text-foreground', + destructive: 'bg-background text-foreground [&>svg]:text-destructive', + }, + }, + defaultVariants: { + variant: 'default', + }, + } +) + +const Alert = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes & VariantProps +>(({ className, variant, ...props }, ref) => ( +
+)) +Alert.displayName = 'Alert' + +const AlertTitle = React.forwardRef>( + ({ className, ...props }, ref) => ( +
+ ) +) +AlertTitle.displayName = 'AlertTitle' + +const AlertDescription = React.forwardRef< + HTMLParagraphElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)) +AlertDescription.displayName = 'AlertDescription' + +export { Alert, AlertTitle, AlertDescription } diff --git a/apps/ui-library/registry/default/components/ui/badge.tsx b/apps/ui-library/registry/default/components/ui/badge.tsx new file mode 100644 index 00000000000..fa899d9a365 --- /dev/null +++ b/apps/ui-library/registry/default/components/ui/badge.tsx @@ -0,0 +1,33 @@ +import * as React from 'react' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const badgeVariants = cva( + 'inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2', + { + variants: { + variant: { + default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80', + secondary: + 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80', + destructive: + 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80', + outline: 'text-foreground', + }, + }, + defaultVariants: { + variant: 'default', + }, + } +) + +export interface BadgeProps + extends React.HTMLAttributes, + VariantProps {} + +function Badge({ className, variant, ...props }: BadgeProps) { + return
+} + +export { Badge, badgeVariants } diff --git a/apps/ui-library/registry/default/components/ui/chart.tsx b/apps/ui-library/registry/default/components/ui/chart.tsx new file mode 100644 index 00000000000..37ee71b4552 --- /dev/null +++ b/apps/ui-library/registry/default/components/ui/chart.tsx @@ -0,0 +1,326 @@ +'use client' + +import * as React from 'react' +import * as RechartsPrimitive from 'recharts' + +import { cn } from '@/lib/utils' + +// Format: { THEME_NAME: CSS_SELECTOR } +const THEMES = { light: '', dark: '.dark' } as const + +export type ChartConfig = { + [k in string]: { + label?: React.ReactNode + icon?: React.ComponentType + } & ( + | { color?: string; theme?: never } + | { color?: never; theme: Record } + ) +} + +type ChartContextProps = { + config: ChartConfig +} + +const ChartContext = React.createContext(null) + +function useChart() { + const context = React.useContext(ChartContext) + + if (!context) { + throw new Error('useChart must be used within a ') + } + + return context +} + +const ChartContainer = React.forwardRef< + HTMLDivElement, + React.ComponentProps<'div'> & { + config: ChartConfig + children: React.ComponentProps['children'] + } +>(({ id, className, children, config, ...props }, ref) => { + const uniqueId = React.useId() + const chartId = `chart-${id || uniqueId.replace(/:/g, '')}` + + return ( + +
+ + {children} +
+
+ ) +}) +ChartContainer.displayName = 'Chart' + +const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => { + const colorConfig = Object.entries(config).filter(([_, config]) => config.theme || config.color) + + if (!colorConfig.length) { + return null + } + + return ( +