diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdx index ad6036620e7..315ef59fb15 100644 --- a/apps/docs/content/guides/api/rest/generating-types.mdx +++ b/apps/docs/content/guides/api/rest/generating-types.mdx @@ -144,7 +144,15 @@ To use `MergeDeep`, set `compilerOptions.strictNullChecks` to `true` in your `ts You can also override the type of an individual successful response if needed: ```ts -const { data } = await supabase.from('countries').select().returns() +// Partial type override allows you to only override some of the properties in your results +const { data } = await supabase.from('countries').select().overrideTypes>() +// For a full replacement of the original return type use the `{ merge: false }` property as second argument +const { data } = await supabase + .from('countries') + .select() + .overrideTypes, { merge: false }>() +// Use it with `maybeSingle` or `single` +const { data } = await supabase.from('countries').select().single().overrideTypes<{ id: string }>() ``` ### Type shorthands diff --git a/apps/docs/docs/ref/javascript/typescript-support.mdx b/apps/docs/docs/ref/javascript/typescript-support.mdx index 3818dddca9f..6525afa9664 100644 --- a/apps/docs/docs/ref/javascript/typescript-support.mdx +++ b/apps/docs/docs/ref/javascript/typescript-support.mdx @@ -149,7 +149,15 @@ You can also override the type of an individual successful response if needed: ```ts -const { data } = await supabase.from('countries').select().returns() +// Partial type override allows you to only override some of the properties in your results +const { data } = await supabase.from('countries').select().overrideTypes>() +// For a full replacement of the original return type use the `{ merge: false }` property as second argument +const { data } = await supabase + .from('countries') + .select() + .overrideTypes, { merge: false }>() +// Use it with `maybeSingle` or `single` +const { data } = await supabase.from('countries').select().single().overrideTypes<{ id: string }>() ``` 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 bbd43282922..74f154685a1 100644 --- a/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap +++ b/apps/docs/features/docs/__snapshots__/Reference.typeSpec.test.ts.snap @@ -909,6 +909,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } }, + "@supabase/auth-js.AuthInvalidJwtError.constructor": { + "name": "@supabase/auth-js.AuthInvalidJwtError.constructor", + "params": [ + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "ret": { + "type": { + "type": "nameOnly", + "name": "AuthInvalidJwtError" + } + } + }, "@supabase/auth-js.AuthInvalidTokenResponseError.constructor": { "name": "@supabase/auth-js.AuthInvalidTokenResponseError.constructor", "params": [], @@ -5735,6 +5753,223 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." } }, + "@supabase/auth-js.GoTrueClient.getClaims": { + "name": "@supabase/auth-js.GoTrueClient.getClaims", + "params": [ + { + "name": "jwt", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "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" + } + ] + } + } + ] + } + } + } + ] + } + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "object", + "properties": [ + { + "name": "claims", + "type": { + "type": "nameOnly", + "name": "JwtPayload" + } + }, + { + "name": "header", + "type": { + "name": "JwtHeader", + "type": "object", + "properties": [ + { + "name": "alg", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } + }, + { + "name": "kid", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "name": "typ", + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "name": "signature", + "type": { + "type": "nameOnly", + "name": "Uint8Array" + } + } + ] + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "nameOnly", + "name": "AuthError" + } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "data", + "type": { + "type": "literal", + "value": null + } + }, + { + "name": "error", + "type": { + "type": "literal", + "value": null + } + } + ] + } + ] + } + } + }, + "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" + } + ] + } + }, "@supabase/auth-js.GoTrueClient.getSession": { "name": "@supabase/auth-js.GoTrueClient.getSession", "params": [], @@ -21308,6 +21543,39 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } } }, + "@supabase/postgrest-js.PostgrestBuilder.overrideTypes": { + "name": "@supabase/postgrest-js.PostgrestBuilder.overrideTypes", + "params": [], + "comment": { + "shortText": "Override the type of the returned \`data\` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\\n", + "tags": [ + { + "tag": "example", + "text": "\\n\`\`\`typescript\\n// Merge with existing types (default behavior)\\nconst query = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ custom_field: string }>()\\n\\n// Replace existing types completely\\nconst replaceQuery = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\\n\`\`\`" + } + ] + } + }, + "@supabase/postgrest-js.PostgrestBuilder.returns": { + "name": "@supabase/postgrest-js.PostgrestBuilder.returns", + "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "CheckMatchingArrayTypes" + } + }, + "comment": { + "shortText": "Override the type of the returned \`data\`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\\n" + } + ] + } + }, "@supabase/postgrest-js.PostgrestBuilder.setHeader": { "name": "@supabase/postgrest-js.PostgrestBuilder.setHeader", "params": [ @@ -23903,6 +24171,20 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, + "@supabase/postgrest-js.PostgrestFilterBuilder.overrideTypes": { + "name": "@supabase/postgrest-js.PostgrestFilterBuilder.overrideTypes", + "params": [], + "comment": { + "shortText": "Override the type of the returned \`data\` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\\n", + "tags": [ + { + "tag": "example", + "text": "\\n\`\`\`typescript\\n// Merge with existing types (default behavior)\\nconst query = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ custom_field: string }>()\\n\\n// Replace existing types completely\\nconst replaceQuery = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\\n\`\`\`" + } + ] + } + }, "@supabase/postgrest-js.PostgrestFilterBuilder.range": { "name": "@supabase/postgrest-js.PostgrestFilterBuilder.range", "params": [ @@ -24325,7 +24607,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Override the type of the returned \`data\`." + "shortText": "Override the type of the returned \`data\`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\\n" + } + ] } }, "@supabase/postgrest-js.PostgrestFilterBuilder.rollback": { @@ -25898,6 +26186,20 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, + "@supabase/postgrest-js.PostgrestTransformBuilder.overrideTypes": { + "name": "@supabase/postgrest-js.PostgrestTransformBuilder.overrideTypes", + "params": [], + "comment": { + "shortText": "Override the type of the returned \`data\` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\\n", + "tags": [ + { + "tag": "example", + "text": "\\n\`\`\`typescript\\n// Merge with existing types (default behavior)\\nconst query = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ custom_field: string }>()\\n\\n// Replace existing types completely\\nconst replaceQuery = supabase\\n .from('users')\\n .select()\\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\\n\`\`\`" + } + ] + } + }, "@supabase/postgrest-js.PostgrestTransformBuilder.range": { "name": "@supabase/postgrest-js.PostgrestTransformBuilder.range", "params": [ @@ -25975,7 +26277,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Override the type of the returned \`data\`." + "shortText": "Override the type of the returned \`data\`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\\n" + } + ] } }, "@supabase/postgrest-js.PostgrestTransformBuilder.rollback": { diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json index ce2edf917b5..ff478c31d68 100644 --- a/apps/docs/spec/api_v1_openapi.json +++ b/apps/docs/spec/api_v1_openapi.json @@ -3569,7 +3569,11 @@ }, "SecretResponse": { "type": "object", - "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, + "properties": { + "name": { "type": "string" }, + "value": { "type": "string" }, + "updated_at": { "type": "string" } + }, "required": ["name", "value"] }, "CreateSecretBody": { diff --git a/apps/docs/spec/common-client-libs-sections.json b/apps/docs/spec/common-client-libs-sections.json index 970e6dec100..a9206ccf0c4 100644 --- a/apps/docs/spec/common-client-libs-sections.json +++ b/apps/docs/spec/common-client-libs-sections.json @@ -376,6 +376,14 @@ "parent": "modifiers", "type": "function" }, + { + "id": "overrideTypes", + "title": "Partially override or replace type of successful response", + "slug": "db-overrideTypes", + "product": "database", + "parent": "modifiers", + "type": "function" + }, { "id": "explain", "title": "Using explain", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/combined.json b/apps/docs/spec/enrichments/tsdoc_v2/combined.json index 7b18b0747a5..3b14109903f 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": 1121, + "id": 1168, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1122, + "id": 1169, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7411,14 +7411,14 @@ ], "signatures": [ { - "id": 1123, + "id": 1170, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1124, + "id": 1171, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7429,7 +7429,7 @@ } }, { - "id": 1125, + "id": 1172, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7440,7 +7440,7 @@ } }, { - "id": 1126, + "id": 1173, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -7462,918 +7462,22 @@ ], "type": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, - { - "id": 1128, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1117, - "name": "AuthError.code" - } - }, - { - "id": 1127, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 1119, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1122] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1128, 1127] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 30, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - ] - }, - { - "id": 1111, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1112, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 1113, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1114, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1115, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1116, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 1117, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - } - }, - { - "id": 1119, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1112] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1117, 1119] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1121, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1131, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1178, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1179, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1180, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1181, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1182, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1184] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1178, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1202, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1203, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1186, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1188, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1188] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1200, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" - } - }, - { - "id": 1201, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" - } - }, - { - "id": 1190, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1191, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1196, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1199, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1198, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1199, 1198] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1194, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1193, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1195, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1196, 1194, 1193, 1195] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1179] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1202, 1186, 1200, 1201] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1190] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1169, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1170, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1171, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1172, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1169, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, { "id": 1175, "name": "code", @@ -8397,10 +7501,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -8419,36 +7519,17 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1173, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" + "id": 1164, + "name": "AuthError.code" } }, { @@ -8463,7 +7544,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 57, + "line": 31, "character": 2 } ], @@ -8471,10 +7552,10 @@ "type": "intrinsic", "name": "number" }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" + "id": 1166, + "name": "AuthError.status" } } ], @@ -8482,38 +7563,38 @@ { "title": "Constructors", "kind": 512, - "children": [1170] + "children": [1169] }, { "title": "Properties", "kind": 1024, - "children": [1175, 1173, 1174] + "children": [1175, 1174] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 82, + "line": 30, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 1141, - "name": "CustomAuthError" + "id": 1158, + "name": "AuthError" } ] }, { - "id": 1161, - "name": "AuthInvalidTokenResponseError", + "id": 1158, + "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1162, + "id": 1159, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8521,37 +7602,74 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 77, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 1163, - "name": "new AuthInvalidTokenResponseError", + "id": 1160, + "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, + "parameters": [ + { + "id": 1161, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1162, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1163, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "reference", - "id": 1161, - "name": "AuthInvalidTokenResponseError" + "id": 1158, + "name": "AuthError" }, "overwrites": { "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } }, { - "id": 1166, + "id": 1164, "name": "code", "kind": 1024, "kindString": "Property", @@ -8573,9 +7691,260 @@ "type": "intrinsic", "name": "undefined" }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, { "type": "reference", "name": "ErrorCode" + } + ] + } + }, + { + "id": 1166, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1159] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1164, 1166] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1168, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1178, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1225, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1226, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1227, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1228, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1229, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1230, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1232, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1231, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1232, 1231] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1249, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" }, { "type": "intersection", @@ -8587,7 +7956,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8595,17 +7964,100 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1164, + "id": 1233, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1236, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1236, 1235] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1247, "name": "name", "kind": 1024, "kindString": "Property", @@ -8623,12 +8075,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1165, + "id": 1248, "name": "status", "kind": 1024, "kindString": "Property", @@ -8649,7 +8101,379 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, + "name": "CustomAuthError.status" + } + }, + { + "id": 1237, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1238, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1239, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1243, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1246, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1245, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1246, 1245] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1241, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1240, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1242, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1243, 1241, 1240, 1242] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1226] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1249, 1233, 1247, 1248] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1237] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1216, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1217, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1218, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1219, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1216, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1222, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1223, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1220, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1221, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, "name": "CustomAuthError.status" } } @@ -8658,12 +8482,377 @@ { "title": "Constructors", "kind": 512, - "children": [1162] + "children": [1217] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1164, 1165] + "children": [1222, 1220, 1221] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1301, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1302, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1303, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1304, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1307, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1305, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1306, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1302] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1307, 1305, 1306] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1208, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1209, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1210, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1208, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1213, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1214, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1211, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1212, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1209] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1213, 1211, 1212] } ], "sources": [ @@ -8676,20 +8865,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1206, + "id": 1253, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8703,14 +8892,14 @@ ], "signatures": [ { - "id": 1207, + "id": 1254, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1208, + "id": 1255, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8721,7 +8910,7 @@ } }, { - "id": 1209, + "id": 1256, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -8736,14 +8925,14 @@ { "type": "reflection", "declaration": { - "id": 1210, + "id": 1257, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1212, + "id": 1259, "name": "code", "kind": 1024, "kindString": "Property", @@ -8761,7 +8950,7 @@ } }, { - "id": 1211, + "id": 1258, "name": "error", "kind": 1024, "kindString": "Property", @@ -8783,7 +8972,7 @@ { "title": "Properties", "kind": 1024, - "children": [1212, 1211] + "children": [1259, 1258] } ] } @@ -8795,24 +8984,24 @@ ], "type": { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1229, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -8834,10 +9023,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -8848,7 +9033,7 @@ { "type": "reflection", "declaration": { - "id": 1230, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8856,17 +9041,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1260, "name": "details", "kind": 1024, "kindString": "Property", @@ -8888,14 +9077,14 @@ { "type": "reflection", "declaration": { - "id": 1214, + "id": 1261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1216, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -8913,7 +9102,7 @@ } }, { - "id": 1215, + "id": 1262, "name": "error", "kind": 1024, "kindString": "Property", @@ -8935,7 +9124,7 @@ { "title": "Properties", "kind": 1024, - "children": [1216, 1215] + "children": [1263, 1262] } ] } @@ -8945,7 +9134,7 @@ "defaultValue": "null" }, { - "id": 1227, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -8963,12 +9152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1228, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -8989,12 +9178,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } }, { - "id": 1217, + "id": 1264, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -9008,7 +9197,7 @@ ], "signatures": [ { - "id": 1218, + "id": 1265, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -9016,14 +9205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1219, + "id": 1266, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1223, + "id": 1270, "name": "details", "kind": 1024, "kindString": "Property", @@ -9045,14 +9234,14 @@ { "type": "reflection", "declaration": { - "id": 1224, + "id": 1271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1226, + "id": 1273, "name": "code", "kind": 1024, "kindString": "Property", @@ -9070,7 +9259,7 @@ } }, { - "id": 1225, + "id": 1272, "name": "error", "kind": 1024, "kindString": "Property", @@ -9092,7 +9281,7 @@ { "title": "Properties", "kind": 1024, - "children": [1226, 1225] + "children": [1273, 1272] } ] } @@ -9102,7 +9291,7 @@ "defaultValue": "..." }, { - "id": 1221, + "id": 1268, "name": "message", "kind": 1024, "kindString": "Property", @@ -9121,7 +9310,7 @@ "defaultValue": "..." }, { - "id": 1220, + "id": 1267, "name": "name", "kind": 1024, "kindString": "Property", @@ -9140,7 +9329,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1269, "name": "status", "kind": 1024, "kindString": "Property", @@ -9163,7 +9352,7 @@ { "title": "Properties", "kind": 1024, - "children": [1223, 1221, 1220, 1222] + "children": [1270, 1268, 1267, 1269] } ] } @@ -9176,17 +9365,17 @@ { "title": "Constructors", "kind": 512, - "children": [1206] + "children": [1253] }, { "title": "Properties", "kind": 1024, - "children": [1229, 1213, 1227, 1228] + "children": [1276, 1260, 1274, 1275] }, { "title": "Methods", "kind": 2048, - "children": [1217] + "children": [1264] } ], "sources": [ @@ -9199,20 +9388,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1233, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9226,14 +9415,14 @@ ], "signatures": [ { - "id": 1234, + "id": 1281, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1235, + "id": 1282, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9244,7 +9433,7 @@ } }, { - "id": 1236, + "id": 1283, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -9257,24 +9446,24 @@ ], "type": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1239, + "id": 1286, "name": "code", "kind": 1024, "kindString": "Property", @@ -9296,10 +9485,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -9310,7 +9495,7 @@ { "type": "reflection", "declaration": { - "id": 1240, + "id": 1287, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9318,17 +9503,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1237, + "id": 1284, "name": "name", "kind": 1024, "kindString": "Property", @@ -9346,12 +9535,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1238, + "id": 1285, "name": "status", "kind": 1024, "kindString": "Property", @@ -9372,7 +9561,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -9381,12 +9570,12 @@ { "title": "Constructors", "kind": 512, - "children": [1233] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1239, 1237, 1238] + "children": [1286, 1284, 1285] } ], "sources": [ @@ -9399,20 +9588,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1154, + "id": 1201, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9426,31 +9615,31 @@ ], "signatures": [ { - "id": 1155, + "id": 1202, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1158, + "id": 1205, "name": "code", "kind": 1024, "kindString": "Property", @@ -9472,10 +9661,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -9486,7 +9671,7 @@ { "type": "reflection", "declaration": { - "id": 1159, + "id": 1206, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9494,17 +9679,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1156, + "id": 1203, "name": "name", "kind": 1024, "kindString": "Property", @@ -9522,12 +9711,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1157, + "id": 1204, "name": "status", "kind": 1024, "kindString": "Property", @@ -9548,7 +9737,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -9557,12 +9746,12 @@ { "title": "Constructors", "kind": 512, - "children": [1154] + "children": [1201] }, { "title": "Properties", "kind": 1024, - "children": [1158, 1156, 1157] + "children": [1205, 1203, 1204] } ], "sources": [ @@ -9575,20 +9764,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1131, + "id": 1178, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1132, + "id": 1179, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9602,14 +9791,14 @@ ], "signatures": [ { - "id": 1133, + "id": 1180, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1181, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9620,7 +9809,7 @@ } }, { - "id": 1135, + "id": 1182, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -9633,24 +9822,24 @@ ], "type": { "type": "reference", - "id": 1131, + "id": 1178, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1137, + "id": 1184, "name": "code", "kind": 1024, "kindString": "Property", @@ -9672,10 +9861,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -9686,7 +9871,7 @@ { "type": "reflection", "declaration": { - "id": 1138, + "id": 1185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9694,17 +9879,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1136, + "id": 1183, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -9722,7 +9911,7 @@ } }, { - "id": 1139, + "id": 1186, "name": "status", "kind": 1024, "kindString": "Property", @@ -9752,7 +9941,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -9761,12 +9950,12 @@ { "title": "Constructors", "kind": 512, - "children": [1132] + "children": [1179] }, { "title": "Properties", "kind": 1024, - "children": [1137, 1136, 1139] + "children": [1184, 1183, 1186] } ], "sources": [ @@ -9779,13 +9968,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] }, { - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -9795,7 +9984,7 @@ }, "children": [ { - "id": 1243, + "id": 1290, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9809,14 +9998,14 @@ ], "signatures": [ { - "id": 1244, + "id": 1291, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1245, + "id": 1292, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9827,7 +10016,7 @@ } }, { - "id": 1246, + "id": 1293, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -9838,7 +10027,7 @@ } }, { - "id": 1247, + "id": 1294, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -9854,24 +10043,24 @@ ], "type": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1298, "name": "code", "kind": 1024, "kindString": "Property", @@ -9893,10 +10082,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -9907,7 +10092,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9915,17 +10100,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1249, + "id": 1296, "name": "name", "kind": 1024, "kindString": "Property", @@ -9943,12 +10132,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1248, + "id": 1295, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -9967,13 +10156,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } }, { - "id": 1250, + "id": 1297, "name": "status", "kind": 1024, "kindString": "Property", @@ -9994,7 +10183,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -10003,12 +10192,12 @@ { "title": "Constructors", "kind": 512, - "children": [1243] + "children": [1290] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1249, 1248, 1250] + "children": [1298, 1296, 1295, 1297] } ], "sources": [ @@ -10021,20 +10210,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1141, + "id": 1188, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1142, + "id": 1189, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10048,14 +10237,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1190, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1191, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -10066,7 +10255,7 @@ } }, { - "id": 1145, + "id": 1192, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -10077,7 +10266,7 @@ } }, { - "id": 1146, + "id": 1193, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -10088,7 +10277,7 @@ } }, { - "id": 1147, + "id": 1194, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -10110,24 +10299,24 @@ ], "type": { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1150, + "id": 1197, "name": "code", "kind": 1024, "kindString": "Property", @@ -10149,10 +10338,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -10163,7 +10348,7 @@ { "type": "reflection", "declaration": { - "id": 1151, + "id": 1198, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10171,17 +10356,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1148, + "id": 1195, "name": "name", "kind": 1024, "kindString": "Property", @@ -10203,7 +10392,7 @@ } }, { - "id": 1149, + "id": 1196, "name": "status", "kind": 1024, "kindString": "Property", @@ -10224,7 +10413,7 @@ }, "overwrites": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -10233,12 +10422,12 @@ { "title": "Constructors", "kind": 512, - "children": [1142] + "children": [1189] }, { "title": "Properties", "kind": 1024, - "children": [1150, 1148, 1149] + "children": [1197, 1195, 1196] } ], "sources": [ @@ -10251,45 +10440,50 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1161, + "id": 1208, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1169, + "id": 1216, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" + }, + { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" } ] }, @@ -10531,10 +10725,10 @@ ], "type": { "type": "reference", - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -10550,14 +10744,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -10577,17 +10771,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -10610,14 +10804,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -10638,7 +10832,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10663,7 +10857,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -10684,7 +10878,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -10696,14 +10890,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10713,17 +10907,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -10746,14 +10940,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10778,7 +10972,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -10799,7 +10993,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -10815,7 +11009,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -10860,17 +11054,17 @@ "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -10894,7 +11088,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -10918,7 +11112,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -10945,7 +11139,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -10969,7 +11163,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -10993,7 +11187,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -11021,7 +11215,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -11048,7 +11242,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -11072,7 +11266,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11099,7 +11293,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -11123,7 +11317,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -11147,7 +11341,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -11176,7 +11370,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -11193,7 +11387,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -11215,7 +11409,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -11285,7 +11479,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -11328,10 +11522,10 @@ "flags": {}, "type": { "type": "reference", - "id": 876, + "id": 897, "name": "GenerateLinkParams", "dereferenced": { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11347,7 +11541,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11362,14 +11556,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -11387,7 +11581,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -11406,7 +11600,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -11429,7 +11623,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -11447,7 +11641,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -11469,7 +11663,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -11483,7 +11677,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11498,14 +11692,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -11526,7 +11720,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -11545,7 +11739,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -11568,7 +11762,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -11599,7 +11793,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -11613,7 +11807,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11628,14 +11822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -11656,7 +11850,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -11675,7 +11869,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -11689,7 +11883,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -11711,7 +11905,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -11725,7 +11919,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11740,14 +11934,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -11768,7 +11962,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -11789,7 +11983,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -11808,7 +12002,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -11822,7 +12016,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -11853,7 +12047,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -11877,7 +12071,7 @@ "typeArguments": [ { "type": "reference", - "id": 877, + "id": 898, "name": "GenerateLinkResponse" } ], @@ -11932,7 +12126,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -12063,7 +12257,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -12112,10 +12306,10 @@ }, "type": { "type": "reference", - "id": 1048, + "id": 1069, "name": "PageParams", "dereferenced": { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -12130,14 +12324,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -12160,7 +12354,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -12187,7 +12381,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -12278,7 +12472,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -12295,7 +12489,7 @@ }, { "type": "reference", - "id": 1041, + "id": 1062, "name": "Pagination" } ] @@ -12403,7 +12597,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -12546,7 +12740,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -12616,17 +12810,17 @@ }, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -12650,7 +12844,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -12674,7 +12868,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -12701,7 +12895,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -12725,7 +12919,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -12749,7 +12943,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -12777,7 +12971,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -12804,7 +12998,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -12828,7 +13022,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12855,7 +13049,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -12879,7 +13073,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -12903,7 +13097,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -12932,7 +13126,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -12949,7 +13143,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -12971,7 +13165,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -13024,7 +13218,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 182, + "line": 191, "character": 2 } ], @@ -13047,10 +13241,10 @@ "flags": {}, "type": { "type": "reference", - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "dereferenced": { - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -13065,14 +13259,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 535, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -13092,7 +13286,7 @@ } }, { - "id": 519, + "id": 540, "name": "debug", "kind": 1024, "kindString": "Property", @@ -13116,7 +13310,7 @@ { "type": "reflection", "declaration": { - "id": 520, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13130,14 +13324,14 @@ ], "signatures": [ { - "id": 521, + "id": 542, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 522, + "id": 543, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -13148,7 +13342,7 @@ } }, { - "id": 523, + "id": 544, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -13176,7 +13370,7 @@ } }, { - "id": 513, + "id": 534, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -13196,7 +13390,7 @@ } }, { - "id": 517, + "id": 538, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13216,7 +13410,7 @@ } }, { - "id": 518, + "id": 539, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -13232,10 +13426,10 @@ ], "type": { "type": "reference", - "id": 779, + "id": 800, "name": "AuthFlowType", "dereferenced": { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -13264,7 +13458,7 @@ } }, { - "id": 525, + "id": 546, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -13293,7 +13487,7 @@ } }, { - "id": 508, + "id": 529, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13310,7 +13504,7 @@ "type": { "type": "reflection", "declaration": { - "id": 509, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13323,14 +13517,14 @@ } ], "indexSignature": { - "id": 510, + "id": 531, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 532, "name": "key", "kind": 32768, "flags": {}, @@ -13349,7 +13543,7 @@ } }, { - "id": 524, + "id": 545, "name": "lock", "kind": 1024, "kindString": "Property", @@ -13374,10 +13568,10 @@ ], "type": { "type": "reference", - "id": 496, + "id": 517, "name": "LockFunc", "dereferenced": { - "id": 496, + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -13392,7 +13586,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13406,7 +13600,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13422,7 +13616,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -13431,7 +13625,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -13445,7 +13639,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -13459,7 +13653,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -13470,7 +13664,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13484,7 +13678,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13494,7 +13688,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -13513,7 +13707,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -13529,7 +13723,7 @@ } }, { - "id": 515, + "id": 536, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -13549,7 +13743,7 @@ } }, { - "id": 516, + "id": 537, "name": "storage", "kind": 1024, "kindString": "Property", @@ -13565,10 +13759,10 @@ ], "type": { "type": "reference", - "id": 1028, + "id": 1049, "name": "SupportedStorage", "dereferenced": { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13623,14 +13817,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -13657,7 +13851,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -13675,7 +13869,7 @@ } }, { - "id": 512, + "id": 533, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -13695,7 +13889,7 @@ } }, { - "id": 507, + "id": 528, "name": "url", "kind": 1024, "kindString": "Property", @@ -13720,7 +13914,7 @@ "title": "Properties", "kind": 1024, "children": [ - 514, 519, 513, 517, 518, 525, 508, 524, 515, 516, 512, 507 + 535, 540, 534, 538, 539, 546, 529, 545, 536, 537, 533, 528 ] } ], @@ -13757,7 +13951,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 132, + "line": 138, "character": 2 } ], @@ -14003,10 +14197,10 @@ ], "type": { "type": "reference", - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -14022,14 +14216,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -14049,17 +14243,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -14082,14 +14276,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -14110,7 +14304,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14135,7 +14329,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -14156,7 +14350,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -14168,14 +14362,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14185,17 +14379,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -14218,14 +14412,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14250,7 +14444,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -14271,7 +14465,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -14287,7 +14481,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -14332,17 +14526,17 @@ "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -14366,7 +14560,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -14390,7 +14584,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -14417,7 +14611,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -14441,7 +14635,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -14465,7 +14659,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -14493,7 +14687,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -14520,7 +14714,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -14544,7 +14738,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14571,7 +14765,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -14595,7 +14789,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -14619,7 +14813,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -14648,7 +14842,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -14665,7 +14859,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -14687,7 +14881,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -14757,7 +14951,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -14800,10 +14994,10 @@ "flags": {}, "type": { "type": "reference", - "id": 876, + "id": 897, "name": "GenerateLinkParams", "dereferenced": { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14819,7 +15013,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14834,14 +15028,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -14859,7 +15053,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -14878,7 +15072,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -14901,7 +15095,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -14919,7 +15113,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -14941,7 +15135,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -14955,7 +15149,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14970,14 +15164,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -14998,7 +15192,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -15017,7 +15211,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -15040,7 +15234,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -15071,7 +15265,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -15085,7 +15279,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15100,14 +15294,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -15128,7 +15322,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -15147,7 +15341,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -15161,7 +15355,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -15183,7 +15377,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -15197,7 +15391,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15212,14 +15406,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -15240,7 +15434,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -15261,7 +15455,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -15280,7 +15474,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -15294,7 +15488,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -15325,7 +15519,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -15349,7 +15543,7 @@ "typeArguments": [ { "type": "reference", - "id": 877, + "id": 898, "name": "GenerateLinkResponse" } ], @@ -15404,7 +15598,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -15535,7 +15729,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -15584,10 +15778,10 @@ }, "type": { "type": "reference", - "id": 1048, + "id": 1069, "name": "PageParams", "dereferenced": { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -15602,14 +15796,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -15632,7 +15826,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -15659,7 +15853,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -15750,7 +15944,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -15767,7 +15961,7 @@ }, { "type": "reference", - "id": 1041, + "id": 1062, "name": "Pagination" } ] @@ -15875,7 +16069,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -16018,7 +16212,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -16088,17 +16282,17 @@ }, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -16122,7 +16316,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -16146,7 +16340,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -16173,7 +16367,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -16197,7 +16391,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -16221,7 +16415,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16249,7 +16443,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -16276,7 +16470,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -16300,7 +16494,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16327,7 +16521,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -16351,7 +16545,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -16375,7 +16569,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -16404,7 +16598,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -16421,7 +16615,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -16443,7 +16637,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -16494,16 +16688,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 136, + "line": 142, "character": 2 } ], "type": { "type": "reference", - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "dereferenced": { - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -16513,14 +16707,14 @@ }, "children": [ { - "id": 980, + "id": 1001, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 981, + "id": 1002, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -16530,17 +16724,17 @@ }, "parameters": [ { - "id": 982, + "id": 1003, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 907, + "id": 928, "name": "MFAChallengeParams", "dereferenced": { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -16555,14 +16749,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16594,7 +16788,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16619,7 +16813,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -16640,7 +16834,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse" } ], @@ -16652,14 +16846,14 @@ ] }, { - "id": 989, + "id": 1010, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 990, + "id": 1011, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -16669,17 +16863,17 @@ }, "parameters": [ { - "id": 991, + "id": 1012, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -16694,14 +16888,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -16722,7 +16916,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16747,7 +16941,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -16768,7 +16962,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -16780,14 +16974,14 @@ ] }, { - "id": 973, + "id": 994, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 974, + "id": 995, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -16798,17 +16992,17 @@ }, "parameters": [ { - "id": 975, + "id": 996, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -16823,14 +17017,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16851,7 +17045,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -16874,7 +17068,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -16901,7 +17095,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -16922,7 +17116,7 @@ "typeArguments": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -16932,24 +17126,24 @@ } }, { - "id": 976, + "id": 997, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 998, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -16964,14 +17158,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16992,7 +17186,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17015,7 +17209,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17040,7 +17234,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -17061,7 +17255,7 @@ "typeArguments": [ { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -17071,24 +17265,24 @@ } }, { - "id": 978, + "id": 999, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 979, + "id": 1000, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 898, + "id": 919, "name": "MFAEnrollParams", "dereferenced": { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17104,7 +17298,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17119,14 +17313,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17147,7 +17341,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17170,7 +17364,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -17197,7 +17391,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -17211,7 +17405,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -17226,14 +17420,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17254,7 +17448,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17277,7 +17471,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17302,7 +17496,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -17326,7 +17520,7 @@ "typeArguments": [ { "type": "reference", - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse" } ], @@ -17338,14 +17532,14 @@ ] }, { - "id": 994, + "id": 1015, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 995, + "id": 1016, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -17359,7 +17553,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -17371,14 +17565,14 @@ ] }, { - "id": 992, + "id": 1013, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 993, + "id": 1014, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -17405,7 +17599,7 @@ "typeArguments": [ { "type": "reference", - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse" } ], @@ -17417,14 +17611,14 @@ ] }, { - "id": 986, + "id": 1007, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 987, + "id": 1008, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -17434,17 +17628,17 @@ }, "parameters": [ { - "id": 988, + "id": 1009, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "dereferenced": { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17459,14 +17653,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17491,7 +17685,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -17512,7 +17706,7 @@ "typeArguments": [ { "type": "reference", - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse" } ], @@ -17524,14 +17718,14 @@ ] }, { - "id": 983, + "id": 1004, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 984, + "id": 1005, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -17541,17 +17735,17 @@ }, "parameters": [ { - "id": 985, + "id": 1006, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 902, + "id": 923, "name": "MFAVerifyParams", "dereferenced": { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17566,14 +17760,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -17594,7 +17788,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -17615,7 +17809,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17640,7 +17834,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -17661,7 +17855,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -17677,7 +17871,7 @@ { "title": "Methods", "kind": 2048, - "children": [980, 989, 973, 994, 992, 986, 983] + "children": [1001, 1010, 994, 1015, 1013, 1007, 1004] } ], "sources": [ @@ -17691,7 +17885,7 @@ } }, { - "id": 144, + "id": 147, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -17699,13 +17893,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 593, "character": 8 } ], "signatures": [ { - "id": 145, + "id": 148, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -17715,7 +17909,7 @@ }, "parameters": [ { - "id": 146, + "id": 149, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -17731,7 +17925,7 @@ "typeArguments": [ { "type": "reference", - "id": 574, + "id": 595, "name": "AuthTokenResponse" } ], @@ -17743,7 +17937,358 @@ ] }, { - "id": 183, + "id": 477, + "name": "getClaims", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2636, + "character": 8 + } + ], + "signatures": [ + { + "id": 478, + "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" + } + ] + }, + "parameters": [ + { + "id": 479, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 480, + "name": "jwks", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 482, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2638, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1133, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [482] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 483, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 484, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 486, + "name": "claims", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 1129, + "name": "JwtPayload" + } + }, + { + "id": 487, + "name": "header", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 36 + } + ], + "type": { + "type": "reference", + "id": 1114, + "name": "JwtHeader" + } + }, + { + "id": 488, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 55 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [486, 487, 488] + } + ] + } + } + }, + { + "id": 489, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2642, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [484, 489] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 490, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 491, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 492, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [491, 492] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 493, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 494, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 495, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 20 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [494, 495] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 186, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -17751,13 +18296,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 935, + "line": 944, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 187, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -17775,158 +18320,18 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 186, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1028, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 188, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1029, - "character": 14 - } - ], - "type": { - "type": "reference", - "id": 635, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [188] - } - ] - } - } - }, { "id": 189, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1031, - "character": 12 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [186, 189] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1034, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 193, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1035, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [193] - } - ] - } - } - }, - { - "id": 194, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -17934,55 +18339,17 @@ "character": 12 } ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [191, 194] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 195, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 196, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1040, - "character": 12 - } - ], "type": { "type": "reflection", "declaration": { - "id": 197, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 198, + "id": 191, "name": "session", "kind": 1024, "kindString": "Property", @@ -17990,13 +18357,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1038, "character": 14 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 656, + "name": "Session" } } ], @@ -18004,14 +18372,14 @@ { "title": "Properties", "kind": 1024, - "children": [198] + "children": [191] } ] } } }, { - "id": 199, + "id": 192, "name": "error", "kind": 1024, "kindString": "Property", @@ -18019,7 +18387,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1040, "character": 12 } ], @@ -18033,7 +18401,184 @@ { "title": "Properties", "kind": 1024, - "children": [196, 199] + "children": [189, 192] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 193, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 194, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1043, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 195, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 196, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1044, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [196] + } + ] + } + } + }, + { + "id": 197, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1046, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [194, 197] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 198, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 199, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1049, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 200, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 201, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1050, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [201] + } + ] + } + } + }, + { + "id": 202, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1052, + "character": 12 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [199, 202] } ] } @@ -18049,7 +18594,7 @@ ] }, { - "id": 246, + "id": 249, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -18057,13 +18602,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1166, + "line": 1175, "character": 8 } ], "signatures": [ { - "id": 247, + "id": 250, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -18073,7 +18618,7 @@ }, "parameters": [ { - "id": 248, + "id": 251, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -18094,7 +18639,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -18106,7 +18651,7 @@ ] }, { - "id": 362, + "id": 358, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -18114,13 +18659,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1735, + "line": 1733, "character": 8 } ], "signatures": [ { - "id": 363, + "id": 359, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -18137,14 +18682,14 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 365, + "id": 361, "name": "data", "kind": 1024, "kindString": "Property", @@ -18152,21 +18697,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1737, + "line": 1735, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 363, "name": "identities", "kind": 1024, "kindString": "Property", @@ -18174,7 +18719,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 1736, "character": 10 } ], @@ -18182,7 +18727,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } @@ -18192,18 +18737,55 @@ { "title": "Properties", "kind": 1024, - "children": [367] + "children": [363] } ] } } }, { - "id": 368, + "id": 364, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1738, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [361, 364] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 366, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -18215,46 +18797,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365, 368] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 370, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1742, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 371, + "id": 367, "name": "error", "kind": 1024, "kindString": "Property", @@ -18262,13 +18807,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1742, + "line": 1740, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -18277,7 +18822,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371] + "children": [366, 367] } ] } @@ -18293,7 +18838,7 @@ ] }, { - "id": 128, + "id": 131, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -18301,13 +18846,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 286, + "line": 295, "character": 8 } ], "signatures": [ { - "id": 129, + "id": 132, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -18320,7 +18865,7 @@ "typeArguments": [ { "type": "reference", - "id": 1031, + "id": 1052, "name": "InitializeResult" } ], @@ -18332,7 +18877,7 @@ ] }, { - "id": 372, + "id": 368, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -18340,13 +18885,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1759, + "line": 1757, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 369, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -18356,17 +18901,17 @@ }, "parameters": [ { - "id": 374, + "id": 370, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18381,14 +18926,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -18405,14 +18950,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -18432,7 +18977,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18445,14 +18990,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -18471,7 +19016,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18494,7 +19039,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -18517,7 +19062,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -18544,7 +19089,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -18558,7 +19103,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -18575,10 +19120,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -18694,7 +19239,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -18715,7 +19260,7 @@ "typeArguments": [ { "type": "reference", - "id": 602, + "id": 623, "name": "OAuthResponse" } ], @@ -18727,7 +19272,7 @@ ] }, { - "id": 334, + "id": 330, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -18735,13 +19280,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1633, + "line": 1631, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 331, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -18751,7 +19296,7 @@ }, "parameters": [ { - "id": 336, + "id": 332, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -18762,33 +19307,33 @@ "type": { "type": "reflection", "declaration": { - "id": 337, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 338, + "id": 334, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 339, + "id": 335, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent" } }, { - "id": 340, + "id": 336, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -18802,7 +19347,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -18839,14 +19384,14 @@ "type": { "type": "reflection", "declaration": { - "id": 341, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -18854,21 +19399,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 340, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -18876,23 +19421,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 12 } ], "type": { "type": "reference", - "id": 718, + "id": 739, "name": "Subscription", "dereferenced": { - "id": 718, + "id": 739, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 719, + "id": 740, "name": "id", "kind": 1024, "kindString": "Property", @@ -18913,7 +19458,7 @@ } }, { - "id": 720, + "id": 741, "name": "callback", "kind": 2048, "kindString": "Method", @@ -18927,7 +19472,7 @@ ], "signatures": [ { - "id": 721, + "id": 742, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -18937,17 +19482,17 @@ }, "parameters": [ { - "id": 722, + "id": 743, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent", "dereferenced": { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -18987,7 +19532,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -19010,7 +19555,7 @@ } }, { - "id": 723, + "id": 744, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19024,7 +19569,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -19039,7 +19584,7 @@ ] }, { - "id": 724, + "id": 745, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -19053,7 +19598,7 @@ ], "signatures": [ { - "id": 725, + "id": 746, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -19073,12 +19618,12 @@ { "title": "Properties", "kind": 1024, - "children": [719] + "children": [740] }, { "title": "Methods", "kind": 2048, - "children": [720, 724] + "children": [741, 745] } ], "sources": [ @@ -19096,7 +19641,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [340] } ] } @@ -19107,7 +19652,7 @@ { "title": "Properties", "kind": 1024, - "children": [342] + "children": [338] } ] } @@ -19116,7 +19661,7 @@ ] }, { - "id": 176, + "id": 179, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -19124,13 +19669,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 851, + "line": 860, "character": 8 } ], "signatures": [ { - "id": 177, + "id": 180, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -19143,7 +19688,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -19155,7 +19700,7 @@ ] }, { - "id": 283, + "id": 279, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -19163,13 +19708,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 8 } ], "signatures": [ { - "id": 284, + "id": 280, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -19179,7 +19724,7 @@ }, "parameters": [ { - "id": 285, + "id": 281, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -19192,14 +19737,14 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 283, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19207,7 +19752,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 42 } ], @@ -19221,7 +19766,7 @@ { "title": "Properties", "kind": 1024, - "children": [287] + "children": [283] } ] } @@ -19233,7 +19778,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -19245,7 +19790,7 @@ ] }, { - "id": 180, + "id": 183, "name": "resend", "kind": 2048, "kindString": "Method", @@ -19253,13 +19798,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 895, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 184, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -19269,17 +19814,17 @@ }, "parameters": [ { - "id": 182, + "id": 185, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 824, + "id": 845, "name": "ResendParams", "dereferenced": { - "id": 824, + "id": 845, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -19297,14 +19842,14 @@ { "type": "reflection", "declaration": { - "id": 825, + "id": 846, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 827, + "id": 848, "name": "email", "kind": 1024, "kindString": "Property", @@ -19322,7 +19867,7 @@ } }, { - "id": 828, + "id": 849, "name": "options", "kind": 1024, "kindString": "Property", @@ -19339,14 +19884,14 @@ "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 850, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19369,7 +19914,7 @@ } }, { - "id": 830, + "id": 851, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -19396,7 +19941,7 @@ { "title": "Properties", "kind": 1024, - "children": [831, 830] + "children": [852, 851] } ], "sources": [ @@ -19410,7 +19955,7 @@ } }, { - "id": 826, + "id": 847, "name": "type", "kind": 1024, "kindString": "Property", @@ -19427,7 +19972,7 @@ "typeArguments": [ { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" }, { @@ -19454,7 +19999,7 @@ { "title": "Properties", "kind": 1024, - "children": [827, 828, 826] + "children": [848, 849, 847] } ], "sources": [ @@ -19469,14 +20014,14 @@ { "type": "reflection", "declaration": { - "id": 832, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 835, + "id": 856, "name": "options", "kind": 1024, "kindString": "Property", @@ -19493,14 +20038,14 @@ "type": { "type": "reflection", "declaration": { - "id": 836, + "id": 857, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 858, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19527,7 +20072,7 @@ { "title": "Properties", "kind": 1024, - "children": [837] + "children": [858] } ], "sources": [ @@ -19541,7 +20086,7 @@ } }, { - "id": 834, + "id": 855, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19559,7 +20104,7 @@ } }, { - "id": 833, + "id": 854, "name": "type", "kind": 1024, "kindString": "Property", @@ -19576,7 +20121,7 @@ "typeArguments": [ { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" }, { @@ -19603,7 +20148,7 @@ { "title": "Properties", "kind": 1024, - "children": [835, 834, 833] + "children": [856, 855, 854] } ], "sources": [ @@ -19626,7 +20171,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -19638,7 +20183,7 @@ ] }, { - "id": 348, + "id": 344, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -19646,13 +20191,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1689, + "line": 1687, "character": 8 } ], "signatures": [ { - "id": 349, + "id": 345, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -19662,7 +20207,7 @@ }, "parameters": [ { - "id": 350, + "id": 346, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -19676,7 +20221,7 @@ } }, { - "id": 351, + "id": 347, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -19684,14 +20229,14 @@ "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 354, + "id": 350, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19704,7 +20249,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1691, "character": 6 } ], @@ -19714,7 +20259,7 @@ } }, { - "id": 353, + "id": 349, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19727,7 +20272,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1692, + "line": 1690, "character": 6 } ], @@ -19741,7 +20286,7 @@ { "title": "Properties", "kind": 1024, - "children": [354, 353] + "children": [350, 349] } ] } @@ -19755,6 +20300,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 352, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1695, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 353, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 354, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1696, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [352, 354] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -19770,30 +20376,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1697, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 357, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 358, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -19805,46 +20387,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [356, 358] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 360, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1700, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 361, + "id": 357, "name": "error", "kind": 1024, "kindString": "Property", @@ -19852,13 +20397,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1700, + "line": 1698, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -19867,7 +20412,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 361] + "children": [356, 357] } ] } @@ -19883,7 +20428,7 @@ ] }, { - "id": 271, + "id": 267, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -19891,13 +20436,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1305, "character": 8 } ], "signatures": [ { - "id": 272, + "id": 268, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -19907,7 +20452,7 @@ }, "parameters": [ { - "id": 273, + "id": 269, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -19918,14 +20463,14 @@ "type": { "type": "reflection", "declaration": { - "id": 274, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 271, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -19933,7 +20478,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1306, "character": 4 } ], @@ -19943,7 +20488,7 @@ } }, { - "id": 276, + "id": 272, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19951,7 +20496,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1307, "character": 4 } ], @@ -19965,7 +20510,7 @@ { "title": "Properties", "kind": 1024, - "children": [275, 276] + "children": [271, 272] } ] } @@ -19977,7 +20522,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -19989,7 +20534,7 @@ ] }, { - "id": 132, + "id": 135, "name": "signInAnonymously", "kind": 2048, "kindString": "Method", @@ -19997,13 +20542,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 389, + "line": 398, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 136, "name": "signInAnonymously", "kind": 4096, "kindString": "Call signature", @@ -20014,7 +20559,7 @@ }, "parameters": [ { - "id": 134, + "id": 137, "name": "credentials", "kind": 32768, "kindString": "Parameter", @@ -20023,10 +20568,10 @@ }, "type": { "type": "reference", - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20041,14 +20586,14 @@ "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 748, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 728, + "id": 749, "name": "options", "kind": 1024, "kindString": "Property", @@ -20065,14 +20610,14 @@ "type": { "type": "reflection", "declaration": { - "id": 729, + "id": 750, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 731, + "id": 752, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20095,7 +20640,7 @@ } }, { - "id": 730, + "id": 751, "name": "data", "kind": 1024, "kindString": "Property", @@ -20123,7 +20668,7 @@ { "title": "Properties", "kind": 1024, - "children": [731, 730] + "children": [752, 751] } ], "sources": [ @@ -20141,7 +20686,7 @@ { "title": "Properties", "kind": 1024, - "children": [728] + "children": [749] } ], "sources": [ @@ -20162,7 +20707,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -20174,7 +20719,7 @@ ] }, { - "id": 164, + "id": 167, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -20182,13 +20727,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 644, + "line": 653, "character": 8 } ], "signatures": [ { - "id": 165, + "id": 168, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -20198,17 +20743,17 @@ }, "parameters": [ { - "id": 166, + "id": 169, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20223,14 +20768,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 814, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 797, + "id": 818, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -20253,7 +20798,7 @@ } }, { - "id": 798, + "id": 819, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -20276,7 +20821,7 @@ } }, { - "id": 799, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -20293,14 +20838,14 @@ "type": { "type": "reflection", "declaration": { - "id": 800, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20327,7 +20872,7 @@ { "title": "Properties", "kind": 1024, - "children": [801] + "children": [822] } ], "sources": [ @@ -20341,7 +20886,7 @@ } }, { - "id": 794, + "id": 815, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20389,7 +20934,7 @@ { "type": "reflection", "declaration": { - "id": 795, + "id": 816, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20409,7 +20954,7 @@ } }, { - "id": 796, + "id": 817, "name": "token", "kind": 1024, "kindString": "Property", @@ -20434,7 +20979,7 @@ { "title": "Properties", "kind": 1024, - "children": [797, 798, 799, 794, 796] + "children": [818, 819, 820, 815, 817] } ], "sources": [ @@ -20455,7 +21000,7 @@ "typeArguments": [ { "type": "reference", - "id": 574, + "id": 595, "name": "AuthTokenResponse" } ], @@ -20467,7 +21012,7 @@ ] }, { - "id": 141, + "id": 144, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -20475,13 +21020,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 572, + "line": 581, "character": 8 } ], "signatures": [ { - "id": 142, + "id": 145, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -20491,17 +21036,17 @@ }, "parameters": [ { - "id": 143, + "id": 146, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20516,14 +21061,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -20540,14 +21085,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -20567,7 +21112,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20580,14 +21125,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -20606,7 +21151,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20629,7 +21174,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -20652,7 +21197,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -20679,7 +21224,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -20693,7 +21238,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20710,10 +21255,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -20829,7 +21374,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -20850,7 +21395,7 @@ "typeArguments": [ { "type": "reference", - "id": 602, + "id": 623, "name": "OAuthResponse" } ], @@ -20862,7 +21407,7 @@ ] }, { - "id": 167, + "id": 170, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -20870,13 +21415,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 699, + "line": 708, "character": 8 } ], "signatures": [ { - "id": 168, + "id": 171, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -20887,17 +21432,17 @@ }, "parameters": [ { - "id": 169, + "id": 172, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20915,14 +21460,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 785, "name": "email", "kind": 1024, "kindString": "Property", @@ -20943,7 +21488,7 @@ } }, { - "id": 765, + "id": 786, "name": "options", "kind": 1024, "kindString": "Property", @@ -20960,14 +21505,14 @@ "type": { "type": "reflection", "declaration": { - "id": 766, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 791, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20990,7 +21535,7 @@ } }, { - "id": 769, + "id": 790, "name": "data", "kind": 1024, "kindString": "Property", @@ -21014,7 +21559,7 @@ } }, { - "id": 767, + "id": 788, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -21037,7 +21582,7 @@ } }, { - "id": 768, + "id": 789, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21064,7 +21609,7 @@ { "title": "Properties", "kind": 1024, - "children": [770, 769, 767, 768] + "children": [791, 790, 788, 789] } ], "sources": [ @@ -21082,7 +21627,7 @@ { "title": "Properties", "kind": 1024, - "children": [764, 765] + "children": [785, 786] } ], "sources": [ @@ -21097,14 +21642,14 @@ { "type": "reflection", "declaration": { - "id": 771, + "id": 792, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 773, + "id": 794, "name": "options", "kind": 1024, "kindString": "Property", @@ -21121,14 +21666,14 @@ "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 777, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21151,7 +21696,7 @@ } }, { - "id": 778, + "id": 799, "name": "channel", "kind": 1024, "kindString": "Property", @@ -21183,7 +21728,7 @@ } }, { - "id": 776, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -21207,7 +21752,7 @@ } }, { - "id": 775, + "id": 796, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21234,7 +21779,7 @@ { "title": "Properties", "kind": 1024, - "children": [777, 778, 776, 775] + "children": [798, 799, 797, 796] } ], "sources": [ @@ -21248,7 +21793,7 @@ } }, { - "id": 772, + "id": 793, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21273,7 +21818,7 @@ { "title": "Properties", "kind": 1024, - "children": [773, 772] + "children": [794, 793] } ], "sources": [ @@ -21296,7 +21841,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -21308,7 +21853,7 @@ ] }, { - "id": 138, + "id": 141, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -21316,13 +21861,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 509, + "line": 518, "character": 8 } ], "signatures": [ { - "id": 139, + "id": 142, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -21333,17 +21878,17 @@ }, "parameters": [ { - "id": 140, + "id": 143, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21361,14 +21906,14 @@ { "type": "reflection", "declaration": { - "id": 750, + "id": 771, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 772, "name": "email", "kind": 1024, "kindString": "Property", @@ -21389,7 +21934,7 @@ } }, { - "id": 753, + "id": 774, "name": "options", "kind": 1024, "kindString": "Property", @@ -21406,14 +21951,14 @@ "type": { "type": "reflection", "declaration": { - "id": 754, + "id": 775, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 776, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21440,7 +21985,7 @@ { "title": "Properties", "kind": 1024, - "children": [755] + "children": [776] } ], "sources": [ @@ -21454,7 +21999,7 @@ } }, { - "id": 752, + "id": 773, "name": "password", "kind": 1024, "kindString": "Property", @@ -21479,7 +22024,7 @@ { "title": "Properties", "kind": 1024, - "children": [751, 753, 752] + "children": [772, 774, 773] } ], "sources": [ @@ -21494,14 +22039,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 777, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 780, "name": "options", "kind": 1024, "kindString": "Property", @@ -21518,14 +22063,14 @@ "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 761, + "id": 782, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21552,7 +22097,7 @@ { "title": "Properties", "kind": 1024, - "children": [761] + "children": [782] } ], "sources": [ @@ -21566,7 +22111,7 @@ } }, { - "id": 758, + "id": 779, "name": "password", "kind": 1024, "kindString": "Property", @@ -21587,7 +22132,7 @@ } }, { - "id": 757, + "id": 778, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21612,7 +22157,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 757] + "children": [780, 779, 778] } ], "sources": [ @@ -21635,7 +22180,7 @@ "typeArguments": [ { "type": "reference", - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword" } ], @@ -21647,7 +22192,7 @@ ] }, { - "id": 173, + "id": 176, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -21655,13 +22200,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 813, + "line": 822, "character": 8 } ], "signatures": [ { - "id": 174, + "id": 177, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -21672,17 +22217,17 @@ }, "parameters": [ { - "id": 175, + "id": 178, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 838, + "id": 859, "name": "SignInWithSSO", "dereferenced": { - "id": 838, + "id": 859, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -21700,14 +22245,14 @@ { "type": "reflection", "declaration": { - "id": 839, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 862, "name": "options", "kind": 1024, "kindString": "Property", @@ -21724,14 +22269,14 @@ "type": { "type": "reflection", "declaration": { - "id": 842, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 865, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21754,7 +22299,7 @@ } }, { - "id": 843, + "id": 864, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21781,7 +22326,7 @@ { "title": "Properties", "kind": 1024, - "children": [844, 843] + "children": [865, 864] } ], "sources": [ @@ -21795,7 +22340,7 @@ } }, { - "id": 840, + "id": 861, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -21820,7 +22365,7 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [862, 861] } ], "sources": [ @@ -21835,14 +22380,14 @@ { "type": "reflection", "declaration": { - "id": 845, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 846, + "id": 867, "name": "domain", "kind": 1024, "kindString": "Property", @@ -21863,7 +22408,7 @@ } }, { - "id": 847, + "id": 868, "name": "options", "kind": 1024, "kindString": "Property", @@ -21880,14 +22425,14 @@ "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 869, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 871, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21910,7 +22455,7 @@ } }, { - "id": 849, + "id": 870, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21937,7 +22482,7 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [871, 870] } ], "sources": [ @@ -21955,7 +22500,7 @@ { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [867, 868] } ], "sources": [ @@ -21978,7 +22523,7 @@ "typeArguments": [ { "type": "reference", - "id": 615, + "id": 636, "name": "SSOResponse" } ], @@ -21990,7 +22535,7 @@ ] }, { - "id": 324, + "id": 320, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -21998,13 +22543,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 8 } ], "signatures": [ { - "id": 325, + "id": 321, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -22015,17 +22560,17 @@ }, "parameters": [ { - "id": 326, + "id": 322, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1052, + "id": 1073, "name": "SignOut", "dereferenced": { - "id": 1052, + "id": 1073, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -22040,14 +22585,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1053, + "id": 1074, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1054, + "id": 1075, "name": "scope", "kind": 1024, "kindString": "Property", @@ -22087,7 +22632,7 @@ { "title": "Properties", "kind": 1024, - "children": [1054] + "children": [1075] } ], "sources": [ @@ -22110,14 +22655,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 324, "name": "error", "kind": 1024, "kindString": "Property", @@ -22125,7 +22670,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 67 } ], @@ -22138,7 +22683,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -22149,7 +22694,7 @@ { "title": "Properties", "kind": 1024, - "children": [328] + "children": [324] } ] } @@ -22163,7 +22708,7 @@ ] }, { - "id": 135, + "id": 138, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -22171,13 +22716,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 432, + "line": 441, "character": 8 } ], "signatures": [ { - "id": 136, + "id": 139, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -22189,17 +22734,17 @@ }, "parameters": [ { - "id": 137, + "id": 140, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22217,14 +22762,14 @@ { "type": "reflection", "declaration": { - "id": 733, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 734, + "id": 755, "name": "email", "kind": 1024, "kindString": "Property", @@ -22245,7 +22790,7 @@ } }, { - "id": 736, + "id": 757, "name": "options", "kind": 1024, "kindString": "Property", @@ -22262,14 +22807,14 @@ "type": { "type": "reflection", "declaration": { - "id": 737, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 740, + "id": 761, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22292,7 +22837,7 @@ } }, { - "id": 739, + "id": 760, "name": "data", "kind": 1024, "kindString": "Property", @@ -22316,7 +22861,7 @@ } }, { - "id": 738, + "id": 759, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -22343,7 +22888,7 @@ { "title": "Properties", "kind": 1024, - "children": [740, 739, 738] + "children": [761, 760, 759] } ], "sources": [ @@ -22357,7 +22902,7 @@ } }, { - "id": 735, + "id": 756, "name": "password", "kind": 1024, "kindString": "Property", @@ -22382,7 +22927,7 @@ { "title": "Properties", "kind": 1024, - "children": [734, 736, 735] + "children": [755, 757, 756] } ], "sources": [ @@ -22397,14 +22942,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 765, "name": "options", "kind": 1024, "kindString": "Property", @@ -22421,14 +22966,14 @@ "type": { "type": "reflection", "declaration": { - "id": 745, + "id": 766, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 747, + "id": 768, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22451,7 +22996,7 @@ } }, { - "id": 748, + "id": 769, "name": "channel", "kind": 1024, "kindString": "Property", @@ -22483,7 +23028,7 @@ } }, { - "id": 746, + "id": 767, "name": "data", "kind": 1024, "kindString": "Property", @@ -22511,7 +23056,7 @@ { "title": "Properties", "kind": 1024, - "children": [747, 748, 746] + "children": [768, 769, 767] } ], "sources": [ @@ -22525,7 +23070,7 @@ } }, { - "id": 743, + "id": 764, "name": "password", "kind": 1024, "kindString": "Property", @@ -22546,7 +23091,7 @@ } }, { - "id": 742, + "id": 763, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22571,7 +23116,7 @@ { "title": "Properties", "kind": 1024, - "children": [744, 743, 742] + "children": [765, 764, 763] } ], "sources": [ @@ -22594,7 +23139,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -22606,7 +23151,7 @@ ] }, { - "id": 430, + "id": 426, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -22614,13 +23159,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2174, + "line": 2172, "character": 8 } ], "signatures": [ { - "id": 431, + "id": 427, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -22645,7 +23190,7 @@ ] }, { - "id": 432, + "id": 428, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -22653,13 +23198,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2187, + "line": 2185, "character": 8 } ], "signatures": [ { - "id": 433, + "id": 429, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -22684,7 +23229,7 @@ ] }, { - "id": 375, + "id": 371, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -22692,13 +23237,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1795, + "line": 1793, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 372, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -22708,24 +23253,24 @@ }, "parameters": [ { - "id": 377, + "id": 373, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity", "dereferenced": { - "id": 648, + "id": 669, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 657, + "id": 678, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -22745,7 +23290,7 @@ } }, { - "id": 649, + "id": 670, "name": "id", "kind": 1024, "kindString": "Property", @@ -22763,7 +23308,7 @@ } }, { - "id": 651, + "id": 672, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -22780,20 +23325,20 @@ "type": { "type": "reflection", "declaration": { - "id": 652, + "id": 673, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 653, + "id": 674, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 675, "name": "key", "kind": 32768, "flags": {}, @@ -22812,7 +23357,7 @@ } }, { - "id": 655, + "id": 676, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -22830,7 +23375,7 @@ } }, { - "id": 658, + "id": 679, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -22850,7 +23395,7 @@ } }, { - "id": 656, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22868,7 +23413,7 @@ } }, { - "id": 659, + "id": 680, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -22888,7 +23433,7 @@ } }, { - "id": 650, + "id": 671, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -22910,7 +23455,7 @@ { "title": "Properties", "kind": 1024, - "children": [657, 649, 651, 655, 658, 656, 659, 650] + "children": [678, 670, 672, 676, 679, 677, 680, 671] } ], "sources": [ @@ -22930,6 +23475,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1795, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 377, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1796, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 377] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -22945,30 +23551,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1797, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 380, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 381, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -22980,46 +23562,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [379, 381] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 382, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 383, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1800, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 384, + "id": 380, "name": "error", "kind": 1024, "kindString": "Property", @@ -23027,13 +23572,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1800, + "line": 1798, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -23042,7 +23587,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 384] + "children": [379, 380] } ] } @@ -23058,7 +23603,7 @@ ] }, { - "id": 252, + "id": 255, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -23066,13 +23611,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1227, + "line": 1236, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 256, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -23082,24 +23627,24 @@ }, "parameters": [ { - "id": 254, + "id": 257, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes", "dereferenced": { - "id": 699, + "id": 720, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 725, "name": "data", "kind": 1024, "kindString": "Property", @@ -23123,7 +23668,7 @@ } }, { - "id": 700, + "id": 721, "name": "email", "kind": 1024, "kindString": "Property", @@ -23146,7 +23691,7 @@ } }, { - "id": 703, + "id": 724, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -23170,7 +23715,7 @@ } }, { - "id": 702, + "id": 723, "name": "password", "kind": 1024, "kindString": "Property", @@ -23193,7 +23738,7 @@ } }, { - "id": 701, + "id": 722, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23220,7 +23765,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 700, 703, 702, 701] + "children": [725, 721, 724, 723, 722] } ], "sources": [ @@ -23234,7 +23779,7 @@ } }, { - "id": 255, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -23242,14 +23787,14 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 257, + "id": 260, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -23259,7 +23804,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1230, + "line": 1239, "character": 6 } ], @@ -23273,7 +23818,7 @@ { "title": "Properties", "kind": 1024, - "children": [257] + "children": [260] } ] } @@ -23286,7 +23831,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -23298,7 +23843,7 @@ ] }, { - "id": 170, + "id": 173, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -23306,13 +23851,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 752, + "line": 761, "character": 8 } ], "signatures": [ { - "id": 171, + "id": 174, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -23322,17 +23867,17 @@ }, "parameters": [ { - "id": 172, + "id": 175, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 802, + "id": 823, "name": "VerifyOtpParams", "dereferenced": { - "id": 802, + "id": 823, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -23348,14 +23893,14 @@ "type": "union", "types": [ { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -23372,14 +23917,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23408,7 +23953,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23435,14 +23980,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23463,7 +24008,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -23484,7 +24029,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -23501,10 +24046,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23537,7 +24082,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -23549,14 +24094,14 @@ ] }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -23577,7 +24122,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -23594,14 +24139,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23630,7 +24175,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23657,14 +24202,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -23685,7 +24230,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -23702,10 +24247,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23754,7 +24299,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -23766,14 +24311,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -23794,7 +24339,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -23811,10 +24356,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23863,7 +24408,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -23885,7 +24430,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -23912,42 +24457,42 @@ "title": "Methods", "kind": 2048, "children": [ - 144, 183, 246, 362, 128, 372, 334, 176, 283, 180, 348, 271, 132, 164, 141, 167, 138, - 173, 324, 135, 430, 432, 375, 252, 170 + 147, 477, 186, 249, 358, 131, 368, 330, 179, 279, 183, 344, 267, 135, 167, 144, 170, + 141, 176, 320, 138, 426, 428, 371, 255, 173 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 123, + "line": 129, "character": 21 } ] }, { - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 486, + "id": 507, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 487, + "id": 508, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 488, + "id": 509, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -23960,7 +24505,7 @@ ], "type": { "type": "reference", - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -23975,7 +24520,7 @@ } }, { - "id": 489, + "id": 510, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -24005,12 +24550,12 @@ { "title": "Constructors", "kind": 512, - "children": [486] + "children": [507] }, { "title": "Properties", "kind": 1024, - "children": [489] + "children": [510] } ], "sources": [ @@ -24028,7 +24573,7 @@ ] }, { - "id": 644, + "id": 665, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -24045,7 +24590,7 @@ }, "children": [ { - "id": 645, + "id": 666, "name": "method", "kind": 1024, "kindString": "Property", @@ -24077,7 +24622,7 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 667, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24102,7 +24647,7 @@ } }, { - "id": 647, + "id": 668, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -24127,7 +24672,7 @@ { "title": "Properties", "kind": 1024, - "children": [645, 647] + "children": [666, 668] } ], "sources": [ @@ -24139,14 +24684,14 @@ ] }, { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -24170,7 +24715,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -24194,7 +24739,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -24221,7 +24766,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -24245,7 +24790,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -24269,7 +24814,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -24297,7 +24842,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -24324,7 +24869,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -24348,7 +24893,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24375,7 +24920,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -24399,7 +24944,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -24423,7 +24968,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -24451,7 +24996,7 @@ { "title": "Properties", "kind": 1024, - "children": [707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706] + "children": [728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727] } ], "sources": [ @@ -24467,7 +25012,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -24482,7 +25027,7 @@ ] }, { - "id": 660, + "id": 681, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -24506,7 +25051,7 @@ }, "children": [ { - "id": 666, + "id": 687, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -24524,7 +25069,7 @@ } }, { - "id": 663, + "id": 684, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -24552,7 +25097,7 @@ { "type": "reflection", "declaration": { - "id": 664, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24573,7 +25118,7 @@ } }, { - "id": 662, + "id": 683, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -24596,7 +25141,7 @@ } }, { - "id": 661, + "id": 682, "name": "id", "kind": 1024, "kindString": "Property", @@ -24617,7 +25162,7 @@ } }, { - "id": 665, + "id": 686, "name": "status", "kind": 1024, "kindString": "Property", @@ -24647,7 +25192,7 @@ } }, { - "id": 667, + "id": 688, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -24669,7 +25214,7 @@ { "title": "Properties", "kind": 1024, - "children": [666, 663, 662, 661, 665, 667] + "children": [687, 684, 683, 682, 686, 688] } ], "sources": [ @@ -24681,14 +25226,14 @@ ] }, { - "id": 873, + "id": 894, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 874, + "id": 895, "name": "data", "kind": 1024, "kindString": "Property", @@ -24712,7 +25257,7 @@ } }, { - "id": 875, + "id": 896, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24739,7 +25284,7 @@ { "title": "Properties", "kind": 1024, - "children": [874, 875] + "children": [895, 896] } ], "sources": [ @@ -24751,7 +25296,7 @@ ] }, { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -24767,14 +25312,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -24794,17 +25339,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -24827,14 +25372,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -24855,7 +25400,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -24880,7 +25425,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -24901,7 +25446,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -24913,14 +25458,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -24930,17 +25475,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -24963,14 +25508,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -24995,7 +25540,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -25016,7 +25561,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -25032,7 +25577,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -25044,7 +25589,7 @@ ] }, { - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -25054,14 +25599,14 @@ }, "children": [ { - "id": 980, + "id": 1001, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 981, + "id": 1002, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -25071,17 +25616,17 @@ }, "parameters": [ { - "id": 982, + "id": 1003, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 907, + "id": 928, "name": "MFAChallengeParams", "dereferenced": { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -25096,14 +25641,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -25135,7 +25680,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -25160,7 +25705,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -25181,7 +25726,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse" } ], @@ -25193,14 +25738,14 @@ ] }, { - "id": 989, + "id": 1010, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 990, + "id": 1011, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -25210,17 +25755,17 @@ }, "parameters": [ { - "id": 991, + "id": 1012, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -25235,14 +25780,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -25263,7 +25808,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -25288,7 +25833,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -25309,7 +25854,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -25321,14 +25866,14 @@ ] }, { - "id": 973, + "id": 994, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 974, + "id": 995, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -25339,17 +25884,17 @@ }, "parameters": [ { - "id": 975, + "id": 996, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -25364,14 +25909,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -25392,7 +25937,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -25415,7 +25960,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -25442,7 +25987,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -25463,7 +26008,7 @@ "typeArguments": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -25473,24 +26018,24 @@ } }, { - "id": 976, + "id": 997, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 998, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -25505,14 +26050,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -25533,7 +26078,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -25556,7 +26101,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25581,7 +26126,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -25602,7 +26147,7 @@ "typeArguments": [ { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -25612,24 +26157,24 @@ } }, { - "id": 978, + "id": 999, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 979, + "id": 1000, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 898, + "id": 919, "name": "MFAEnrollParams", "dereferenced": { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -25645,7 +26190,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -25660,14 +26205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -25688,7 +26233,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -25711,7 +26256,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -25738,7 +26283,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -25752,7 +26297,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -25767,14 +26312,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -25795,7 +26340,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -25818,7 +26363,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25843,7 +26388,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -25867,7 +26412,7 @@ "typeArguments": [ { "type": "reference", - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse" } ], @@ -25879,14 +26424,14 @@ ] }, { - "id": 994, + "id": 1015, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 995, + "id": 1016, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -25900,7 +26445,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -25912,14 +26457,14 @@ ] }, { - "id": 992, + "id": 1013, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 993, + "id": 1014, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -25946,7 +26491,7 @@ "typeArguments": [ { "type": "reference", - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse" } ], @@ -25958,14 +26503,14 @@ ] }, { - "id": 986, + "id": 1007, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 987, + "id": 1008, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -25975,17 +26520,17 @@ }, "parameters": [ { - "id": 988, + "id": 1009, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "dereferenced": { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -26000,14 +26545,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26032,7 +26577,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -26053,7 +26598,7 @@ "typeArguments": [ { "type": "reference", - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse" } ], @@ -26065,14 +26610,14 @@ ] }, { - "id": 983, + "id": 1004, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 984, + "id": 1005, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -26082,17 +26627,17 @@ }, "parameters": [ { - "id": 985, + "id": 1006, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 902, + "id": 923, "name": "MFAVerifyParams", "dereferenced": { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -26107,14 +26652,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -26135,7 +26680,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -26156,7 +26701,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26181,7 +26726,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -26202,7 +26747,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -26218,7 +26763,7 @@ { "title": "Methods", "kind": 2048, - "children": [980, 989, 973, 994, 992, 986, 983] + "children": [1001, 1010, 994, 1015, 1013, 1007, 1004] } ], "sources": [ @@ -26230,14 +26775,152 @@ ] }, { - "id": 635, + "id": 1133, + "name": "JWK", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 1136, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1135, + "name": "key_ops", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1226, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1137, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1228, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1134, + "name": "kty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1225, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1136, 1135, 1137, 1134] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1224, + "character": 17 + } + ], + "indexSignature": { + "id": 1138, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1139, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 656, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 638, + "id": 659, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -26258,7 +26941,7 @@ } }, { - "id": 641, + "id": 662, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -26281,7 +26964,7 @@ } }, { - "id": 640, + "id": 661, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -26302,7 +26985,7 @@ } }, { - "id": 637, + "id": 658, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -26334,7 +27017,7 @@ } }, { - "id": 636, + "id": 657, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -26366,7 +27049,7 @@ } }, { - "id": 639, + "id": 660, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -26387,7 +27070,7 @@ } }, { - "id": 642, + "id": 663, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -26405,7 +27088,7 @@ } }, { - "id": 643, + "id": 664, "name": "user", "kind": 1024, "kindString": "Property", @@ -26419,17 +27102,17 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User", "dereferenced": { - "id": 675, + "id": 696, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 686, + "id": 707, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -26449,7 +27132,7 @@ } }, { - "id": 677, + "id": 698, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -26463,17 +27146,17 @@ ], "type": { "type": "reference", - "id": 668, + "id": 689, "name": "UserAppMetadata", "dereferenced": { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -26497,7 +27180,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -26508,14 +27191,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -26534,7 +27217,7 @@ } }, { - "id": 679, + "id": 700, "name": "aud", "kind": 1024, "kindString": "Property", @@ -26552,7 +27235,7 @@ } }, { - "id": 680, + "id": 701, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -26572,7 +27255,7 @@ } }, { - "id": 690, + "id": 711, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -26592,7 +27275,7 @@ } }, { - "id": 689, + "id": 710, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -26610,7 +27293,7 @@ } }, { - "id": 687, + "id": 708, "name": "email", "kind": 1024, "kindString": "Property", @@ -26630,7 +27313,7 @@ } }, { - "id": 682, + "id": 703, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -26650,7 +27333,7 @@ } }, { - "id": 691, + "id": 712, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -26670,7 +27353,7 @@ } }, { - "id": 698, + "id": 719, "name": "factors", "kind": 1024, "kindString": "Property", @@ -26688,13 +27371,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 676, + "id": 697, "name": "id", "kind": 1024, "kindString": "Property", @@ -26712,7 +27395,7 @@ } }, { - "id": 696, + "id": 717, "name": "identities", "kind": 1024, "kindString": "Property", @@ -26730,13 +27413,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } }, { - "id": 685, + "id": 706, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -26756,7 +27439,7 @@ } }, { - "id": 697, + "id": 718, "name": "is_anonymous", "kind": 1024, "kindString": "Property", @@ -26776,7 +27459,7 @@ } }, { - "id": 693, + "id": 714, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -26796,7 +27479,7 @@ } }, { - "id": 683, + "id": 704, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -26816,7 +27499,7 @@ } }, { - "id": 684, + "id": 705, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -26836,7 +27519,7 @@ } }, { - "id": 688, + "id": 709, "name": "phone", "kind": 1024, "kindString": "Property", @@ -26856,7 +27539,7 @@ } }, { - "id": 692, + "id": 713, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -26876,7 +27559,7 @@ } }, { - "id": 681, + "id": 702, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -26896,7 +27579,7 @@ } }, { - "id": 694, + "id": 715, "name": "role", "kind": 1024, "kindString": "Property", @@ -26916,7 +27599,7 @@ } }, { - "id": 695, + "id": 716, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -26936,7 +27619,7 @@ } }, { - "id": 678, + "id": 699, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -26950,10 +27633,10 @@ ], "type": { "type": "reference", - "id": 672, + "id": 693, "name": "UserMetadata", "dereferenced": { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -26966,14 +27649,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -26997,8 +27680,8 @@ "title": "Properties", "kind": 1024, "children": [ - 686, 677, 679, 680, 690, 689, 687, 682, 691, 698, 676, 696, 685, 697, 693, - 683, 684, 688, 692, 681, 694, 695, 678 + 707, 698, 700, 701, 711, 710, 708, 703, 712, 719, 697, 717, 706, 718, 714, + 704, 705, 709, 713, 702, 715, 716, 699 ] } ], @@ -27017,7 +27700,7 @@ { "title": "Properties", "kind": 1024, - "children": [638, 641, 640, 637, 636, 639, 642, 643] + "children": [659, 662, 661, 658, 657, 660, 663, 664] } ], "sources": [ @@ -27029,14 +27712,14 @@ ] }, { - "id": 718, + "id": 739, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 719, + "id": 740, "name": "id", "kind": 1024, "kindString": "Property", @@ -27057,7 +27740,7 @@ } }, { - "id": 720, + "id": 741, "name": "callback", "kind": 2048, "kindString": "Method", @@ -27071,7 +27754,7 @@ ], "signatures": [ { - "id": 721, + "id": 742, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -27081,17 +27764,17 @@ }, "parameters": [ { - "id": 722, + "id": 743, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent", "dereferenced": { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -27131,7 +27814,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -27154,7 +27837,7 @@ } }, { - "id": 723, + "id": 744, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -27168,7 +27851,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -27183,7 +27866,7 @@ ] }, { - "id": 724, + "id": 745, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -27197,7 +27880,7 @@ ], "signatures": [ { - "id": 725, + "id": 746, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -27217,12 +27900,12 @@ { "title": "Properties", "kind": 1024, - "children": [719] + "children": [740] }, { "title": "Methods", "kind": 2048, - "children": [720, 724] + "children": [741, 745] } ], "sources": [ @@ -27234,14 +27917,14 @@ ] }, { - "id": 675, + "id": 696, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 686, + "id": 707, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27261,7 +27944,7 @@ } }, { - "id": 677, + "id": 698, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -27275,17 +27958,17 @@ ], "type": { "type": "reference", - "id": 668, + "id": 689, "name": "UserAppMetadata", "dereferenced": { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27309,7 +27992,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -27320,14 +28003,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -27346,7 +28029,7 @@ } }, { - "id": 679, + "id": 700, "name": "aud", "kind": 1024, "kindString": "Property", @@ -27364,7 +28047,7 @@ } }, { - "id": 680, + "id": 701, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -27384,7 +28067,7 @@ } }, { - "id": 690, + "id": 711, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -27404,7 +28087,7 @@ } }, { - "id": 689, + "id": 710, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -27422,7 +28105,7 @@ } }, { - "id": 687, + "id": 708, "name": "email", "kind": 1024, "kindString": "Property", @@ -27442,7 +28125,7 @@ } }, { - "id": 682, + "id": 703, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -27462,7 +28145,7 @@ } }, { - "id": 691, + "id": 712, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -27482,7 +28165,7 @@ } }, { - "id": 698, + "id": 719, "name": "factors", "kind": 1024, "kindString": "Property", @@ -27500,13 +28183,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 676, + "id": 697, "name": "id", "kind": 1024, "kindString": "Property", @@ -27524,7 +28207,7 @@ } }, { - "id": 696, + "id": 717, "name": "identities", "kind": 1024, "kindString": "Property", @@ -27542,13 +28225,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } }, { - "id": 685, + "id": 706, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -27568,7 +28251,7 @@ } }, { - "id": 697, + "id": 718, "name": "is_anonymous", "kind": 1024, "kindString": "Property", @@ -27588,7 +28271,7 @@ } }, { - "id": 693, + "id": 714, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -27608,7 +28291,7 @@ } }, { - "id": 683, + "id": 704, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -27628,7 +28311,7 @@ } }, { - "id": 684, + "id": 705, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -27648,7 +28331,7 @@ } }, { - "id": 688, + "id": 709, "name": "phone", "kind": 1024, "kindString": "Property", @@ -27668,7 +28351,7 @@ } }, { - "id": 692, + "id": 713, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -27688,7 +28371,7 @@ } }, { - "id": 681, + "id": 702, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -27708,7 +28391,7 @@ } }, { - "id": 694, + "id": 715, "name": "role", "kind": 1024, "kindString": "Property", @@ -27728,7 +28411,7 @@ } }, { - "id": 695, + "id": 716, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -27748,7 +28431,7 @@ } }, { - "id": 678, + "id": 699, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -27762,10 +28445,10 @@ ], "type": { "type": "reference", - "id": 672, + "id": 693, "name": "UserMetadata", "dereferenced": { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -27778,14 +28461,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -27809,8 +28492,8 @@ "title": "Properties", "kind": 1024, "children": [ - 686, 677, 679, 680, 690, 689, 687, 682, 691, 698, 676, 696, 685, 697, 693, 683, 684, - 688, 692, 681, 694, 695, 678 + 707, 698, 700, 701, 711, 710, 708, 703, 712, 719, 697, 717, 706, 718, 714, 704, 705, + 709, 713, 702, 715, 716, 699 ] } ], @@ -27823,14 +28506,14 @@ ] }, { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27854,7 +28537,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -27865,14 +28548,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -27889,14 +28572,14 @@ } }, { - "id": 699, + "id": 720, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 725, "name": "data", "kind": 1024, "kindString": "Property", @@ -27920,7 +28603,7 @@ } }, { - "id": 700, + "id": 721, "name": "email", "kind": 1024, "kindString": "Property", @@ -27943,7 +28626,7 @@ } }, { - "id": 703, + "id": 724, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -27967,7 +28650,7 @@ } }, { - "id": 702, + "id": 723, "name": "password", "kind": 1024, "kindString": "Property", @@ -27990,7 +28673,7 @@ } }, { - "id": 701, + "id": 722, "name": "phone", "kind": 1024, "kindString": "Property", @@ -28017,7 +28700,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 700, 703, 702, 701] + "children": [725, 721, 724, 723, 722] } ], "sources": [ @@ -28029,14 +28712,14 @@ ] }, { - "id": 648, + "id": 669, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 657, + "id": 678, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -28056,7 +28739,7 @@ } }, { - "id": 649, + "id": 670, "name": "id", "kind": 1024, "kindString": "Property", @@ -28074,7 +28757,7 @@ } }, { - "id": 651, + "id": 672, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -28091,20 +28774,20 @@ "type": { "type": "reflection", "declaration": { - "id": 652, + "id": 673, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 653, + "id": 674, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 675, "name": "key", "kind": 32768, "flags": {}, @@ -28123,7 +28806,7 @@ } }, { - "id": 655, + "id": 676, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -28141,7 +28824,7 @@ } }, { - "id": 658, + "id": 679, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -28161,7 +28844,7 @@ } }, { - "id": 656, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -28179,7 +28862,7 @@ } }, { - "id": 659, + "id": 680, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -28199,7 +28882,7 @@ } }, { - "id": 650, + "id": 671, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -28221,7 +28904,7 @@ { "title": "Properties", "kind": 1024, - "children": [657, 649, 651, 655, 658, 656, 659, 650] + "children": [678, 670, 672, 676, 679, 677, 680, 671] } ], "sources": [ @@ -28233,7 +28916,7 @@ ] }, { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -28246,14 +28929,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -28270,14 +28953,14 @@ } }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -28298,7 +28981,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -28315,14 +28998,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28351,7 +29034,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -28378,14 +29061,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -28406,7 +29089,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -28423,10 +29106,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -28475,7 +29158,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -28487,14 +29170,14 @@ ] }, { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -28511,14 +29194,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28547,7 +29230,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -28574,14 +29257,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -28602,7 +29285,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -28623,7 +29306,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -28640,10 +29323,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -28676,7 +29359,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -28688,14 +29371,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -28716,7 +29399,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -28733,10 +29416,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -28785,7 +29468,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -28797,7 +29480,7 @@ ] }, { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -28837,7 +29520,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -28858,7 +29541,7 @@ } }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -28876,7 +29559,7 @@ } }, { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -28903,7 +29586,7 @@ } }, { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -28926,14 +29609,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -28954,7 +29637,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -28979,7 +29662,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -28993,7 +29676,7 @@ } }, { - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -29019,14 +29702,14 @@ { "type": "reflection", "declaration": { - "id": 997, + "id": 1018, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 998, + "id": 1019, "name": "data", "kind": 1024, "kindString": "Property", @@ -29041,14 +29724,14 @@ "type": { "type": "reflection", "declaration": { - "id": 999, + "id": 1020, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1000, + "id": 1021, "name": "id", "kind": 1024, "kindString": "Property", @@ -29073,7 +29756,7 @@ { "title": "Properties", "kind": 1024, - "children": [1000] + "children": [1021] } ], "sources": [ @@ -29087,7 +29770,7 @@ } }, { - "id": 1001, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -29109,7 +29792,7 @@ { "title": "Properties", "kind": 1024, - "children": [998, 1001] + "children": [1019, 1022] } ], "sources": [ @@ -29124,14 +29807,14 @@ { "type": "reflection", "declaration": { - "id": 1002, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -29149,7 +29832,7 @@ } }, { - "id": 1004, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -29163,7 +29846,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -29172,7 +29855,7 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004] + "children": [1024, 1025] } ], "sources": [ @@ -29188,7 +29871,7 @@ } }, { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -29211,14 +29894,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -29243,7 +29926,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -29257,7 +29940,7 @@ } }, { - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -29283,14 +29966,14 @@ { "type": "reflection", "declaration": { - "id": 1010, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1011, + "id": 1032, "name": "data", "kind": 1024, "kindString": "Property", @@ -29305,14 +29988,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1012, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1013, + "id": 1034, "name": "factors", "kind": 1024, "kindString": "Property", @@ -29331,7 +30014,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -29341,7 +30024,7 @@ { "title": "Properties", "kind": 1024, - "children": [1013] + "children": [1034] } ], "sources": [ @@ -29355,7 +30038,7 @@ } }, { - "id": 1014, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -29377,7 +30060,7 @@ { "title": "Properties", "kind": 1024, - "children": [1011, 1014] + "children": [1032, 1035] } ], "sources": [ @@ -29392,14 +30075,14 @@ { "type": "reflection", "declaration": { - "id": 1015, + "id": 1036, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1016, + "id": 1037, "name": "data", "kind": 1024, "kindString": "Property", @@ -29417,7 +30100,7 @@ } }, { - "id": 1017, + "id": 1038, "name": "error", "kind": 1024, "kindString": "Property", @@ -29431,7 +30114,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -29440,7 +30123,7 @@ { "title": "Properties", "kind": 1024, - "children": [1016, 1017] + "children": [1037, 1038] } ], "sources": [ @@ -29456,7 +30139,7 @@ } }, { - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -29474,14 +30157,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 961, "name": "data", "kind": 1024, "kindString": "Property", @@ -29496,14 +30179,14 @@ "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 962, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 965, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -29524,7 +30207,7 @@ } }, { - "id": 942, + "id": 963, "name": "id", "kind": 1024, "kindString": "Property", @@ -29545,7 +30228,7 @@ } }, { - "id": 943, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -29579,7 +30262,7 @@ { "title": "Properties", "kind": 1024, - "children": [944, 942, 943] + "children": [965, 963, 964] } ], "sources": [ @@ -29593,7 +30276,7 @@ } }, { - "id": 945, + "id": 966, "name": "error", "kind": 1024, "kindString": "Property", @@ -29615,7 +30298,7 @@ { "title": "Properties", "kind": 1024, - "children": [940, 945] + "children": [961, 966] } ], "sources": [ @@ -29630,14 +30313,14 @@ { "type": "reflection", "declaration": { - "id": 946, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 947, + "id": 968, "name": "data", "kind": 1024, "kindString": "Property", @@ -29655,7 +30338,7 @@ } }, { - "id": 948, + "id": 969, "name": "error", "kind": 1024, "kindString": "Property", @@ -29669,7 +30352,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -29678,7 +30361,7 @@ { "title": "Properties", "kind": 1024, - "children": [947, 948] + "children": [968, 969] } ], "sources": [ @@ -29694,7 +30377,7 @@ } }, { - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -29712,14 +30395,14 @@ { "type": "reflection", "declaration": { - "id": 1082, + "id": 1103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1083, + "id": 1104, "name": "data", "kind": 1024, "kindString": "Property", @@ -29734,14 +30417,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1087, + "id": 1108, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -29764,7 +30447,7 @@ } }, { - "id": 1085, + "id": 1106, "name": "id", "kind": 1024, "kindString": "Property", @@ -29785,7 +30468,7 @@ } }, { - "id": 1088, + "id": 1109, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29806,7 +30489,7 @@ } }, { - "id": 1086, + "id": 1107, "name": "type", "kind": 1024, "kindString": "Property", @@ -29831,7 +30514,7 @@ { "title": "Properties", "kind": 1024, - "children": [1087, 1085, 1088, 1086] + "children": [1108, 1106, 1109, 1107] } ], "sources": [ @@ -29845,7 +30528,7 @@ } }, { - "id": 1089, + "id": 1110, "name": "error", "kind": 1024, "kindString": "Property", @@ -29867,7 +30550,7 @@ { "title": "Properties", "kind": 1024, - "children": [1083, 1089] + "children": [1104, 1110] } ], "sources": [ @@ -29882,14 +30565,14 @@ { "type": "reflection", "declaration": { - "id": 1090, + "id": 1111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1091, + "id": 1112, "name": "data", "kind": 1024, "kindString": "Property", @@ -29907,7 +30590,7 @@ } }, { - "id": 1092, + "id": 1113, "name": "error", "kind": 1024, "kindString": "Property", @@ -29921,7 +30604,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -29930,7 +30613,7 @@ { "title": "Properties", "kind": 1024, - "children": [1091, 1092] + "children": [1112, 1113] } ], "sources": [ @@ -29946,7 +30629,7 @@ } }, { - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -29962,7 +30645,7 @@ "type": "union", "types": [ { - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -29980,14 +30663,14 @@ { "type": "reflection", "declaration": { - "id": 1066, + "id": 1087, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1088, "name": "data", "kind": 1024, "kindString": "Property", @@ -30002,14 +30685,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1089, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1076, + "id": 1097, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -30032,7 +30715,7 @@ } }, { - "id": 1069, + "id": 1090, "name": "id", "kind": 1024, "kindString": "Property", @@ -30053,7 +30736,7 @@ } }, { - "id": 1071, + "id": 1092, "name": "totp", "kind": 1024, "kindString": "Property", @@ -30071,14 +30754,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1093, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1094, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -30099,7 +30782,7 @@ } }, { - "id": 1074, + "id": 1095, "name": "secret", "kind": 1024, "kindString": "Property", @@ -30120,7 +30803,7 @@ } }, { - "id": 1075, + "id": 1096, "name": "uri", "kind": 1024, "kindString": "Property", @@ -30145,7 +30828,7 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074, 1075] + "children": [1094, 1095, 1096] } ], "sources": [ @@ -30159,7 +30842,7 @@ } }, { - "id": 1070, + "id": 1091, "name": "type", "kind": 1024, "kindString": "Property", @@ -30184,7 +30867,7 @@ { "title": "Properties", "kind": 1024, - "children": [1076, 1069, 1071, 1070] + "children": [1097, 1090, 1092, 1091] } ], "sources": [ @@ -30198,7 +30881,7 @@ } }, { - "id": 1077, + "id": 1098, "name": "error", "kind": 1024, "kindString": "Property", @@ -30220,7 +30903,7 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1077] + "children": [1088, 1098] } ], "sources": [ @@ -30235,14 +30918,14 @@ { "type": "reflection", "declaration": { - "id": 1078, + "id": 1099, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1079, + "id": 1100, "name": "data", "kind": 1024, "kindString": "Property", @@ -30260,7 +30943,7 @@ } }, { - "id": 1080, + "id": 1101, "name": "error", "kind": 1024, "kindString": "Property", @@ -30274,7 +30957,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -30283,7 +30966,7 @@ { "title": "Properties", "kind": 1024, - "children": [1079, 1080] + "children": [1100, 1101] } ], "sources": [ @@ -30299,7 +30982,7 @@ } }, { - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -30317,14 +31000,14 @@ { "type": "reflection", "declaration": { - "id": 1082, + "id": 1103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1083, + "id": 1104, "name": "data", "kind": 1024, "kindString": "Property", @@ -30339,14 +31022,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1087, + "id": 1108, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -30369,7 +31052,7 @@ } }, { - "id": 1085, + "id": 1106, "name": "id", "kind": 1024, "kindString": "Property", @@ -30390,7 +31073,7 @@ } }, { - "id": 1088, + "id": 1109, "name": "phone", "kind": 1024, "kindString": "Property", @@ -30411,7 +31094,7 @@ } }, { - "id": 1086, + "id": 1107, "name": "type", "kind": 1024, "kindString": "Property", @@ -30436,7 +31119,7 @@ { "title": "Properties", "kind": 1024, - "children": [1087, 1085, 1088, 1086] + "children": [1108, 1106, 1109, 1107] } ], "sources": [ @@ -30450,7 +31133,7 @@ } }, { - "id": 1089, + "id": 1110, "name": "error", "kind": 1024, "kindString": "Property", @@ -30472,7 +31155,7 @@ { "title": "Properties", "kind": 1024, - "children": [1083, 1089] + "children": [1104, 1110] } ], "sources": [ @@ -30487,14 +31170,14 @@ { "type": "reflection", "declaration": { - "id": 1090, + "id": 1111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1091, + "id": 1112, "name": "data", "kind": 1024, "kindString": "Property", @@ -30512,7 +31195,7 @@ } }, { - "id": 1092, + "id": 1113, "name": "error", "kind": 1024, "kindString": "Property", @@ -30526,7 +31209,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -30535,7 +31218,7 @@ { "title": "Properties", "kind": 1024, - "children": [1091, 1092] + "children": [1112, 1113] } ], "sources": [ @@ -30554,7 +31237,7 @@ } }, { - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -30572,14 +31255,14 @@ { "type": "reflection", "declaration": { - "id": 1066, + "id": 1087, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1088, "name": "data", "kind": 1024, "kindString": "Property", @@ -30594,14 +31277,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1089, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1076, + "id": 1097, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -30624,7 +31307,7 @@ } }, { - "id": 1069, + "id": 1090, "name": "id", "kind": 1024, "kindString": "Property", @@ -30645,7 +31328,7 @@ } }, { - "id": 1071, + "id": 1092, "name": "totp", "kind": 1024, "kindString": "Property", @@ -30663,14 +31346,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1093, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1094, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -30691,7 +31374,7 @@ } }, { - "id": 1074, + "id": 1095, "name": "secret", "kind": 1024, "kindString": "Property", @@ -30712,7 +31395,7 @@ } }, { - "id": 1075, + "id": 1096, "name": "uri", "kind": 1024, "kindString": "Property", @@ -30737,7 +31420,7 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074, 1075] + "children": [1094, 1095, 1096] } ], "sources": [ @@ -30751,7 +31434,7 @@ } }, { - "id": 1070, + "id": 1091, "name": "type", "kind": 1024, "kindString": "Property", @@ -30776,7 +31459,7 @@ { "title": "Properties", "kind": 1024, - "children": [1076, 1069, 1071, 1070] + "children": [1097, 1090, 1092, 1091] } ], "sources": [ @@ -30790,7 +31473,7 @@ } }, { - "id": 1077, + "id": 1098, "name": "error", "kind": 1024, "kindString": "Property", @@ -30812,7 +31495,7 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1077] + "children": [1088, 1098] } ], "sources": [ @@ -30827,14 +31510,14 @@ { "type": "reflection", "declaration": { - "id": 1078, + "id": 1099, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1079, + "id": 1100, "name": "data", "kind": 1024, "kindString": "Property", @@ -30852,7 +31535,7 @@ } }, { - "id": 1080, + "id": 1101, "name": "error", "kind": 1024, "kindString": "Property", @@ -30866,7 +31549,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -30875,7 +31558,7 @@ { "title": "Properties", "kind": 1024, - "children": [1079, 1080] + "children": [1100, 1101] } ], "sources": [ @@ -30891,7 +31574,7 @@ } }, { - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -30909,14 +31592,14 @@ { "type": "reflection", "declaration": { - "id": 962, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 984, "name": "data", "kind": 1024, "kindString": "Property", @@ -30931,14 +31614,14 @@ "type": { "type": "reflection", "declaration": { - "id": 964, + "id": 985, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 967, + "id": 988, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -30957,13 +31640,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 644, + "id": 665, "name": "AMREntry" } } }, { - "id": 965, + "id": 986, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -30983,7 +31666,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -30994,7 +31677,7 @@ } }, { - "id": 966, + "id": 987, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -31020,7 +31703,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -31035,7 +31718,7 @@ { "title": "Properties", "kind": 1024, - "children": [967, 965, 966] + "children": [988, 986, 987] } ], "sources": [ @@ -31049,7 +31732,7 @@ } }, { - "id": 968, + "id": 989, "name": "error", "kind": 1024, "kindString": "Property", @@ -31071,7 +31754,7 @@ { "title": "Properties", "kind": 1024, - "children": [963, 968] + "children": [984, 989] } ], "sources": [ @@ -31086,14 +31769,14 @@ { "type": "reflection", "declaration": { - "id": 969, + "id": 990, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 970, + "id": 991, "name": "data", "kind": 1024, "kindString": "Property", @@ -31111,7 +31794,7 @@ } }, { - "id": 971, + "id": 992, "name": "error", "kind": 1024, "kindString": "Property", @@ -31125,7 +31808,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -31134,7 +31817,7 @@ { "title": "Properties", "kind": 1024, - "children": [970, 971] + "children": [991, 992] } ], "sources": [ @@ -31150,7 +31833,7 @@ } }, { - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -31168,14 +31851,14 @@ { "type": "reflection", "declaration": { - "id": 950, + "id": 971, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 951, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -31190,14 +31873,14 @@ "type": { "type": "reflection", "declaration": { - "id": 952, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 953, + "id": 974, "name": "all", "kind": 1024, "kindString": "Property", @@ -31216,13 +31899,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 955, + "id": 976, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31241,13 +31924,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 954, + "id": 975, "name": "totp", "kind": 1024, "kindString": "Property", @@ -31266,7 +31949,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -31276,7 +31959,7 @@ { "title": "Properties", "kind": 1024, - "children": [953, 955, 954] + "children": [974, 976, 975] } ], "sources": [ @@ -31290,7 +31973,7 @@ } }, { - "id": 956, + "id": 977, "name": "error", "kind": 1024, "kindString": "Property", @@ -31312,7 +31995,7 @@ { "title": "Properties", "kind": 1024, - "children": [951, 956] + "children": [972, 977] } ], "sources": [ @@ -31327,14 +32010,14 @@ { "type": "reflection", "declaration": { - "id": 957, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 979, "name": "data", "kind": 1024, "kindString": "Property", @@ -31352,7 +32035,7 @@ } }, { - "id": 959, + "id": 980, "name": "error", "kind": 1024, "kindString": "Property", @@ -31366,7 +32049,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -31375,7 +32058,7 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959] + "children": [979, 980] } ], "sources": [ @@ -31391,7 +32074,7 @@ } }, { - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -31409,14 +32092,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 951, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 931, + "id": 952, "name": "data", "kind": 1024, "kindString": "Property", @@ -31431,14 +32114,14 @@ "type": { "type": "reflection", "declaration": { - "id": 932, + "id": 953, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 954, "name": "id", "kind": 1024, "kindString": "Property", @@ -31463,7 +32146,7 @@ { "title": "Properties", "kind": 1024, - "children": [933] + "children": [954] } ], "sources": [ @@ -31477,7 +32160,7 @@ } }, { - "id": 934, + "id": 955, "name": "error", "kind": 1024, "kindString": "Property", @@ -31499,7 +32182,7 @@ { "title": "Properties", "kind": 1024, - "children": [931, 934] + "children": [952, 955] } ], "sources": [ @@ -31514,14 +32197,14 @@ { "type": "reflection", "declaration": { - "id": 935, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 936, + "id": 957, "name": "data", "kind": 1024, "kindString": "Property", @@ -31539,7 +32222,7 @@ } }, { - "id": 937, + "id": 958, "name": "error", "kind": 1024, "kindString": "Property", @@ -31553,7 +32236,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -31562,7 +32245,7 @@ { "title": "Properties", "kind": 1024, - "children": [936, 937] + "children": [957, 958] } ], "sources": [ @@ -31578,7 +32261,7 @@ } }, { - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -31596,14 +32279,14 @@ { "type": "reflection", "declaration": { - "id": 916, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 917, + "id": 938, "name": "data", "kind": 1024, "kindString": "Property", @@ -31618,14 +32301,14 @@ "type": { "type": "reflection", "declaration": { - "id": 918, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 919, + "id": 940, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -31646,7 +32329,7 @@ } }, { - "id": 921, + "id": 942, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -31667,7 +32350,7 @@ } }, { - "id": 922, + "id": 943, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -31688,7 +32371,7 @@ } }, { - "id": 920, + "id": 941, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -31709,7 +32392,7 @@ } }, { - "id": 923, + "id": 944, "name": "user", "kind": 1024, "kindString": "Property", @@ -31726,7 +32409,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -31735,7 +32418,7 @@ { "title": "Properties", "kind": 1024, - "children": [919, 921, 922, 920, 923] + "children": [940, 942, 943, 941, 944] } ], "sources": [ @@ -31749,7 +32432,7 @@ } }, { - "id": 924, + "id": 945, "name": "error", "kind": 1024, "kindString": "Property", @@ -31771,7 +32454,7 @@ { "title": "Properties", "kind": 1024, - "children": [917, 924] + "children": [938, 945] } ], "sources": [ @@ -31786,14 +32469,14 @@ { "type": "reflection", "declaration": { - "id": 925, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 926, + "id": 947, "name": "data", "kind": 1024, "kindString": "Property", @@ -31811,7 +32494,7 @@ } }, { - "id": 927, + "id": 948, "name": "error", "kind": 1024, "kindString": "Property", @@ -31825,7 +32508,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -31834,7 +32517,7 @@ { "title": "Properties", "kind": 1024, - "children": [926, 927] + "children": [947, 948] } ], "sources": [ @@ -31850,7 +32533,7 @@ } }, { - "id": 559, + "id": 580, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -31872,14 +32555,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 582, "name": "data", "kind": 1024, "kindString": "Property", @@ -31894,14 +32577,14 @@ "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 583, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 565, + "id": 586, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -31930,7 +32613,7 @@ } }, { - "id": 564, + "id": 585, "name": "session", "kind": 1024, "kindString": "Property", @@ -31948,7 +32631,7 @@ } }, { - "id": 563, + "id": 584, "name": "user", "kind": 1024, "kindString": "Property", @@ -31970,7 +32653,7 @@ { "title": "Properties", "kind": 1024, - "children": [565, 564, 563] + "children": [586, 585, 584] } ], "sources": [ @@ -31984,7 +32667,7 @@ } }, { - "id": 566, + "id": 587, "name": "error", "kind": 1024, "kindString": "Property", @@ -32006,7 +32689,7 @@ { "title": "Properties", "kind": 1024, - "children": [561, 566] + "children": [582, 587] } ], "sources": [ @@ -32021,14 +32704,14 @@ { "type": "reflection", "declaration": { - "id": 567, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 589, "name": "data", "kind": 1024, "kindString": "Property", @@ -32043,14 +32726,14 @@ "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 593, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -32079,7 +32762,7 @@ } }, { - "id": 571, + "id": 592, "name": "session", "kind": 1024, "kindString": "Property", @@ -32097,7 +32780,7 @@ } }, { - "id": 570, + "id": 591, "name": "user", "kind": 1024, "kindString": "Property", @@ -32119,7 +32802,7 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 570] + "children": [593, 592, 591] } ], "sources": [ @@ -32133,7 +32816,7 @@ } }, { - "id": 573, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", @@ -32147,7 +32830,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -32156,7 +32839,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 573] + "children": [589, 594] } ], "sources": [ @@ -32172,7 +32855,7 @@ } }, { - "id": 532, + "id": 553, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -32190,14 +32873,14 @@ { "type": "reflection", "declaration": { - "id": 533, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 555, "name": "data", "kind": 1024, "kindString": "Property", @@ -32212,14 +32895,14 @@ "type": { "type": "reflection", "declaration": { - "id": 535, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 537, + "id": 558, "name": "session", "kind": 1024, "kindString": "Property", @@ -32236,7 +32919,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -32247,7 +32930,7 @@ } }, { - "id": 536, + "id": 557, "name": "user", "kind": 1024, "kindString": "Property", @@ -32264,7 +32947,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -32279,7 +32962,7 @@ { "title": "Properties", "kind": 1024, - "children": [537, 536] + "children": [558, 557] } ], "sources": [ @@ -32293,7 +32976,7 @@ } }, { - "id": 538, + "id": 559, "name": "error", "kind": 1024, "kindString": "Property", @@ -32315,7 +32998,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 538] + "children": [555, 559] } ], "sources": [ @@ -32330,14 +33013,14 @@ { "type": "reflection", "declaration": { - "id": 539, + "id": 560, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 540, + "id": 561, "name": "data", "kind": 1024, "kindString": "Property", @@ -32352,14 +33035,14 @@ "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 543, + "id": 564, "name": "session", "kind": 1024, "kindString": "Property", @@ -32377,7 +33060,7 @@ } }, { - "id": 542, + "id": 563, "name": "user", "kind": 1024, "kindString": "Property", @@ -32399,7 +33082,7 @@ { "title": "Properties", "kind": 1024, - "children": [543, 542] + "children": [564, 563] } ], "sources": [ @@ -32413,7 +33096,7 @@ } }, { - "id": 544, + "id": 565, "name": "error", "kind": 1024, "kindString": "Property", @@ -32427,7 +33110,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -32436,7 +33119,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 544] + "children": [561, 565] } ], "sources": [ @@ -32452,7 +33135,7 @@ } }, { - "id": 545, + "id": 566, "name": "AuthResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -32470,14 +33153,14 @@ { "type": "reflection", "declaration": { - "id": 546, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 568, "name": "data", "kind": 1024, "kindString": "Property", @@ -32492,14 +33175,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 550, + "id": 571, "name": "session", "kind": 1024, "kindString": "Property", @@ -32516,7 +33199,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -32527,7 +33210,7 @@ } }, { - "id": 549, + "id": 570, "name": "user", "kind": 1024, "kindString": "Property", @@ -32544,7 +33227,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -32555,7 +33238,7 @@ } }, { - "id": 551, + "id": 572, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -32574,7 +33257,7 @@ "types": [ { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" }, { @@ -32589,7 +33272,7 @@ { "title": "Properties", "kind": 1024, - "children": [550, 549, 551] + "children": [571, 570, 572] } ], "sources": [ @@ -32603,7 +33286,7 @@ } }, { - "id": 552, + "id": 573, "name": "error", "kind": 1024, "kindString": "Property", @@ -32625,7 +33308,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 552] + "children": [568, 573] } ], "sources": [ @@ -32640,14 +33323,14 @@ { "type": "reflection", "declaration": { - "id": 553, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 554, + "id": 575, "name": "data", "kind": 1024, "kindString": "Property", @@ -32662,14 +33345,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 578, "name": "session", "kind": 1024, "kindString": "Property", @@ -32687,7 +33370,7 @@ } }, { - "id": 556, + "id": 577, "name": "user", "kind": 1024, "kindString": "Property", @@ -32709,7 +33392,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 556] + "children": [578, 577] } ], "sources": [ @@ -32723,7 +33406,7 @@ } }, { - "id": 558, + "id": 579, "name": "error", "kind": 1024, "kindString": "Property", @@ -32737,7 +33420,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -32746,7 +33429,7 @@ { "title": "Properties", "kind": 1024, - "children": [554, 558] + "children": [575, 579] } ], "sources": [ @@ -32762,7 +33445,7 @@ } }, { - "id": 574, + "id": 595, "name": "AuthTokenResponse", "kind": 4194304, "kindString": "Type alias", @@ -32780,14 +33463,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -32802,14 +33485,14 @@ "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 600, "name": "session", "kind": 1024, "kindString": "Property", @@ -32823,12 +33506,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 578, + "id": 599, "name": "user", "kind": 1024, "kindString": "Property", @@ -32842,7 +33525,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -32851,7 +33534,7 @@ { "title": "Properties", "kind": 1024, - "children": [579, 578] + "children": [600, 599] } ], "sources": [ @@ -32865,7 +33548,7 @@ } }, { - "id": 580, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -32887,7 +33570,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 580] + "children": [597, 601] } ], "sources": [ @@ -32902,14 +33585,14 @@ { "type": "reflection", "declaration": { - "id": 581, + "id": 602, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 603, "name": "data", "kind": 1024, "kindString": "Property", @@ -32924,14 +33607,14 @@ "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 606, "name": "session", "kind": 1024, "kindString": "Property", @@ -32949,7 +33632,7 @@ } }, { - "id": 584, + "id": 605, "name": "user", "kind": 1024, "kindString": "Property", @@ -32971,7 +33654,7 @@ { "title": "Properties", "kind": 1024, - "children": [585, 584] + "children": [606, 605] } ], "sources": [ @@ -32985,7 +33668,7 @@ } }, { - "id": 586, + "id": 607, "name": "error", "kind": 1024, "kindString": "Property", @@ -32999,7 +33682,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -33008,7 +33691,7 @@ { "title": "Properties", "kind": 1024, - "children": [582, 586] + "children": [603, 607] } ], "sources": [ @@ -33024,7 +33707,7 @@ } }, { - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -33042,14 +33725,14 @@ { "type": "reflection", "declaration": { - "id": 588, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 610, "name": "data", "kind": 1024, "kindString": "Property", @@ -33064,14 +33747,14 @@ "type": { "type": "reflection", "declaration": { - "id": 590, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 592, + "id": 613, "name": "session", "kind": 1024, "kindString": "Property", @@ -33085,12 +33768,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 591, + "id": 612, "name": "user", "kind": 1024, "kindString": "Property", @@ -33104,12 +33787,12 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } }, { - "id": 593, + "id": 614, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -33125,7 +33808,7 @@ ], "type": { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" } } @@ -33134,7 +33817,7 @@ { "title": "Properties", "kind": 1024, - "children": [592, 591, 593] + "children": [613, 612, 614] } ], "sources": [ @@ -33148,7 +33831,7 @@ } }, { - "id": 594, + "id": 615, "name": "error", "kind": 1024, "kindString": "Property", @@ -33170,7 +33853,7 @@ { "title": "Properties", "kind": 1024, - "children": [589, 594] + "children": [610, 615] } ], "sources": [ @@ -33185,14 +33868,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 617, "name": "data", "kind": 1024, "kindString": "Property", @@ -33207,14 +33890,14 @@ "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 620, "name": "session", "kind": 1024, "kindString": "Property", @@ -33232,7 +33915,7 @@ } }, { - "id": 598, + "id": 619, "name": "user", "kind": 1024, "kindString": "Property", @@ -33250,7 +33933,7 @@ } }, { - "id": 600, + "id": 621, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -33274,7 +33957,7 @@ { "title": "Properties", "kind": 1024, - "children": [599, 598, 600] + "children": [620, 619, 621] } ], "sources": [ @@ -33288,7 +33971,7 @@ } }, { - "id": 601, + "id": 622, "name": "error", "kind": 1024, "kindString": "Property", @@ -33302,7 +33985,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -33311,7 +33994,7 @@ { "title": "Properties", "kind": 1024, - "children": [596, 601] + "children": [617, 622] } ], "sources": [ @@ -33327,7 +34010,7 @@ } }, { - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -33354,7 +34037,7 @@ } }, { - "id": 1034, + "id": 1055, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -33372,14 +34055,14 @@ { "type": "reflection", "declaration": { - "id": 1035, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1037, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -33397,7 +34080,7 @@ } }, { - "id": 1036, + "id": 1057, "name": "session", "kind": 1024, "kindString": "Property", @@ -33411,7 +34094,7 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } } @@ -33420,7 +34103,7 @@ { "title": "Properties", "kind": 1024, - "children": [1037, 1036] + "children": [1058, 1057] } ], "sources": [ @@ -33435,14 +34118,14 @@ { "type": "reflection", "declaration": { - "id": 1038, + "id": 1059, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1040, + "id": 1061, "name": "error", "kind": 1024, "kindString": "Property", @@ -33456,12 +34139,12 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } }, { - "id": 1039, + "id": 1060, "name": "session", "kind": 1024, "kindString": "Property", @@ -33483,7 +34166,7 @@ { "title": "Properties", "kind": 1024, - "children": [1040, 1039] + "children": [1061, 1060] } ], "sources": [ @@ -33499,7 +34182,7 @@ } }, { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -33542,7 +34225,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -33557,14 +34240,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -33585,7 +34268,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -33606,7 +34289,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -33625,7 +34308,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -33639,7 +34322,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -33670,7 +34353,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -33684,7 +34367,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -33699,14 +34382,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -33727,7 +34410,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -33746,7 +34429,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -33769,7 +34452,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -33800,7 +34483,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -33814,7 +34497,7 @@ } }, { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -33830,7 +34513,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -33845,14 +34528,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -33870,7 +34553,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -33889,7 +34572,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -33912,7 +34595,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -33930,7 +34613,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -33952,7 +34635,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -33966,7 +34649,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -33981,14 +34664,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -34009,7 +34692,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -34028,7 +34711,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -34051,7 +34734,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -34082,7 +34765,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -34096,7 +34779,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34111,14 +34794,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -34139,7 +34822,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -34158,7 +34841,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -34172,7 +34855,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -34194,7 +34877,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -34208,7 +34891,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34223,14 +34906,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -34251,7 +34934,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -34272,7 +34955,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -34291,7 +34974,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -34305,7 +34988,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -34336,7 +35019,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -34353,7 +35036,7 @@ } }, { - "id": 890, + "id": 911, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -34371,14 +35054,14 @@ "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 892, + "id": 913, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -34399,7 +35082,7 @@ } }, { - "id": 893, + "id": 914, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -34420,7 +35103,7 @@ } }, { - "id": 894, + "id": 915, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -34441,7 +35124,7 @@ } }, { - "id": 895, + "id": 916, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -34462,7 +35145,7 @@ } }, { - "id": 896, + "id": 917, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -34479,10 +35162,10 @@ ], "type": { "type": "reference", - "id": 897, + "id": 918, "name": "GenerateLinkType", "dereferenced": { - "id": 897, + "id": 918, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -34531,7 +35214,7 @@ { "title": "Properties", "kind": 1024, - "children": [892, 893, 894, 895, 896] + "children": [913, 914, 915, 916, 917] } ], "sources": [ @@ -34545,7 +35228,7 @@ } }, { - "id": 877, + "id": 898, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -34563,14 +35246,14 @@ { "type": "reflection", "declaration": { - "id": 878, + "id": 899, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 879, + "id": 900, "name": "data", "kind": 1024, "kindString": "Property", @@ -34585,14 +35268,14 @@ "type": { "type": "reflection", "declaration": { - "id": 880, + "id": 901, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 881, + "id": 902, "name": "properties", "kind": 1024, "kindString": "Property", @@ -34606,12 +35289,12 @@ ], "type": { "type": "reference", - "id": 890, + "id": 911, "name": "GenerateLinkProperties" } }, { - "id": 882, + "id": 903, "name": "user", "kind": 1024, "kindString": "Property", @@ -34625,7 +35308,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -34634,7 +35317,7 @@ { "title": "Properties", "kind": 1024, - "children": [881, 882] + "children": [902, 903] } ], "sources": [ @@ -34648,7 +35331,7 @@ } }, { - "id": 883, + "id": 904, "name": "error", "kind": 1024, "kindString": "Property", @@ -34670,7 +35353,7 @@ { "title": "Properties", "kind": 1024, - "children": [879, 883] + "children": [900, 904] } ], "sources": [ @@ -34685,14 +35368,14 @@ { "type": "reflection", "declaration": { - "id": 884, + "id": 905, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 885, + "id": 906, "name": "data", "kind": 1024, "kindString": "Property", @@ -34707,14 +35390,14 @@ "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 887, + "id": 908, "name": "properties", "kind": 1024, "kindString": "Property", @@ -34732,7 +35415,7 @@ } }, { - "id": 888, + "id": 909, "name": "user", "kind": 1024, "kindString": "Property", @@ -34754,7 +35437,7 @@ { "title": "Properties", "kind": 1024, - "children": [887, 888] + "children": [908, 909] } ], "sources": [ @@ -34768,7 +35451,7 @@ } }, { - "id": 889, + "id": 910, "name": "error", "kind": 1024, "kindString": "Property", @@ -34782,7 +35465,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -34791,7 +35474,7 @@ { "title": "Properties", "kind": 1024, - "children": [885, 889] + "children": [906, 910] } ], "sources": [ @@ -34807,7 +35490,7 @@ } }, { - "id": 897, + "id": 918, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -34850,7 +35533,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34865,14 +35548,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -34893,7 +35576,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -34912,7 +35595,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -34926,7 +35609,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -34948,7 +35631,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -34962,7 +35645,7 @@ } }, { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -34977,14 +35660,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -35002,7 +35685,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -35021,7 +35704,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -35044,7 +35727,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -35062,7 +35745,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -35084,7 +35767,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -35098,7 +35781,7 @@ } }, { - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -35113,14 +35796,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 535, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -35140,7 +35823,7 @@ } }, { - "id": 519, + "id": 540, "name": "debug", "kind": 1024, "kindString": "Property", @@ -35164,7 +35847,7 @@ { "type": "reflection", "declaration": { - "id": 520, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35178,14 +35861,14 @@ ], "signatures": [ { - "id": 521, + "id": 542, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 522, + "id": 543, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -35196,7 +35879,7 @@ } }, { - "id": 523, + "id": 544, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -35224,7 +35907,7 @@ } }, { - "id": 513, + "id": 534, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -35244,7 +35927,7 @@ } }, { - "id": 517, + "id": 538, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -35264,7 +35947,7 @@ } }, { - "id": 518, + "id": 539, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -35280,10 +35963,10 @@ ], "type": { "type": "reference", - "id": 779, + "id": 800, "name": "AuthFlowType", "dereferenced": { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -35312,7 +35995,7 @@ } }, { - "id": 525, + "id": 546, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -35341,7 +36024,7 @@ } }, { - "id": 508, + "id": 529, "name": "headers", "kind": 1024, "kindString": "Property", @@ -35358,7 +36041,7 @@ "type": { "type": "reflection", "declaration": { - "id": 509, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35371,14 +36054,14 @@ } ], "indexSignature": { - "id": 510, + "id": 531, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 532, "name": "key", "kind": 32768, "flags": {}, @@ -35397,7 +36080,7 @@ } }, { - "id": 524, + "id": 545, "name": "lock", "kind": 1024, "kindString": "Property", @@ -35422,10 +36105,10 @@ ], "type": { "type": "reference", - "id": 496, + "id": 517, "name": "LockFunc", "dereferenced": { - "id": 496, + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -35440,7 +36123,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35454,7 +36137,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -35470,7 +36153,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -35479,7 +36162,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -35493,7 +36176,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -35507,7 +36190,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -35518,7 +36201,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35532,7 +36215,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -35542,7 +36225,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -35561,7 +36244,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -35577,7 +36260,7 @@ } }, { - "id": 515, + "id": 536, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -35597,7 +36280,7 @@ } }, { - "id": 516, + "id": 537, "name": "storage", "kind": 1024, "kindString": "Property", @@ -35613,10 +36296,10 @@ ], "type": { "type": "reference", - "id": 1028, + "id": 1049, "name": "SupportedStorage", "dereferenced": { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -35671,14 +36354,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -35705,7 +36388,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -35723,7 +36406,7 @@ } }, { - "id": 512, + "id": 533, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -35743,7 +36426,7 @@ } }, { - "id": 507, + "id": 528, "name": "url", "kind": 1024, "kindString": "Property", @@ -35767,7 +36450,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 519, 513, 517, 518, 525, 508, 524, 515, 516, 512, 507] + "children": [535, 540, 534, 538, 539, 546, 529, 545, 536, 537, 533, 528] } ], "sources": [ @@ -35781,7 +36464,7 @@ } }, { - "id": 1031, + "id": 1052, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -35796,14 +36479,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1032, + "id": 1053, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1033, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -35820,7 +36503,7 @@ "types": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" }, { @@ -35835,7 +36518,7 @@ { "title": "Properties", "kind": 1024, - "children": [1033] + "children": [1054] } ], "sources": [ @@ -35849,7 +36532,178 @@ } }, { - "id": 496, + "id": 1114, + "name": "JwtHeader", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1116, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1204, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } + }, + { + "id": 1117, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1205, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1118, + "name": "typ", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1206, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1116, 1117, 1118] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 24 + } + ] + } + } + }, + { + "id": 1129, + "name": "JwtPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 1119, + "name": "RequiredClaims" + }, + { + "type": "reflection", + "declaration": { + "id": 1130, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 42 + } + ], + "indexSignature": { + "id": 1131, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1132, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ] + } + }, + { + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -35864,7 +36718,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35878,7 +36732,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -35894,7 +36748,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -35903,7 +36757,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -35917,7 +36771,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -35931,7 +36785,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -35942,7 +36796,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35956,7 +36810,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -35966,7 +36820,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -35985,7 +36839,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -35999,7 +36853,7 @@ } }, { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -36014,14 +36868,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -36042,7 +36896,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -36067,7 +36921,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -36081,7 +36935,7 @@ } }, { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -36096,14 +36950,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -36135,7 +36989,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -36160,7 +37014,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -36174,7 +37028,7 @@ } }, { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -36190,7 +37044,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -36205,14 +37059,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -36233,7 +37087,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -36256,7 +37110,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -36283,7 +37137,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -36297,7 +37151,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -36312,14 +37166,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -36340,7 +37194,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -36363,7 +37217,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -36388,7 +37242,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -36405,7 +37259,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -36420,14 +37274,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -36448,7 +37302,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -36471,7 +37325,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -36496,7 +37350,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -36510,7 +37364,7 @@ } }, { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -36525,14 +37379,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -36553,7 +37407,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -36576,7 +37430,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -36603,7 +37457,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -36617,7 +37471,7 @@ } }, { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -36632,14 +37486,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -36664,7 +37518,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -36678,7 +37532,7 @@ } }, { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -36693,14 +37547,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -36721,7 +37575,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -36742,7 +37596,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -36767,7 +37621,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -36781,7 +37635,7 @@ } }, { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -36808,7 +37662,7 @@ } }, { - "id": 602, + "id": 623, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -36826,14 +37680,14 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 604, + "id": 625, "name": "data", "kind": 1024, "kindString": "Property", @@ -36848,14 +37702,14 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 606, + "id": 627, "name": "provider", "kind": 1024, "kindString": "Property", @@ -36869,12 +37723,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 607, + "id": 628, "name": "url", "kind": 1024, "kindString": "Property", @@ -36896,7 +37750,7 @@ { "title": "Properties", "kind": 1024, - "children": [606, 607] + "children": [627, 628] } ], "sources": [ @@ -36910,7 +37764,7 @@ } }, { - "id": 608, + "id": 629, "name": "error", "kind": 1024, "kindString": "Property", @@ -36932,7 +37786,7 @@ { "title": "Properties", "kind": 1024, - "children": [604, 608] + "children": [625, 629] } ], "sources": [ @@ -36947,14 +37801,14 @@ { "type": "reflection", "declaration": { - "id": 609, + "id": 630, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 610, + "id": 631, "name": "data", "kind": 1024, "kindString": "Property", @@ -36969,14 +37823,14 @@ "type": { "type": "reflection", "declaration": { - "id": 611, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 612, + "id": 633, "name": "provider", "kind": 1024, "kindString": "Property", @@ -36990,12 +37844,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 613, + "id": 634, "name": "url", "kind": 1024, "kindString": "Property", @@ -37017,7 +37871,7 @@ { "title": "Properties", "kind": 1024, - "children": [612, 613] + "children": [633, 634] } ], "sources": [ @@ -37031,7 +37885,7 @@ } }, { - "id": 614, + "id": 635, "name": "error", "kind": 1024, "kindString": "Property", @@ -37045,7 +37899,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -37054,7 +37908,7 @@ { "title": "Properties", "kind": 1024, - "children": [610, 614] + "children": [631, 635] } ], "sources": [ @@ -37070,7 +37924,7 @@ } }, { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -37085,14 +37939,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -37115,7 +37969,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -37142,7 +37996,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -37156,7 +38010,7 @@ } }, { - "id": 1041, + "id": 1062, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -37171,14 +38025,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1044, + "id": 1065, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -37196,7 +38050,7 @@ } }, { - "id": 1043, + "id": 1064, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -37223,7 +38077,7 @@ } }, { - "id": 1045, + "id": 1066, "name": "total", "kind": 1024, "kindString": "Property", @@ -37245,7 +38099,7 @@ { "title": "Properties", "kind": 1024, - "children": [1044, 1043, 1045] + "children": [1065, 1064, 1066] } ], "sources": [ @@ -37256,14 +38110,14 @@ } ], "indexSignature": { - "id": 1046, + "id": 1067, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1047, + "id": 1068, "name": "key", "kind": 32768, "flags": {}, @@ -37282,7 +38136,7 @@ } }, { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -37392,7 +38246,231 @@ } }, { - "id": 824, + "id": 1119, + "name": "RequiredClaims", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1127, + "name": "aal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1216, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 981, + "name": "AuthenticatorAssuranceLevels", + "dereferenced": { + "id": 981, + "name": "AuthenticatorAssuranceLevels", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 903, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] + } + } + } + }, + { + "id": 1123, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1212, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1124, + "name": "exp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1213, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1125, + "name": "iat", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1214, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1121, + "name": "iss", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1210, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1126, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1215, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1128, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1122, + "name": "sub", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1127, 1123, 1124, 1125, 1121, 1126, 1128, 1122] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 29 + } + ] + } + } + }, + { + "id": 845, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -37410,14 +38488,14 @@ { "type": "reflection", "declaration": { - "id": 825, + "id": 846, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 827, + "id": 848, "name": "email", "kind": 1024, "kindString": "Property", @@ -37435,7 +38513,7 @@ } }, { - "id": 828, + "id": 849, "name": "options", "kind": 1024, "kindString": "Property", @@ -37452,14 +38530,14 @@ "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 850, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -37482,7 +38560,7 @@ } }, { - "id": 830, + "id": 851, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -37509,7 +38587,7 @@ { "title": "Properties", "kind": 1024, - "children": [831, 830] + "children": [852, 851] } ], "sources": [ @@ -37523,7 +38601,7 @@ } }, { - "id": 826, + "id": 847, "name": "type", "kind": 1024, "kindString": "Property", @@ -37540,7 +38618,7 @@ "typeArguments": [ { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" }, { @@ -37567,7 +38645,7 @@ { "title": "Properties", "kind": 1024, - "children": [827, 828, 826] + "children": [848, 849, 847] } ], "sources": [ @@ -37582,14 +38660,14 @@ { "type": "reflection", "declaration": { - "id": 832, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 835, + "id": 856, "name": "options", "kind": 1024, "kindString": "Property", @@ -37606,14 +38684,14 @@ "type": { "type": "reflection", "declaration": { - "id": 836, + "id": 857, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 858, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -37640,7 +38718,7 @@ { "title": "Properties", "kind": 1024, - "children": [837] + "children": [858] } ], "sources": [ @@ -37654,7 +38732,7 @@ } }, { - "id": 834, + "id": 855, "name": "phone", "kind": 1024, "kindString": "Property", @@ -37672,7 +38750,7 @@ } }, { - "id": 833, + "id": 854, "name": "type", "kind": 1024, "kindString": "Property", @@ -37689,7 +38767,7 @@ "typeArguments": [ { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" }, { @@ -37716,7 +38794,7 @@ { "title": "Properties", "kind": 1024, - "children": [835, 834, 833] + "children": [856, 855, 854] } ], "sources": [ @@ -37732,7 +38810,7 @@ } }, { - "id": 615, + "id": 636, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -37750,14 +38828,14 @@ { "type": "reflection", "declaration": { - "id": 616, + "id": 637, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 617, + "id": 638, "name": "data", "kind": 1024, "kindString": "Property", @@ -37772,14 +38850,14 @@ "type": { "type": "reflection", "declaration": { - "id": 618, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 640, "name": "url", "kind": 1024, "kindString": "Property", @@ -37805,7 +38883,7 @@ { "title": "Properties", "kind": 1024, - "children": [619] + "children": [640] } ], "sources": [ @@ -37819,7 +38897,7 @@ } }, { - "id": 620, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -37841,7 +38919,7 @@ { "title": "Properties", "kind": 1024, - "children": [617, 620] + "children": [638, 641] } ], "sources": [ @@ -37856,14 +38934,14 @@ { "type": "reflection", "declaration": { - "id": 621, + "id": 642, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 643, "name": "data", "kind": 1024, "kindString": "Property", @@ -37881,7 +38959,7 @@ } }, { - "id": 623, + "id": 644, "name": "error", "kind": 1024, "kindString": "Property", @@ -37895,7 +38973,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -37904,7 +38982,7 @@ { "title": "Properties", "kind": 1024, - "children": [622, 623] + "children": [643, 644] } ], "sources": [ @@ -37920,7 +38998,7 @@ } }, { - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -37935,14 +39013,14 @@ "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 748, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 728, + "id": 749, "name": "options", "kind": 1024, "kindString": "Property", @@ -37959,14 +39037,14 @@ "type": { "type": "reflection", "declaration": { - "id": 729, + "id": 750, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 731, + "id": 752, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -37989,7 +39067,7 @@ } }, { - "id": 730, + "id": 751, "name": "data", "kind": 1024, "kindString": "Property", @@ -38017,7 +39095,7 @@ { "title": "Properties", "kind": 1024, - "children": [731, 730] + "children": [752, 751] } ], "sources": [ @@ -38035,7 +39113,7 @@ { "title": "Properties", "kind": 1024, - "children": [728] + "children": [749] } ], "sources": [ @@ -38049,7 +39127,7 @@ } }, { - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -38064,14 +39142,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 814, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 797, + "id": 818, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -38094,7 +39172,7 @@ } }, { - "id": 798, + "id": 819, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -38117,7 +39195,7 @@ } }, { - "id": 799, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -38134,14 +39212,14 @@ "type": { "type": "reflection", "declaration": { - "id": 800, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -38168,7 +39246,7 @@ { "title": "Properties", "kind": 1024, - "children": [801] + "children": [822] } ], "sources": [ @@ -38182,7 +39260,7 @@ } }, { - "id": 794, + "id": 815, "name": "provider", "kind": 1024, "kindString": "Property", @@ -38230,7 +39308,7 @@ { "type": "reflection", "declaration": { - "id": 795, + "id": 816, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38250,7 +39328,7 @@ } }, { - "id": 796, + "id": 817, "name": "token", "kind": 1024, "kindString": "Property", @@ -38275,7 +39353,7 @@ { "title": "Properties", "kind": 1024, - "children": [797, 798, 799, 794, 796] + "children": [818, 819, 820, 815, 817] } ], "sources": [ @@ -38289,7 +39367,7 @@ } }, { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -38304,14 +39382,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -38328,14 +39406,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -38355,7 +39433,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38368,14 +39446,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -38394,7 +39472,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -38417,7 +39495,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -38440,7 +39518,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -38467,7 +39545,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -38481,7 +39559,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -38498,10 +39576,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -38617,7 +39695,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -38631,7 +39709,7 @@ } }, { - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -38649,14 +39727,14 @@ { "type": "reflection", "declaration": { - "id": 750, + "id": 771, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 772, "name": "email", "kind": 1024, "kindString": "Property", @@ -38677,7 +39755,7 @@ } }, { - "id": 753, + "id": 774, "name": "options", "kind": 1024, "kindString": "Property", @@ -38694,14 +39772,14 @@ "type": { "type": "reflection", "declaration": { - "id": 754, + "id": 775, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 776, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -38728,7 +39806,7 @@ { "title": "Properties", "kind": 1024, - "children": [755] + "children": [776] } ], "sources": [ @@ -38742,7 +39820,7 @@ } }, { - "id": 752, + "id": 773, "name": "password", "kind": 1024, "kindString": "Property", @@ -38767,7 +39845,7 @@ { "title": "Properties", "kind": 1024, - "children": [751, 753, 752] + "children": [772, 774, 773] } ], "sources": [ @@ -38782,14 +39860,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 777, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 780, "name": "options", "kind": 1024, "kindString": "Property", @@ -38806,14 +39884,14 @@ "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 761, + "id": 782, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -38840,7 +39918,7 @@ { "title": "Properties", "kind": 1024, - "children": [761] + "children": [782] } ], "sources": [ @@ -38854,7 +39932,7 @@ } }, { - "id": 758, + "id": 779, "name": "password", "kind": 1024, "kindString": "Property", @@ -38875,7 +39953,7 @@ } }, { - "id": 757, + "id": 778, "name": "phone", "kind": 1024, "kindString": "Property", @@ -38900,7 +39978,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 757] + "children": [780, 779, 778] } ], "sources": [ @@ -38916,7 +39994,7 @@ } }, { - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -38934,14 +40012,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 785, "name": "email", "kind": 1024, "kindString": "Property", @@ -38962,7 +40040,7 @@ } }, { - "id": 765, + "id": 786, "name": "options", "kind": 1024, "kindString": "Property", @@ -38979,14 +40057,14 @@ "type": { "type": "reflection", "declaration": { - "id": 766, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 791, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39009,7 +40087,7 @@ } }, { - "id": 769, + "id": 790, "name": "data", "kind": 1024, "kindString": "Property", @@ -39033,7 +40111,7 @@ } }, { - "id": 767, + "id": 788, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -39056,7 +40134,7 @@ } }, { - "id": 768, + "id": 789, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -39083,7 +40161,7 @@ { "title": "Properties", "kind": 1024, - "children": [770, 769, 767, 768] + "children": [791, 790, 788, 789] } ], "sources": [ @@ -39101,7 +40179,7 @@ { "title": "Properties", "kind": 1024, - "children": [764, 765] + "children": [785, 786] } ], "sources": [ @@ -39116,14 +40194,14 @@ { "type": "reflection", "declaration": { - "id": 771, + "id": 792, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 773, + "id": 794, "name": "options", "kind": 1024, "kindString": "Property", @@ -39140,14 +40218,14 @@ "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 777, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39170,7 +40248,7 @@ } }, { - "id": 778, + "id": 799, "name": "channel", "kind": 1024, "kindString": "Property", @@ -39202,7 +40280,7 @@ } }, { - "id": 776, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -39226,7 +40304,7 @@ } }, { - "id": 775, + "id": 796, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -39253,7 +40331,7 @@ { "title": "Properties", "kind": 1024, - "children": [777, 778, 776, 775] + "children": [798, 799, 797, 796] } ], "sources": [ @@ -39267,7 +40345,7 @@ } }, { - "id": 772, + "id": 793, "name": "phone", "kind": 1024, "kindString": "Property", @@ -39292,7 +40370,7 @@ { "title": "Properties", "kind": 1024, - "children": [773, 772] + "children": [794, 793] } ], "sources": [ @@ -39308,7 +40386,7 @@ } }, { - "id": 838, + "id": 859, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -39326,14 +40404,14 @@ { "type": "reflection", "declaration": { - "id": 839, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 862, "name": "options", "kind": 1024, "kindString": "Property", @@ -39350,14 +40428,14 @@ "type": { "type": "reflection", "declaration": { - "id": 842, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 865, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39380,7 +40458,7 @@ } }, { - "id": 843, + "id": 864, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -39407,7 +40485,7 @@ { "title": "Properties", "kind": 1024, - "children": [844, 843] + "children": [865, 864] } ], "sources": [ @@ -39421,7 +40499,7 @@ } }, { - "id": 840, + "id": 861, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -39446,7 +40524,7 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [862, 861] } ], "sources": [ @@ -39461,14 +40539,14 @@ { "type": "reflection", "declaration": { - "id": 845, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 846, + "id": 867, "name": "domain", "kind": 1024, "kindString": "Property", @@ -39489,7 +40567,7 @@ } }, { - "id": 847, + "id": 868, "name": "options", "kind": 1024, "kindString": "Property", @@ -39506,14 +40584,14 @@ "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 869, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 871, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39536,7 +40614,7 @@ } }, { - "id": 849, + "id": 870, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -39563,7 +40641,7 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [871, 870] } ], "sources": [ @@ -39581,7 +40659,7 @@ { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [867, 868] } ], "sources": [ @@ -39597,7 +40675,7 @@ } }, { - "id": 1052, + "id": 1073, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -39612,14 +40690,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1053, + "id": 1074, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1054, + "id": 1075, "name": "scope", "kind": 1024, "kindString": "Property", @@ -39659,7 +40737,7 @@ { "title": "Properties", "kind": 1024, - "children": [1054] + "children": [1075] } ], "sources": [ @@ -39673,7 +40751,7 @@ } }, { - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -39691,14 +40769,14 @@ { "type": "reflection", "declaration": { - "id": 733, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 734, + "id": 755, "name": "email", "kind": 1024, "kindString": "Property", @@ -39719,7 +40797,7 @@ } }, { - "id": 736, + "id": 757, "name": "options", "kind": 1024, "kindString": "Property", @@ -39736,14 +40814,14 @@ "type": { "type": "reflection", "declaration": { - "id": 737, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 740, + "id": 761, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39766,7 +40844,7 @@ } }, { - "id": 739, + "id": 760, "name": "data", "kind": 1024, "kindString": "Property", @@ -39790,7 +40868,7 @@ } }, { - "id": 738, + "id": 759, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -39817,7 +40895,7 @@ { "title": "Properties", "kind": 1024, - "children": [740, 739, 738] + "children": [761, 760, 759] } ], "sources": [ @@ -39831,7 +40909,7 @@ } }, { - "id": 735, + "id": 756, "name": "password", "kind": 1024, "kindString": "Property", @@ -39856,7 +40934,7 @@ { "title": "Properties", "kind": 1024, - "children": [734, 736, 735] + "children": [755, 757, 756] } ], "sources": [ @@ -39871,14 +40949,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 765, "name": "options", "kind": 1024, "kindString": "Property", @@ -39895,14 +40973,14 @@ "type": { "type": "reflection", "declaration": { - "id": 745, + "id": 766, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 747, + "id": 768, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39925,7 +41003,7 @@ } }, { - "id": 748, + "id": 769, "name": "channel", "kind": 1024, "kindString": "Property", @@ -39957,7 +41035,7 @@ } }, { - "id": 746, + "id": 767, "name": "data", "kind": 1024, "kindString": "Property", @@ -39985,7 +41063,7 @@ { "title": "Properties", "kind": 1024, - "children": [747, 748, 746] + "children": [768, 769, 767] } ], "sources": [ @@ -39999,7 +41077,7 @@ } }, { - "id": 743, + "id": 764, "name": "password", "kind": 1024, "kindString": "Property", @@ -40020,7 +41098,7 @@ } }, { - "id": 742, + "id": 763, "name": "phone", "kind": 1024, "kindString": "Property", @@ -40045,7 +41123,7 @@ { "title": "Properties", "kind": 1024, - "children": [744, 743, 742] + "children": [765, 764, 763] } ], "sources": [ @@ -40061,7 +41139,7 @@ } }, { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -40116,14 +41194,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -40150,7 +41228,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -40166,7 +41244,7 @@ } }, { - "id": 624, + "id": 645, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -40184,14 +41262,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 647, "name": "data", "kind": 1024, "kindString": "Property", @@ -40206,14 +41284,14 @@ "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 648, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 649, "name": "user", "kind": 1024, "kindString": "Property", @@ -40227,7 +41305,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -40236,7 +41314,7 @@ { "title": "Properties", "kind": 1024, - "children": [628] + "children": [649] } ], "sources": [ @@ -40250,7 +41328,7 @@ } }, { - "id": 629, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -40272,7 +41350,7 @@ { "title": "Properties", "kind": 1024, - "children": [626, 629] + "children": [647, 650] } ], "sources": [ @@ -40287,14 +41365,14 @@ { "type": "reflection", "declaration": { - "id": 630, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 631, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -40309,14 +41387,14 @@ "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 653, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 654, "name": "user", "kind": 1024, "kindString": "Property", @@ -40338,7 +41416,7 @@ { "title": "Properties", "kind": 1024, - "children": [633] + "children": [654] } ], "sources": [ @@ -40352,7 +41430,7 @@ } }, { - "id": 634, + "id": 655, "name": "error", "kind": 1024, "kindString": "Property", @@ -40366,7 +41444,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -40375,7 +41453,7 @@ { "title": "Properties", "kind": 1024, - "children": [631, 634] + "children": [652, 655] } ], "sources": [ @@ -40391,7 +41469,7 @@ } }, { - "id": 802, + "id": 823, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -40407,14 +41485,14 @@ "type": "union", "types": [ { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -40431,14 +41509,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40467,7 +41545,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -40494,14 +41572,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -40522,7 +41600,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -40543,7 +41621,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -40560,10 +41638,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -40596,7 +41674,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -40608,14 +41686,14 @@ ] }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -40636,7 +41714,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -40653,14 +41731,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40689,7 +41767,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -40716,14 +41794,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -40744,7 +41822,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -40761,10 +41839,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -40813,7 +41891,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -40825,14 +41903,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -40853,7 +41931,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -40870,10 +41948,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -40922,7 +42000,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -40937,7 +42015,7 @@ } }, { - "id": 528, + "id": 549, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -40952,14 +42030,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 550, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 552, "name": "message", "kind": 1024, "kindString": "Property", @@ -40977,7 +42055,7 @@ } }, { - "id": 530, + "id": 551, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -40993,7 +42071,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } @@ -41003,7 +42081,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 530] + "children": [552, 551] } ], "sources": [ @@ -41017,7 +42095,7 @@ } }, { - "id": 526, + "id": 547, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -41054,7 +42132,7 @@ { "type": "reflection", "declaration": { - "id": 527, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41074,7 +42152,7 @@ } }, { - "id": 475, + "id": 496, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -41099,7 +42177,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 476, + "id": 497, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -41124,7 +42202,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 490, + "id": 511, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -41149,14 +42227,14 @@ "type": { "type": "reflection", "declaration": { - "id": 491, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 513, "name": "debug", "kind": 1024, "kindString": "Property", @@ -41187,7 +42265,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [513] } ] } @@ -41195,7 +42273,7 @@ "defaultValue": "..." }, { - "id": 1096, + "id": 1143, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -41209,14 +42287,14 @@ ], "signatures": [ { - "id": 1097, + "id": 1144, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1098, + "id": 1145, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41233,7 +42311,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" } } @@ -41241,7 +42319,7 @@ ] }, { - "id": 1093, + "id": 1140, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -41255,14 +42333,14 @@ ], "signatures": [ { - "id": 1094, + "id": 1141, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1095, + "id": 1142, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41279,7 +42357,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -41287,7 +42365,7 @@ ] }, { - "id": 1102, + "id": 1149, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -41301,14 +42379,14 @@ ], "signatures": [ { - "id": 1103, + "id": 1150, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1104, + "id": 1151, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41325,7 +42403,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" } } @@ -41333,7 +42411,7 @@ ] }, { - "id": 1105, + "id": 1152, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -41347,14 +42425,14 @@ ], "signatures": [ { - "id": 1106, + "id": 1153, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1107, + "id": 1154, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41371,7 +42449,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" } } @@ -41379,7 +42457,7 @@ ] }, { - "id": 1099, + "id": 1146, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -41393,14 +42471,14 @@ ], "signatures": [ { - "id": 1100, + "id": 1147, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1101, + "id": 1148, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41417,7 +42495,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" } } @@ -41425,7 +42503,7 @@ ] }, { - "id": 1108, + "id": 1155, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -41439,14 +42517,14 @@ ], "signatures": [ { - "id": 1109, + "id": 1156, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1110, + "id": 1157, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -41463,7 +42541,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" } } @@ -41471,7 +42549,7 @@ ] }, { - "id": 477, + "id": 498, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -41485,7 +42563,7 @@ ], "signatures": [ { - "id": 478, + "id": 499, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -41496,7 +42574,7 @@ }, "typeParameter": [ { - "id": 479, + "id": 500, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -41505,7 +42583,7 @@ ], "parameters": [ { - "id": 480, + "id": 501, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -41519,7 +42597,7 @@ } }, { - "id": 481, + "id": 502, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -41533,7 +42611,7 @@ } }, { - "id": 482, + "id": 503, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -41544,14 +42622,14 @@ "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 505, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -41561,7 +42639,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -41580,7 +42658,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -41596,34 +42674,36 @@ { "title": "Classes", "kind": 128, - "children": [1121, 1111, 1178, 1169, 1161, 1205, 1232, 1153, 1131, 1242, 1141, 1, 78, 485] + "children": [ + 1168, 1158, 1225, 1216, 1301, 1208, 1252, 1279, 1200, 1178, 1289, 1188, 1, 78, 506 + ] }, { "title": "Interfaces", "kind": 256, "children": [ - 644, 705, 660, 873, 1021, 972, 635, 718, 675, 668, 699, 648, 672, 811, 803, 819 + 665, 726, 681, 894, 1042, 993, 1133, 656, 739, 696, 689, 720, 669, 693, 832, 824, 840 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 495, 494, 779, 1005, 996, 1018, 1009, 938, 1081, 928, 1065, 961, 949, 929, 915, 559, - 532, 545, 574, 587, 960, 1034, 823, 867, 857, 876, 890, 877, 897, 862, 851, 505, 1031, - 496, 911, 907, 898, 1060, 1055, 899, 902, 822, 602, 1048, 1041, 493, 824, 615, 726, 792, - 780, 749, 762, 838, 1052, 732, 1028, 624, 802, 528, 526 + 516, 515, 800, 1026, 1017, 1039, 1030, 959, 1102, 949, 1086, 982, 970, 950, 936, 580, + 553, 566, 595, 608, 981, 1055, 844, 888, 878, 897, 911, 898, 918, 883, 872, 526, 1052, + 1114, 1129, 517, 932, 928, 919, 1081, 1076, 920, 923, 843, 623, 1069, 1062, 514, 1119, + 845, 636, 747, 813, 801, 770, 783, 859, 1073, 753, 1049, 645, 823, 549, 547 ] }, { "title": "Variables", "kind": 32, - "children": [475, 476, 490] + "children": [496, 497, 511] }, { "title": "Functions", "kind": 64, - "children": [1096, 1093, 1102, 1105, 1099, 1108, 477] + "children": [1143, 1140, 1149, 1152, 1146, 1155, 498] } ], "sources": [ @@ -41643,7 +42723,7 @@ "originalName": "", "children": [ { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -41652,7 +42732,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41660,27 +42740,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -41697,18 +42777,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -41718,7 +42798,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -41730,36 +42810,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -41777,7 +42857,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -41789,7 +42869,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -41798,11 +42878,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -41810,11 +42890,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -41833,16 +42913,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -41852,7 +42932,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -41863,7 +42943,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -41873,7 +42953,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -41883,28 +42963,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -41928,7 +43008,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -41963,7 +43043,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41973,7 +43053,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -41995,7 +43075,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -42005,7 +43085,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -42015,7 +43095,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -42025,7 +43105,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -42056,7 +43136,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -42067,7 +43147,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -42077,7 +43157,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -42087,7 +43167,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -42098,7 +43178,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -42109,7 +43189,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -42121,7 +43201,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -42131,7 +43211,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -42143,7 +43223,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -42151,13 +43570,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -42167,7 +43586,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -42178,7 +43597,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -42191,16 +43610,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -42210,7 +43629,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -42218,20 +43637,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -42240,7 +43659,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -42249,11 +43668,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -42261,11 +43680,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -42274,7 +43693,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -42287,7 +43706,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -42304,21 +43723,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -42327,7 +43746,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -42336,11 +43755,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -42348,11 +43767,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -42392,7 +43811,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -42409,21 +43828,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -42500,7 +43919,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -42508,13 +43927,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -42528,16 +43947,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -42545,11 +43964,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -42569,36 +43988,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -42616,7 +44035,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -42628,7 +44047,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -42637,11 +44056,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -42649,11 +44068,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -44045,7 +45464,7 @@ ] }, { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -44056,7 +45475,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44070,14 +45489,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -44085,14 +45504,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -44110,7 +45529,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -44128,7 +45547,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -44146,7 +45565,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -44168,7 +45587,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -44177,7 +45596,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -44192,7 +45611,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -44210,7 +45629,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -44228,7 +45647,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -44250,12 +45669,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -44368,7 +45787,7 @@ "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -44382,7 +45801,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -44391,7 +45810,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44399,27 +45818,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -44436,18 +45855,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -44462,16 +45881,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -44481,7 +45900,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -44492,7 +45911,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -44502,7 +45921,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -44512,28 +45931,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -44557,7 +45976,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -44592,7 +46011,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -44602,7 +46021,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -44624,7 +46043,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -44634,7 +46053,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -44644,7 +46063,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -44654,7 +46073,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -44685,7 +46104,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -44696,7 +46115,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -44706,7 +46125,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -44716,7 +46135,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -44727,7 +46146,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -44738,7 +46157,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -44750,7 +46169,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -44760,7 +46179,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -44772,7 +46191,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -44780,13 +46538,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -44796,7 +46554,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -44807,7 +46565,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -44820,16 +46578,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -44839,7 +46597,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -44847,20 +46605,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -44869,7 +46627,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -44878,11 +46636,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -44890,11 +46648,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -44903,7 +46661,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -44916,7 +46674,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -44933,21 +46691,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -44956,7 +46714,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -44965,11 +46723,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -44977,11 +46735,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -45021,7 +46779,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -45038,21 +46796,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -45129,7 +46887,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -45137,13 +46895,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -45157,16 +46915,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -45174,11 +46932,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -45198,36 +46956,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -45245,7 +47003,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -45257,7 +47015,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -45266,11 +47024,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -45278,11 +47036,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -45333,14 +47091,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 493, + "id": 501, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 492, + "id": 500, "name": "default.constructor" } }, @@ -45356,7 +47114,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -45366,7 +47124,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 591, "name": "default.body" } }, @@ -45381,7 +47139,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], @@ -45461,7 +47219,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 586, + "id": 594, "name": "default.fetch" } }, @@ -45476,7 +47234,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -45498,7 +47256,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 581, + "id": 589, "name": "default.headers" } }, @@ -45513,7 +47271,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -45523,7 +47281,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 599, "name": "default.isMaybeSingle" } }, @@ -45538,7 +47296,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -45569,7 +47327,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 579, + "id": 587, "name": "default.method" } }, @@ -45585,7 +47343,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -45595,7 +47353,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 582, + "id": 590, "name": "default.schema" } }, @@ -45610,7 +47368,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -45621,7 +47379,7 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 584, + "id": 592, "name": "default.shouldThrowOnError" } }, @@ -45637,7 +47395,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -45649,7 +47407,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 593, "name": "default.signal" } }, @@ -45664,7 +47422,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -45676,7 +47434,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 580, + "id": 588, "name": "default.url" } }, @@ -45755,14 +47513,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 560, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 559, "name": "default.abortSignal" } }, @@ -46287,7 +48045,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -46302,14 +48060,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 561, + "id": 569, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 560, + "id": 568, "name": "default.csv" } }, @@ -46698,7 +48456,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -46713,7 +48471,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -46745,14 +48503,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 565, + "id": 573, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 564, + "id": 572, "name": "default.explain" } }, @@ -47079,7 +48837,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -47106,14 +48864,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 571, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 570, "name": "default.geojson" } }, @@ -49168,14 +50926,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 537, + "id": 545, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 536, + "id": 544, "name": "default.limit" } }, @@ -49784,7 +51542,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "union", @@ -49809,14 +51567,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 558, + "id": 566, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 557, + "id": 565, "name": "default.maybeSingle" } }, @@ -50542,7 +52300,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 514, "name": "default.order" } }, @@ -50706,7 +52464,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 514, + "id": 522, "name": "default.order" } }, @@ -50882,7 +52640,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 521, + "id": 529, "name": "default.order" } }, @@ -51043,14 +52801,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 529, + "id": 537, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 505, + "id": 513, "name": "default.order" } }, @@ -51270,6 +53028,282 @@ } ] }, + { + "id": 486, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 487, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 488, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 493, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 489, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 492, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [492] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 619, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 618, + "name": "default.overrideTypes" + } + }, { "id": 419, "name": "range", @@ -51434,14 +53468,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 544, + "id": 552, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 543, + "id": 551, "name": "default.range" } }, @@ -52329,7 +54363,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], @@ -52341,7 +54375,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { @@ -52351,13 +54391,13 @@ "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -52371,8 +54411,19 @@ }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", @@ -52389,14 +54440,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 577, + "id": 585, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 576, + "id": 584, "name": "default.returns" } }, @@ -52458,14 +54509,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 575, + "id": 583, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 574, + "id": 582, "name": "default.rollback" } }, @@ -52517,7 +54568,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -52571,7 +54622,7 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -52606,14 +54657,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 509, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 508, "name": "default.select" } }, @@ -52626,7 +54677,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], @@ -52698,14 +54749,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 595, + "id": 603, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 594, + "id": 602, "name": "default.setHeader" } }, @@ -52767,7 +54818,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -52783,14 +54834,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 555, + "id": 563, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 554, + "id": 562, "name": "default.single" } }, @@ -53158,7 +55209,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], @@ -53178,7 +55229,7 @@ "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -53241,7 +55292,7 @@ "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -53382,14 +55433,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 607, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 598, + "id": 606, "name": "default.then" } }, @@ -53402,7 +55453,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], @@ -53454,7 +55505,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -53472,14 +55523,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 593, + "id": 601, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 592, + "id": 600, "name": "default.throwOnError" } } @@ -53500,8 +55551,8 @@ "kind": 2048, "children": [ 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 419, 311, 279, 287, 295, 303, - 452, 450, 376, 470, 430, 327, 474, 468 + 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, + 303, 452, 450, 376, 470, 430, 327, 474, 468 ] } ], @@ -53514,7 +55565,7 @@ ], "typeParameter": [ { - "id": 486, + "id": 494, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -53525,7 +55576,7 @@ } }, { - "id": 487, + "id": 495, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -53548,14 +55599,14 @@ } }, { - "id": 488, + "id": 496, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 489, + "id": 497, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -53566,7 +55617,7 @@ } }, { - "id": 490, + "id": 498, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -53580,7 +55631,7 @@ "extendedTypes": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -54678,7 +56729,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -55636,28 +57687,28 @@ ] }, { - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 492, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 493, + "id": 501, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 494, + "id": 502, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -55668,7 +57719,7 @@ } }, { - "id": 495, + "id": 503, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -55691,14 +57742,14 @@ } }, { - "id": 496, + "id": 504, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 505, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -55709,7 +57760,7 @@ } }, { - "id": 498, + "id": 506, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -55722,18 +57773,18 @@ ], "parameters": [ { - "id": 499, + "id": 507, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -55743,7 +57794,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -55752,7 +57803,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -55760,27 +57811,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -55797,18 +57848,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -55823,16 +57874,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -55842,7 +57893,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -55853,7 +57904,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -55863,7 +57914,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -55873,28 +57924,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -55918,7 +57969,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -55953,7 +58004,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -55963,7 +58014,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -55985,7 +58036,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -55995,7 +58046,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -56005,7 +58056,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -56015,7 +58066,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -56046,7 +58097,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -56057,7 +58108,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -56067,7 +58118,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -56077,7 +58128,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -56088,7 +58139,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -56099,7 +58150,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -56111,7 +58162,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -56121,7 +58172,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -56133,7 +58184,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -56141,13 +58531,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -56157,7 +58547,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -56168,7 +58558,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -56181,16 +58571,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -56200,7 +58590,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -56208,20 +58598,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -56230,7 +58620,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -56239,11 +58629,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56251,11 +58641,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56264,7 +58654,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -56277,7 +58667,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -56294,21 +58684,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -56317,7 +58707,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -56326,11 +58716,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56338,11 +58728,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56382,7 +58772,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -56399,21 +58789,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -56490,7 +58880,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -56498,13 +58888,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -56518,16 +58908,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -56535,11 +58925,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -56559,36 +58949,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -56606,7 +58996,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -56618,7 +59008,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -56627,11 +59017,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56639,11 +59029,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -56662,31 +59052,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -56694,19 +59084,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 617, + "id": 633, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 616, + "id": 632, "name": "default.constructor" } }, { - "id": 583, + "id": 591, "name": "body", "kind": 1024, "kindString": "Property", @@ -56717,7 +59107,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -56727,12 +59117,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 625, + "id": 641, "name": "default.body" } }, { - "id": 586, + "id": 594, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -56742,28 +59132,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 595, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 588, + "id": 596, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 589, + "id": 597, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -56787,7 +59177,7 @@ } }, { - "id": 590, + "id": 598, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -56822,12 +59212,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 628, + "id": 644, "name": "default.fetch" } }, { - "id": 581, + "id": 589, "name": "headers", "kind": 1024, "kindString": "Property", @@ -56837,7 +59227,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -56859,12 +59249,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 623, + "id": 639, "name": "default.headers" } }, { - "id": 591, + "id": 599, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -56874,7 +59264,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -56884,12 +59274,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 649, "name": "default.isMaybeSingle" } }, { - "id": 579, + "id": 587, "name": "method", "kind": 1024, "kindString": "Property", @@ -56899,7 +59289,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -56930,12 +59320,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 621, + "id": 637, "name": "default.method" } }, { - "id": 582, + "id": 590, "name": "schema", "kind": 1024, "kindString": "Property", @@ -56946,7 +59336,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -56956,12 +59346,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 624, + "id": 640, "name": "default.schema" } }, { - "id": 584, + "id": 592, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -56971,7 +59361,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -56982,12 +59372,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 626, + "id": 642, "name": "default.shouldThrowOnError" } }, { - "id": 585, + "id": 593, "name": "signal", "kind": 1024, "kindString": "Property", @@ -56998,7 +59388,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -57010,12 +59400,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 627, + "id": 643, "name": "default.signal" } }, { - "id": 580, + "id": 588, "name": "url", "kind": 1024, "kindString": "Property", @@ -57025,7 +59415,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -57037,12 +59427,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 622, + "id": 638, "name": "default.url" } }, { - "id": 551, + "id": 559, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -57056,7 +59446,7 @@ ], "signatures": [ { - "id": 552, + "id": 560, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -57066,7 +59456,7 @@ }, "parameters": [ { - "id": 553, + "id": 561, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -57084,31 +59474,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -57118,7 +59508,7 @@ ] }, { - "id": 560, + "id": 568, "name": "csv", "kind": 2048, "kindString": "Method", @@ -57132,7 +59522,7 @@ ], "signatures": [ { - "id": 561, + "id": 569, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -57142,7 +59532,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -57159,7 +59549,7 @@ ] }, { - "id": 564, + "id": 572, "name": "explain", "kind": 2048, "kindString": "Method", @@ -57173,7 +59563,7 @@ ], "signatures": [ { - "id": 565, + "id": 573, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -57184,7 +59574,7 @@ }, "parameters": [ { - "id": 566, + "id": 574, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -57196,14 +59586,14 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 576, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -57226,7 +59616,7 @@ } }, { - "id": 571, + "id": 579, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -57249,7 +59639,7 @@ } }, { - "id": 573, + "id": 581, "name": "format", "kind": 1024, "kindString": "Property", @@ -57281,7 +59671,7 @@ } }, { - "id": 570, + "id": 578, "name": "settings", "kind": 1024, "kindString": "Property", @@ -57304,7 +59694,7 @@ } }, { - "id": 569, + "id": 577, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -57327,7 +59717,7 @@ } }, { - "id": 572, + "id": 580, "name": "wal", "kind": 1024, "kindString": "Property", @@ -57354,7 +59744,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 571, 573, 570, 569, 572] + "children": [576, 579, 581, 578, 577, 580] } ] } @@ -57367,7 +59757,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -57382,7 +59772,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -57416,7 +59806,7 @@ ] }, { - "id": 562, + "id": 570, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -57430,7 +59820,7 @@ ], "signatures": [ { - "id": 563, + "id": 571, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -57440,7 +59830,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -57469,7 +59859,7 @@ ] }, { - "id": 536, + "id": 544, "name": "limit", "kind": 2048, "kindString": "Method", @@ -57483,7 +59873,7 @@ ], "signatures": [ { - "id": 537, + "id": 545, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -57493,7 +59883,7 @@ }, "parameters": [ { - "id": 538, + "id": 546, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -57506,931 +59896,6 @@ "name": "number" } }, - { - "id": 539, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 540, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 541, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 542, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [541, 542] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 557, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, - "character": 2 - } - ], - "signatures": [ - { - "id": 558, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" - }, - "typeParameter": [ - { - "id": 559, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 496, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 615, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 435, - "name": "ResultOne" - } - ] - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" - } - } - ] - }, - { - "id": 505, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 506, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 507, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 508, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 509, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 510, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 511, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 512, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 513, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [511, 512, 513] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 514, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 515, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 517, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 518, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 519, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 520, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [518, 519, 520] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 521, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 522, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 523, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 524, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 525, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 526, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 528, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 527, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [526, 528, 527] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 529, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 530, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 531, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 533, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 535, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 534, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [533, 535, 534] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 543, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, - "character": 2 - } - ], - "signatures": [ - { - "id": 544, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." - }, - "parameters": [ - { - "id": 545, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 546, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, { "id": 547, "name": "options", @@ -58464,7 +59929,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 136, "character": 9 } ], @@ -58484,6 +59949,1207 @@ "comment": { "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 136, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [549, 550] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 565, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 204, + "character": 2 + } + ], + "signatures": [ + { + "id": 566, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "typeParameter": [ + { + "id": 567, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 504, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 435, + "name": "ResultOne" + } + ] + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + } + } + ] + }, + { + "id": 513, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 55, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 515, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 516, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 383, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 517, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 518, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 519, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 520, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 521, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [519, 520, 521] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 522, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 523, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 525, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 526, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 527, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 528, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [526, 527, 528] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 529, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 530, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 531, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 398, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 532, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 533, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 534, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 536, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 535, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [534, 536, 535] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 537, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 538, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 540, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 541, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 543, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 542, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [541, 543, 542] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 618, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 619, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 620, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 625, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [622] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [624] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 672, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 671, + "name": "default.overrideTypes" + } + }, + { + "id": 551, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 158, + "character": 2 + } + ], + "signatures": [ + { + "id": 552, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." + }, + "parameters": [ + { + "id": 553, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 555, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 556, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 557, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 164, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" + }, "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", @@ -58501,7 +61167,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [557, 558] } ] } @@ -58511,31 +61177,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -58545,7 +61211,7 @@ ] }, { - "id": 576, + "id": 584, "name": "returns", "kind": 2048, "kindString": "Method", @@ -58553,69 +61219,96 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], "signatures": [ { - "id": 577, + "id": 585, "name": "returns", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { - "id": 578, + "id": 586, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], "name": "default" + }, + "overwrites": { + "type": "reference", + "id": 669, + "name": "default.returns" } } - ] + ], + "overwrites": { + "type": "reference", + "id": 668, + "name": "default.returns" + } }, { - "id": 574, + "id": 582, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -58629,7 +61322,7 @@ ], "signatures": [ { - "id": 575, + "id": 583, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -58640,31 +61333,31 @@ }, "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -58674,7 +61367,7 @@ ] }, { - "id": 500, + "id": 508, "name": "select", "kind": 2048, "kindString": "Method", @@ -58688,7 +61381,7 @@ ], "signatures": [ { - "id": 501, + "id": 509, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -58699,7 +61392,7 @@ }, "typeParameter": [ { - "id": 502, + "id": 510, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -58714,33 +61407,33 @@ } }, { - "id": 503, + "id": 511, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" }, { @@ -58755,7 +61448,7 @@ ], "parameters": [ { - "id": 504, + "id": 512, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -58775,16 +61468,16 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { @@ -58797,12 +61490,12 @@ }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -58812,7 +61505,7 @@ ] }, { - "id": 594, + "id": 602, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -58820,13 +61513,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 595, + "id": 603, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -58836,7 +61529,7 @@ }, "parameters": [ { - "id": 596, + "id": 604, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -58847,7 +61540,7 @@ } }, { - "id": 597, + "id": 605, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -58860,31 +61553,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -58892,19 +61585,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 653, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 636, + "id": 652, "name": "default.setHeader" } }, { - "id": 554, + "id": 562, "name": "single", "kind": 2048, "kindString": "Method", @@ -58918,7 +61611,7 @@ ], "signatures": [ { - "id": 555, + "id": 563, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -58929,7 +61622,7 @@ }, "typeParameter": [ { - "id": 556, + "id": 564, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -58938,7 +61631,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, "extendsType": { @@ -58961,7 +61654,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -58979,7 +61672,7 @@ ] }, { - "id": 598, + "id": 606, "name": "then", "kind": 2048, "kindString": "Method", @@ -58987,31 +61680,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 599, + "id": 607, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 600, + "id": 608, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -59019,7 +61712,7 @@ } }, { - "id": 601, + "id": 609, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -59032,7 +61725,7 @@ ], "parameters": [ { - "id": 602, + "id": 610, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -59049,32 +61742,32 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 604, + "id": 612, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 605, + "id": 613, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -59113,7 +61806,7 @@ } }, { - "id": 606, + "id": 614, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -59130,21 +61823,21 @@ { "type": "reflection", "declaration": { - "id": 607, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 608, + "id": 616, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 609, + "id": 617, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -59211,19 +61904,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 657, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 640, + "id": 656, "name": "default.then" } }, { - "id": 592, + "id": 600, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -59231,13 +61924,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 593, + "id": 601, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -59251,31 +61944,31 @@ "types": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -59283,11 +61976,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -59301,14 +61994,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 635, + "id": 651, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 634, + "id": 650, "name": "default.throwOnError" } } @@ -59317,18 +62010,18 @@ { "title": "Constructors", "kind": 512, - "children": [492] + "children": [500] }, { "title": "Properties", "kind": 1024, - "children": [583, 586, 581, 591, 579, 582, 584, 585, 580] + "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] }, { "title": "Methods", "kind": 2048, "children": [ - 551, 560, 564, 562, 536, 557, 505, 543, 576, 574, 500, 594, 554, 598, 592 + 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 ] } ], @@ -59341,7 +62034,7 @@ ], "typeParameter": [ { - "id": 610, + "id": 626, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -59352,7 +62045,7 @@ } }, { - "id": 611, + "id": 627, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -59375,14 +62068,14 @@ } }, { - "id": 612, + "id": 628, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 613, + "id": 629, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -59393,7 +62086,7 @@ } }, { - "id": 614, + "id": 630, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -59407,11 +62100,11 @@ "extendedTypes": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -59427,18 +62120,54 @@ ] }, { - "id": 668, + "id": 695, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 671, + "id": 698, "name": "count", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 696, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -59446,48 +62175,12 @@ "character": 2 } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 669, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default", "dereferenced": { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -59498,7 +62191,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -59512,14 +62205,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -59527,14 +62220,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -59552,7 +62245,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -59570,7 +62263,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -59588,7 +62281,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -59610,7 +62303,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -59619,7 +62312,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -59634,7 +62327,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -59652,7 +62345,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -59670,7 +62363,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -59692,12 +62385,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -59719,7 +62412,7 @@ } }, { - "id": 672, + "id": 699, "name": "status", "kind": 1024, "kindString": "Property", @@ -59727,7 +62420,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -59741,7 +62434,7 @@ } }, { - "id": 673, + "id": 700, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -59749,7 +62442,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -59767,13 +62460,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 670, 669, 672, 673] + "children": [698, 697, 696, 699, 700] } ], "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 21, "character": 17 } ], @@ -59785,14 +62478,14 @@ ] }, { - "id": 674, + "id": 701, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 677, + "id": 704, "name": "count", "kind": 1024, "kindString": "Property", @@ -59800,7 +62493,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 19, "character": 2 } ], @@ -59819,7 +62512,7 @@ } }, { - "id": 676, + "id": 703, "name": "data", "kind": 1024, "kindString": "Property", @@ -59827,19 +62520,19 @@ "sources": [ { "fileName": "src/types.ts", - "line": 16, + "line": 18, "character": 2 } ], "type": { "type": "reference", - "id": 680, + "id": 707, "name": "T", "dereferenced": {} } }, { - "id": 675, + "id": 702, "name": "error", "kind": 1024, "kindString": "Property", @@ -59847,7 +62540,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 17, "character": 2 } ], @@ -59857,7 +62550,7 @@ } }, { - "id": 678, + "id": 705, "name": "status", "kind": 1024, "kindString": "Property", @@ -59865,7 +62558,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -59879,7 +62572,7 @@ } }, { - "id": 679, + "id": 706, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -59887,7 +62580,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -59905,19 +62598,19 @@ { "title": "Properties", "kind": 1024, - "children": [677, 676, 675, 678, 679] + "children": [704, 703, 702, 705, 706] } ], "sources": [ { "fileName": "src/types.ts", - "line": 14, + "line": 16, "character": 17 } ], "typeParameter": [ { - "id": 680, + "id": 707, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -59932,7 +62625,7 @@ ] }, { - "id": 683, + "id": 710, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -59940,13 +62633,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 29, + "line": 31, "character": 12 } ], "typeParameter": [ { - "id": 684, + "id": 711, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -59955,14 +62648,14 @@ ], "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 684, + "id": 711, "name": "T" }, { @@ -59976,11 +62669,49 @@ } }, { - "id": 666, + "id": 693, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 694, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 708, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 694, + "name": "T" + } + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 708, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -59990,45 +62721,7 @@ ], "typeParameter": [ { - "id": 667, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 681, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 667, - "name": "T" - } - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 681, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 28, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 682, + "id": 709, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -60039,14 +62732,14 @@ "type": "union", "types": [ { - "id": 674, + "id": 701, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 677, + "id": 704, "name": "count", "kind": 1024, "kindString": "Property", @@ -60054,7 +62747,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 19, "character": 2 } ], @@ -60073,7 +62766,7 @@ } }, { - "id": 676, + "id": 703, "name": "data", "kind": 1024, "kindString": "Property", @@ -60081,19 +62774,19 @@ "sources": [ { "fileName": "src/types.ts", - "line": 16, + "line": 18, "character": 2 } ], "type": { "type": "reference", - "id": 680, + "id": 707, "name": "T", "dereferenced": {} } }, { - "id": 675, + "id": 702, "name": "error", "kind": 1024, "kindString": "Property", @@ -60101,7 +62794,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 17, "character": 2 } ], @@ -60111,7 +62804,7 @@ } }, { - "id": 678, + "id": 705, "name": "status", "kind": 1024, "kindString": "Property", @@ -60119,7 +62812,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -60133,7 +62826,7 @@ } }, { - "id": 679, + "id": 706, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -60141,7 +62834,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -60159,19 +62852,19 @@ { "title": "Properties", "kind": 1024, - "children": [677, 676, 675, 678, 679] + "children": [704, 703, 702, 705, 706] } ], "sources": [ { "fileName": "src/types.ts", - "line": 14, + "line": 16, "character": 17 } ], "typeParameter": [ { - "id": 680, + "id": 707, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -60186,18 +62879,54 @@ ] }, { - "id": 668, + "id": 695, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 671, + "id": 698, "name": "count", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 696, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -60205,48 +62934,12 @@ "character": 2 } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 669, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default", "dereferenced": { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -60257,7 +62950,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -60271,14 +62964,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -60286,14 +62979,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -60311,7 +63004,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -60329,7 +63022,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -60347,7 +63040,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -60369,7 +63062,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -60378,7 +63071,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -60393,7 +63086,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -60411,7 +63104,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -60429,7 +63122,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -60451,12 +63144,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -60478,7 +63171,7 @@ } }, { - "id": 672, + "id": 699, "name": "status", "kind": 1024, "kindString": "Property", @@ -60486,7 +63179,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -60500,7 +63193,7 @@ } }, { - "id": 673, + "id": 700, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -60508,7 +63201,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -60526,13 +63219,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 670, 669, 672, 673] + "children": [698, 697, 696, 699, 700] } ], "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 21, "character": 17 } ], @@ -60547,7 +63240,7 @@ } }, { - "id": 685, + "id": 712, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -60564,7 +63257,7 @@ ], "typeParameter": [ { - "id": 686, + "id": 713, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -60578,7 +63271,7 @@ } }, { - "id": 687, + "id": 714, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -60604,7 +63297,7 @@ } }, { - "id": 688, + "id": 715, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -60614,7 +63307,7 @@ } }, { - "id": 689, + "id": 716, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -60624,7 +63317,7 @@ } }, { - "id": 690, + "id": 717, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -60645,7 +63338,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" } ], @@ -60662,7 +63355,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -60689,7 +63382,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -60725,7 +63418,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -60739,7 +63432,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -60773,7 +63466,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -60782,7 +63475,7 @@ }, "trueType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "falseType": { @@ -60792,7 +63485,7 @@ }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } ], @@ -60805,7 +63498,7 @@ }, "falseType": { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } }, @@ -60816,7 +63509,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -60843,7 +63536,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -60854,7 +63547,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -60869,22 +63562,22 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" }, { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, { @@ -60961,7 +63654,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 615, + "id": 631, "name": "default" } } @@ -60991,7 +63684,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 654, + "id": 681, "name": "default" } } @@ -61036,7 +63729,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 491, + "id": 499, "name": "default" } } @@ -61057,17 +63750,17 @@ { "title": "Classes", "kind": 128, - "children": [615, 9, 654, 151, 64, 491] + "children": [631, 9, 681, 151, 64, 499] }, { "title": "Interfaces", "kind": 256, - "children": [668, 674] + "children": [695, 701] }, { "title": "Type Aliases", "kind": 4194304, - "children": [683, 666, 681, 685] + "children": [710, 693, 708, 712] }, { "title": "Variables", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json index d051fcba473..244a09986b3 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": 1121, + "id": 1168, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1122, + "id": 1169, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1123, + "id": 1170, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1124, + "id": 1171, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1125, + "id": 1172, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1126, + "id": 1173, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,918 +79,22 @@ ], "type": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, - { - "id": 1128, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1117, - "name": "AuthError.code" - } - }, - { - "id": 1127, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 1119, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1122] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1128, 1127] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 30, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - ] - }, - { - "id": 1111, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1112, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 1113, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1114, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1115, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1116, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 1117, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - } - }, - { - "id": 1119, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1112] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1117, 1119] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1121, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1131, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1178, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1179, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1180, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1181, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1182, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1184] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1178, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1202, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1203, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1186, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1188, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1188] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1200, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" - } - }, - { - "id": 1201, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" - } - }, - { - "id": 1190, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1191, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1196, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1199, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1198, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1199, 1198] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1194, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1193, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1195, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1196, 1194, 1193, 1195] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1179] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1202, 1186, 1200, 1201] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1190] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1169, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1170, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1171, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1172, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1169, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, { "id": 1175, "name": "code", @@ -1014,10 +118,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1036,36 +136,17 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1173, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" + "id": 1164, + "name": "AuthError.code" } }, { @@ -1080,7 +161,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 57, + "line": 31, "character": 2 } ], @@ -1088,10 +169,10 @@ "type": "intrinsic", "name": "number" }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" + "id": 1166, + "name": "AuthError.status" } } ], @@ -1099,38 +180,38 @@ { "title": "Constructors", "kind": 512, - "children": [1170] + "children": [1169] }, { "title": "Properties", "kind": 1024, - "children": [1175, 1173, 1174] + "children": [1175, 1174] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 82, + "line": 30, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 1141, - "name": "CustomAuthError" + "id": 1158, + "name": "AuthError" } ] }, { - "id": 1161, - "name": "AuthInvalidTokenResponseError", + "id": 1158, + "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1162, + "id": 1159, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1138,37 +219,74 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 77, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 1163, - "name": "new AuthInvalidTokenResponseError", + "id": 1160, + "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, + "parameters": [ + { + "id": 1161, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1162, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1163, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "reference", - "id": 1161, - "name": "AuthInvalidTokenResponseError" + "id": 1158, + "name": "AuthError" }, "overwrites": { "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } }, { - "id": 1166, + "id": 1164, "name": "code", "kind": 1024, "kindString": "Property", @@ -1190,9 +308,260 @@ "type": "intrinsic", "name": "undefined" }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, { "type": "reference", "name": "ErrorCode" + } + ] + } + }, + { + "id": 1166, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1159] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1164, 1166] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1168, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1178, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1225, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1226, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1227, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1228, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1229, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1230, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1232, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1231, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1232, 1231] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1249, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" }, { "type": "intersection", @@ -1204,7 +573,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1212,17 +581,100 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1164, + "id": 1233, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1236, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1236, 1235] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1247, "name": "name", "kind": 1024, "kindString": "Property", @@ -1240,12 +692,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1165, + "id": 1248, "name": "status", "kind": 1024, "kindString": "Property", @@ -1266,7 +718,379 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, + "name": "CustomAuthError.status" + } + }, + { + "id": 1237, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1238, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1239, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1243, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1246, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1245, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1246, 1245] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1241, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1240, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1242, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1243, 1241, 1240, 1242] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1226] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1249, 1233, 1247, 1248] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1237] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1216, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1217, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1218, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1219, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1216, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1222, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1223, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1220, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1221, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, "name": "CustomAuthError.status" } } @@ -1275,12 +1099,377 @@ { "title": "Constructors", "kind": 512, - "children": [1162] + "children": [1217] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1164, 1165] + "children": [1222, 1220, 1221] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1301, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1302, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1303, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1304, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1307, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1305, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1306, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1302] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1307, 1305, 1306] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1208, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1209, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1210, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1208, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1213, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1214, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1211, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1212, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1209] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1213, 1211, 1212] } ], "sources": [ @@ -1293,20 +1482,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1206, + "id": 1253, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1320,14 +1509,14 @@ ], "signatures": [ { - "id": 1207, + "id": 1254, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1208, + "id": 1255, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1338,7 +1527,7 @@ } }, { - "id": 1209, + "id": 1256, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -1353,14 +1542,14 @@ { "type": "reflection", "declaration": { - "id": 1210, + "id": 1257, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1212, + "id": 1259, "name": "code", "kind": 1024, "kindString": "Property", @@ -1378,7 +1567,7 @@ } }, { - "id": 1211, + "id": 1258, "name": "error", "kind": 1024, "kindString": "Property", @@ -1400,7 +1589,7 @@ { "title": "Properties", "kind": 1024, - "children": [1212, 1211] + "children": [1259, 1258] } ] } @@ -1412,24 +1601,24 @@ ], "type": { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1229, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -1451,10 +1640,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1465,7 +1650,7 @@ { "type": "reflection", "declaration": { - "id": 1230, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1473,17 +1658,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1260, "name": "details", "kind": 1024, "kindString": "Property", @@ -1505,14 +1694,14 @@ { "type": "reflection", "declaration": { - "id": 1214, + "id": 1261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1216, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -1530,7 +1719,7 @@ } }, { - "id": 1215, + "id": 1262, "name": "error", "kind": 1024, "kindString": "Property", @@ -1552,7 +1741,7 @@ { "title": "Properties", "kind": 1024, - "children": [1216, 1215] + "children": [1263, 1262] } ] } @@ -1562,7 +1751,7 @@ "defaultValue": "null" }, { - "id": 1227, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -1580,12 +1769,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1228, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -1606,12 +1795,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } }, { - "id": 1217, + "id": 1264, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1625,7 +1814,7 @@ ], "signatures": [ { - "id": 1218, + "id": 1265, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1633,14 +1822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1219, + "id": 1266, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1223, + "id": 1270, "name": "details", "kind": 1024, "kindString": "Property", @@ -1662,14 +1851,14 @@ { "type": "reflection", "declaration": { - "id": 1224, + "id": 1271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1226, + "id": 1273, "name": "code", "kind": 1024, "kindString": "Property", @@ -1687,7 +1876,7 @@ } }, { - "id": 1225, + "id": 1272, "name": "error", "kind": 1024, "kindString": "Property", @@ -1709,7 +1898,7 @@ { "title": "Properties", "kind": 1024, - "children": [1226, 1225] + "children": [1273, 1272] } ] } @@ -1719,7 +1908,7 @@ "defaultValue": "..." }, { - "id": 1221, + "id": 1268, "name": "message", "kind": 1024, "kindString": "Property", @@ -1738,7 +1927,7 @@ "defaultValue": "..." }, { - "id": 1220, + "id": 1267, "name": "name", "kind": 1024, "kindString": "Property", @@ -1757,7 +1946,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1269, "name": "status", "kind": 1024, "kindString": "Property", @@ -1780,7 +1969,7 @@ { "title": "Properties", "kind": 1024, - "children": [1223, 1221, 1220, 1222] + "children": [1270, 1268, 1267, 1269] } ] } @@ -1793,17 +1982,17 @@ { "title": "Constructors", "kind": 512, - "children": [1206] + "children": [1253] }, { "title": "Properties", "kind": 1024, - "children": [1229, 1213, 1227, 1228] + "children": [1276, 1260, 1274, 1275] }, { "title": "Methods", "kind": 2048, - "children": [1217] + "children": [1264] } ], "sources": [ @@ -1816,20 +2005,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1233, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1843,14 +2032,14 @@ ], "signatures": [ { - "id": 1234, + "id": 1281, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1235, + "id": 1282, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1861,7 +2050,7 @@ } }, { - "id": 1236, + "id": 1283, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1874,24 +2063,24 @@ ], "type": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1239, + "id": 1286, "name": "code", "kind": 1024, "kindString": "Property", @@ -1913,10 +2102,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1927,7 +2112,7 @@ { "type": "reflection", "declaration": { - "id": 1240, + "id": 1287, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1935,17 +2120,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1237, + "id": 1284, "name": "name", "kind": 1024, "kindString": "Property", @@ -1963,12 +2152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1238, + "id": 1285, "name": "status", "kind": 1024, "kindString": "Property", @@ -1989,7 +2178,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -1998,12 +2187,12 @@ { "title": "Constructors", "kind": 512, - "children": [1233] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1239, 1237, 1238] + "children": [1286, 1284, 1285] } ], "sources": [ @@ -2016,20 +2205,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1154, + "id": 1201, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2043,31 +2232,31 @@ ], "signatures": [ { - "id": 1155, + "id": 1202, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1158, + "id": 1205, "name": "code", "kind": 1024, "kindString": "Property", @@ -2089,10 +2278,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2103,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 1159, + "id": 1206, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2111,17 +2296,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1156, + "id": 1203, "name": "name", "kind": 1024, "kindString": "Property", @@ -2139,12 +2328,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1157, + "id": 1204, "name": "status", "kind": 1024, "kindString": "Property", @@ -2165,7 +2354,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -2174,12 +2363,12 @@ { "title": "Constructors", "kind": 512, - "children": [1154] + "children": [1201] }, { "title": "Properties", "kind": 1024, - "children": [1158, 1156, 1157] + "children": [1205, 1203, 1204] } ], "sources": [ @@ -2192,20 +2381,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1131, + "id": 1178, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1132, + "id": 1179, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2219,14 +2408,14 @@ ], "signatures": [ { - "id": 1133, + "id": 1180, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1181, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2237,7 +2426,7 @@ } }, { - "id": 1135, + "id": 1182, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2250,24 +2439,24 @@ ], "type": { "type": "reference", - "id": 1131, + "id": 1178, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1137, + "id": 1184, "name": "code", "kind": 1024, "kindString": "Property", @@ -2289,10 +2478,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2303,7 +2488,7 @@ { "type": "reflection", "declaration": { - "id": 1138, + "id": 1185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2311,17 +2496,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1136, + "id": 1183, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2339,7 +2528,7 @@ } }, { - "id": 1139, + "id": 1186, "name": "status", "kind": 1024, "kindString": "Property", @@ -2369,7 +2558,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -2378,12 +2567,12 @@ { "title": "Constructors", "kind": 512, - "children": [1132] + "children": [1179] }, { "title": "Properties", "kind": 1024, - "children": [1137, 1136, 1139] + "children": [1184, 1183, 1186] } ], "sources": [ @@ -2396,13 +2585,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] }, { - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -2412,7 +2601,7 @@ }, "children": [ { - "id": 1243, + "id": 1290, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2426,14 +2615,14 @@ ], "signatures": [ { - "id": 1244, + "id": 1291, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1245, + "id": 1292, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2444,7 +2633,7 @@ } }, { - "id": 1246, + "id": 1293, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2455,7 +2644,7 @@ } }, { - "id": 1247, + "id": 1294, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -2471,24 +2660,24 @@ ], "type": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1298, "name": "code", "kind": 1024, "kindString": "Property", @@ -2510,10 +2699,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2524,7 +2709,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2532,17 +2717,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1249, + "id": 1296, "name": "name", "kind": 1024, "kindString": "Property", @@ -2560,12 +2749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1248, + "id": 1295, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -2584,13 +2773,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } }, { - "id": 1250, + "id": 1297, "name": "status", "kind": 1024, "kindString": "Property", @@ -2611,7 +2800,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -2620,12 +2809,12 @@ { "title": "Constructors", "kind": 512, - "children": [1243] + "children": [1290] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1249, 1248, 1250] + "children": [1298, 1296, 1295, 1297] } ], "sources": [ @@ -2638,20 +2827,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1141, + "id": 1188, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1142, + "id": 1189, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2665,14 +2854,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1190, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1191, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2683,7 +2872,7 @@ } }, { - "id": 1145, + "id": 1192, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2694,7 +2883,7 @@ } }, { - "id": 1146, + "id": 1193, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2705,7 +2894,7 @@ } }, { - "id": 1147, + "id": 1194, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -2727,24 +2916,24 @@ ], "type": { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1150, + "id": 1197, "name": "code", "kind": 1024, "kindString": "Property", @@ -2766,10 +2955,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2780,7 +2965,7 @@ { "type": "reflection", "declaration": { - "id": 1151, + "id": 1198, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2788,17 +2973,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1148, + "id": 1195, "name": "name", "kind": 1024, "kindString": "Property", @@ -2820,7 +3009,7 @@ } }, { - "id": 1149, + "id": 1196, "name": "status", "kind": 1024, "kindString": "Property", @@ -2841,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -2850,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1142] + "children": [1189] }, { "title": "Properties", "kind": 1024, - "children": [1150, 1148, 1149] + "children": [1197, 1195, 1196] } ], "sources": [ @@ -2868,45 +3057,50 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1161, + "id": 1208, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1169, + "id": 1216, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" + }, + { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" } ] }, @@ -3148,7 +3342,7 @@ ], "type": { "type": "reference", - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi" } }, @@ -3184,7 +3378,7 @@ "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes" } } @@ -3194,7 +3388,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3264,7 +3458,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3307,7 +3501,7 @@ "flags": {}, "type": { "type": "reference", - "id": 876, + "id": 897, "name": "GenerateLinkParams" } } @@ -3317,7 +3511,7 @@ "typeArguments": [ { "type": "reference", - "id": 877, + "id": 898, "name": "GenerateLinkResponse" } ], @@ -3372,7 +3566,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3503,7 +3697,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3552,7 +3746,7 @@ }, "type": { "type": "reference", - "id": 1048, + "id": 1069, "name": "PageParams" } } @@ -3632,7 +3826,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -3649,7 +3843,7 @@ }, { "type": "reference", - "id": 1041, + "id": 1062, "name": "Pagination" } ] @@ -3757,7 +3951,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -3900,7 +4094,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -3970,7 +4164,7 @@ }, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes" } } @@ -3980,7 +4174,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -4033,7 +4227,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 182, + "line": 191, "character": 2 } ], @@ -4056,7 +4250,7 @@ "flags": {}, "type": { "type": "reference", - "id": 505, + "id": 526, "name": "GoTrueClientOptions" } } @@ -4081,7 +4275,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 132, + "line": 138, "character": 2 } ], @@ -4103,18 +4297,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 136, + "line": 142, "character": 2 } ], "type": { "type": "reference", - "id": 972, + "id": 993, "name": "GoTrueMFAApi" } }, { - "id": 144, + "id": 147, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -4122,13 +4316,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 593, "character": 8 } ], "signatures": [ { - "id": 145, + "id": 148, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -4138,7 +4332,7 @@ }, "parameters": [ { - "id": 146, + "id": 149, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -4154,7 +4348,7 @@ "typeArguments": [ { "type": "reference", - "id": 574, + "id": 595, "name": "AuthTokenResponse" } ], @@ -4166,7 +4360,358 @@ ] }, { - "id": 183, + "id": 477, + "name": "getClaims", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2636, + "character": 8 + } + ], + "signatures": [ + { + "id": 478, + "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" + } + ] + }, + "parameters": [ + { + "id": 479, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 480, + "name": "jwks", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 482, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2638, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1133, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [482] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 483, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 484, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 486, + "name": "claims", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 1129, + "name": "JwtPayload" + } + }, + { + "id": 487, + "name": "header", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 36 + } + ], + "type": { + "type": "reference", + "id": 1114, + "name": "JwtHeader" + } + }, + { + "id": 488, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 55 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [486, 487, 488] + } + ] + } + } + }, + { + "id": 489, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2642, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [484, 489] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 490, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 491, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 492, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [491, 492] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 493, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 494, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 495, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 20 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [494, 495] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 186, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -4174,13 +4719,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 935, + "line": 944, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 187, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -4198,158 +4743,18 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 186, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1028, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 188, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1029, - "character": 14 - } - ], - "type": { - "type": "reference", - "id": 635, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [188] - } - ] - } - } - }, { "id": 189, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1031, - "character": 12 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [186, 189] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1034, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 193, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1035, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [193] - } - ] - } - } - }, - { - "id": 194, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -4357,55 +4762,17 @@ "character": 12 } ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [191, 194] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 195, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 196, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1040, - "character": 12 - } - ], "type": { "type": "reflection", "declaration": { - "id": 197, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 198, + "id": 191, "name": "session", "kind": 1024, "kindString": "Property", @@ -4413,13 +4780,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1038, "character": 14 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 656, + "name": "Session" } } ], @@ -4427,14 +4795,14 @@ { "title": "Properties", "kind": 1024, - "children": [198] + "children": [191] } ] } } }, { - "id": 199, + "id": 192, "name": "error", "kind": 1024, "kindString": "Property", @@ -4442,7 +4810,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1040, "character": 12 } ], @@ -4456,7 +4824,184 @@ { "title": "Properties", "kind": 1024, - "children": [196, 199] + "children": [189, 192] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 193, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 194, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1043, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 195, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 196, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1044, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [196] + } + ] + } + } + }, + { + "id": 197, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1046, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [194, 197] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 198, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 199, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1049, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 200, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 201, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1050, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [201] + } + ] + } + } + }, + { + "id": 202, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1052, + "character": 12 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [199, 202] } ] } @@ -4472,7 +5017,7 @@ ] }, { - "id": 246, + "id": 249, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -4480,13 +5025,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1166, + "line": 1175, "character": 8 } ], "signatures": [ { - "id": 247, + "id": 250, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -4496,7 +5041,7 @@ }, "parameters": [ { - "id": 248, + "id": 251, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -4517,7 +5062,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -4529,7 +5074,7 @@ ] }, { - "id": 362, + "id": 358, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -4537,13 +5082,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1735, + "line": 1733, "character": 8 } ], "signatures": [ { - "id": 363, + "id": 359, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -4560,14 +5105,14 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 365, + "id": 361, "name": "data", "kind": 1024, "kindString": "Property", @@ -4575,21 +5120,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1737, + "line": 1735, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 363, "name": "identities", "kind": 1024, "kindString": "Property", @@ -4597,7 +5142,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 1736, "character": 10 } ], @@ -4605,7 +5150,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } @@ -4615,18 +5160,55 @@ { "title": "Properties", "kind": 1024, - "children": [367] + "children": [363] } ] } } }, { - "id": 368, + "id": 364, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1738, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [361, 364] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 366, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -4638,46 +5220,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365, 368] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 370, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1742, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 371, + "id": 367, "name": "error", "kind": 1024, "kindString": "Property", @@ -4685,13 +5230,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1742, + "line": 1740, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -4700,7 +5245,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371] + "children": [366, 367] } ] } @@ -4716,7 +5261,7 @@ ] }, { - "id": 128, + "id": 131, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -4724,13 +5269,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 286, + "line": 295, "character": 8 } ], "signatures": [ { - "id": 129, + "id": 132, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -4743,7 +5288,7 @@ "typeArguments": [ { "type": "reference", - "id": 1031, + "id": 1052, "name": "InitializeResult" } ], @@ -4755,7 +5300,7 @@ ] }, { - "id": 372, + "id": 368, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -4763,13 +5308,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1759, + "line": 1757, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 369, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -4779,14 +5324,14 @@ }, "parameters": [ { - "id": 374, + "id": 370, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials" } } @@ -4796,7 +5341,7 @@ "typeArguments": [ { "type": "reference", - "id": 602, + "id": 623, "name": "OAuthResponse" } ], @@ -4808,7 +5353,7 @@ ] }, { - "id": 334, + "id": 330, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -4816,13 +5361,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1633, + "line": 1631, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 331, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -4832,7 +5377,7 @@ }, "parameters": [ { - "id": 336, + "id": 332, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -4843,33 +5388,33 @@ "type": { "type": "reflection", "declaration": { - "id": 337, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 338, + "id": 334, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 339, + "id": 335, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent" } }, { - "id": 340, + "id": 336, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -4883,7 +5428,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -4920,14 +5465,14 @@ "type": { "type": "reflection", "declaration": { - "id": 341, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -4935,21 +5480,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 340, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -4957,13 +5502,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 12 } ], "type": { "type": "reference", - "id": 718, + "id": 739, "name": "Subscription" } } @@ -4972,7 +5517,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [340] } ] } @@ -4983,7 +5528,7 @@ { "title": "Properties", "kind": 1024, - "children": [342] + "children": [338] } ] } @@ -4992,7 +5537,7 @@ ] }, { - "id": 176, + "id": 179, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -5000,13 +5545,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 851, + "line": 860, "character": 8 } ], "signatures": [ { - "id": 177, + "id": 180, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -5019,7 +5564,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -5031,7 +5576,7 @@ ] }, { - "id": 283, + "id": 279, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -5039,13 +5584,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 8 } ], "signatures": [ { - "id": 284, + "id": 280, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -5055,7 +5600,7 @@ }, "parameters": [ { - "id": 285, + "id": 281, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5068,14 +5613,14 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 283, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5083,7 +5628,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 42 } ], @@ -5097,7 +5642,7 @@ { "title": "Properties", "kind": 1024, - "children": [287] + "children": [283] } ] } @@ -5109,7 +5654,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -5121,7 +5666,7 @@ ] }, { - "id": 180, + "id": 183, "name": "resend", "kind": 2048, "kindString": "Method", @@ -5129,13 +5674,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 895, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 184, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -5145,14 +5690,14 @@ }, "parameters": [ { - "id": 182, + "id": 185, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 824, + "id": 845, "name": "ResendParams" } } @@ -5162,7 +5707,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -5174,7 +5719,7 @@ ] }, { - "id": 348, + "id": 344, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -5182,13 +5727,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1689, + "line": 1687, "character": 8 } ], "signatures": [ { - "id": 349, + "id": 345, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -5198,7 +5743,7 @@ }, "parameters": [ { - "id": 350, + "id": 346, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -5212,7 +5757,7 @@ } }, { - "id": 351, + "id": 347, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5220,14 +5765,14 @@ "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 354, + "id": 350, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5240,7 +5785,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1691, "character": 6 } ], @@ -5250,7 +5795,7 @@ } }, { - "id": 353, + "id": 349, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5263,7 +5808,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1692, + "line": 1690, "character": 6 } ], @@ -5277,7 +5822,7 @@ { "title": "Properties", "kind": 1024, - "children": [354, 353] + "children": [350, 349] } ] } @@ -5291,6 +5836,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 352, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1695, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 353, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 354, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1696, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [352, 354] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -5306,30 +5912,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1697, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 357, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 358, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -5341,46 +5923,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [356, 358] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 360, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1700, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 361, + "id": 357, "name": "error", "kind": 1024, "kindString": "Property", @@ -5388,13 +5933,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1700, + "line": 1698, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -5403,7 +5948,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 361] + "children": [356, 357] } ] } @@ -5419,7 +5964,7 @@ ] }, { - "id": 271, + "id": 267, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -5427,13 +5972,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1305, "character": 8 } ], "signatures": [ { - "id": 272, + "id": 268, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -5443,7 +5988,7 @@ }, "parameters": [ { - "id": 273, + "id": 269, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5454,14 +5999,14 @@ "type": { "type": "reflection", "declaration": { - "id": 274, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 271, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -5469,7 +6014,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1306, "character": 4 } ], @@ -5479,7 +6024,7 @@ } }, { - "id": 276, + "id": 272, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5487,7 +6032,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1307, "character": 4 } ], @@ -5501,7 +6046,7 @@ { "title": "Properties", "kind": 1024, - "children": [275, 276] + "children": [271, 272] } ] } @@ -5513,7 +6058,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -5525,7 +6070,7 @@ ] }, { - "id": 132, + "id": 135, "name": "signInAnonymously", "kind": 2048, "kindString": "Method", @@ -5533,13 +6078,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 389, + "line": 398, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 136, "name": "signInAnonymously", "kind": 4096, "kindString": "Call signature", @@ -5550,7 +6095,7 @@ }, "parameters": [ { - "id": 134, + "id": 137, "name": "credentials", "kind": 32768, "kindString": "Parameter", @@ -5559,7 +6104,7 @@ }, "type": { "type": "reference", - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials" } } @@ -5569,7 +6114,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -5580,135 +6125,28 @@ } ] }, - { - "id": 164, - "name": "signInWithIdToken", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 644, - "character": 8 - } - ], - "signatures": [ - { - "id": 165, - "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": 166, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 792, - "name": "SignInWithIdTokenCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 574, - "name": "AuthTokenResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 141, - "name": "signInWithOAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 572, - "character": 8 - } - ], - "signatures": [ - { - "id": 142, - "name": "signInWithOAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow." - }, - "parameters": [ - { - "id": 143, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 780, - "name": "SignInWithOAuthCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 602, - "name": "OAuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, { "id": 167, - "name": "signInWithOtp", + "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 699, + "line": 653, "character": 8 } ], "signatures": [ { "id": 168, - "name": "signInWithOtp", + "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Log in a user using magiclink or a one-time password (OTP).", - "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed.\n" + "shortText": "Allows signing in with an OIDC ID token. The authentication provider used\nshould be enabled and configured." }, "parameters": [ { @@ -5719,7 +6157,114 @@ "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 813, + "name": "SignInWithIdTokenCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 595, + "name": "AuthTokenResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 144, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 581, + "character": 8 + } + ], + "signatures": [ + { + "id": 145, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider.\nThis method supports the PKCE flow." + }, + "parameters": [ + { + "id": 146, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 801, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 623, + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 170, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 708, + "character": 8 + } + ], + "signatures": [ + { + "id": 171, + "name": "signInWithOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in a user using magiclink or a one-time password (OTP).", + "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\nThis method supports PKCE when an email is passed.\n" + }, + "parameters": [ + { + "id": 172, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 783, "name": "SignInWithPasswordlessCredentials" } } @@ -5729,7 +6274,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -5741,7 +6286,7 @@ ] }, { - "id": 138, + "id": 141, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -5749,13 +6294,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 509, + "line": 518, "character": 8 } ], "signatures": [ { - "id": 139, + "id": 142, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -5766,14 +6311,14 @@ }, "parameters": [ { - "id": 140, + "id": 143, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials" } } @@ -5783,7 +6328,7 @@ "typeArguments": [ { "type": "reference", - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword" } ], @@ -5795,7 +6340,7 @@ ] }, { - "id": 173, + "id": 176, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -5803,13 +6348,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 813, + "line": 822, "character": 8 } ], "signatures": [ { - "id": 174, + "id": 177, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -5820,14 +6365,14 @@ }, "parameters": [ { - "id": 175, + "id": 178, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 838, + "id": 859, "name": "SignInWithSSO" } } @@ -5837,7 +6382,7 @@ "typeArguments": [ { "type": "reference", - "id": 615, + "id": 636, "name": "SSOResponse" } ], @@ -5849,7 +6394,7 @@ ] }, { - "id": 324, + "id": 320, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -5857,13 +6402,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 8 } ], "signatures": [ { - "id": 325, + "id": 321, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -5874,14 +6419,14 @@ }, "parameters": [ { - "id": 326, + "id": 322, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1052, + "id": 1073, "name": "SignOut" }, "defaultValue": "..." @@ -5893,14 +6438,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 324, "name": "error", "kind": 1024, "kindString": "Property", @@ -5908,7 +6453,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 67 } ], @@ -5921,7 +6466,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -5932,7 +6477,7 @@ { "title": "Properties", "kind": 1024, - "children": [328] + "children": [324] } ] } @@ -5946,7 +6491,7 @@ ] }, { - "id": 135, + "id": 138, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -5954,13 +6499,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 432, + "line": 441, "character": 8 } ], "signatures": [ { - "id": 136, + "id": 139, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -5972,14 +6517,14 @@ }, "parameters": [ { - "id": 137, + "id": 140, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials" } } @@ -5989,7 +6534,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -6001,7 +6546,7 @@ ] }, { - "id": 430, + "id": 426, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6009,13 +6554,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2174, + "line": 2172, "character": 8 } ], "signatures": [ { - "id": 431, + "id": 427, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6040,7 +6585,7 @@ ] }, { - "id": 432, + "id": 428, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6048,13 +6593,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2187, + "line": 2185, "character": 8 } ], "signatures": [ { - "id": 433, + "id": 429, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6079,7 +6624,7 @@ ] }, { - "id": 375, + "id": 371, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -6087,13 +6632,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1795, + "line": 1793, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 372, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -6103,14 +6648,14 @@ }, "parameters": [ { - "id": 377, + "id": 373, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } @@ -6121,6 +6666,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1795, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 377, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1796, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 377] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -6136,30 +6742,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1797, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 380, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 381, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -6171,46 +6753,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [379, 381] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 382, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 383, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1800, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 384, + "id": 380, "name": "error", "kind": 1024, "kindString": "Property", @@ -6218,13 +6763,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1800, + "line": 1798, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -6233,7 +6778,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 384] + "children": [379, 380] } ] } @@ -6249,7 +6794,7 @@ ] }, { - "id": 252, + "id": 255, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -6257,13 +6802,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1227, + "line": 1236, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 256, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -6273,19 +6818,19 @@ }, "parameters": [ { - "id": 254, + "id": 257, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" } }, { - "id": 255, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6293,14 +6838,14 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 257, + "id": 260, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -6310,7 +6855,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1230, + "line": 1239, "character": 6 } ], @@ -6324,7 +6869,7 @@ { "title": "Properties", "kind": 1024, - "children": [257] + "children": [260] } ] } @@ -6337,7 +6882,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -6349,7 +6894,7 @@ ] }, { - "id": 170, + "id": 173, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -6357,13 +6902,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 752, + "line": 761, "character": 8 } ], "signatures": [ { - "id": 171, + "id": 174, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -6373,14 +6918,14 @@ }, "parameters": [ { - "id": 172, + "id": 175, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 802, + "id": 823, "name": "VerifyOtpParams" } } @@ -6390,7 +6935,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -6417,42 +6962,42 @@ "title": "Methods", "kind": 2048, "children": [ - 144, 183, 246, 362, 128, 372, 334, 176, 283, 180, 348, 271, 132, 164, 141, 167, 138, - 173, 324, 135, 430, 432, 375, 252, 170 + 147, 477, 186, 249, 358, 131, 368, 330, 179, 279, 183, 344, 267, 135, 167, 144, 170, + 141, 176, 320, 138, 426, 428, 371, 255, 173 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 123, + "line": 129, "character": 21 } ] }, { - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 486, + "id": 507, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 487, + "id": 508, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 488, + "id": 509, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6465,7 +7010,7 @@ ], "type": { "type": "reference", - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -6480,7 +7025,7 @@ } }, { - "id": 489, + "id": 510, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -6510,12 +7055,12 @@ { "title": "Constructors", "kind": 512, - "children": [486] + "children": [507] }, { "title": "Properties", "kind": 1024, - "children": [489] + "children": [510] } ], "sources": [ @@ -6533,7 +7078,7 @@ ] }, { - "id": 644, + "id": 665, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -6550,7 +7095,7 @@ }, "children": [ { - "id": 645, + "id": 666, "name": "method", "kind": 1024, "kindString": "Property", @@ -6582,7 +7127,7 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 667, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6607,7 +7152,7 @@ } }, { - "id": 647, + "id": 668, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -6632,7 +7177,7 @@ { "title": "Properties", "kind": 1024, - "children": [645, 647] + "children": [666, 668] } ], "sources": [ @@ -6644,14 +7189,14 @@ ] }, { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -6675,7 +7220,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -6699,7 +7244,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -6726,7 +7271,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -6750,7 +7295,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -6774,7 +7319,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -6802,7 +7347,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -6829,7 +7374,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -6853,7 +7398,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6880,7 +7425,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -6904,7 +7449,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -6928,7 +7473,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -6956,7 +7501,7 @@ { "title": "Properties", "kind": 1024, - "children": [707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706] + "children": [728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727] } ], "sources": [ @@ -6972,7 +7517,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -6987,7 +7532,7 @@ ] }, { - "id": 660, + "id": 681, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -7011,7 +7556,7 @@ }, "children": [ { - "id": 666, + "id": 687, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -7029,7 +7574,7 @@ } }, { - "id": 663, + "id": 684, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -7057,7 +7602,7 @@ { "type": "reflection", "declaration": { - "id": 664, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7078,7 +7623,7 @@ } }, { - "id": 662, + "id": 683, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -7101,7 +7646,7 @@ } }, { - "id": 661, + "id": 682, "name": "id", "kind": 1024, "kindString": "Property", @@ -7122,7 +7667,7 @@ } }, { - "id": 665, + "id": 686, "name": "status", "kind": 1024, "kindString": "Property", @@ -7152,7 +7697,7 @@ } }, { - "id": 667, + "id": 688, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -7174,7 +7719,7 @@ { "title": "Properties", "kind": 1024, - "children": [666, 663, 662, 661, 665, 667] + "children": [687, 684, 683, 682, 686, 688] } ], "sources": [ @@ -7186,14 +7731,14 @@ ] }, { - "id": 873, + "id": 894, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 874, + "id": 895, "name": "data", "kind": 1024, "kindString": "Property", @@ -7217,7 +7762,7 @@ } }, { - "id": 875, + "id": 896, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7244,7 +7789,7 @@ { "title": "Properties", "kind": 1024, - "children": [874, 875] + "children": [895, 896] } ], "sources": [ @@ -7256,7 +7801,7 @@ ] }, { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -7272,14 +7817,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -7299,14 +7844,14 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams" } } @@ -7316,7 +7861,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -7328,14 +7873,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -7345,14 +7890,14 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams" } } @@ -7362,7 +7907,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -7378,7 +7923,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -7390,7 +7935,7 @@ ] }, { - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -7400,14 +7945,14 @@ }, "children": [ { - "id": 980, + "id": 1001, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 981, + "id": 1002, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -7417,14 +7962,14 @@ }, "parameters": [ { - "id": 982, + "id": 1003, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 907, + "id": 928, "name": "MFAChallengeParams" } } @@ -7434,7 +7979,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse" } ], @@ -7446,14 +7991,14 @@ ] }, { - "id": 989, + "id": 1010, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 990, + "id": 1011, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -7463,14 +8008,14 @@ }, "parameters": [ { - "id": 991, + "id": 1012, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams" } } @@ -7480,7 +8025,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -7492,14 +8037,14 @@ ] }, { - "id": 973, + "id": 994, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 974, + "id": 995, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -7510,14 +8055,14 @@ }, "parameters": [ { - "id": 975, + "id": 996, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams" } } @@ -7527,7 +8072,7 @@ "typeArguments": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -7537,21 +8082,21 @@ } }, { - "id": 976, + "id": 997, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 998, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams" } } @@ -7561,7 +8106,7 @@ "typeArguments": [ { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -7571,21 +8116,21 @@ } }, { - "id": 978, + "id": 999, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 979, + "id": 1000, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 898, + "id": 919, "name": "MFAEnrollParams" } } @@ -7595,7 +8140,7 @@ "typeArguments": [ { "type": "reference", - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse" } ], @@ -7607,14 +8152,14 @@ ] }, { - "id": 994, + "id": 1015, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 995, + "id": 1016, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -7628,7 +8173,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -7640,14 +8185,14 @@ ] }, { - "id": 992, + "id": 1013, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 993, + "id": 1014, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -7674,7 +8219,7 @@ "typeArguments": [ { "type": "reference", - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse" } ], @@ -7686,14 +8231,14 @@ ] }, { - "id": 986, + "id": 1007, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 987, + "id": 1008, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -7703,14 +8248,14 @@ }, "parameters": [ { - "id": 988, + "id": 1009, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 920, "name": "MFAUnenrollParams" } } @@ -7720,7 +8265,7 @@ "typeArguments": [ { "type": "reference", - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse" } ], @@ -7732,14 +8277,14 @@ ] }, { - "id": 983, + "id": 1004, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 984, + "id": 1005, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -7749,14 +8294,14 @@ }, "parameters": [ { - "id": 985, + "id": 1006, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 902, + "id": 923, "name": "MFAVerifyParams" } } @@ -7766,7 +8311,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -7782,7 +8327,7 @@ { "title": "Methods", "kind": 2048, - "children": [980, 989, 973, 994, 992, 986, 983] + "children": [1001, 1010, 994, 1015, 1013, 1007, 1004] } ], "sources": [ @@ -7794,14 +8339,152 @@ ] }, { - "id": 635, + "id": 1133, + "name": "JWK", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 1136, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1135, + "name": "key_ops", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1226, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1137, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1228, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1134, + "name": "kty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1225, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1136, 1135, 1137, 1134] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1224, + "character": 17 + } + ], + "indexSignature": { + "id": 1138, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1139, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 656, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 638, + "id": 659, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -7822,7 +8505,7 @@ } }, { - "id": 641, + "id": 662, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -7845,7 +8528,7 @@ } }, { - "id": 640, + "id": 661, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -7866,7 +8549,7 @@ } }, { - "id": 637, + "id": 658, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -7898,7 +8581,7 @@ } }, { - "id": 636, + "id": 657, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -7930,7 +8613,7 @@ } }, { - "id": 639, + "id": 660, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -7951,7 +8634,7 @@ } }, { - "id": 642, + "id": 663, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -7969,7 +8652,7 @@ } }, { - "id": 643, + "id": 664, "name": "user", "kind": 1024, "kindString": "Property", @@ -7983,7 +8666,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -7992,7 +8675,7 @@ { "title": "Properties", "kind": 1024, - "children": [638, 641, 640, 637, 636, 639, 642, 643] + "children": [659, 662, 661, 658, 657, 660, 663, 664] } ], "sources": [ @@ -8004,14 +8687,14 @@ ] }, { - "id": 718, + "id": 739, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 719, + "id": 740, "name": "id", "kind": 1024, "kindString": "Property", @@ -8032,7 +8715,7 @@ } }, { - "id": 720, + "id": 741, "name": "callback", "kind": 2048, "kindString": "Method", @@ -8046,7 +8729,7 @@ ], "signatures": [ { - "id": 721, + "id": 742, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -8056,19 +8739,19 @@ }, "parameters": [ { - "id": 722, + "id": 743, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent" } }, { - "id": 723, + "id": 744, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -8082,7 +8765,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -8097,7 +8780,7 @@ ] }, { - "id": 724, + "id": 745, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -8111,7 +8794,7 @@ ], "signatures": [ { - "id": 725, + "id": 746, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -8131,12 +8814,12 @@ { "title": "Properties", "kind": 1024, - "children": [719] + "children": [740] }, { "title": "Methods", "kind": 2048, - "children": [720, 724] + "children": [741, 745] } ], "sources": [ @@ -8148,14 +8831,14 @@ ] }, { - "id": 675, + "id": 696, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 686, + "id": 707, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -8175,7 +8858,7 @@ } }, { - "id": 677, + "id": 698, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8189,12 +8872,12 @@ ], "type": { "type": "reference", - "id": 668, + "id": 689, "name": "UserAppMetadata" } }, { - "id": 679, + "id": 700, "name": "aud", "kind": 1024, "kindString": "Property", @@ -8212,7 +8895,7 @@ } }, { - "id": 680, + "id": 701, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -8232,7 +8915,7 @@ } }, { - "id": 690, + "id": 711, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -8252,7 +8935,7 @@ } }, { - "id": 689, + "id": 710, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -8270,7 +8953,7 @@ } }, { - "id": 687, + "id": 708, "name": "email", "kind": 1024, "kindString": "Property", @@ -8290,7 +8973,7 @@ } }, { - "id": 682, + "id": 703, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -8310,7 +8993,7 @@ } }, { - "id": 691, + "id": 712, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -8330,7 +9013,7 @@ } }, { - "id": 698, + "id": 719, "name": "factors", "kind": 1024, "kindString": "Property", @@ -8348,13 +9031,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 676, + "id": 697, "name": "id", "kind": 1024, "kindString": "Property", @@ -8372,7 +9055,7 @@ } }, { - "id": 696, + "id": 717, "name": "identities", "kind": 1024, "kindString": "Property", @@ -8390,13 +9073,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } }, { - "id": 685, + "id": 706, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -8416,7 +9099,7 @@ } }, { - "id": 697, + "id": 718, "name": "is_anonymous", "kind": 1024, "kindString": "Property", @@ -8436,7 +9119,7 @@ } }, { - "id": 693, + "id": 714, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -8456,7 +9139,7 @@ } }, { - "id": 683, + "id": 704, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -8476,7 +9159,7 @@ } }, { - "id": 684, + "id": 705, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -8496,7 +9179,7 @@ } }, { - "id": 688, + "id": 709, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8516,7 +9199,7 @@ } }, { - "id": 692, + "id": 713, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -8536,7 +9219,7 @@ } }, { - "id": 681, + "id": 702, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -8556,7 +9239,7 @@ } }, { - "id": 694, + "id": 715, "name": "role", "kind": 1024, "kindString": "Property", @@ -8576,7 +9259,7 @@ } }, { - "id": 695, + "id": 716, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -8596,7 +9279,7 @@ } }, { - "id": 678, + "id": 699, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -8610,7 +9293,7 @@ ], "type": { "type": "reference", - "id": 672, + "id": 693, "name": "UserMetadata" } } @@ -8620,8 +9303,8 @@ "title": "Properties", "kind": 1024, "children": [ - 686, 677, 679, 680, 690, 689, 687, 682, 691, 698, 676, 696, 685, 697, 693, 683, 684, - 688, 692, 681, 694, 695, 678 + 707, 698, 700, 701, 711, 710, 708, 703, 712, 719, 697, 717, 706, 718, 714, 704, 705, + 709, 713, 702, 715, 716, 699 ] } ], @@ -8634,14 +9317,14 @@ ] }, { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -8665,7 +9348,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -8676,14 +9359,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -8700,14 +9383,14 @@ } }, { - "id": 699, + "id": 720, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 725, "name": "data", "kind": 1024, "kindString": "Property", @@ -8731,7 +9414,7 @@ } }, { - "id": 700, + "id": 721, "name": "email", "kind": 1024, "kindString": "Property", @@ -8754,7 +9437,7 @@ } }, { - "id": 703, + "id": 724, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -8778,7 +9461,7 @@ } }, { - "id": 702, + "id": 723, "name": "password", "kind": 1024, "kindString": "Property", @@ -8801,7 +9484,7 @@ } }, { - "id": 701, + "id": 722, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8828,7 +9511,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 700, 703, 702, 701] + "children": [725, 721, 724, 723, 722] } ], "sources": [ @@ -8840,14 +9523,14 @@ ] }, { - "id": 648, + "id": 669, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 657, + "id": 678, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -8867,7 +9550,7 @@ } }, { - "id": 649, + "id": 670, "name": "id", "kind": 1024, "kindString": "Property", @@ -8885,7 +9568,7 @@ } }, { - "id": 651, + "id": 672, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -8902,20 +9585,20 @@ "type": { "type": "reflection", "declaration": { - "id": 652, + "id": 673, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 653, + "id": 674, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 675, "name": "key", "kind": 32768, "flags": {}, @@ -8934,7 +9617,7 @@ } }, { - "id": 655, + "id": 676, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -8952,7 +9635,7 @@ } }, { - "id": 658, + "id": 679, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -8972,7 +9655,7 @@ } }, { - "id": 656, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -8990,7 +9673,7 @@ } }, { - "id": 659, + "id": 680, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -9010,7 +9693,7 @@ } }, { - "id": 650, + "id": 671, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -9032,7 +9715,7 @@ { "title": "Properties", "kind": 1024, - "children": [657, 649, 651, 655, 658, 656, 659, 650] + "children": [678, 670, 672, 676, 679, 677, 680, 671] } ], "sources": [ @@ -9044,7 +9727,7 @@ ] }, { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -9057,14 +9740,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -9081,14 +9764,14 @@ } }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -9109,7 +9792,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -9126,14 +9809,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9162,7 +9845,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -9189,14 +9872,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -9217,7 +9900,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -9234,7 +9917,7 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" } } @@ -9243,7 +9926,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -9255,14 +9938,14 @@ ] }, { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -9279,14 +9962,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9315,7 +9998,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -9342,14 +10025,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9370,7 +10053,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -9391,7 +10074,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -9408,7 +10091,7 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" } } @@ -9417,7 +10100,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -9429,14 +10112,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -9457,7 +10140,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -9474,7 +10157,7 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" } } @@ -9483,7 +10166,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -9495,7 +10178,7 @@ ] }, { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -9536,14 +10219,14 @@ }, { "type": "reference", - "id": 494, + "id": 515, "name": "AuthChangeEventMFA" } ] } }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -9561,7 +10244,7 @@ } }, { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -9588,7 +10271,7 @@ } }, { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -9611,14 +10294,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -9639,7 +10322,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -9664,7 +10347,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -9678,7 +10361,7 @@ } }, { - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -9704,14 +10387,14 @@ { "type": "reflection", "declaration": { - "id": 997, + "id": 1018, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 998, + "id": 1019, "name": "data", "kind": 1024, "kindString": "Property", @@ -9726,14 +10409,14 @@ "type": { "type": "reflection", "declaration": { - "id": 999, + "id": 1020, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1000, + "id": 1021, "name": "id", "kind": 1024, "kindString": "Property", @@ -9758,7 +10441,7 @@ { "title": "Properties", "kind": 1024, - "children": [1000] + "children": [1021] } ], "sources": [ @@ -9772,7 +10455,7 @@ } }, { - "id": 1001, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -9794,7 +10477,7 @@ { "title": "Properties", "kind": 1024, - "children": [998, 1001] + "children": [1019, 1022] } ], "sources": [ @@ -9809,14 +10492,14 @@ { "type": "reflection", "declaration": { - "id": 1002, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -9834,7 +10517,7 @@ } }, { - "id": 1004, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -9848,7 +10531,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -9857,7 +10540,7 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004] + "children": [1024, 1025] } ], "sources": [ @@ -9873,7 +10556,7 @@ } }, { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -9896,14 +10579,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -9928,7 +10611,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -9942,7 +10625,7 @@ } }, { - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -9968,14 +10651,14 @@ { "type": "reflection", "declaration": { - "id": 1010, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1011, + "id": 1032, "name": "data", "kind": 1024, "kindString": "Property", @@ -9990,14 +10673,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1012, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1013, + "id": 1034, "name": "factors", "kind": 1024, "kindString": "Property", @@ -10016,7 +10699,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -10026,7 +10709,7 @@ { "title": "Properties", "kind": 1024, - "children": [1013] + "children": [1034] } ], "sources": [ @@ -10040,7 +10723,7 @@ } }, { - "id": 1014, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -10062,7 +10745,7 @@ { "title": "Properties", "kind": 1024, - "children": [1011, 1014] + "children": [1032, 1035] } ], "sources": [ @@ -10077,14 +10760,14 @@ { "type": "reflection", "declaration": { - "id": 1015, + "id": 1036, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1016, + "id": 1037, "name": "data", "kind": 1024, "kindString": "Property", @@ -10102,7 +10785,7 @@ } }, { - "id": 1017, + "id": 1038, "name": "error", "kind": 1024, "kindString": "Property", @@ -10116,7 +10799,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -10125,7 +10808,7 @@ { "title": "Properties", "kind": 1024, - "children": [1016, 1017] + "children": [1037, 1038] } ], "sources": [ @@ -10141,7 +10824,7 @@ } }, { - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -10159,14 +10842,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 961, "name": "data", "kind": 1024, "kindString": "Property", @@ -10181,14 +10864,14 @@ "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 962, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 965, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -10209,7 +10892,7 @@ } }, { - "id": 942, + "id": 963, "name": "id", "kind": 1024, "kindString": "Property", @@ -10230,7 +10913,7 @@ } }, { - "id": 943, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -10264,7 +10947,7 @@ { "title": "Properties", "kind": 1024, - "children": [944, 942, 943] + "children": [965, 963, 964] } ], "sources": [ @@ -10278,7 +10961,7 @@ } }, { - "id": 945, + "id": 966, "name": "error", "kind": 1024, "kindString": "Property", @@ -10300,7 +10983,7 @@ { "title": "Properties", "kind": 1024, - "children": [940, 945] + "children": [961, 966] } ], "sources": [ @@ -10315,14 +10998,14 @@ { "type": "reflection", "declaration": { - "id": 946, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 947, + "id": 968, "name": "data", "kind": 1024, "kindString": "Property", @@ -10340,7 +11023,7 @@ } }, { - "id": 948, + "id": 969, "name": "error", "kind": 1024, "kindString": "Property", @@ -10354,7 +11037,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -10363,7 +11046,7 @@ { "title": "Properties", "kind": 1024, - "children": [947, 948] + "children": [968, 969] } ], "sources": [ @@ -10379,7 +11062,7 @@ } }, { - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -10397,14 +11080,14 @@ { "type": "reflection", "declaration": { - "id": 1082, + "id": 1103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1083, + "id": 1104, "name": "data", "kind": 1024, "kindString": "Property", @@ -10419,14 +11102,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1087, + "id": 1108, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -10449,7 +11132,7 @@ } }, { - "id": 1085, + "id": 1106, "name": "id", "kind": 1024, "kindString": "Property", @@ -10470,7 +11153,7 @@ } }, { - "id": 1088, + "id": 1109, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10491,7 +11174,7 @@ } }, { - "id": 1086, + "id": 1107, "name": "type", "kind": 1024, "kindString": "Property", @@ -10516,7 +11199,7 @@ { "title": "Properties", "kind": 1024, - "children": [1087, 1085, 1088, 1086] + "children": [1108, 1106, 1109, 1107] } ], "sources": [ @@ -10530,7 +11213,7 @@ } }, { - "id": 1089, + "id": 1110, "name": "error", "kind": 1024, "kindString": "Property", @@ -10552,7 +11235,7 @@ { "title": "Properties", "kind": 1024, - "children": [1083, 1089] + "children": [1104, 1110] } ], "sources": [ @@ -10567,14 +11250,14 @@ { "type": "reflection", "declaration": { - "id": 1090, + "id": 1111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1091, + "id": 1112, "name": "data", "kind": 1024, "kindString": "Property", @@ -10592,7 +11275,7 @@ } }, { - "id": 1092, + "id": 1113, "name": "error", "kind": 1024, "kindString": "Property", @@ -10606,7 +11289,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -10615,7 +11298,7 @@ { "title": "Properties", "kind": 1024, - "children": [1091, 1092] + "children": [1112, 1113] } ], "sources": [ @@ -10631,7 +11314,7 @@ } }, { - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -10648,19 +11331,19 @@ "types": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" }, { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ] } }, { - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -10678,14 +11361,14 @@ { "type": "reflection", "declaration": { - "id": 1066, + "id": 1087, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1088, "name": "data", "kind": 1024, "kindString": "Property", @@ -10700,14 +11383,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1089, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1076, + "id": 1097, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -10730,7 +11413,7 @@ } }, { - "id": 1069, + "id": 1090, "name": "id", "kind": 1024, "kindString": "Property", @@ -10751,7 +11434,7 @@ } }, { - "id": 1071, + "id": 1092, "name": "totp", "kind": 1024, "kindString": "Property", @@ -10769,14 +11452,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1093, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1094, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -10797,7 +11480,7 @@ } }, { - "id": 1074, + "id": 1095, "name": "secret", "kind": 1024, "kindString": "Property", @@ -10818,7 +11501,7 @@ } }, { - "id": 1075, + "id": 1096, "name": "uri", "kind": 1024, "kindString": "Property", @@ -10843,7 +11526,7 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074, 1075] + "children": [1094, 1095, 1096] } ], "sources": [ @@ -10857,7 +11540,7 @@ } }, { - "id": 1070, + "id": 1091, "name": "type", "kind": 1024, "kindString": "Property", @@ -10882,7 +11565,7 @@ { "title": "Properties", "kind": 1024, - "children": [1076, 1069, 1071, 1070] + "children": [1097, 1090, 1092, 1091] } ], "sources": [ @@ -10896,7 +11579,7 @@ } }, { - "id": 1077, + "id": 1098, "name": "error", "kind": 1024, "kindString": "Property", @@ -10918,7 +11601,7 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1077] + "children": [1088, 1098] } ], "sources": [ @@ -10933,14 +11616,14 @@ { "type": "reflection", "declaration": { - "id": 1078, + "id": 1099, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1079, + "id": 1100, "name": "data", "kind": 1024, "kindString": "Property", @@ -10958,7 +11641,7 @@ } }, { - "id": 1080, + "id": 1101, "name": "error", "kind": 1024, "kindString": "Property", @@ -10972,7 +11655,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -10981,7 +11664,7 @@ { "title": "Properties", "kind": 1024, - "children": [1079, 1080] + "children": [1100, 1101] } ], "sources": [ @@ -10997,7 +11680,7 @@ } }, { - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -11015,14 +11698,14 @@ { "type": "reflection", "declaration": { - "id": 962, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 984, "name": "data", "kind": 1024, "kindString": "Property", @@ -11037,14 +11720,14 @@ "type": { "type": "reflection", "declaration": { - "id": 964, + "id": 985, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 967, + "id": 988, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -11063,13 +11746,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 644, + "id": 665, "name": "AMREntry" } } }, { - "id": 965, + "id": 986, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -11089,7 +11772,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -11100,7 +11783,7 @@ } }, { - "id": 966, + "id": 987, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -11126,7 +11809,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -11141,7 +11824,7 @@ { "title": "Properties", "kind": 1024, - "children": [967, 965, 966] + "children": [988, 986, 987] } ], "sources": [ @@ -11155,7 +11838,7 @@ } }, { - "id": 968, + "id": 989, "name": "error", "kind": 1024, "kindString": "Property", @@ -11177,7 +11860,7 @@ { "title": "Properties", "kind": 1024, - "children": [963, 968] + "children": [984, 989] } ], "sources": [ @@ -11192,14 +11875,14 @@ { "type": "reflection", "declaration": { - "id": 969, + "id": 990, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 970, + "id": 991, "name": "data", "kind": 1024, "kindString": "Property", @@ -11217,7 +11900,7 @@ } }, { - "id": 971, + "id": 992, "name": "error", "kind": 1024, "kindString": "Property", @@ -11231,7 +11914,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -11240,7 +11923,7 @@ { "title": "Properties", "kind": 1024, - "children": [970, 971] + "children": [991, 992] } ], "sources": [ @@ -11256,7 +11939,7 @@ } }, { - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -11274,14 +11957,14 @@ { "type": "reflection", "declaration": { - "id": 950, + "id": 971, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 951, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -11296,14 +11979,14 @@ "type": { "type": "reflection", "declaration": { - "id": 952, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 953, + "id": 974, "name": "all", "kind": 1024, "kindString": "Property", @@ -11322,13 +12005,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 955, + "id": 976, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11347,13 +12030,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 954, + "id": 975, "name": "totp", "kind": 1024, "kindString": "Property", @@ -11372,7 +12055,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -11382,7 +12065,7 @@ { "title": "Properties", "kind": 1024, - "children": [953, 955, 954] + "children": [974, 976, 975] } ], "sources": [ @@ -11396,7 +12079,7 @@ } }, { - "id": 956, + "id": 977, "name": "error", "kind": 1024, "kindString": "Property", @@ -11418,7 +12101,7 @@ { "title": "Properties", "kind": 1024, - "children": [951, 956] + "children": [972, 977] } ], "sources": [ @@ -11433,14 +12116,14 @@ { "type": "reflection", "declaration": { - "id": 957, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 979, "name": "data", "kind": 1024, "kindString": "Property", @@ -11458,7 +12141,7 @@ } }, { - "id": 959, + "id": 980, "name": "error", "kind": 1024, "kindString": "Property", @@ -11472,7 +12155,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -11481,7 +12164,7 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959] + "children": [979, 980] } ], "sources": [ @@ -11497,7 +12180,7 @@ } }, { - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -11515,14 +12198,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 951, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 931, + "id": 952, "name": "data", "kind": 1024, "kindString": "Property", @@ -11537,14 +12220,14 @@ "type": { "type": "reflection", "declaration": { - "id": 932, + "id": 953, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 954, "name": "id", "kind": 1024, "kindString": "Property", @@ -11569,7 +12252,7 @@ { "title": "Properties", "kind": 1024, - "children": [933] + "children": [954] } ], "sources": [ @@ -11583,7 +12266,7 @@ } }, { - "id": 934, + "id": 955, "name": "error", "kind": 1024, "kindString": "Property", @@ -11605,7 +12288,7 @@ { "title": "Properties", "kind": 1024, - "children": [931, 934] + "children": [952, 955] } ], "sources": [ @@ -11620,14 +12303,14 @@ { "type": "reflection", "declaration": { - "id": 935, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 936, + "id": 957, "name": "data", "kind": 1024, "kindString": "Property", @@ -11645,7 +12328,7 @@ } }, { - "id": 937, + "id": 958, "name": "error", "kind": 1024, "kindString": "Property", @@ -11659,7 +12342,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -11668,7 +12351,7 @@ { "title": "Properties", "kind": 1024, - "children": [936, 937] + "children": [957, 958] } ], "sources": [ @@ -11684,7 +12367,7 @@ } }, { - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -11702,14 +12385,14 @@ { "type": "reflection", "declaration": { - "id": 916, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 917, + "id": 938, "name": "data", "kind": 1024, "kindString": "Property", @@ -11724,14 +12407,14 @@ "type": { "type": "reflection", "declaration": { - "id": 918, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 919, + "id": 940, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -11752,7 +12435,7 @@ } }, { - "id": 921, + "id": 942, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -11773,7 +12456,7 @@ } }, { - "id": 922, + "id": 943, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -11794,7 +12477,7 @@ } }, { - "id": 920, + "id": 941, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -11815,7 +12498,7 @@ } }, { - "id": 923, + "id": 944, "name": "user", "kind": 1024, "kindString": "Property", @@ -11832,7 +12515,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -11841,7 +12524,7 @@ { "title": "Properties", "kind": 1024, - "children": [919, 921, 922, 920, 923] + "children": [940, 942, 943, 941, 944] } ], "sources": [ @@ -11855,7 +12538,7 @@ } }, { - "id": 924, + "id": 945, "name": "error", "kind": 1024, "kindString": "Property", @@ -11877,7 +12560,7 @@ { "title": "Properties", "kind": 1024, - "children": [917, 924] + "children": [938, 945] } ], "sources": [ @@ -11892,14 +12575,14 @@ { "type": "reflection", "declaration": { - "id": 925, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 926, + "id": 947, "name": "data", "kind": 1024, "kindString": "Property", @@ -11917,7 +12600,7 @@ } }, { - "id": 927, + "id": 948, "name": "error", "kind": 1024, "kindString": "Property", @@ -11931,7 +12614,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -11940,7 +12623,7 @@ { "title": "Properties", "kind": 1024, - "children": [926, 927] + "children": [947, 948] } ], "sources": [ @@ -11956,7 +12639,7 @@ } }, { - "id": 559, + "id": 580, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -11978,14 +12661,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 582, "name": "data", "kind": 1024, "kindString": "Property", @@ -12000,14 +12683,14 @@ "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 583, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 565, + "id": 586, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -12036,7 +12719,7 @@ } }, { - "id": 564, + "id": 585, "name": "session", "kind": 1024, "kindString": "Property", @@ -12054,7 +12737,7 @@ } }, { - "id": 563, + "id": 584, "name": "user", "kind": 1024, "kindString": "Property", @@ -12076,7 +12759,7 @@ { "title": "Properties", "kind": 1024, - "children": [565, 564, 563] + "children": [586, 585, 584] } ], "sources": [ @@ -12090,7 +12773,7 @@ } }, { - "id": 566, + "id": 587, "name": "error", "kind": 1024, "kindString": "Property", @@ -12112,7 +12795,7 @@ { "title": "Properties", "kind": 1024, - "children": [561, 566] + "children": [582, 587] } ], "sources": [ @@ -12127,14 +12810,14 @@ { "type": "reflection", "declaration": { - "id": 567, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 589, "name": "data", "kind": 1024, "kindString": "Property", @@ -12149,14 +12832,14 @@ "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 593, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -12185,7 +12868,7 @@ } }, { - "id": 571, + "id": 592, "name": "session", "kind": 1024, "kindString": "Property", @@ -12203,7 +12886,7 @@ } }, { - "id": 570, + "id": 591, "name": "user", "kind": 1024, "kindString": "Property", @@ -12225,7 +12908,7 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 570] + "children": [593, 592, 591] } ], "sources": [ @@ -12239,7 +12922,7 @@ } }, { - "id": 573, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", @@ -12253,7 +12936,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -12262,7 +12945,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 573] + "children": [589, 594] } ], "sources": [ @@ -12278,7 +12961,7 @@ } }, { - "id": 532, + "id": 553, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -12296,14 +12979,14 @@ { "type": "reflection", "declaration": { - "id": 533, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 555, "name": "data", "kind": 1024, "kindString": "Property", @@ -12318,14 +13001,14 @@ "type": { "type": "reflection", "declaration": { - "id": 535, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 537, + "id": 558, "name": "session", "kind": 1024, "kindString": "Property", @@ -12342,7 +13025,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -12353,7 +13036,7 @@ } }, { - "id": 536, + "id": 557, "name": "user", "kind": 1024, "kindString": "Property", @@ -12370,7 +13053,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -12385,7 +13068,7 @@ { "title": "Properties", "kind": 1024, - "children": [537, 536] + "children": [558, 557] } ], "sources": [ @@ -12399,7 +13082,7 @@ } }, { - "id": 538, + "id": 559, "name": "error", "kind": 1024, "kindString": "Property", @@ -12421,7 +13104,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 538] + "children": [555, 559] } ], "sources": [ @@ -12436,14 +13119,14 @@ { "type": "reflection", "declaration": { - "id": 539, + "id": 560, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 540, + "id": 561, "name": "data", "kind": 1024, "kindString": "Property", @@ -12458,14 +13141,14 @@ "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 543, + "id": 564, "name": "session", "kind": 1024, "kindString": "Property", @@ -12483,7 +13166,7 @@ } }, { - "id": 542, + "id": 563, "name": "user", "kind": 1024, "kindString": "Property", @@ -12505,7 +13188,7 @@ { "title": "Properties", "kind": 1024, - "children": [543, 542] + "children": [564, 563] } ], "sources": [ @@ -12519,7 +13202,7 @@ } }, { - "id": 544, + "id": 565, "name": "error", "kind": 1024, "kindString": "Property", @@ -12533,7 +13216,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -12542,7 +13225,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 544] + "children": [561, 565] } ], "sources": [ @@ -12558,7 +13241,7 @@ } }, { - "id": 545, + "id": 566, "name": "AuthResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -12576,14 +13259,14 @@ { "type": "reflection", "declaration": { - "id": 546, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 568, "name": "data", "kind": 1024, "kindString": "Property", @@ -12598,14 +13281,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 550, + "id": 571, "name": "session", "kind": 1024, "kindString": "Property", @@ -12622,7 +13305,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -12633,7 +13316,7 @@ } }, { - "id": 549, + "id": 570, "name": "user", "kind": 1024, "kindString": "Property", @@ -12650,7 +13333,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -12661,7 +13344,7 @@ } }, { - "id": 551, + "id": 572, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -12680,7 +13363,7 @@ "types": [ { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" }, { @@ -12695,7 +13378,7 @@ { "title": "Properties", "kind": 1024, - "children": [550, 549, 551] + "children": [571, 570, 572] } ], "sources": [ @@ -12709,7 +13392,7 @@ } }, { - "id": 552, + "id": 573, "name": "error", "kind": 1024, "kindString": "Property", @@ -12731,7 +13414,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 552] + "children": [568, 573] } ], "sources": [ @@ -12746,14 +13429,14 @@ { "type": "reflection", "declaration": { - "id": 553, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 554, + "id": 575, "name": "data", "kind": 1024, "kindString": "Property", @@ -12768,14 +13451,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 578, "name": "session", "kind": 1024, "kindString": "Property", @@ -12793,7 +13476,7 @@ } }, { - "id": 556, + "id": 577, "name": "user", "kind": 1024, "kindString": "Property", @@ -12815,7 +13498,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 556] + "children": [578, 577] } ], "sources": [ @@ -12829,7 +13512,7 @@ } }, { - "id": 558, + "id": 579, "name": "error", "kind": 1024, "kindString": "Property", @@ -12843,7 +13526,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -12852,7 +13535,7 @@ { "title": "Properties", "kind": 1024, - "children": [554, 558] + "children": [575, 579] } ], "sources": [ @@ -12868,7 +13551,7 @@ } }, { - "id": 574, + "id": 595, "name": "AuthTokenResponse", "kind": 4194304, "kindString": "Type alias", @@ -12886,14 +13569,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -12908,14 +13591,14 @@ "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 600, "name": "session", "kind": 1024, "kindString": "Property", @@ -12929,12 +13612,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 578, + "id": 599, "name": "user", "kind": 1024, "kindString": "Property", @@ -12948,7 +13631,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -12957,7 +13640,7 @@ { "title": "Properties", "kind": 1024, - "children": [579, 578] + "children": [600, 599] } ], "sources": [ @@ -12971,7 +13654,7 @@ } }, { - "id": 580, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -12993,7 +13676,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 580] + "children": [597, 601] } ], "sources": [ @@ -13008,14 +13691,14 @@ { "type": "reflection", "declaration": { - "id": 581, + "id": 602, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 603, "name": "data", "kind": 1024, "kindString": "Property", @@ -13030,14 +13713,14 @@ "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 606, "name": "session", "kind": 1024, "kindString": "Property", @@ -13055,7 +13738,7 @@ } }, { - "id": 584, + "id": 605, "name": "user", "kind": 1024, "kindString": "Property", @@ -13077,7 +13760,7 @@ { "title": "Properties", "kind": 1024, - "children": [585, 584] + "children": [606, 605] } ], "sources": [ @@ -13091,7 +13774,7 @@ } }, { - "id": 586, + "id": 607, "name": "error", "kind": 1024, "kindString": "Property", @@ -13105,7 +13788,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -13114,7 +13797,7 @@ { "title": "Properties", "kind": 1024, - "children": [582, 586] + "children": [603, 607] } ], "sources": [ @@ -13130,7 +13813,7 @@ } }, { - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -13148,14 +13831,14 @@ { "type": "reflection", "declaration": { - "id": 588, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 610, "name": "data", "kind": 1024, "kindString": "Property", @@ -13170,14 +13853,14 @@ "type": { "type": "reflection", "declaration": { - "id": 590, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 592, + "id": 613, "name": "session", "kind": 1024, "kindString": "Property", @@ -13191,12 +13874,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 591, + "id": 612, "name": "user", "kind": 1024, "kindString": "Property", @@ -13210,12 +13893,12 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } }, { - "id": 593, + "id": 614, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -13231,7 +13914,7 @@ ], "type": { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" } } @@ -13240,7 +13923,7 @@ { "title": "Properties", "kind": 1024, - "children": [592, 591, 593] + "children": [613, 612, 614] } ], "sources": [ @@ -13254,7 +13937,7 @@ } }, { - "id": 594, + "id": 615, "name": "error", "kind": 1024, "kindString": "Property", @@ -13276,7 +13959,7 @@ { "title": "Properties", "kind": 1024, - "children": [589, 594] + "children": [610, 615] } ], "sources": [ @@ -13291,14 +13974,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 617, "name": "data", "kind": 1024, "kindString": "Property", @@ -13313,14 +13996,14 @@ "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 620, "name": "session", "kind": 1024, "kindString": "Property", @@ -13338,7 +14021,7 @@ } }, { - "id": 598, + "id": 619, "name": "user", "kind": 1024, "kindString": "Property", @@ -13356,7 +14039,7 @@ } }, { - "id": 600, + "id": 621, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -13380,7 +14063,7 @@ { "title": "Properties", "kind": 1024, - "children": [599, 598, 600] + "children": [620, 619, 621] } ], "sources": [ @@ -13394,7 +14077,7 @@ } }, { - "id": 601, + "id": 622, "name": "error", "kind": 1024, "kindString": "Property", @@ -13408,7 +14091,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -13417,7 +14100,7 @@ { "title": "Properties", "kind": 1024, - "children": [596, 601] + "children": [617, 622] } ], "sources": [ @@ -13433,7 +14116,7 @@ } }, { - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -13460,7 +14143,7 @@ } }, { - "id": 1034, + "id": 1055, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -13478,14 +14161,14 @@ { "type": "reflection", "declaration": { - "id": 1035, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1037, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -13503,7 +14186,7 @@ } }, { - "id": 1036, + "id": 1057, "name": "session", "kind": 1024, "kindString": "Property", @@ -13517,7 +14200,7 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } } @@ -13526,7 +14209,7 @@ { "title": "Properties", "kind": 1024, - "children": [1037, 1036] + "children": [1058, 1057] } ], "sources": [ @@ -13541,14 +14224,14 @@ { "type": "reflection", "declaration": { - "id": 1038, + "id": 1059, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1040, + "id": 1061, "name": "error", "kind": 1024, "kindString": "Property", @@ -13562,12 +14245,12 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } }, { - "id": 1039, + "id": 1060, "name": "session", "kind": 1024, "kindString": "Property", @@ -13589,7 +14272,7 @@ { "title": "Properties", "kind": 1024, - "children": [1040, 1039] + "children": [1061, 1060] } ], "sources": [ @@ -13605,7 +14288,7 @@ } }, { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -13648,7 +14331,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13663,14 +14346,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -13691,7 +14374,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -13712,7 +14395,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -13731,7 +14414,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -13745,7 +14428,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -13776,7 +14459,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -13790,7 +14473,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13805,14 +14488,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -13833,7 +14516,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -13852,7 +14535,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -13875,7 +14558,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -13906,7 +14589,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -13920,7 +14603,7 @@ } }, { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13937,29 +14620,29 @@ "types": [ { "type": "reference", - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams" }, { "type": "reference", - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams" }, { "type": "reference", - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams" }, { "type": "reference", - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams" } ] } }, { - "id": 890, + "id": 911, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -13977,14 +14660,14 @@ "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 892, + "id": 913, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -14005,7 +14688,7 @@ } }, { - "id": 893, + "id": 914, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -14026,7 +14709,7 @@ } }, { - "id": 894, + "id": 915, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -14047,7 +14730,7 @@ } }, { - "id": 895, + "id": 916, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -14068,7 +14751,7 @@ } }, { - "id": 896, + "id": 917, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -14085,7 +14768,7 @@ ], "type": { "type": "reference", - "id": 897, + "id": 918, "name": "GenerateLinkType" } } @@ -14094,7 +14777,7 @@ { "title": "Properties", "kind": 1024, - "children": [892, 893, 894, 895, 896] + "children": [913, 914, 915, 916, 917] } ], "sources": [ @@ -14108,7 +14791,7 @@ } }, { - "id": 877, + "id": 898, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -14126,14 +14809,14 @@ { "type": "reflection", "declaration": { - "id": 878, + "id": 899, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 879, + "id": 900, "name": "data", "kind": 1024, "kindString": "Property", @@ -14148,14 +14831,14 @@ "type": { "type": "reflection", "declaration": { - "id": 880, + "id": 901, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 881, + "id": 902, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14169,12 +14852,12 @@ ], "type": { "type": "reference", - "id": 890, + "id": 911, "name": "GenerateLinkProperties" } }, { - "id": 882, + "id": 903, "name": "user", "kind": 1024, "kindString": "Property", @@ -14188,7 +14871,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -14197,7 +14880,7 @@ { "title": "Properties", "kind": 1024, - "children": [881, 882] + "children": [902, 903] } ], "sources": [ @@ -14211,7 +14894,7 @@ } }, { - "id": 883, + "id": 904, "name": "error", "kind": 1024, "kindString": "Property", @@ -14233,7 +14916,7 @@ { "title": "Properties", "kind": 1024, - "children": [879, 883] + "children": [900, 904] } ], "sources": [ @@ -14248,14 +14931,14 @@ { "type": "reflection", "declaration": { - "id": 884, + "id": 905, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 885, + "id": 906, "name": "data", "kind": 1024, "kindString": "Property", @@ -14270,14 +14953,14 @@ "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 887, + "id": 908, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14295,7 +14978,7 @@ } }, { - "id": 888, + "id": 909, "name": "user", "kind": 1024, "kindString": "Property", @@ -14317,7 +15000,7 @@ { "title": "Properties", "kind": 1024, - "children": [887, 888] + "children": [908, 909] } ], "sources": [ @@ -14331,7 +15014,7 @@ } }, { - "id": 889, + "id": 910, "name": "error", "kind": 1024, "kindString": "Property", @@ -14345,7 +15028,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -14354,7 +15037,7 @@ { "title": "Properties", "kind": 1024, - "children": [885, 889] + "children": [906, 910] } ], "sources": [ @@ -14370,7 +15053,7 @@ } }, { - "id": 897, + "id": 918, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -14413,7 +15096,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14428,14 +15111,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -14456,7 +15139,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -14475,7 +15158,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -14489,7 +15172,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -14511,7 +15194,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -14525,7 +15208,7 @@ } }, { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14540,14 +15223,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -14565,7 +15248,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -14584,7 +15267,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -14607,7 +15290,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -14625,7 +15308,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -14647,7 +15330,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -14661,7 +15344,7 @@ } }, { - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -14676,14 +15359,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 535, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -14703,7 +15386,7 @@ } }, { - "id": 519, + "id": 540, "name": "debug", "kind": 1024, "kindString": "Property", @@ -14727,7 +15410,7 @@ { "type": "reflection", "declaration": { - "id": 520, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14741,14 +15424,14 @@ ], "signatures": [ { - "id": 521, + "id": 542, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 522, + "id": 543, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -14759,7 +15442,7 @@ } }, { - "id": 523, + "id": 544, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -14787,7 +15470,7 @@ } }, { - "id": 513, + "id": 534, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -14807,7 +15490,7 @@ } }, { - "id": 517, + "id": 538, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -14827,7 +15510,7 @@ } }, { - "id": 518, + "id": 539, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -14843,12 +15526,12 @@ ], "type": { "type": "reference", - "id": 779, + "id": 800, "name": "AuthFlowType" } }, { - "id": 525, + "id": 546, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -14877,7 +15560,7 @@ } }, { - "id": 508, + "id": 529, "name": "headers", "kind": 1024, "kindString": "Property", @@ -14894,7 +15577,7 @@ "type": { "type": "reflection", "declaration": { - "id": 509, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14907,14 +15590,14 @@ } ], "indexSignature": { - "id": 510, + "id": 531, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 532, "name": "key", "kind": 32768, "flags": {}, @@ -14933,7 +15616,7 @@ } }, { - "id": 524, + "id": 545, "name": "lock", "kind": 1024, "kindString": "Property", @@ -14958,12 +15641,12 @@ ], "type": { "type": "reference", - "id": 496, + "id": 517, "name": "LockFunc" } }, { - "id": 515, + "id": 536, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -14983,7 +15666,7 @@ } }, { - "id": 516, + "id": 537, "name": "storage", "kind": 1024, "kindString": "Property", @@ -14999,12 +15682,12 @@ ], "type": { "type": "reference", - "id": 1028, + "id": 1049, "name": "SupportedStorage" } }, { - "id": 512, + "id": 533, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -15024,7 +15707,7 @@ } }, { - "id": 507, + "id": 528, "name": "url", "kind": 1024, "kindString": "Property", @@ -15048,7 +15731,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 519, 513, 517, 518, 525, 508, 524, 515, 516, 512, 507] + "children": [535, 540, 534, 538, 539, 546, 529, 545, 536, 537, 533, 528] } ], "sources": [ @@ -15062,7 +15745,7 @@ } }, { - "id": 1031, + "id": 1052, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -15077,14 +15760,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1032, + "id": 1053, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1033, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -15101,7 +15784,7 @@ "types": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" }, { @@ -15116,7 +15799,7 @@ { "title": "Properties", "kind": 1024, - "children": [1033] + "children": [1054] } ], "sources": [ @@ -15130,7 +15813,178 @@ } }, { - "id": 496, + "id": 1114, + "name": "JwtHeader", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1116, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1204, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } + }, + { + "id": 1117, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1205, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1118, + "name": "typ", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1206, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1116, 1117, 1118] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 24 + } + ] + } + } + }, + { + "id": 1129, + "name": "JwtPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 1119, + "name": "RequiredClaims" + }, + { + "type": "reflection", + "declaration": { + "id": 1130, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 42 + } + ], + "indexSignature": { + "id": 1131, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1132, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ] + } + }, + { + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -15145,7 +15999,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15159,7 +16013,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -15175,7 +16029,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -15184,7 +16038,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -15198,7 +16052,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -15212,7 +16066,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -15223,7 +16077,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15237,7 +16091,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -15247,7 +16101,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -15266,7 +16120,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -15280,7 +16134,7 @@ } }, { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -15295,14 +16149,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -15323,7 +16177,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15348,7 +16202,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -15362,7 +16216,7 @@ } }, { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -15377,14 +16231,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -15416,7 +16270,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15441,7 +16295,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -15455,7 +16309,7 @@ } }, { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -15472,19 +16326,19 @@ "types": [ { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams" }, { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams" } ] } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -15499,14 +16353,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -15527,7 +16381,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -15550,7 +16404,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15575,7 +16429,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -15589,7 +16443,7 @@ } }, { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -15604,14 +16458,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -15632,7 +16486,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -15655,7 +16509,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -15682,7 +16536,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -15696,7 +16550,7 @@ } }, { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -15711,14 +16565,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15743,7 +16597,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -15757,7 +16611,7 @@ } }, { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -15772,14 +16626,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -15800,7 +16654,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -15821,7 +16675,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15846,7 +16700,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -15860,7 +16714,7 @@ } }, { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -15887,7 +16741,7 @@ } }, { - "id": 602, + "id": 623, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -15905,14 +16759,14 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 604, + "id": 625, "name": "data", "kind": 1024, "kindString": "Property", @@ -15927,14 +16781,14 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 606, + "id": 627, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15948,12 +16802,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 607, + "id": 628, "name": "url", "kind": 1024, "kindString": "Property", @@ -15975,7 +16829,7 @@ { "title": "Properties", "kind": 1024, - "children": [606, 607] + "children": [627, 628] } ], "sources": [ @@ -15989,7 +16843,7 @@ } }, { - "id": 608, + "id": 629, "name": "error", "kind": 1024, "kindString": "Property", @@ -16011,7 +16865,7 @@ { "title": "Properties", "kind": 1024, - "children": [604, 608] + "children": [625, 629] } ], "sources": [ @@ -16026,14 +16880,14 @@ { "type": "reflection", "declaration": { - "id": 609, + "id": 630, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 610, + "id": 631, "name": "data", "kind": 1024, "kindString": "Property", @@ -16048,14 +16902,14 @@ "type": { "type": "reflection", "declaration": { - "id": 611, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 612, + "id": 633, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16069,12 +16923,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 613, + "id": 634, "name": "url", "kind": 1024, "kindString": "Property", @@ -16096,7 +16950,7 @@ { "title": "Properties", "kind": 1024, - "children": [612, 613] + "children": [633, 634] } ], "sources": [ @@ -16110,7 +16964,7 @@ } }, { - "id": 614, + "id": 635, "name": "error", "kind": 1024, "kindString": "Property", @@ -16124,7 +16978,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -16133,7 +16987,7 @@ { "title": "Properties", "kind": 1024, - "children": [610, 614] + "children": [631, 635] } ], "sources": [ @@ -16149,7 +17003,7 @@ } }, { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -16164,14 +17018,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -16194,7 +17048,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -16221,7 +17075,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -16235,7 +17089,7 @@ } }, { - "id": 1041, + "id": 1062, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -16250,14 +17104,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1044, + "id": 1065, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -16275,7 +17129,7 @@ } }, { - "id": 1043, + "id": 1064, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -16302,7 +17156,7 @@ } }, { - "id": 1045, + "id": 1066, "name": "total", "kind": 1024, "kindString": "Property", @@ -16324,7 +17178,7 @@ { "title": "Properties", "kind": 1024, - "children": [1044, 1043, 1045] + "children": [1065, 1064, 1066] } ], "sources": [ @@ -16335,14 +17189,14 @@ } ], "indexSignature": { - "id": 1046, + "id": 1067, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1047, + "id": 1068, "name": "key", "kind": 32768, "flags": {}, @@ -16361,7 +17215,7 @@ } }, { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -16471,7 +17325,204 @@ } }, { - "id": 824, + "id": 1119, + "name": "RequiredClaims", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1127, + "name": "aal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1216, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 981, + "name": "AuthenticatorAssuranceLevels" + } + }, + { + "id": 1123, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1212, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1124, + "name": "exp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1213, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1125, + "name": "iat", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1214, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1121, + "name": "iss", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1210, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1126, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1215, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1128, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1122, + "name": "sub", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1127, 1123, 1124, 1125, 1121, 1126, 1128, 1122] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 29 + } + ] + } + } + }, + { + "id": 845, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -16489,14 +17540,14 @@ { "type": "reflection", "declaration": { - "id": 825, + "id": 846, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 827, + "id": 848, "name": "email", "kind": 1024, "kindString": "Property", @@ -16514,7 +17565,7 @@ } }, { - "id": 828, + "id": 849, "name": "options", "kind": 1024, "kindString": "Property", @@ -16531,14 +17582,14 @@ "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 850, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16561,7 +17612,7 @@ } }, { - "id": 830, + "id": 851, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -16588,7 +17639,7 @@ { "title": "Properties", "kind": 1024, - "children": [831, 830] + "children": [852, 851] } ], "sources": [ @@ -16602,7 +17653,7 @@ } }, { - "id": 826, + "id": 847, "name": "type", "kind": 1024, "kindString": "Property", @@ -16619,7 +17670,7 @@ "typeArguments": [ { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" }, { @@ -16646,7 +17697,7 @@ { "title": "Properties", "kind": 1024, - "children": [827, 828, 826] + "children": [848, 849, 847] } ], "sources": [ @@ -16661,14 +17712,14 @@ { "type": "reflection", "declaration": { - "id": 832, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 835, + "id": 856, "name": "options", "kind": 1024, "kindString": "Property", @@ -16685,14 +17736,14 @@ "type": { "type": "reflection", "declaration": { - "id": 836, + "id": 857, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 858, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16719,7 +17770,7 @@ { "title": "Properties", "kind": 1024, - "children": [837] + "children": [858] } ], "sources": [ @@ -16733,7 +17784,7 @@ } }, { - "id": 834, + "id": 855, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16751,7 +17802,7 @@ } }, { - "id": 833, + "id": 854, "name": "type", "kind": 1024, "kindString": "Property", @@ -16768,7 +17819,7 @@ "typeArguments": [ { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" }, { @@ -16795,7 +17846,7 @@ { "title": "Properties", "kind": 1024, - "children": [835, 834, 833] + "children": [856, 855, 854] } ], "sources": [ @@ -16811,7 +17862,7 @@ } }, { - "id": 615, + "id": 636, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -16829,14 +17880,14 @@ { "type": "reflection", "declaration": { - "id": 616, + "id": 637, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 617, + "id": 638, "name": "data", "kind": 1024, "kindString": "Property", @@ -16851,14 +17902,14 @@ "type": { "type": "reflection", "declaration": { - "id": 618, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 640, "name": "url", "kind": 1024, "kindString": "Property", @@ -16884,7 +17935,7 @@ { "title": "Properties", "kind": 1024, - "children": [619] + "children": [640] } ], "sources": [ @@ -16898,7 +17949,7 @@ } }, { - "id": 620, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -16920,7 +17971,7 @@ { "title": "Properties", "kind": 1024, - "children": [617, 620] + "children": [638, 641] } ], "sources": [ @@ -16935,14 +17986,14 @@ { "type": "reflection", "declaration": { - "id": 621, + "id": 642, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 643, "name": "data", "kind": 1024, "kindString": "Property", @@ -16960,7 +18011,7 @@ } }, { - "id": 623, + "id": 644, "name": "error", "kind": 1024, "kindString": "Property", @@ -16974,7 +18025,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -16983,7 +18034,7 @@ { "title": "Properties", "kind": 1024, - "children": [622, 623] + "children": [643, 644] } ], "sources": [ @@ -16999,7 +18050,7 @@ } }, { - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17014,14 +18065,14 @@ "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 748, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 728, + "id": 749, "name": "options", "kind": 1024, "kindString": "Property", @@ -17038,14 +18089,14 @@ "type": { "type": "reflection", "declaration": { - "id": 729, + "id": 750, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 731, + "id": 752, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17068,7 +18119,7 @@ } }, { - "id": 730, + "id": 751, "name": "data", "kind": 1024, "kindString": "Property", @@ -17096,7 +18147,7 @@ { "title": "Properties", "kind": 1024, - "children": [731, 730] + "children": [752, 751] } ], "sources": [ @@ -17114,7 +18165,7 @@ { "title": "Properties", "kind": 1024, - "children": [728] + "children": [749] } ], "sources": [ @@ -17128,7 +18179,7 @@ } }, { - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17143,14 +18194,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 814, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 797, + "id": 818, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -17173,7 +18224,7 @@ } }, { - "id": 798, + "id": 819, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -17196,7 +18247,7 @@ } }, { - "id": 799, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -17213,14 +18264,14 @@ "type": { "type": "reflection", "declaration": { - "id": 800, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17247,7 +18298,7 @@ { "title": "Properties", "kind": 1024, - "children": [801] + "children": [822] } ], "sources": [ @@ -17261,7 +18312,7 @@ } }, { - "id": 794, + "id": 815, "name": "provider", "kind": 1024, "kindString": "Property", @@ -17309,7 +18360,7 @@ { "type": "reflection", "declaration": { - "id": 795, + "id": 816, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17329,7 +18380,7 @@ } }, { - "id": 796, + "id": 817, "name": "token", "kind": 1024, "kindString": "Property", @@ -17354,7 +18405,7 @@ { "title": "Properties", "kind": 1024, - "children": [797, 798, 799, 794, 796] + "children": [818, 819, 820, 815, 817] } ], "sources": [ @@ -17368,7 +18419,7 @@ } }, { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17383,14 +18434,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -17407,14 +18458,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -17434,7 +18485,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17447,14 +18498,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -17473,7 +18524,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17496,7 +18547,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -17519,7 +18570,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -17546,7 +18597,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -17560,7 +18611,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -17577,7 +18628,7 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } } @@ -17586,7 +18637,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -17600,7 +18651,7 @@ } }, { - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17618,14 +18669,14 @@ { "type": "reflection", "declaration": { - "id": 750, + "id": 771, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 772, "name": "email", "kind": 1024, "kindString": "Property", @@ -17646,7 +18697,7 @@ } }, { - "id": 753, + "id": 774, "name": "options", "kind": 1024, "kindString": "Property", @@ -17663,14 +18714,14 @@ "type": { "type": "reflection", "declaration": { - "id": 754, + "id": 775, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 776, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17697,7 +18748,7 @@ { "title": "Properties", "kind": 1024, - "children": [755] + "children": [776] } ], "sources": [ @@ -17711,7 +18762,7 @@ } }, { - "id": 752, + "id": 773, "name": "password", "kind": 1024, "kindString": "Property", @@ -17736,7 +18787,7 @@ { "title": "Properties", "kind": 1024, - "children": [751, 753, 752] + "children": [772, 774, 773] } ], "sources": [ @@ -17751,14 +18802,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 777, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 780, "name": "options", "kind": 1024, "kindString": "Property", @@ -17775,14 +18826,14 @@ "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 761, + "id": 782, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17809,7 +18860,7 @@ { "title": "Properties", "kind": 1024, - "children": [761] + "children": [782] } ], "sources": [ @@ -17823,7 +18874,7 @@ } }, { - "id": 758, + "id": 779, "name": "password", "kind": 1024, "kindString": "Property", @@ -17844,7 +18895,7 @@ } }, { - "id": 757, + "id": 778, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17869,7 +18920,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 757] + "children": [780, 779, 778] } ], "sources": [ @@ -17885,7 +18936,7 @@ } }, { - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17903,14 +18954,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 785, "name": "email", "kind": 1024, "kindString": "Property", @@ -17931,7 +18982,7 @@ } }, { - "id": 765, + "id": 786, "name": "options", "kind": 1024, "kindString": "Property", @@ -17948,14 +18999,14 @@ "type": { "type": "reflection", "declaration": { - "id": 766, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 791, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17978,7 +19029,7 @@ } }, { - "id": 769, + "id": 790, "name": "data", "kind": 1024, "kindString": "Property", @@ -18002,7 +19053,7 @@ } }, { - "id": 767, + "id": 788, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -18025,7 +19076,7 @@ } }, { - "id": 768, + "id": 789, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -18052,7 +19103,7 @@ { "title": "Properties", "kind": 1024, - "children": [770, 769, 767, 768] + "children": [791, 790, 788, 789] } ], "sources": [ @@ -18070,7 +19121,7 @@ { "title": "Properties", "kind": 1024, - "children": [764, 765] + "children": [785, 786] } ], "sources": [ @@ -18085,14 +19136,14 @@ { "type": "reflection", "declaration": { - "id": 771, + "id": 792, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 773, + "id": 794, "name": "options", "kind": 1024, "kindString": "Property", @@ -18109,14 +19160,14 @@ "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 777, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18139,7 +19190,7 @@ } }, { - "id": 778, + "id": 799, "name": "channel", "kind": 1024, "kindString": "Property", @@ -18171,7 +19222,7 @@ } }, { - "id": 776, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -18195,7 +19246,7 @@ } }, { - "id": 775, + "id": 796, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -18222,7 +19273,7 @@ { "title": "Properties", "kind": 1024, - "children": [777, 778, 776, 775] + "children": [798, 799, 797, 796] } ], "sources": [ @@ -18236,7 +19287,7 @@ } }, { - "id": 772, + "id": 793, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18261,7 +19312,7 @@ { "title": "Properties", "kind": 1024, - "children": [773, 772] + "children": [794, 793] } ], "sources": [ @@ -18277,7 +19328,7 @@ } }, { - "id": 838, + "id": 859, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -18295,14 +19346,14 @@ { "type": "reflection", "declaration": { - "id": 839, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 862, "name": "options", "kind": 1024, "kindString": "Property", @@ -18319,14 +19370,14 @@ "type": { "type": "reflection", "declaration": { - "id": 842, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 865, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18349,7 +19400,7 @@ } }, { - "id": 843, + "id": 864, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18376,7 +19427,7 @@ { "title": "Properties", "kind": 1024, - "children": [844, 843] + "children": [865, 864] } ], "sources": [ @@ -18390,7 +19441,7 @@ } }, { - "id": 840, + "id": 861, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -18415,7 +19466,7 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [862, 861] } ], "sources": [ @@ -18430,14 +19481,14 @@ { "type": "reflection", "declaration": { - "id": 845, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 846, + "id": 867, "name": "domain", "kind": 1024, "kindString": "Property", @@ -18458,7 +19509,7 @@ } }, { - "id": 847, + "id": 868, "name": "options", "kind": 1024, "kindString": "Property", @@ -18475,14 +19526,14 @@ "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 869, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 871, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18505,7 +19556,7 @@ } }, { - "id": 849, + "id": 870, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18532,7 +19583,7 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [871, 870] } ], "sources": [ @@ -18550,7 +19601,7 @@ { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [867, 868] } ], "sources": [ @@ -18566,7 +19617,7 @@ } }, { - "id": 1052, + "id": 1073, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -18581,14 +19632,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1053, + "id": 1074, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1054, + "id": 1075, "name": "scope", "kind": 1024, "kindString": "Property", @@ -18628,7 +19679,7 @@ { "title": "Properties", "kind": 1024, - "children": [1054] + "children": [1075] } ], "sources": [ @@ -18642,7 +19693,7 @@ } }, { - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18660,14 +19711,14 @@ { "type": "reflection", "declaration": { - "id": 733, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 734, + "id": 755, "name": "email", "kind": 1024, "kindString": "Property", @@ -18688,7 +19739,7 @@ } }, { - "id": 736, + "id": 757, "name": "options", "kind": 1024, "kindString": "Property", @@ -18705,14 +19756,14 @@ "type": { "type": "reflection", "declaration": { - "id": 737, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 740, + "id": 761, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18735,7 +19786,7 @@ } }, { - "id": 739, + "id": 760, "name": "data", "kind": 1024, "kindString": "Property", @@ -18759,7 +19810,7 @@ } }, { - "id": 738, + "id": 759, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -18786,7 +19837,7 @@ { "title": "Properties", "kind": 1024, - "children": [740, 739, 738] + "children": [761, 760, 759] } ], "sources": [ @@ -18800,7 +19851,7 @@ } }, { - "id": 735, + "id": 756, "name": "password", "kind": 1024, "kindString": "Property", @@ -18825,7 +19876,7 @@ { "title": "Properties", "kind": 1024, - "children": [734, 736, 735] + "children": [755, 757, 756] } ], "sources": [ @@ -18840,14 +19891,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 765, "name": "options", "kind": 1024, "kindString": "Property", @@ -18864,14 +19915,14 @@ "type": { "type": "reflection", "declaration": { - "id": 745, + "id": 766, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 747, + "id": 768, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18894,7 +19945,7 @@ } }, { - "id": 748, + "id": 769, "name": "channel", "kind": 1024, "kindString": "Property", @@ -18926,7 +19977,7 @@ } }, { - "id": 746, + "id": 767, "name": "data", "kind": 1024, "kindString": "Property", @@ -18954,7 +20005,7 @@ { "title": "Properties", "kind": 1024, - "children": [747, 748, 746] + "children": [768, 769, 767] } ], "sources": [ @@ -18968,7 +20019,7 @@ } }, { - "id": 743, + "id": 764, "name": "password", "kind": 1024, "kindString": "Property", @@ -18989,7 +20040,7 @@ } }, { - "id": 742, + "id": 763, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19014,7 +20065,7 @@ { "title": "Properties", "kind": 1024, - "children": [744, 743, 742] + "children": [765, 764, 763] } ], "sources": [ @@ -19030,7 +20081,7 @@ } }, { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -19085,14 +20136,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -19119,7 +20170,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -19135,7 +20186,7 @@ } }, { - "id": 624, + "id": 645, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -19153,14 +20204,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 647, "name": "data", "kind": 1024, "kindString": "Property", @@ -19175,14 +20226,14 @@ "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 648, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 649, "name": "user", "kind": 1024, "kindString": "Property", @@ -19196,7 +20247,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -19205,7 +20256,7 @@ { "title": "Properties", "kind": 1024, - "children": [628] + "children": [649] } ], "sources": [ @@ -19219,7 +20270,7 @@ } }, { - "id": 629, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -19241,7 +20292,7 @@ { "title": "Properties", "kind": 1024, - "children": [626, 629] + "children": [647, 650] } ], "sources": [ @@ -19256,14 +20307,14 @@ { "type": "reflection", "declaration": { - "id": 630, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 631, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -19278,14 +20329,14 @@ "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 653, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 654, "name": "user", "kind": 1024, "kindString": "Property", @@ -19307,7 +20358,7 @@ { "title": "Properties", "kind": 1024, - "children": [633] + "children": [654] } ], "sources": [ @@ -19321,7 +20372,7 @@ } }, { - "id": 634, + "id": 655, "name": "error", "kind": 1024, "kindString": "Property", @@ -19335,7 +20386,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -19344,7 +20395,7 @@ { "title": "Properties", "kind": 1024, - "children": [631, 634] + "children": [652, 655] } ], "sources": [ @@ -19360,7 +20411,7 @@ } }, { - "id": 802, + "id": 823, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -19377,24 +20428,24 @@ "types": [ { "type": "reference", - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams" }, { "type": "reference", - "id": 819, + "id": 840, "name": "VerifyTokenHashParams" } ] } }, { - "id": 528, + "id": 549, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -19409,14 +20460,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 550, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 552, "name": "message", "kind": 1024, "kindString": "Property", @@ -19434,7 +20485,7 @@ } }, { - "id": 530, + "id": 551, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -19450,7 +20501,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } @@ -19460,7 +20511,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 530] + "children": [552, 551] } ], "sources": [ @@ -19474,7 +20525,7 @@ } }, { - "id": 526, + "id": 547, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -19511,7 +20562,7 @@ { "type": "reflection", "declaration": { - "id": 527, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -19531,7 +20582,7 @@ } }, { - "id": 475, + "id": 496, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -19556,7 +20607,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 476, + "id": 497, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -19581,7 +20632,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 490, + "id": 511, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -19606,14 +20657,14 @@ "type": { "type": "reflection", "declaration": { - "id": 491, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 513, "name": "debug", "kind": 1024, "kindString": "Property", @@ -19644,7 +20695,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [513] } ] } @@ -19652,7 +20703,7 @@ "defaultValue": "..." }, { - "id": 1096, + "id": 1143, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -19666,14 +20717,14 @@ ], "signatures": [ { - "id": 1097, + "id": 1144, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1098, + "id": 1145, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19690,7 +20741,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" } } @@ -19698,7 +20749,7 @@ ] }, { - "id": 1093, + "id": 1140, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -19712,14 +20763,14 @@ ], "signatures": [ { - "id": 1094, + "id": 1141, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1095, + "id": 1142, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19736,7 +20787,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -19744,7 +20795,7 @@ ] }, { - "id": 1102, + "id": 1149, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -19758,14 +20809,14 @@ ], "signatures": [ { - "id": 1103, + "id": 1150, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1104, + "id": 1151, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19782,7 +20833,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" } } @@ -19790,7 +20841,7 @@ ] }, { - "id": 1105, + "id": 1152, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -19804,14 +20855,14 @@ ], "signatures": [ { - "id": 1106, + "id": 1153, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1107, + "id": 1154, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19828,7 +20879,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" } } @@ -19836,7 +20887,7 @@ ] }, { - "id": 1099, + "id": 1146, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -19850,14 +20901,14 @@ ], "signatures": [ { - "id": 1100, + "id": 1147, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1101, + "id": 1148, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19874,7 +20925,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" } } @@ -19882,7 +20933,7 @@ ] }, { - "id": 1108, + "id": 1155, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -19896,14 +20947,14 @@ ], "signatures": [ { - "id": 1109, + "id": 1156, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1110, + "id": 1157, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -19920,7 +20971,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" } } @@ -19928,7 +20979,7 @@ ] }, { - "id": 477, + "id": 498, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -19942,7 +20993,7 @@ ], "signatures": [ { - "id": 478, + "id": 499, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -19953,7 +21004,7 @@ }, "typeParameter": [ { - "id": 479, + "id": 500, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -19962,7 +21013,7 @@ ], "parameters": [ { - "id": 480, + "id": 501, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -19976,7 +21027,7 @@ } }, { - "id": 481, + "id": 502, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -19990,7 +21041,7 @@ } }, { - "id": 482, + "id": 503, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -20001,14 +21052,14 @@ "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 505, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -20018,7 +21069,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -20037,7 +21088,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -20053,32 +21104,36 @@ { "title": "Classes", "kind": 128, - "children": [1121, 1111, 1178, 1169, 1161, 1205, 1232, 1153, 1131, 1242, 1141, 1, 78, 485] + "children": [ + 1168, 1158, 1225, 1216, 1301, 1208, 1252, 1279, 1200, 1178, 1289, 1188, 1, 78, 506 + ] }, { "title": "Interfaces", "kind": 256, - "children": [644, 705, 660, 873, 1021, 972, 635, 718, 675, 668, 699, 648, 672, 811, 803, 819] + "children": [ + 665, 726, 681, 894, 1042, 993, 1133, 656, 739, 696, 689, 720, 669, 693, 832, 824, 840 + ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 495, 494, 779, 1005, 996, 1018, 1009, 938, 1081, 928, 1065, 961, 949, 929, 915, 559, 532, - 545, 574, 587, 960, 1034, 823, 867, 857, 876, 890, 877, 897, 862, 851, 505, 1031, 496, 911, - 907, 898, 1060, 1055, 899, 902, 822, 602, 1048, 1041, 493, 824, 615, 726, 792, 780, 749, - 762, 838, 1052, 732, 1028, 624, 802, 528, 526 + 516, 515, 800, 1026, 1017, 1039, 1030, 959, 1102, 949, 1086, 982, 970, 950, 936, 580, 553, + 566, 595, 608, 981, 1055, 844, 888, 878, 897, 911, 898, 918, 883, 872, 526, 1052, 1114, + 1129, 517, 932, 928, 919, 1081, 1076, 920, 923, 843, 623, 1069, 1062, 514, 1119, 845, 636, + 747, 813, 801, 770, 783, 859, 1073, 753, 1049, 645, 823, 549, 547 ] }, { "title": "Variables", "kind": 32, - "children": [475, 476, 490] + "children": [496, 497, 511] }, { "title": "Functions", "kind": 64, - "children": [1096, 1093, 1102, 1105, 1099, 1108, 477] + "children": [1143, 1140, 1149, 1152, 1146, 1155, 498] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index a6f4145a128..56f9b0a4813 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": 1121, + "id": 1168, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1122, + "id": 1169, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1123, + "id": 1170, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1124, + "id": 1171, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1125, + "id": 1172, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1126, + "id": 1173, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,918 +79,22 @@ ], "type": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, - { - "id": 1128, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1117, - "name": "AuthError.code" - } - }, - { - "id": 1127, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 1119, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1122] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1128, 1127] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 30, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - ] - }, - { - "id": 1111, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1112, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 1113, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1114, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1115, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1116, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 1117, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - } - }, - { - "id": 1119, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1112] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1117, 1119] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1121, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1131, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1178, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1179, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1180, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1181, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1182, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1184] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1178, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1202, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "ErrorCode" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1203, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1186, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1188, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1188] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1200, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" - } - }, - { - "id": 1201, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" - } - }, - { - "id": 1190, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1191, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1196, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1199, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1198, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1199, 1198] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1194, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1193, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1195, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1196, 1194, 1193, 1195] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1179] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1202, 1186, 1200, 1201] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1190] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1141, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1169, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1170, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1171, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1172, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1169, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" - } - }, { "id": 1175, "name": "code", @@ -1014,10 +118,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1036,36 +136,17 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, - "name": "CustomAuthError.code" - } - }, - { - "id": 1173, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1148, - "name": "CustomAuthError.name" + "id": 1164, + "name": "AuthError.code" } }, { @@ -1080,7 +161,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 57, + "line": 31, "character": 2 } ], @@ -1088,10 +169,10 @@ "type": "intrinsic", "name": "number" }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "id": 1149, - "name": "CustomAuthError.status" + "id": 1166, + "name": "AuthError.status" } } ], @@ -1099,38 +180,38 @@ { "title": "Constructors", "kind": 512, - "children": [1170] + "children": [1169] }, { "title": "Properties", "kind": 1024, - "children": [1175, 1173, 1174] + "children": [1175, 1174] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 82, + "line": 30, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 1141, - "name": "CustomAuthError" + "id": 1158, + "name": "AuthError" } ] }, { - "id": 1161, - "name": "AuthInvalidTokenResponseError", + "id": 1158, + "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1162, + "id": 1159, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1138,37 +219,74 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 77, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 1163, - "name": "new AuthInvalidTokenResponseError", + "id": 1160, + "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, + "parameters": [ + { + "id": 1161, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1162, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1163, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "reference", - "id": 1161, - "name": "AuthInvalidTokenResponseError" + "id": 1158, + "name": "AuthError" }, "overwrites": { "type": "reference", - "id": 1143, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, - "name": "CustomAuthError.constructor" + "name": "Error.constructor" } }, { - "id": 1166, + "id": 1164, "name": "code", "kind": 1024, "kindString": "Property", @@ -1190,9 +308,260 @@ "type": "intrinsic", "name": "undefined" }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, { "type": "reference", "name": "ErrorCode" + } + ] + } + }, + { + "id": 1166, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1159] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1164, 1166] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1168, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1178, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1225, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1226, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1227, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1228, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1229, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1230, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1232, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1231, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1232, 1231] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1249, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" }, { "type": "intersection", @@ -1204,7 +573,7 @@ { "type": "reflection", "declaration": { - "id": 1167, + "id": 1250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1212,17 +581,100 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1164, + "id": 1233, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1236, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1236, 1235] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1247, "name": "name", "kind": 1024, "kindString": "Property", @@ -1240,12 +692,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1165, + "id": 1248, "name": "status", "kind": 1024, "kindString": "Property", @@ -1266,7 +718,379 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, + "name": "CustomAuthError.status" + } + }, + { + "id": 1237, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1238, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1239, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1243, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1246, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1245, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1246, 1245] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1241, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1240, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1242, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1243, 1241, 1240, 1242] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1226] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1249, 1233, 1247, 1248] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1237] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1216, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1217, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1218, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1219, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1216, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1222, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1223, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1220, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1221, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, "name": "CustomAuthError.status" } } @@ -1275,12 +1099,377 @@ { "title": "Constructors", "kind": 512, - "children": [1162] + "children": [1217] }, { "title": "Properties", "kind": 1024, - "children": [1166, 1164, 1165] + "children": [1222, 1220, 1221] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1301, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1302, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1303, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1304, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1307, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1305, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1306, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1302] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1307, 1305, 1306] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1188, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1208, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1209, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1210, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1208, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1190, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1189, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1213, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1214, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1197, + "name": "CustomAuthError.code" + } + }, + { + "id": 1211, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1195, + "name": "CustomAuthError.name" + } + }, + { + "id": 1212, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1196, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1209] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1213, 1211, 1212] } ], "sources": [ @@ -1293,20 +1482,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1206, + "id": 1253, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1320,14 +1509,14 @@ ], "signatures": [ { - "id": 1207, + "id": 1254, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1208, + "id": 1255, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1338,7 +1527,7 @@ } }, { - "id": 1209, + "id": 1256, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -1353,14 +1542,14 @@ { "type": "reflection", "declaration": { - "id": 1210, + "id": 1257, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1212, + "id": 1259, "name": "code", "kind": 1024, "kindString": "Property", @@ -1378,7 +1567,7 @@ } }, { - "id": 1211, + "id": 1258, "name": "error", "kind": 1024, "kindString": "Property", @@ -1400,7 +1589,7 @@ { "title": "Properties", "kind": 1024, - "children": [1212, 1211] + "children": [1259, 1258] } ] } @@ -1412,24 +1601,24 @@ ], "type": { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1229, + "id": 1276, "name": "code", "kind": 1024, "kindString": "Property", @@ -1451,10 +1640,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1465,7 +1650,7 @@ { "type": "reflection", "declaration": { - "id": 1230, + "id": 1277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1473,17 +1658,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1213, + "id": 1260, "name": "details", "kind": 1024, "kindString": "Property", @@ -1505,14 +1694,14 @@ { "type": "reflection", "declaration": { - "id": 1214, + "id": 1261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1216, + "id": 1263, "name": "code", "kind": 1024, "kindString": "Property", @@ -1530,7 +1719,7 @@ } }, { - "id": 1215, + "id": 1262, "name": "error", "kind": 1024, "kindString": "Property", @@ -1552,7 +1741,7 @@ { "title": "Properties", "kind": 1024, - "children": [1216, 1215] + "children": [1263, 1262] } ] } @@ -1562,7 +1751,7 @@ "defaultValue": "null" }, { - "id": 1227, + "id": 1274, "name": "name", "kind": 1024, "kindString": "Property", @@ -1580,12 +1769,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1228, + "id": 1275, "name": "status", "kind": 1024, "kindString": "Property", @@ -1606,12 +1795,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } }, { - "id": 1217, + "id": 1264, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1625,7 +1814,7 @@ ], "signatures": [ { - "id": 1218, + "id": 1265, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1633,14 +1822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1219, + "id": 1266, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1223, + "id": 1270, "name": "details", "kind": 1024, "kindString": "Property", @@ -1662,14 +1851,14 @@ { "type": "reflection", "declaration": { - "id": 1224, + "id": 1271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1226, + "id": 1273, "name": "code", "kind": 1024, "kindString": "Property", @@ -1687,7 +1876,7 @@ } }, { - "id": 1225, + "id": 1272, "name": "error", "kind": 1024, "kindString": "Property", @@ -1709,7 +1898,7 @@ { "title": "Properties", "kind": 1024, - "children": [1226, 1225] + "children": [1273, 1272] } ] } @@ -1719,7 +1908,7 @@ "defaultValue": "..." }, { - "id": 1221, + "id": 1268, "name": "message", "kind": 1024, "kindString": "Property", @@ -1738,7 +1927,7 @@ "defaultValue": "..." }, { - "id": 1220, + "id": 1267, "name": "name", "kind": 1024, "kindString": "Property", @@ -1757,7 +1946,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1269, "name": "status", "kind": 1024, "kindString": "Property", @@ -1780,7 +1969,7 @@ { "title": "Properties", "kind": 1024, - "children": [1223, 1221, 1220, 1222] + "children": [1270, 1268, 1267, 1269] } ] } @@ -1793,17 +1982,17 @@ { "title": "Constructors", "kind": 512, - "children": [1206] + "children": [1253] }, { "title": "Properties", "kind": 1024, - "children": [1229, 1213, 1227, 1228] + "children": [1276, 1260, 1274, 1275] }, { "title": "Methods", "kind": 2048, - "children": [1217] + "children": [1264] } ], "sources": [ @@ -1816,20 +2005,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1233, + "id": 1280, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1843,14 +2032,14 @@ ], "signatures": [ { - "id": 1234, + "id": 1281, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1235, + "id": 1282, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1861,7 +2050,7 @@ } }, { - "id": 1236, + "id": 1283, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1874,24 +2063,24 @@ ], "type": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1239, + "id": 1286, "name": "code", "kind": 1024, "kindString": "Property", @@ -1913,10 +2102,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -1927,7 +2112,7 @@ { "type": "reflection", "declaration": { - "id": 1240, + "id": 1287, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1935,17 +2120,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1237, + "id": 1284, "name": "name", "kind": 1024, "kindString": "Property", @@ -1963,12 +2152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1238, + "id": 1285, "name": "status", "kind": 1024, "kindString": "Property", @@ -1989,7 +2178,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -1998,12 +2187,12 @@ { "title": "Constructors", "kind": 512, - "children": [1233] + "children": [1280] }, { "title": "Properties", "kind": 1024, - "children": [1239, 1237, 1238] + "children": [1286, 1284, 1285] } ], "sources": [ @@ -2016,20 +2205,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1154, + "id": 1201, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2043,31 +2232,31 @@ ], "signatures": [ { - "id": 1155, + "id": 1202, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1158, + "id": 1205, "name": "code", "kind": 1024, "kindString": "Property", @@ -2089,10 +2278,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2103,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 1159, + "id": 1206, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2111,17 +2296,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1156, + "id": 1203, "name": "name", "kind": 1024, "kindString": "Property", @@ -2139,12 +2328,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1157, + "id": 1204, "name": "status", "kind": 1024, "kindString": "Property", @@ -2165,7 +2354,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -2174,12 +2363,12 @@ { "title": "Constructors", "kind": 512, - "children": [1154] + "children": [1201] }, { "title": "Properties", "kind": 1024, - "children": [1158, 1156, 1157] + "children": [1205, 1203, 1204] } ], "sources": [ @@ -2192,20 +2381,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1131, + "id": 1178, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1132, + "id": 1179, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2219,14 +2408,14 @@ ], "signatures": [ { - "id": 1133, + "id": 1180, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1134, + "id": 1181, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2237,7 +2426,7 @@ } }, { - "id": 1135, + "id": 1182, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2250,24 +2439,24 @@ ], "type": { "type": "reference", - "id": 1131, + "id": 1178, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1137, + "id": 1184, "name": "code", "kind": 1024, "kindString": "Property", @@ -2289,10 +2478,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2303,7 +2488,7 @@ { "type": "reflection", "declaration": { - "id": 1138, + "id": 1185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2311,17 +2496,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1136, + "id": 1183, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2339,7 +2528,7 @@ } }, { - "id": 1139, + "id": 1186, "name": "status", "kind": 1024, "kindString": "Property", @@ -2369,7 +2558,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -2378,12 +2567,12 @@ { "title": "Constructors", "kind": 512, - "children": [1132] + "children": [1179] }, { "title": "Properties", "kind": 1024, - "children": [1137, 1136, 1139] + "children": [1184, 1183, 1186] } ], "sources": [ @@ -2396,13 +2585,13 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] }, { - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError", "kind": 128, "kindString": "Class", @@ -2412,7 +2601,7 @@ }, "children": [ { - "id": 1243, + "id": 1290, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2426,14 +2615,14 @@ ], "signatures": [ { - "id": 1244, + "id": 1291, "name": "new AuthWeakPasswordError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1245, + "id": 1292, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2444,7 +2633,7 @@ } }, { - "id": 1246, + "id": 1293, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2455,7 +2644,7 @@ } }, { - "id": 1247, + "id": 1294, "name": "reasons", "kind": 32768, "kindString": "Parameter", @@ -2471,24 +2660,24 @@ ], "type": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" }, "overwrites": { "type": "reference", - "id": 1143, + "id": 1190, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1142, + "id": 1189, "name": "CustomAuthError.constructor" } }, { - "id": 1251, + "id": 1298, "name": "code", "kind": 1024, "kindString": "Property", @@ -2510,10 +2699,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2524,7 +2709,7 @@ { "type": "reflection", "declaration": { - "id": 1252, + "id": 1299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2532,17 +2717,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1150, + "id": 1197, "name": "CustomAuthError.code" } }, { - "id": 1249, + "id": 1296, "name": "name", "kind": 1024, "kindString": "Property", @@ -2560,12 +2749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1148, + "id": 1195, "name": "CustomAuthError.name" } }, { - "id": 1248, + "id": 1295, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -2584,13 +2773,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } }, { - "id": 1250, + "id": 1297, "name": "status", "kind": 1024, "kindString": "Property", @@ -2611,7 +2800,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 1149, + "id": 1196, "name": "CustomAuthError.status" } } @@ -2620,12 +2809,12 @@ { "title": "Constructors", "kind": 512, - "children": [1243] + "children": [1290] }, { "title": "Properties", "kind": 1024, - "children": [1251, 1249, 1248, 1250] + "children": [1298, 1296, 1295, 1297] } ], "sources": [ @@ -2638,20 +2827,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" } ] }, { - "id": 1141, + "id": 1188, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1142, + "id": 1189, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2665,14 +2854,14 @@ ], "signatures": [ { - "id": 1143, + "id": 1190, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1144, + "id": 1191, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2683,7 +2872,7 @@ } }, { - "id": 1145, + "id": 1192, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2694,7 +2883,7 @@ } }, { - "id": 1146, + "id": 1193, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2705,7 +2894,7 @@ } }, { - "id": 1147, + "id": 1194, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -2727,24 +2916,24 @@ ], "type": { "type": "reference", - "id": 1141, + "id": 1188, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 1113, + "id": 1160, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1112, + "id": 1159, "name": "AuthError.constructor" } }, { - "id": 1150, + "id": 1197, "name": "code", "kind": 1024, "kindString": "Property", @@ -2766,10 +2955,6 @@ "type": "intrinsic", "name": "undefined" }, - { - "type": "reference", - "name": "ErrorCode" - }, { "type": "intersection", "types": [ @@ -2780,7 +2965,7 @@ { "type": "reflection", "declaration": { - "id": 1151, + "id": 1198, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2788,17 +2973,21 @@ } } ] + }, + { + "type": "reference", + "name": "ErrorCode" } ] }, "inheritedFrom": { "type": "reference", - "id": 1117, + "id": 1164, "name": "AuthError.code" } }, { - "id": 1148, + "id": 1195, "name": "name", "kind": 1024, "kindString": "Property", @@ -2820,7 +3009,7 @@ } }, { - "id": 1149, + "id": 1196, "name": "status", "kind": 1024, "kindString": "Property", @@ -2841,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1119, + "id": 1166, "name": "AuthError.status" } } @@ -2850,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1142] + "children": [1189] }, { "title": "Properties", "kind": 1024, - "children": [1150, 1148, 1149] + "children": [1197, 1195, 1196] } ], "sources": [ @@ -2868,45 +3057,50 @@ "extendedTypes": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1161, + "id": 1208, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1169, + "id": 1216, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1205, + "id": 1252, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" + }, + { + "type": "reference", + "id": 1301, + "name": "AuthInvalidJwtError" } ] }, @@ -3148,10 +3342,10 @@ ], "type": { "type": "reference", - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -3167,14 +3361,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -3194,17 +3388,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -3227,14 +3421,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -3255,7 +3449,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3280,7 +3474,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -3301,7 +3495,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -3313,14 +3507,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -3330,17 +3524,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -3363,14 +3557,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3395,7 +3589,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -3416,7 +3610,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -3432,7 +3626,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -3477,17 +3671,17 @@ "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -3511,7 +3705,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -3535,7 +3729,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -3562,7 +3756,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -3586,7 +3780,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -3610,7 +3804,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -3638,7 +3832,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -3665,7 +3859,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -3689,7 +3883,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -3716,7 +3910,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -3740,7 +3934,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -3764,7 +3958,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -3792,7 +3986,7 @@ { "title": "Properties", "kind": 1024, - "children": [707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706] + "children": [728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727] } ], "sources": [ @@ -3808,7 +4002,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -3830,7 +4024,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3900,7 +4094,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -3943,10 +4137,10 @@ "flags": {}, "type": { "type": "reference", - "id": 876, + "id": 897, "name": "GenerateLinkParams", "dereferenced": { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3962,7 +4156,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3977,14 +4171,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -4002,7 +4196,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -4021,7 +4215,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -4044,7 +4238,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -4062,7 +4256,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -4084,7 +4278,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -4098,7 +4292,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4113,14 +4307,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -4141,7 +4335,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -4160,7 +4354,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -4183,7 +4377,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -4214,7 +4408,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -4228,7 +4422,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4243,14 +4437,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -4271,7 +4465,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -4290,7 +4484,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -4304,7 +4498,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -4326,7 +4520,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -4340,7 +4534,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4355,14 +4549,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -4383,7 +4577,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -4404,7 +4598,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -4423,7 +4617,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -4437,7 +4631,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -4468,7 +4662,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -4492,7 +4686,7 @@ "typeArguments": [ { "type": "reference", - "id": 877, + "id": 898, "name": "GenerateLinkResponse" } ], @@ -4547,7 +4741,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -4678,7 +4872,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -4727,10 +4921,10 @@ }, "type": { "type": "reference", - "id": 1048, + "id": 1069, "name": "PageParams", "dereferenced": { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -4745,14 +4939,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -4775,7 +4969,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -4802,7 +4996,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -4893,7 +5087,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -4910,7 +5104,7 @@ }, { "type": "reference", - "id": 1041, + "id": 1062, "name": "Pagination" } ] @@ -5018,7 +5212,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -5161,7 +5355,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -5231,17 +5425,17 @@ }, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -5265,7 +5459,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -5289,7 +5483,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -5316,7 +5510,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -5340,7 +5534,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -5364,7 +5558,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -5392,7 +5586,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -5419,7 +5613,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -5443,7 +5637,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5470,7 +5664,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -5494,7 +5688,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -5518,7 +5712,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -5546,7 +5740,7 @@ { "title": "Properties", "kind": 1024, - "children": [707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706] + "children": [728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727] } ], "sources": [ @@ -5562,7 +5756,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -5584,7 +5778,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -5637,7 +5831,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 182, + "line": 191, "character": 2 } ], @@ -5660,10 +5854,10 @@ "flags": {}, "type": { "type": "reference", - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "dereferenced": { - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -5678,14 +5872,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 535, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -5705,7 +5899,7 @@ } }, { - "id": 519, + "id": 540, "name": "debug", "kind": 1024, "kindString": "Property", @@ -5729,7 +5923,7 @@ { "type": "reflection", "declaration": { - "id": 520, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5743,14 +5937,14 @@ ], "signatures": [ { - "id": 521, + "id": 542, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 522, + "id": 543, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5761,7 +5955,7 @@ } }, { - "id": 523, + "id": 544, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -5789,7 +5983,7 @@ } }, { - "id": 513, + "id": 534, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -5809,7 +6003,7 @@ } }, { - "id": 517, + "id": 538, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -5829,7 +6023,7 @@ } }, { - "id": 518, + "id": 539, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -5845,10 +6039,10 @@ ], "type": { "type": "reference", - "id": 779, + "id": 800, "name": "AuthFlowType", "dereferenced": { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -5877,7 +6071,7 @@ } }, { - "id": 525, + "id": 546, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -5906,7 +6100,7 @@ } }, { - "id": 508, + "id": 529, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5923,7 +6117,7 @@ "type": { "type": "reflection", "declaration": { - "id": 509, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5936,14 +6130,14 @@ } ], "indexSignature": { - "id": 510, + "id": 531, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 532, "name": "key", "kind": 32768, "flags": {}, @@ -5962,7 +6156,7 @@ } }, { - "id": 524, + "id": 545, "name": "lock", "kind": 1024, "kindString": "Property", @@ -5987,10 +6181,10 @@ ], "type": { "type": "reference", - "id": 496, + "id": 517, "name": "LockFunc", "dereferenced": { - "id": 496, + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -6005,7 +6199,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6019,7 +6213,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6035,7 +6229,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -6044,7 +6238,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -6058,7 +6252,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -6072,7 +6266,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -6083,7 +6277,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6097,7 +6291,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6107,7 +6301,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -6126,7 +6320,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -6142,7 +6336,7 @@ } }, { - "id": 515, + "id": 536, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -6162,7 +6356,7 @@ } }, { - "id": 516, + "id": 537, "name": "storage", "kind": 1024, "kindString": "Property", @@ -6178,10 +6372,10 @@ ], "type": { "type": "reference", - "id": 1028, + "id": 1049, "name": "SupportedStorage", "dereferenced": { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -6236,14 +6430,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -6270,7 +6464,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -6288,7 +6482,7 @@ } }, { - "id": 512, + "id": 533, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -6308,7 +6502,7 @@ } }, { - "id": 507, + "id": 528, "name": "url", "kind": 1024, "kindString": "Property", @@ -6333,7 +6527,7 @@ "title": "Properties", "kind": 1024, "children": [ - 514, 519, 513, 517, 518, 525, 508, 524, 515, 516, 512, 507 + 535, 540, 534, 538, 539, 546, 529, 545, 536, 537, 533, 528 ] } ], @@ -6370,7 +6564,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 132, + "line": 138, "character": 2 } ], @@ -6616,10 +6810,10 @@ ], "type": { "type": "reference", - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -6635,14 +6829,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -6662,17 +6856,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -6695,14 +6889,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -6723,7 +6917,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -6748,7 +6942,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -6769,7 +6963,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -6781,14 +6975,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -6798,17 +6992,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -6831,14 +7025,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -6863,7 +7057,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -6884,7 +7078,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -6900,7 +7094,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -6945,17 +7139,17 @@ "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -6979,7 +7173,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7003,7 +7197,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -7030,7 +7224,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7054,7 +7248,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -7078,7 +7272,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -7106,7 +7300,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -7133,7 +7327,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -7157,7 +7351,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7184,7 +7378,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7208,7 +7402,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -7232,7 +7426,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7261,7 +7455,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -7278,7 +7472,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -7300,7 +7494,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -7370,7 +7564,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -7413,10 +7607,10 @@ "flags": {}, "type": { "type": "reference", - "id": 876, + "id": 897, "name": "GenerateLinkParams", "dereferenced": { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7432,7 +7626,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7447,14 +7641,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -7472,7 +7666,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -7491,7 +7685,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -7514,7 +7708,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -7532,7 +7726,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -7554,7 +7748,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -7568,7 +7762,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7583,14 +7777,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -7611,7 +7805,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -7630,7 +7824,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -7653,7 +7847,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -7684,7 +7878,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -7698,7 +7892,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7713,14 +7907,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -7741,7 +7935,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -7760,7 +7954,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -7774,7 +7968,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -7796,7 +7990,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -7810,7 +8004,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7825,14 +8019,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -7853,7 +8047,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -7874,7 +8068,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -7893,7 +8087,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -7907,7 +8101,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -7938,7 +8132,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -7962,7 +8156,7 @@ "typeArguments": [ { "type": "reference", - "id": 877, + "id": 898, "name": "GenerateLinkResponse" } ], @@ -8017,7 +8211,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -8148,7 +8342,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -8197,10 +8391,10 @@ }, "type": { "type": "reference", - "id": 1048, + "id": 1069, "name": "PageParams", "dereferenced": { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -8215,14 +8409,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -8245,7 +8439,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -8272,7 +8466,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -8363,7 +8557,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -8380,7 +8574,7 @@ }, { "type": "reference", - "id": 1041, + "id": 1062, "name": "Pagination" } ] @@ -8488,7 +8682,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -8631,7 +8825,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -8701,17 +8895,17 @@ }, "type": { "type": "reference", - "id": 705, + "id": 726, "name": "AdminUserAttributes", "dereferenced": { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8735,7 +8929,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -8759,7 +8953,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -8786,7 +8980,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8810,7 +9004,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -8834,7 +9028,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -8862,7 +9056,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -8889,7 +9083,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -8913,7 +9107,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8940,7 +9134,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -8964,7 +9158,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -8988,7 +9182,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9017,7 +9211,7 @@ "title": "Properties", "kind": 1024, "children": [ - 707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706 + 728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727 ] } ], @@ -9034,7 +9228,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -9056,7 +9250,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -9107,16 +9301,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 136, + "line": 142, "character": 2 } ], "type": { "type": "reference", - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "dereferenced": { - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -9126,14 +9320,14 @@ }, "children": [ { - "id": 980, + "id": 1001, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 981, + "id": 1002, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -9143,17 +9337,17 @@ }, "parameters": [ { - "id": 982, + "id": 1003, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 907, + "id": 928, "name": "MFAChallengeParams", "dereferenced": { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -9168,14 +9362,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -9207,7 +9401,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9232,7 +9426,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -9253,7 +9447,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse" } ], @@ -9265,14 +9459,14 @@ ] }, { - "id": 989, + "id": 1010, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 990, + "id": 1011, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -9282,17 +9476,17 @@ }, "parameters": [ { - "id": 991, + "id": 1012, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -9307,14 +9501,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -9335,7 +9529,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9360,7 +9554,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -9381,7 +9575,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -9393,14 +9587,14 @@ ] }, { - "id": 973, + "id": 994, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 974, + "id": 995, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -9411,17 +9605,17 @@ }, "parameters": [ { - "id": 975, + "id": 996, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -9436,14 +9630,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9464,7 +9658,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9487,7 +9681,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -9514,7 +9708,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -9535,7 +9729,7 @@ "typeArguments": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -9545,24 +9739,24 @@ } }, { - "id": 976, + "id": 997, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 998, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -9577,14 +9771,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9605,7 +9799,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9628,7 +9822,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9653,7 +9847,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -9674,7 +9868,7 @@ "typeArguments": [ { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -9684,24 +9878,24 @@ } }, { - "id": 978, + "id": 999, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 979, + "id": 1000, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 898, + "id": 919, "name": "MFAEnrollParams", "dereferenced": { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -9717,7 +9911,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -9732,14 +9926,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9760,7 +9954,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9783,7 +9977,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -9810,7 +10004,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -9824,7 +10018,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -9839,14 +10033,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9867,7 +10061,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9890,7 +10084,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9915,7 +10109,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -9939,7 +10133,7 @@ "typeArguments": [ { "type": "reference", - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse" } ], @@ -9951,14 +10145,14 @@ ] }, { - "id": 994, + "id": 1015, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 995, + "id": 1016, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -9972,7 +10166,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -9984,14 +10178,14 @@ ] }, { - "id": 992, + "id": 1013, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 993, + "id": 1014, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10018,7 +10212,7 @@ "typeArguments": [ { "type": "reference", - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse" } ], @@ -10030,14 +10224,14 @@ ] }, { - "id": 986, + "id": 1007, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 987, + "id": 1008, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -10047,17 +10241,17 @@ }, "parameters": [ { - "id": 988, + "id": 1009, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "dereferenced": { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -10072,14 +10266,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10104,7 +10298,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -10125,7 +10319,7 @@ "typeArguments": [ { "type": "reference", - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse" } ], @@ -10137,14 +10331,14 @@ ] }, { - "id": 983, + "id": 1004, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 984, + "id": 1005, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -10154,17 +10348,17 @@ }, "parameters": [ { - "id": 985, + "id": 1006, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 902, + "id": 923, "name": "MFAVerifyParams", "dereferenced": { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -10179,14 +10373,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -10207,7 +10401,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -10228,7 +10422,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10253,7 +10447,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -10274,7 +10468,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -10290,7 +10484,7 @@ { "title": "Methods", "kind": 2048, - "children": [980, 989, 973, 994, 992, 986, 983] + "children": [1001, 1010, 994, 1015, 1013, 1007, 1004] } ], "sources": [ @@ -10304,7 +10498,7 @@ } }, { - "id": 144, + "id": 147, "name": "exchangeCodeForSession", "kind": 2048, "kindString": "Method", @@ -10312,13 +10506,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 584, + "line": 593, "character": 8 } ], "signatures": [ { - "id": 145, + "id": 148, "name": "exchangeCodeForSession", "kind": 4096, "kindString": "Call signature", @@ -10328,7 +10522,7 @@ }, "parameters": [ { - "id": 146, + "id": 149, "name": "authCode", "kind": 32768, "kindString": "Parameter", @@ -10344,7 +10538,7 @@ "typeArguments": [ { "type": "reference", - "id": 574, + "id": 595, "name": "AuthTokenResponse" } ], @@ -10356,7 +10550,358 @@ ] }, { - "id": 183, + "id": 477, + "name": "getClaims", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2636, + "character": 8 + } + ], + "signatures": [ + { + "id": 478, + "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" + } + ] + }, + "parameters": [ + { + "id": 479, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 480, + "name": "jwks", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 482, + "name": "keys", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2638, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1133, + "name": "JWK" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [482] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 483, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 484, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 486, + "name": "claims", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 1129, + "name": "JwtPayload" + } + }, + { + "id": 487, + "name": "header", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 36 + } + ], + "type": { + "type": "reference", + "id": 1114, + "name": "JwtHeader" + } + }, + { + "id": 488, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2641, + "character": 55 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [486, 487, 488] + } + ] + } + } + }, + { + "id": 489, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2642, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [484, 489] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 490, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 491, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 492, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2644, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [491, 492] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 493, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 494, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 495, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 2645, + "character": 20 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [494, 495] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 186, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -10364,13 +10909,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 935, + "line": 944, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 187, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -10388,158 +10933,18 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 186, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1028, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 188, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1029, - "character": 14 - } - ], - "type": { - "type": "reference", - "id": 635, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [188] - } - ] - } - } - }, { "id": 189, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1031, - "character": 12 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [186, 189] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1034, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 193, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1035, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [193] - } - ] - } - } - }, - { - "id": 194, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -10547,55 +10952,17 @@ "character": 12 } ], - "type": { - "type": "reference", - "id": 1111, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [191, 194] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 195, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 196, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1040, - "character": 12 - } - ], "type": { "type": "reflection", "declaration": { - "id": 197, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 198, + "id": 191, "name": "session", "kind": 1024, "kindString": "Property", @@ -10603,13 +10970,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1041, + "line": 1038, "character": 14 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 656, + "name": "Session" } } ], @@ -10617,14 +10985,14 @@ { "title": "Properties", "kind": 1024, - "children": [198] + "children": [191] } ] } } }, { - "id": 199, + "id": 192, "name": "error", "kind": 1024, "kindString": "Property", @@ -10632,7 +11000,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1043, + "line": 1040, "character": 12 } ], @@ -10646,7 +11014,184 @@ { "title": "Properties", "kind": 1024, - "children": [196, 199] + "children": [189, 192] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 193, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 194, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1043, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 195, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 196, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1044, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [196] + } + ] + } + } + }, + { + "id": 197, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1046, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1158, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [194, 197] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 198, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 199, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1049, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 200, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 201, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1050, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [201] + } + ] + } + } + }, + { + "id": 202, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1052, + "character": 12 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [199, 202] } ] } @@ -10662,7 +11207,7 @@ ] }, { - "id": 246, + "id": 249, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -10670,13 +11215,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1166, + "line": 1175, "character": 8 } ], "signatures": [ { - "id": 247, + "id": 250, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -10686,7 +11231,7 @@ }, "parameters": [ { - "id": 248, + "id": 251, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10707,7 +11252,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -10719,7 +11264,7 @@ ] }, { - "id": 362, + "id": 358, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -10727,13 +11272,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1735, + "line": 1733, "character": 8 } ], "signatures": [ { - "id": 363, + "id": 359, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -10750,14 +11295,14 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 365, + "id": 361, "name": "data", "kind": 1024, "kindString": "Property", @@ -10765,21 +11310,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1737, + "line": 1735, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 367, + "id": 363, "name": "identities", "kind": 1024, "kindString": "Property", @@ -10787,7 +11332,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1738, + "line": 1736, "character": 10 } ], @@ -10795,7 +11340,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } @@ -10805,18 +11350,55 @@ { "title": "Properties", "kind": 1024, - "children": [367] + "children": [363] } ] } } }, { - "id": 368, + "id": 364, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1738, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [361, 364] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 366, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -10828,46 +11410,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365, 368] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 370, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1742, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 371, + "id": 367, "name": "error", "kind": 1024, "kindString": "Property", @@ -10875,13 +11420,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1742, + "line": 1740, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -10890,7 +11435,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371] + "children": [366, 367] } ] } @@ -10906,7 +11451,7 @@ ] }, { - "id": 128, + "id": 131, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -10914,13 +11459,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 286, + "line": 295, "character": 8 } ], "signatures": [ { - "id": 129, + "id": 132, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -10933,7 +11478,7 @@ "typeArguments": [ { "type": "reference", - "id": 1031, + "id": 1052, "name": "InitializeResult" } ], @@ -10945,7 +11490,7 @@ ] }, { - "id": 372, + "id": 368, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -10953,13 +11498,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1759, + "line": 1757, "character": 8 } ], "signatures": [ { - "id": 373, + "id": 369, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -10969,17 +11514,17 @@ }, "parameters": [ { - "id": 374, + "id": 370, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10994,14 +11539,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -11018,14 +11563,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -11045,7 +11590,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11058,14 +11603,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -11084,7 +11629,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11107,7 +11652,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -11130,7 +11675,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -11157,7 +11702,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -11171,7 +11716,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11188,10 +11733,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -11307,7 +11852,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -11328,7 +11873,7 @@ "typeArguments": [ { "type": "reference", - "id": 602, + "id": 623, "name": "OAuthResponse" } ], @@ -11340,7 +11885,7 @@ ] }, { - "id": 334, + "id": 330, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -11348,13 +11893,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1633, + "line": 1631, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 331, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -11364,7 +11909,7 @@ }, "parameters": [ { - "id": 336, + "id": 332, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11375,33 +11920,33 @@ "type": { "type": "reflection", "declaration": { - "id": 337, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 338, + "id": 334, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 339, + "id": 335, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent" } }, { - "id": 340, + "id": 336, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -11415,7 +11960,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -11452,14 +11997,14 @@ "type": { "type": "reflection", "declaration": { - "id": 341, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -11467,21 +12012,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 340, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -11489,23 +12034,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1636, + "line": 1634, "character": 12 } ], "type": { "type": "reference", - "id": 718, + "id": 739, "name": "Subscription", "dereferenced": { - "id": 718, + "id": 739, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 719, + "id": 740, "name": "id", "kind": 1024, "kindString": "Property", @@ -11526,7 +12071,7 @@ } }, { - "id": 720, + "id": 741, "name": "callback", "kind": 2048, "kindString": "Method", @@ -11540,7 +12085,7 @@ ], "signatures": [ { - "id": 721, + "id": 742, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -11550,17 +12095,17 @@ }, "parameters": [ { - "id": 722, + "id": 743, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent", "dereferenced": { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -11600,7 +12145,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -11623,7 +12168,7 @@ } }, { - "id": 723, + "id": 744, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -11637,7 +12182,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -11652,7 +12197,7 @@ ] }, { - "id": 724, + "id": 745, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -11666,7 +12211,7 @@ ], "signatures": [ { - "id": 725, + "id": 746, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -11686,12 +12231,12 @@ { "title": "Properties", "kind": 1024, - "children": [719] + "children": [740] }, { "title": "Methods", "kind": 2048, - "children": [720, 724] + "children": [741, 745] } ], "sources": [ @@ -11709,7 +12254,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [340] } ] } @@ -11720,7 +12265,7 @@ { "title": "Properties", "kind": 1024, - "children": [342] + "children": [338] } ] } @@ -11729,7 +12274,7 @@ ] }, { - "id": 176, + "id": 179, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -11737,13 +12282,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 851, + "line": 860, "character": 8 } ], "signatures": [ { - "id": 177, + "id": 180, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -11756,7 +12301,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -11768,7 +12313,7 @@ ] }, { - "id": 283, + "id": 279, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -11776,13 +12321,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 8 } ], "signatures": [ { - "id": 284, + "id": 280, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -11792,7 +12337,7 @@ }, "parameters": [ { - "id": 285, + "id": 281, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -11805,14 +12350,14 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 283, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -11820,7 +12365,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1382, + "line": 1380, "character": 42 } ], @@ -11834,7 +12379,7 @@ { "title": "Properties", "kind": 1024, - "children": [287] + "children": [283] } ] } @@ -11846,7 +12391,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -11858,7 +12403,7 @@ ] }, { - "id": 180, + "id": 183, "name": "resend", "kind": 2048, "kindString": "Method", @@ -11866,13 +12411,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 895, "character": 8 } ], "signatures": [ { - "id": 181, + "id": 184, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -11882,17 +12427,17 @@ }, "parameters": [ { - "id": 182, + "id": 185, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 824, + "id": 845, "name": "ResendParams", "dereferenced": { - "id": 824, + "id": 845, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -11910,14 +12455,14 @@ { "type": "reflection", "declaration": { - "id": 825, + "id": 846, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 827, + "id": 848, "name": "email", "kind": 1024, "kindString": "Property", @@ -11935,7 +12480,7 @@ } }, { - "id": 828, + "id": 849, "name": "options", "kind": 1024, "kindString": "Property", @@ -11952,14 +12497,14 @@ "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 850, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11982,7 +12527,7 @@ } }, { - "id": 830, + "id": 851, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12009,7 +12554,7 @@ { "title": "Properties", "kind": 1024, - "children": [831, 830] + "children": [852, 851] } ], "sources": [ @@ -12023,7 +12568,7 @@ } }, { - "id": 826, + "id": 847, "name": "type", "kind": 1024, "kindString": "Property", @@ -12040,7 +12585,7 @@ "typeArguments": [ { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" }, { @@ -12067,7 +12612,7 @@ { "title": "Properties", "kind": 1024, - "children": [827, 828, 826] + "children": [848, 849, 847] } ], "sources": [ @@ -12082,14 +12627,14 @@ { "type": "reflection", "declaration": { - "id": 832, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 835, + "id": 856, "name": "options", "kind": 1024, "kindString": "Property", @@ -12106,14 +12651,14 @@ "type": { "type": "reflection", "declaration": { - "id": 836, + "id": 857, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 858, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12140,7 +12685,7 @@ { "title": "Properties", "kind": 1024, - "children": [837] + "children": [858] } ], "sources": [ @@ -12154,7 +12699,7 @@ } }, { - "id": 834, + "id": 855, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12172,7 +12717,7 @@ } }, { - "id": 833, + "id": 854, "name": "type", "kind": 1024, "kindString": "Property", @@ -12189,7 +12734,7 @@ "typeArguments": [ { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" }, { @@ -12216,7 +12761,7 @@ { "title": "Properties", "kind": 1024, - "children": [835, 834, 833] + "children": [856, 855, 854] } ], "sources": [ @@ -12239,7 +12784,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -12251,7 +12796,7 @@ ] }, { - "id": 348, + "id": 344, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -12259,13 +12804,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1689, + "line": 1687, "character": 8 } ], "signatures": [ { - "id": 349, + "id": 345, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -12275,7 +12820,7 @@ }, "parameters": [ { - "id": 350, + "id": 346, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12289,7 +12834,7 @@ } }, { - "id": 351, + "id": 347, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12297,14 +12842,14 @@ "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 354, + "id": 350, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12317,7 +12862,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1693, + "line": 1691, "character": 6 } ], @@ -12327,7 +12872,7 @@ } }, { - "id": 353, + "id": 349, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12340,7 +12885,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1692, + "line": 1690, "character": 6 } ], @@ -12354,7 +12899,7 @@ { "title": "Properties", "kind": 1024, - "children": [354, 353] + "children": [350, 349] } ] } @@ -12368,6 +12913,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 352, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1695, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 353, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 354, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1696, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [352, 354] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -12383,30 +12989,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1697, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 357, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 358, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -12418,46 +13000,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [356, 358] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 360, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1700, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 361, + "id": 357, "name": "error", "kind": 1024, "kindString": "Property", @@ -12465,13 +13010,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1700, + "line": 1698, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -12480,7 +13025,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 361] + "children": [356, 357] } ] } @@ -12496,7 +13041,7 @@ ] }, { - "id": 271, + "id": 267, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -12504,13 +13049,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1305, "character": 8 } ], "signatures": [ { - "id": 272, + "id": 268, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -12520,7 +13065,7 @@ }, "parameters": [ { - "id": 273, + "id": 269, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -12531,14 +13076,14 @@ "type": { "type": "reflection", "declaration": { - "id": 274, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 271, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -12546,7 +13091,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1308, + "line": 1306, "character": 4 } ], @@ -12556,7 +13101,7 @@ } }, { - "id": 276, + "id": 272, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -12564,7 +13109,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1309, + "line": 1307, "character": 4 } ], @@ -12578,7 +13123,7 @@ { "title": "Properties", "kind": 1024, - "children": [275, 276] + "children": [271, 272] } ] } @@ -12590,7 +13135,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -12602,7 +13147,7 @@ ] }, { - "id": 132, + "id": 135, "name": "signInAnonymously", "kind": 2048, "kindString": "Method", @@ -12610,13 +13155,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 389, + "line": 398, "character": 8 } ], "signatures": [ { - "id": 133, + "id": 136, "name": "signInAnonymously", "kind": 4096, "kindString": "Call signature", @@ -12627,7 +13172,7 @@ }, "parameters": [ { - "id": 134, + "id": 137, "name": "credentials", "kind": 32768, "kindString": "Parameter", @@ -12636,10 +13181,10 @@ }, "type": { "type": "reference", - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12654,14 +13199,14 @@ "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 748, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 728, + "id": 749, "name": "options", "kind": 1024, "kindString": "Property", @@ -12678,14 +13223,14 @@ "type": { "type": "reflection", "declaration": { - "id": 729, + "id": 750, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 731, + "id": 752, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12708,7 +13253,7 @@ } }, { - "id": 730, + "id": 751, "name": "data", "kind": 1024, "kindString": "Property", @@ -12736,7 +13281,7 @@ { "title": "Properties", "kind": 1024, - "children": [731, 730] + "children": [752, 751] } ], "sources": [ @@ -12754,7 +13299,7 @@ { "title": "Properties", "kind": 1024, - "children": [728] + "children": [749] } ], "sources": [ @@ -12775,7 +13320,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -12787,7 +13332,7 @@ ] }, { - "id": 164, + "id": 167, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -12795,13 +13340,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 644, + "line": 653, "character": 8 } ], "signatures": [ { - "id": 165, + "id": 168, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -12811,17 +13356,17 @@ }, "parameters": [ { - "id": 166, + "id": 169, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12836,14 +13381,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 814, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 797, + "id": 818, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -12866,7 +13411,7 @@ } }, { - "id": 798, + "id": 819, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -12889,7 +13434,7 @@ } }, { - "id": 799, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -12906,14 +13451,14 @@ "type": { "type": "reflection", "declaration": { - "id": 800, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12940,7 +13485,7 @@ { "title": "Properties", "kind": 1024, - "children": [801] + "children": [822] } ], "sources": [ @@ -12954,7 +13499,7 @@ } }, { - "id": 794, + "id": 815, "name": "provider", "kind": 1024, "kindString": "Property", @@ -13002,7 +13547,7 @@ { "type": "reflection", "declaration": { - "id": 795, + "id": 816, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13022,7 +13567,7 @@ } }, { - "id": 796, + "id": 817, "name": "token", "kind": 1024, "kindString": "Property", @@ -13047,7 +13592,7 @@ { "title": "Properties", "kind": 1024, - "children": [797, 798, 799, 794, 796] + "children": [818, 819, 820, 815, 817] } ], "sources": [ @@ -13068,7 +13613,7 @@ "typeArguments": [ { "type": "reference", - "id": 574, + "id": 595, "name": "AuthTokenResponse" } ], @@ -13080,7 +13625,7 @@ ] }, { - "id": 141, + "id": 144, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -13088,13 +13633,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 572, + "line": 581, "character": 8 } ], "signatures": [ { - "id": 142, + "id": 145, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -13104,17 +13649,17 @@ }, "parameters": [ { - "id": 143, + "id": 146, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13129,14 +13674,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -13153,14 +13698,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -13180,7 +13725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13193,14 +13738,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -13219,7 +13764,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13242,7 +13787,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -13265,7 +13810,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -13292,7 +13837,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -13306,7 +13851,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -13323,10 +13868,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -13442,7 +13987,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -13463,7 +14008,7 @@ "typeArguments": [ { "type": "reference", - "id": 602, + "id": 623, "name": "OAuthResponse" } ], @@ -13475,7 +14020,7 @@ ] }, { - "id": 167, + "id": 170, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -13483,13 +14028,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 699, + "line": 708, "character": 8 } ], "signatures": [ { - "id": 168, + "id": 171, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -13500,17 +14045,17 @@ }, "parameters": [ { - "id": 169, + "id": 172, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13528,14 +14073,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 785, "name": "email", "kind": 1024, "kindString": "Property", @@ -13556,7 +14101,7 @@ } }, { - "id": 765, + "id": 786, "name": "options", "kind": 1024, "kindString": "Property", @@ -13573,14 +14118,14 @@ "type": { "type": "reflection", "declaration": { - "id": 766, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 791, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13603,7 +14148,7 @@ } }, { - "id": 769, + "id": 790, "name": "data", "kind": 1024, "kindString": "Property", @@ -13627,7 +14172,7 @@ } }, { - "id": 767, + "id": 788, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -13650,7 +14195,7 @@ } }, { - "id": 768, + "id": 789, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -13677,7 +14222,7 @@ { "title": "Properties", "kind": 1024, - "children": [770, 769, 767, 768] + "children": [791, 790, 788, 789] } ], "sources": [ @@ -13695,7 +14240,7 @@ { "title": "Properties", "kind": 1024, - "children": [764, 765] + "children": [785, 786] } ], "sources": [ @@ -13710,14 +14255,14 @@ { "type": "reflection", "declaration": { - "id": 771, + "id": 792, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 773, + "id": 794, "name": "options", "kind": 1024, "kindString": "Property", @@ -13734,14 +14279,14 @@ "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 777, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13764,7 +14309,7 @@ } }, { - "id": 778, + "id": 799, "name": "channel", "kind": 1024, "kindString": "Property", @@ -13796,7 +14341,7 @@ } }, { - "id": 776, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -13820,7 +14365,7 @@ } }, { - "id": 775, + "id": 796, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -13847,7 +14392,7 @@ { "title": "Properties", "kind": 1024, - "children": [777, 778, 776, 775] + "children": [798, 799, 797, 796] } ], "sources": [ @@ -13861,7 +14406,7 @@ } }, { - "id": 772, + "id": 793, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13886,7 +14431,7 @@ { "title": "Properties", "kind": 1024, - "children": [773, 772] + "children": [794, 793] } ], "sources": [ @@ -13909,7 +14454,7 @@ "typeArguments": [ { "type": "reference", - "id": 559, + "id": 580, "name": "AuthOtpResponse" } ], @@ -13921,7 +14466,7 @@ ] }, { - "id": 138, + "id": 141, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -13929,13 +14474,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 509, + "line": 518, "character": 8 } ], "signatures": [ { - "id": 139, + "id": 142, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -13946,17 +14491,17 @@ }, "parameters": [ { - "id": 140, + "id": 143, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13974,14 +14519,14 @@ { "type": "reflection", "declaration": { - "id": 750, + "id": 771, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 772, "name": "email", "kind": 1024, "kindString": "Property", @@ -14002,7 +14547,7 @@ } }, { - "id": 753, + "id": 774, "name": "options", "kind": 1024, "kindString": "Property", @@ -14019,14 +14564,14 @@ "type": { "type": "reflection", "declaration": { - "id": 754, + "id": 775, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 776, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14053,7 +14598,7 @@ { "title": "Properties", "kind": 1024, - "children": [755] + "children": [776] } ], "sources": [ @@ -14067,7 +14612,7 @@ } }, { - "id": 752, + "id": 773, "name": "password", "kind": 1024, "kindString": "Property", @@ -14092,7 +14637,7 @@ { "title": "Properties", "kind": 1024, - "children": [751, 753, 752] + "children": [772, 774, 773] } ], "sources": [ @@ -14107,14 +14652,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 777, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 780, "name": "options", "kind": 1024, "kindString": "Property", @@ -14131,14 +14676,14 @@ "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 761, + "id": 782, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14165,7 +14710,7 @@ { "title": "Properties", "kind": 1024, - "children": [761] + "children": [782] } ], "sources": [ @@ -14179,7 +14724,7 @@ } }, { - "id": 758, + "id": 779, "name": "password", "kind": 1024, "kindString": "Property", @@ -14200,7 +14745,7 @@ } }, { - "id": 757, + "id": 778, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14225,7 +14770,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 757] + "children": [780, 779, 778] } ], "sources": [ @@ -14248,7 +14793,7 @@ "typeArguments": [ { "type": "reference", - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword" } ], @@ -14260,7 +14805,7 @@ ] }, { - "id": 173, + "id": 176, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -14268,13 +14813,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 813, + "line": 822, "character": 8 } ], "signatures": [ { - "id": 174, + "id": 177, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -14285,17 +14830,17 @@ }, "parameters": [ { - "id": 175, + "id": 178, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 838, + "id": 859, "name": "SignInWithSSO", "dereferenced": { - "id": 838, + "id": 859, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -14313,14 +14858,14 @@ { "type": "reflection", "declaration": { - "id": 839, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 862, "name": "options", "kind": 1024, "kindString": "Property", @@ -14337,14 +14882,14 @@ "type": { "type": "reflection", "declaration": { - "id": 842, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 865, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14367,7 +14912,7 @@ } }, { - "id": 843, + "id": 864, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14394,7 +14939,7 @@ { "title": "Properties", "kind": 1024, - "children": [844, 843] + "children": [865, 864] } ], "sources": [ @@ -14408,7 +14953,7 @@ } }, { - "id": 840, + "id": 861, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -14433,7 +14978,7 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [862, 861] } ], "sources": [ @@ -14448,14 +14993,14 @@ { "type": "reflection", "declaration": { - "id": 845, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 846, + "id": 867, "name": "domain", "kind": 1024, "kindString": "Property", @@ -14476,7 +15021,7 @@ } }, { - "id": 847, + "id": 868, "name": "options", "kind": 1024, "kindString": "Property", @@ -14493,14 +15038,14 @@ "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 869, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 871, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14523,7 +15068,7 @@ } }, { - "id": 849, + "id": 870, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14550,7 +15095,7 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [871, 870] } ], "sources": [ @@ -14568,7 +15113,7 @@ { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [867, 868] } ], "sources": [ @@ -14591,7 +15136,7 @@ "typeArguments": [ { "type": "reference", - "id": 615, + "id": 636, "name": "SSOResponse" } ], @@ -14603,7 +15148,7 @@ ] }, { - "id": 324, + "id": 320, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -14611,13 +15156,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 8 } ], "signatures": [ { - "id": 325, + "id": 321, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -14628,17 +15173,17 @@ }, "parameters": [ { - "id": 326, + "id": 322, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1052, + "id": 1073, "name": "SignOut", "dereferenced": { - "id": 1052, + "id": 1073, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -14653,14 +15198,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1053, + "id": 1074, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1054, + "id": 1075, "name": "scope", "kind": 1024, "kindString": "Property", @@ -14700,7 +15245,7 @@ { "title": "Properties", "kind": 1024, - "children": [1054] + "children": [1075] } ], "sources": [ @@ -14723,14 +15268,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 324, "name": "error", "kind": 1024, "kindString": "Property", @@ -14738,7 +15283,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1589, + "line": 1587, "character": 67 } ], @@ -14751,7 +15296,7 @@ }, { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } ] @@ -14762,7 +15307,7 @@ { "title": "Properties", "kind": 1024, - "children": [328] + "children": [324] } ] } @@ -14776,7 +15321,7 @@ ] }, { - "id": 135, + "id": 138, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -14784,13 +15329,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 432, + "line": 441, "character": 8 } ], "signatures": [ { - "id": 136, + "id": 139, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -14802,17 +15347,17 @@ }, "parameters": [ { - "id": 137, + "id": 140, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -14830,14 +15375,14 @@ { "type": "reflection", "declaration": { - "id": 733, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 734, + "id": 755, "name": "email", "kind": 1024, "kindString": "Property", @@ -14858,7 +15403,7 @@ } }, { - "id": 736, + "id": 757, "name": "options", "kind": 1024, "kindString": "Property", @@ -14875,14 +15420,14 @@ "type": { "type": "reflection", "declaration": { - "id": 737, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 740, + "id": 761, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14905,7 +15450,7 @@ } }, { - "id": 739, + "id": 760, "name": "data", "kind": 1024, "kindString": "Property", @@ -14929,7 +15474,7 @@ } }, { - "id": 738, + "id": 759, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -14956,7 +15501,7 @@ { "title": "Properties", "kind": 1024, - "children": [740, 739, 738] + "children": [761, 760, 759] } ], "sources": [ @@ -14970,7 +15515,7 @@ } }, { - "id": 735, + "id": 756, "name": "password", "kind": 1024, "kindString": "Property", @@ -14995,7 +15540,7 @@ { "title": "Properties", "kind": 1024, - "children": [734, 736, 735] + "children": [755, 757, 756] } ], "sources": [ @@ -15010,14 +15555,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 765, "name": "options", "kind": 1024, "kindString": "Property", @@ -15034,14 +15579,14 @@ "type": { "type": "reflection", "declaration": { - "id": 745, + "id": 766, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 747, + "id": 768, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15064,7 +15609,7 @@ } }, { - "id": 748, + "id": 769, "name": "channel", "kind": 1024, "kindString": "Property", @@ -15096,7 +15641,7 @@ } }, { - "id": 746, + "id": 767, "name": "data", "kind": 1024, "kindString": "Property", @@ -15124,7 +15669,7 @@ { "title": "Properties", "kind": 1024, - "children": [747, 748, 746] + "children": [768, 769, 767] } ], "sources": [ @@ -15138,7 +15683,7 @@ } }, { - "id": 743, + "id": 764, "name": "password", "kind": 1024, "kindString": "Property", @@ -15159,7 +15704,7 @@ } }, { - "id": 742, + "id": 763, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15184,7 +15729,7 @@ { "title": "Properties", "kind": 1024, - "children": [744, 743, 742] + "children": [765, 764, 763] } ], "sources": [ @@ -15207,7 +15752,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -15219,7 +15764,7 @@ ] }, { - "id": 430, + "id": 426, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -15227,13 +15772,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2174, + "line": 2172, "character": 8 } ], "signatures": [ { - "id": 431, + "id": 427, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -15258,7 +15803,7 @@ ] }, { - "id": 432, + "id": 428, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -15266,13 +15811,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2187, + "line": 2185, "character": 8 } ], "signatures": [ { - "id": 433, + "id": 429, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -15297,7 +15842,7 @@ ] }, { - "id": 375, + "id": 371, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -15305,13 +15850,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1795, + "line": 1793, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 372, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -15321,24 +15866,24 @@ }, "parameters": [ { - "id": 377, + "id": 373, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity", "dereferenced": { - "id": 648, + "id": 669, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 657, + "id": 678, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -15358,7 +15903,7 @@ } }, { - "id": 649, + "id": 670, "name": "id", "kind": 1024, "kindString": "Property", @@ -15376,7 +15921,7 @@ } }, { - "id": 651, + "id": 672, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -15393,20 +15938,20 @@ "type": { "type": "reflection", "declaration": { - "id": 652, + "id": 673, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 653, + "id": 674, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 675, "name": "key", "kind": 32768, "flags": {}, @@ -15425,7 +15970,7 @@ } }, { - "id": 655, + "id": 676, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -15443,7 +15988,7 @@ } }, { - "id": 658, + "id": 679, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -15463,7 +16008,7 @@ } }, { - "id": 656, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15481,7 +16026,7 @@ } }, { - "id": 659, + "id": 680, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -15501,7 +16046,7 @@ } }, { - "id": 650, + "id": 671, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -15523,7 +16068,7 @@ { "title": "Properties", "kind": 1024, - "children": [657, 649, 651, 655, 658, 656, 659, 650] + "children": [678, 670, 672, 676, 679, 677, 680, 671] } ], "sources": [ @@ -15543,6 +16088,67 @@ { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1795, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 377, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1796, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 377] + } + ] + } + }, { "type": "reflection", "declaration": { @@ -15558,30 +16164,6 @@ "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1797, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 380, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 381, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -15593,46 +16175,9 @@ "type": "literal", "value": null } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [379, 381] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 382, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 383, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1800, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } }, { - "id": 384, + "id": 380, "name": "error", "kind": 1024, "kindString": "Property", @@ -15640,13 +16185,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1800, + "line": 1798, "character": 20 } ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -15655,7 +16200,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 384] + "children": [379, 380] } ] } @@ -15671,7 +16216,7 @@ ] }, { - "id": 252, + "id": 255, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -15679,13 +16224,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1227, + "line": 1236, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 256, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -15695,24 +16240,24 @@ }, "parameters": [ { - "id": 254, + "id": 257, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes", "dereferenced": { - "id": 699, + "id": 720, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 725, "name": "data", "kind": 1024, "kindString": "Property", @@ -15736,7 +16281,7 @@ } }, { - "id": 700, + "id": 721, "name": "email", "kind": 1024, "kindString": "Property", @@ -15759,7 +16304,7 @@ } }, { - "id": 703, + "id": 724, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -15783,7 +16328,7 @@ } }, { - "id": 702, + "id": 723, "name": "password", "kind": 1024, "kindString": "Property", @@ -15806,7 +16351,7 @@ } }, { - "id": 701, + "id": 722, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15833,7 +16378,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 700, 703, 702, 701] + "children": [725, 721, 724, 723, 722] } ], "sources": [ @@ -15847,7 +16392,7 @@ } }, { - "id": 255, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15855,14 +16400,14 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 257, + "id": 260, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -15872,7 +16417,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1230, + "line": 1239, "character": 6 } ], @@ -15886,7 +16431,7 @@ { "title": "Properties", "kind": 1024, - "children": [257] + "children": [260] } ] } @@ -15899,7 +16444,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 645, "name": "UserResponse" } ], @@ -15911,7 +16456,7 @@ ] }, { - "id": 170, + "id": 173, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -15919,13 +16464,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 752, + "line": 761, "character": 8 } ], "signatures": [ { - "id": 171, + "id": 174, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -15935,17 +16480,17 @@ }, "parameters": [ { - "id": 172, + "id": 175, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 802, + "id": 823, "name": "VerifyOtpParams", "dereferenced": { - "id": 802, + "id": 823, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -15961,14 +16506,14 @@ "type": "union", "types": [ { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -15985,14 +16530,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16021,7 +16566,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16048,14 +16593,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16076,7 +16621,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -16097,7 +16642,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -16114,10 +16659,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16150,7 +16695,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -16162,14 +16707,14 @@ ] }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -16190,7 +16735,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -16207,14 +16752,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16243,7 +16788,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16270,14 +16815,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -16298,7 +16843,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -16315,10 +16860,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16367,7 +16912,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -16379,14 +16924,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -16407,7 +16952,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -16424,10 +16969,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16476,7 +17021,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -16498,7 +17043,7 @@ "typeArguments": [ { "type": "reference", - "id": 532, + "id": 553, "name": "AuthResponse" } ], @@ -16525,42 +17070,42 @@ "title": "Methods", "kind": 2048, "children": [ - 144, 183, 246, 362, 128, 372, 334, 176, 283, 180, 348, 271, 132, 164, 141, 167, 138, - 173, 324, 135, 430, 432, 375, 252, 170 + 147, 477, 186, 249, 358, 131, 368, 330, 179, 279, 183, 344, 267, 135, 167, 144, 170, + 141, 176, 320, 138, 426, 428, 371, 255, 173 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 123, + "line": 129, "character": 21 } ] }, { - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 486, + "id": 507, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 487, + "id": 508, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 488, + "id": 509, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -16573,7 +17118,7 @@ ], "type": { "type": "reference", - "id": 485, + "id": 506, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -16588,7 +17133,7 @@ } }, { - "id": 489, + "id": 510, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -16618,12 +17163,12 @@ { "title": "Constructors", "kind": 512, - "children": [486] + "children": [507] }, { "title": "Properties", "kind": 1024, - "children": [489] + "children": [510] } ], "sources": [ @@ -16641,7 +17186,7 @@ ] }, { - "id": 644, + "id": 665, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -16658,7 +17203,7 @@ }, "children": [ { - "id": 645, + "id": 666, "name": "method", "kind": 1024, "kindString": "Property", @@ -16690,7 +17235,7 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 667, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16715,7 +17260,7 @@ } }, { - "id": 647, + "id": 668, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -16740,7 +17285,7 @@ { "title": "Properties", "kind": 1024, - "children": [645, 647] + "children": [666, 668] } ], "sources": [ @@ -16752,14 +17297,14 @@ ] }, { - "id": 705, + "id": 726, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 707, + "id": 728, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -16783,7 +17328,7 @@ } }, { - "id": 710, + "id": 731, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -16807,7 +17352,7 @@ } }, { - "id": 717, + "id": 738, "name": "email", "kind": 1024, "kindString": "Property", @@ -16834,7 +17379,7 @@ } }, { - "id": 708, + "id": 729, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -16858,7 +17403,7 @@ } }, { - "id": 713, + "id": 734, "name": "id", "kind": 1024, "kindString": "Property", @@ -16882,7 +17427,7 @@ } }, { - "id": 715, + "id": 736, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16910,7 +17455,7 @@ } }, { - "id": 714, + "id": 735, "name": "password", "kind": 1024, "kindString": "Property", @@ -16937,7 +17482,7 @@ } }, { - "id": 712, + "id": 733, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -16961,7 +17506,7 @@ } }, { - "id": 716, + "id": 737, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16988,7 +17533,7 @@ } }, { - "id": 709, + "id": 730, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -17012,7 +17557,7 @@ } }, { - "id": 711, + "id": 732, "name": "role", "kind": 1024, "kindString": "Property", @@ -17036,7 +17581,7 @@ } }, { - "id": 706, + "id": 727, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -17064,7 +17609,7 @@ { "title": "Properties", "kind": 1024, - "children": [707, 710, 717, 708, 713, 715, 714, 712, 716, 709, 711, 706] + "children": [728, 731, 738, 729, 734, 736, 735, 733, 737, 730, 732, 727] } ], "sources": [ @@ -17080,7 +17625,7 @@ "typeArguments": [ { "type": "reference", - "id": 699, + "id": 720, "name": "UserAttributes" }, { @@ -17095,7 +17640,7 @@ ] }, { - "id": 660, + "id": 681, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -17119,7 +17664,7 @@ }, "children": [ { - "id": 666, + "id": 687, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -17137,7 +17682,7 @@ } }, { - "id": 663, + "id": 684, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -17165,7 +17710,7 @@ { "type": "reflection", "declaration": { - "id": 664, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17186,7 +17731,7 @@ } }, { - "id": 662, + "id": 683, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -17209,7 +17754,7 @@ } }, { - "id": 661, + "id": 682, "name": "id", "kind": 1024, "kindString": "Property", @@ -17230,7 +17775,7 @@ } }, { - "id": 665, + "id": 686, "name": "status", "kind": 1024, "kindString": "Property", @@ -17260,7 +17805,7 @@ } }, { - "id": 667, + "id": 688, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -17282,7 +17827,7 @@ { "title": "Properties", "kind": 1024, - "children": [666, 663, 662, 661, 665, 667] + "children": [687, 684, 683, 682, 686, 688] } ], "sources": [ @@ -17294,14 +17839,14 @@ ] }, { - "id": 873, + "id": 894, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 874, + "id": 895, "name": "data", "kind": 1024, "kindString": "Property", @@ -17325,7 +17870,7 @@ } }, { - "id": 875, + "id": 896, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17352,7 +17897,7 @@ { "title": "Properties", "kind": 1024, - "children": [874, 875] + "children": [895, 896] } ], "sources": [ @@ -17364,7 +17909,7 @@ ] }, { - "id": 1021, + "id": 1042, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -17380,14 +17925,14 @@ }, "children": [ { - "id": 1025, + "id": 1046, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1026, + "id": 1047, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -17407,17 +17952,17 @@ }, "parameters": [ { - "id": 1027, + "id": 1048, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -17440,14 +17985,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -17468,7 +18013,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -17493,7 +18038,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -17514,7 +18059,7 @@ "typeArguments": [ { "type": "reference", - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -17526,14 +18071,14 @@ ] }, { - "id": 1022, + "id": 1043, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1023, + "id": 1044, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -17543,17 +18088,17 @@ }, "parameters": [ { - "id": 1024, + "id": 1045, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -17576,14 +18121,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -17608,7 +18153,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -17629,7 +18174,7 @@ "typeArguments": [ { "type": "reference", - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -17645,7 +18190,7 @@ { "title": "Methods", "kind": 2048, - "children": [1025, 1022] + "children": [1046, 1043] } ], "sources": [ @@ -17657,7 +18202,7 @@ ] }, { - "id": 972, + "id": 993, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -17667,14 +18212,14 @@ }, "children": [ { - "id": 980, + "id": 1001, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 981, + "id": 1002, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -17684,17 +18229,17 @@ }, "parameters": [ { - "id": 982, + "id": 1003, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 907, + "id": 928, "name": "MFAChallengeParams", "dereferenced": { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -17709,14 +18254,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -17748,7 +18293,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17773,7 +18318,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -17794,7 +18339,7 @@ "typeArguments": [ { "type": "reference", - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse" } ], @@ -17806,14 +18351,14 @@ ] }, { - "id": 989, + "id": 1010, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 990, + "id": 1011, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -17823,17 +18368,17 @@ }, "parameters": [ { - "id": 991, + "id": 1012, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17848,14 +18393,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -17876,7 +18421,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17901,7 +18446,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -17922,7 +18467,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -17934,14 +18479,14 @@ ] }, { - "id": 973, + "id": 994, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 974, + "id": 995, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -17952,17 +18497,17 @@ }, "parameters": [ { - "id": 975, + "id": 996, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17977,14 +18522,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18005,7 +18550,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18028,7 +18573,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -18055,7 +18600,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -18076,7 +18621,7 @@ "typeArguments": [ { "type": "reference", - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -18086,24 +18631,24 @@ } }, { - "id": 976, + "id": 997, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 977, + "id": 998, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -18118,14 +18663,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18146,7 +18691,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18169,7 +18714,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18194,7 +18739,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -18215,7 +18760,7 @@ "typeArguments": [ { "type": "reference", - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -18225,24 +18770,24 @@ } }, { - "id": 978, + "id": 999, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 979, + "id": 1000, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 898, + "id": 919, "name": "MFAEnrollParams", "dereferenced": { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -18258,7 +18803,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -18273,14 +18818,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18301,7 +18846,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18324,7 +18869,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -18351,7 +18896,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -18365,7 +18910,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -18380,14 +18925,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -18408,7 +18953,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -18431,7 +18976,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18456,7 +19001,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -18480,7 +19025,7 @@ "typeArguments": [ { "type": "reference", - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse" } ], @@ -18492,14 +19037,14 @@ ] }, { - "id": 994, + "id": 1015, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 995, + "id": 1016, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -18513,7 +19058,7 @@ "typeArguments": [ { "type": "reference", - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -18525,14 +19070,14 @@ ] }, { - "id": 992, + "id": 1013, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 993, + "id": 1014, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -18559,7 +19104,7 @@ "typeArguments": [ { "type": "reference", - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse" } ], @@ -18571,14 +19116,14 @@ ] }, { - "id": 986, + "id": 1007, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 987, + "id": 1008, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -18588,17 +19133,17 @@ }, "parameters": [ { - "id": 988, + "id": 1009, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "dereferenced": { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -18613,14 +19158,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -18645,7 +19190,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -18666,7 +19211,7 @@ "typeArguments": [ { "type": "reference", - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse" } ], @@ -18678,14 +19223,14 @@ ] }, { - "id": 983, + "id": 1004, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 984, + "id": 1005, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -18695,17 +19240,17 @@ }, "parameters": [ { - "id": 985, + "id": 1006, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 902, + "id": 923, "name": "MFAVerifyParams", "dereferenced": { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -18720,14 +19265,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -18748,7 +19293,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -18769,7 +19314,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -18794,7 +19339,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -18815,7 +19360,7 @@ "typeArguments": [ { "type": "reference", - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse" } ], @@ -18831,7 +19376,7 @@ { "title": "Methods", "kind": 2048, - "children": [980, 989, 973, 994, 992, 986, 983] + "children": [1001, 1010, 994, 1015, 1013, 1007, 1004] } ], "sources": [ @@ -18843,14 +19388,152 @@ ] }, { - "id": 635, + "id": 1133, + "name": "JWK", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 1136, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1135, + "name": "key_ops", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1226, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1137, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1228, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1134, + "name": "kty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1225, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RSA" + }, + { + "type": "literal", + "value": "EC" + }, + { + "type": "literal", + "value": "oct" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1136, 1135, 1137, 1134] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1224, + "character": 17 + } + ], + "indexSignature": { + "id": 1138, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1139, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 656, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 638, + "id": 659, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -18871,7 +19554,7 @@ } }, { - "id": 641, + "id": 662, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -18894,7 +19577,7 @@ } }, { - "id": 640, + "id": 661, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -18915,7 +19598,7 @@ } }, { - "id": 637, + "id": 658, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -18947,7 +19630,7 @@ } }, { - "id": 636, + "id": 657, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -18979,7 +19662,7 @@ } }, { - "id": 639, + "id": 660, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19000,7 +19683,7 @@ } }, { - "id": 642, + "id": 663, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -19018,7 +19701,7 @@ } }, { - "id": 643, + "id": 664, "name": "user", "kind": 1024, "kindString": "Property", @@ -19032,17 +19715,17 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User", "dereferenced": { - "id": 675, + "id": 696, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 686, + "id": 707, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -19062,7 +19745,7 @@ } }, { - "id": 677, + "id": 698, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -19076,17 +19759,17 @@ ], "type": { "type": "reference", - "id": 668, + "id": 689, "name": "UserAppMetadata", "dereferenced": { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19110,7 +19793,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -19121,14 +19804,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -19147,7 +19830,7 @@ } }, { - "id": 679, + "id": 700, "name": "aud", "kind": 1024, "kindString": "Property", @@ -19165,7 +19848,7 @@ } }, { - "id": 680, + "id": 701, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -19185,7 +19868,7 @@ } }, { - "id": 690, + "id": 711, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -19205,7 +19888,7 @@ } }, { - "id": 689, + "id": 710, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -19223,7 +19906,7 @@ } }, { - "id": 687, + "id": 708, "name": "email", "kind": 1024, "kindString": "Property", @@ -19243,7 +19926,7 @@ } }, { - "id": 682, + "id": 703, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -19263,7 +19946,7 @@ } }, { - "id": 691, + "id": 712, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -19283,7 +19966,7 @@ } }, { - "id": 698, + "id": 719, "name": "factors", "kind": 1024, "kindString": "Property", @@ -19301,13 +19984,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 676, + "id": 697, "name": "id", "kind": 1024, "kindString": "Property", @@ -19325,7 +20008,7 @@ } }, { - "id": 696, + "id": 717, "name": "identities", "kind": 1024, "kindString": "Property", @@ -19343,13 +20026,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } }, { - "id": 685, + "id": 706, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -19369,7 +20052,7 @@ } }, { - "id": 697, + "id": 718, "name": "is_anonymous", "kind": 1024, "kindString": "Property", @@ -19389,7 +20072,7 @@ } }, { - "id": 693, + "id": 714, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -19409,7 +20092,7 @@ } }, { - "id": 683, + "id": 704, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -19429,7 +20112,7 @@ } }, { - "id": 684, + "id": 705, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -19449,7 +20132,7 @@ } }, { - "id": 688, + "id": 709, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19469,7 +20152,7 @@ } }, { - "id": 692, + "id": 713, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -19489,7 +20172,7 @@ } }, { - "id": 681, + "id": 702, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -19509,7 +20192,7 @@ } }, { - "id": 694, + "id": 715, "name": "role", "kind": 1024, "kindString": "Property", @@ -19529,7 +20212,7 @@ } }, { - "id": 695, + "id": 716, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -19549,7 +20232,7 @@ } }, { - "id": 678, + "id": 699, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -19563,10 +20246,10 @@ ], "type": { "type": "reference", - "id": 672, + "id": 693, "name": "UserMetadata", "dereferenced": { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -19579,14 +20262,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -19610,8 +20293,8 @@ "title": "Properties", "kind": 1024, "children": [ - 686, 677, 679, 680, 690, 689, 687, 682, 691, 698, 676, 696, 685, 697, 693, 683, - 684, 688, 692, 681, 694, 695, 678 + 707, 698, 700, 701, 711, 710, 708, 703, 712, 719, 697, 717, 706, 718, 714, 704, + 705, 709, 713, 702, 715, 716, 699 ] } ], @@ -19630,7 +20313,7 @@ { "title": "Properties", "kind": 1024, - "children": [638, 641, 640, 637, 636, 639, 642, 643] + "children": [659, 662, 661, 658, 657, 660, 663, 664] } ], "sources": [ @@ -19642,14 +20325,14 @@ ] }, { - "id": 718, + "id": 739, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 719, + "id": 740, "name": "id", "kind": 1024, "kindString": "Property", @@ -19670,7 +20353,7 @@ } }, { - "id": 720, + "id": 741, "name": "callback", "kind": 2048, "kindString": "Method", @@ -19684,7 +20367,7 @@ ], "signatures": [ { - "id": 721, + "id": 742, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -19694,17 +20377,17 @@ }, "parameters": [ { - "id": 722, + "id": 743, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 495, + "id": 516, "name": "AuthChangeEvent", "dereferenced": { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -19744,7 +20427,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -19767,7 +20450,7 @@ } }, { - "id": 723, + "id": 744, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19781,7 +20464,7 @@ }, { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } ] @@ -19796,7 +20479,7 @@ ] }, { - "id": 724, + "id": 745, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -19810,7 +20493,7 @@ ], "signatures": [ { - "id": 725, + "id": 746, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -19830,12 +20513,12 @@ { "title": "Properties", "kind": 1024, - "children": [719] + "children": [740] }, { "title": "Methods", "kind": 2048, - "children": [720, 724] + "children": [741, 745] } ], "sources": [ @@ -19847,14 +20530,14 @@ ] }, { - "id": 675, + "id": 696, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 686, + "id": 707, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -19874,7 +20557,7 @@ } }, { - "id": 677, + "id": 698, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -19888,17 +20571,17 @@ ], "type": { "type": "reference", - "id": 668, + "id": 689, "name": "UserAppMetadata", "dereferenced": { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19922,7 +20605,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -19933,14 +20616,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -19959,7 +20642,7 @@ } }, { - "id": 679, + "id": 700, "name": "aud", "kind": 1024, "kindString": "Property", @@ -19977,7 +20660,7 @@ } }, { - "id": 680, + "id": 701, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -19997,7 +20680,7 @@ } }, { - "id": 690, + "id": 711, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -20017,7 +20700,7 @@ } }, { - "id": 689, + "id": 710, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -20035,7 +20718,7 @@ } }, { - "id": 687, + "id": 708, "name": "email", "kind": 1024, "kindString": "Property", @@ -20055,7 +20738,7 @@ } }, { - "id": 682, + "id": 703, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -20075,7 +20758,7 @@ } }, { - "id": 691, + "id": 712, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -20095,7 +20778,7 @@ } }, { - "id": 698, + "id": 719, "name": "factors", "kind": 1024, "kindString": "Property", @@ -20113,13 +20796,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 676, + "id": 697, "name": "id", "kind": 1024, "kindString": "Property", @@ -20137,7 +20820,7 @@ } }, { - "id": 696, + "id": 717, "name": "identities", "kind": 1024, "kindString": "Property", @@ -20155,13 +20838,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 648, + "id": 669, "name": "UserIdentity" } } }, { - "id": 685, + "id": 706, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -20181,7 +20864,7 @@ } }, { - "id": 697, + "id": 718, "name": "is_anonymous", "kind": 1024, "kindString": "Property", @@ -20201,7 +20884,7 @@ } }, { - "id": 693, + "id": 714, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -20221,7 +20904,7 @@ } }, { - "id": 683, + "id": 704, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -20241,7 +20924,7 @@ } }, { - "id": 684, + "id": 705, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -20261,7 +20944,7 @@ } }, { - "id": 688, + "id": 709, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20281,7 +20964,7 @@ } }, { - "id": 692, + "id": 713, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -20301,7 +20984,7 @@ } }, { - "id": 681, + "id": 702, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -20321,7 +21004,7 @@ } }, { - "id": 694, + "id": 715, "name": "role", "kind": 1024, "kindString": "Property", @@ -20341,7 +21024,7 @@ } }, { - "id": 695, + "id": 716, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -20361,7 +21044,7 @@ } }, { - "id": 678, + "id": 699, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -20375,10 +21058,10 @@ ], "type": { "type": "reference", - "id": 672, + "id": 693, "name": "UserMetadata", "dereferenced": { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -20391,14 +21074,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -20422,8 +21105,8 @@ "title": "Properties", "kind": 1024, "children": [ - 686, 677, 679, 680, 690, 689, 687, 682, 691, 698, 676, 696, 685, 697, 693, 683, 684, - 688, 692, 681, 694, 695, 678 + 707, 698, 700, 701, 711, 710, 708, 703, 712, 719, 697, 717, 706, 718, 714, 704, 705, + 709, 713, 702, 715, 716, 699 ] } ], @@ -20436,14 +21119,14 @@ ] }, { - "id": 668, + "id": 689, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 669, + "id": 690, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20467,7 +21150,7 @@ { "title": "Properties", "kind": 1024, - "children": [669] + "children": [690] } ], "sources": [ @@ -20478,14 +21161,14 @@ } ], "indexSignature": { - "id": 670, + "id": 691, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 671, + "id": 692, "name": "key", "kind": 32768, "flags": {}, @@ -20502,14 +21185,14 @@ } }, { - "id": 699, + "id": 720, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 725, "name": "data", "kind": 1024, "kindString": "Property", @@ -20533,7 +21216,7 @@ } }, { - "id": 700, + "id": 721, "name": "email", "kind": 1024, "kindString": "Property", @@ -20556,7 +21239,7 @@ } }, { - "id": 703, + "id": 724, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -20580,7 +21263,7 @@ } }, { - "id": 702, + "id": 723, "name": "password", "kind": 1024, "kindString": "Property", @@ -20603,7 +21286,7 @@ } }, { - "id": 701, + "id": 722, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20630,7 +21313,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 700, 703, 702, 701] + "children": [725, 721, 724, 723, 722] } ], "sources": [ @@ -20642,14 +21325,14 @@ ] }, { - "id": 648, + "id": 669, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 657, + "id": 678, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -20669,7 +21352,7 @@ } }, { - "id": 649, + "id": 670, "name": "id", "kind": 1024, "kindString": "Property", @@ -20687,7 +21370,7 @@ } }, { - "id": 651, + "id": 672, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -20704,20 +21387,20 @@ "type": { "type": "reflection", "declaration": { - "id": 652, + "id": 673, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 653, + "id": 674, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 654, + "id": 675, "name": "key", "kind": 32768, "flags": {}, @@ -20736,7 +21419,7 @@ } }, { - "id": 655, + "id": 676, "name": "identity_id", "kind": 1024, "kindString": "Property", @@ -20754,7 +21437,7 @@ } }, { - "id": 658, + "id": 679, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -20774,7 +21457,7 @@ } }, { - "id": 656, + "id": 677, "name": "provider", "kind": 1024, "kindString": "Property", @@ -20792,7 +21475,7 @@ } }, { - "id": 659, + "id": 680, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -20812,7 +21495,7 @@ } }, { - "id": 650, + "id": 671, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -20834,7 +21517,7 @@ { "title": "Properties", "kind": 1024, - "children": [657, 649, 651, 655, 658, 656, 659, 650] + "children": [678, 670, 672, 676, 679, 677, 680, 671] } ], "sources": [ @@ -20846,7 +21529,7 @@ ] }, { - "id": 672, + "id": 693, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -20859,14 +21542,14 @@ } ], "indexSignature": { - "id": 673, + "id": 694, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 674, + "id": 695, "name": "key", "kind": 32768, "flags": {}, @@ -20883,14 +21566,14 @@ } }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -20911,7 +21594,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -20928,14 +21611,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20964,7 +21647,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20991,14 +21674,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -21019,7 +21702,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -21036,10 +21719,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21088,7 +21771,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -21100,14 +21783,14 @@ ] }, { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -21124,14 +21807,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21160,7 +21843,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21187,14 +21870,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21215,7 +21898,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -21236,7 +21919,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -21253,10 +21936,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21289,7 +21972,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -21301,14 +21984,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -21329,7 +22012,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -21346,10 +22029,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21398,7 +22081,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -21410,7 +22093,7 @@ ] }, { - "id": 495, + "id": 516, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -21450,7 +22133,7 @@ "value": "USER_UPDATED" }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -21471,7 +22154,7 @@ } }, { - "id": 494, + "id": 515, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -21489,7 +22172,7 @@ } }, { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -21516,7 +22199,7 @@ } }, { - "id": 1005, + "id": 1026, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -21539,14 +22222,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1027, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1007, + "id": 1028, "name": "id", "kind": 1024, "kindString": "Property", @@ -21567,7 +22250,7 @@ } }, { - "id": 1008, + "id": 1029, "name": "userId", "kind": 1024, "kindString": "Property", @@ -21592,7 +22275,7 @@ { "title": "Properties", "kind": 1024, - "children": [1007, 1008] + "children": [1028, 1029] } ], "sources": [ @@ -21606,7 +22289,7 @@ } }, { - "id": 996, + "id": 1017, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -21632,14 +22315,14 @@ { "type": "reflection", "declaration": { - "id": 997, + "id": 1018, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 998, + "id": 1019, "name": "data", "kind": 1024, "kindString": "Property", @@ -21654,14 +22337,14 @@ "type": { "type": "reflection", "declaration": { - "id": 999, + "id": 1020, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1000, + "id": 1021, "name": "id", "kind": 1024, "kindString": "Property", @@ -21686,7 +22369,7 @@ { "title": "Properties", "kind": 1024, - "children": [1000] + "children": [1021] } ], "sources": [ @@ -21700,7 +22383,7 @@ } }, { - "id": 1001, + "id": 1022, "name": "error", "kind": 1024, "kindString": "Property", @@ -21722,7 +22405,7 @@ { "title": "Properties", "kind": 1024, - "children": [998, 1001] + "children": [1019, 1022] } ], "sources": [ @@ -21737,14 +22420,14 @@ { "type": "reflection", "declaration": { - "id": 1002, + "id": 1023, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1024, "name": "data", "kind": 1024, "kindString": "Property", @@ -21762,7 +22445,7 @@ } }, { - "id": 1004, + "id": 1025, "name": "error", "kind": 1024, "kindString": "Property", @@ -21776,7 +22459,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -21785,7 +22468,7 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004] + "children": [1024, 1025] } ], "sources": [ @@ -21801,7 +22484,7 @@ } }, { - "id": 1018, + "id": 1039, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -21824,14 +22507,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1019, + "id": 1040, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1020, + "id": 1041, "name": "userId", "kind": 1024, "kindString": "Property", @@ -21856,7 +22539,7 @@ { "title": "Properties", "kind": 1024, - "children": [1020] + "children": [1041] } ], "sources": [ @@ -21870,7 +22553,7 @@ } }, { - "id": 1009, + "id": 1030, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -21896,14 +22579,14 @@ { "type": "reflection", "declaration": { - "id": 1010, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1011, + "id": 1032, "name": "data", "kind": 1024, "kindString": "Property", @@ -21918,14 +22601,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1012, + "id": 1033, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1013, + "id": 1034, "name": "factors", "kind": 1024, "kindString": "Property", @@ -21944,7 +22627,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -21954,7 +22637,7 @@ { "title": "Properties", "kind": 1024, - "children": [1013] + "children": [1034] } ], "sources": [ @@ -21968,7 +22651,7 @@ } }, { - "id": 1014, + "id": 1035, "name": "error", "kind": 1024, "kindString": "Property", @@ -21990,7 +22673,7 @@ { "title": "Properties", "kind": 1024, - "children": [1011, 1014] + "children": [1032, 1035] } ], "sources": [ @@ -22005,14 +22688,14 @@ { "type": "reflection", "declaration": { - "id": 1015, + "id": 1036, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1016, + "id": 1037, "name": "data", "kind": 1024, "kindString": "Property", @@ -22030,7 +22713,7 @@ } }, { - "id": 1017, + "id": 1038, "name": "error", "kind": 1024, "kindString": "Property", @@ -22044,7 +22727,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -22053,7 +22736,7 @@ { "title": "Properties", "kind": 1024, - "children": [1016, 1017] + "children": [1037, 1038] } ], "sources": [ @@ -22069,7 +22752,7 @@ } }, { - "id": 938, + "id": 959, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -22087,14 +22770,14 @@ { "type": "reflection", "declaration": { - "id": 939, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 940, + "id": 961, "name": "data", "kind": 1024, "kindString": "Property", @@ -22109,14 +22792,14 @@ "type": { "type": "reflection", "declaration": { - "id": 941, + "id": 962, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 965, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -22137,7 +22820,7 @@ } }, { - "id": 942, + "id": 963, "name": "id", "kind": 1024, "kindString": "Property", @@ -22158,7 +22841,7 @@ } }, { - "id": 943, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -22192,7 +22875,7 @@ { "title": "Properties", "kind": 1024, - "children": [944, 942, 943] + "children": [965, 963, 964] } ], "sources": [ @@ -22206,7 +22889,7 @@ } }, { - "id": 945, + "id": 966, "name": "error", "kind": 1024, "kindString": "Property", @@ -22228,7 +22911,7 @@ { "title": "Properties", "kind": 1024, - "children": [940, 945] + "children": [961, 966] } ], "sources": [ @@ -22243,14 +22926,14 @@ { "type": "reflection", "declaration": { - "id": 946, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 947, + "id": 968, "name": "data", "kind": 1024, "kindString": "Property", @@ -22268,7 +22951,7 @@ } }, { - "id": 948, + "id": 969, "name": "error", "kind": 1024, "kindString": "Property", @@ -22282,7 +22965,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -22291,7 +22974,7 @@ { "title": "Properties", "kind": 1024, - "children": [947, 948] + "children": [968, 969] } ], "sources": [ @@ -22307,7 +22990,7 @@ } }, { - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -22325,14 +23008,14 @@ { "type": "reflection", "declaration": { - "id": 1082, + "id": 1103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1083, + "id": 1104, "name": "data", "kind": 1024, "kindString": "Property", @@ -22347,14 +23030,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1087, + "id": 1108, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -22377,7 +23060,7 @@ } }, { - "id": 1085, + "id": 1106, "name": "id", "kind": 1024, "kindString": "Property", @@ -22398,7 +23081,7 @@ } }, { - "id": 1088, + "id": 1109, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22419,7 +23102,7 @@ } }, { - "id": 1086, + "id": 1107, "name": "type", "kind": 1024, "kindString": "Property", @@ -22444,7 +23127,7 @@ { "title": "Properties", "kind": 1024, - "children": [1087, 1085, 1088, 1086] + "children": [1108, 1106, 1109, 1107] } ], "sources": [ @@ -22458,7 +23141,7 @@ } }, { - "id": 1089, + "id": 1110, "name": "error", "kind": 1024, "kindString": "Property", @@ -22480,7 +23163,7 @@ { "title": "Properties", "kind": 1024, - "children": [1083, 1089] + "children": [1104, 1110] } ], "sources": [ @@ -22495,14 +23178,14 @@ { "type": "reflection", "declaration": { - "id": 1090, + "id": 1111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1091, + "id": 1112, "name": "data", "kind": 1024, "kindString": "Property", @@ -22520,7 +23203,7 @@ } }, { - "id": 1092, + "id": 1113, "name": "error", "kind": 1024, "kindString": "Property", @@ -22534,7 +23217,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -22543,7 +23226,7 @@ { "title": "Properties", "kind": 1024, - "children": [1091, 1092] + "children": [1112, 1113] } ], "sources": [ @@ -22559,7 +23242,7 @@ } }, { - "id": 928, + "id": 949, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -22575,7 +23258,7 @@ "type": "union", "types": [ { - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -22593,14 +23276,14 @@ { "type": "reflection", "declaration": { - "id": 1066, + "id": 1087, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1088, "name": "data", "kind": 1024, "kindString": "Property", @@ -22615,14 +23298,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1089, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1076, + "id": 1097, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -22645,7 +23328,7 @@ } }, { - "id": 1069, + "id": 1090, "name": "id", "kind": 1024, "kindString": "Property", @@ -22666,7 +23349,7 @@ } }, { - "id": 1071, + "id": 1092, "name": "totp", "kind": 1024, "kindString": "Property", @@ -22684,14 +23367,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1093, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1094, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -22712,7 +23395,7 @@ } }, { - "id": 1074, + "id": 1095, "name": "secret", "kind": 1024, "kindString": "Property", @@ -22733,7 +23416,7 @@ } }, { - "id": 1075, + "id": 1096, "name": "uri", "kind": 1024, "kindString": "Property", @@ -22758,7 +23441,7 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074, 1075] + "children": [1094, 1095, 1096] } ], "sources": [ @@ -22772,7 +23455,7 @@ } }, { - "id": 1070, + "id": 1091, "name": "type", "kind": 1024, "kindString": "Property", @@ -22797,7 +23480,7 @@ { "title": "Properties", "kind": 1024, - "children": [1076, 1069, 1071, 1070] + "children": [1097, 1090, 1092, 1091] } ], "sources": [ @@ -22811,7 +23494,7 @@ } }, { - "id": 1077, + "id": 1098, "name": "error", "kind": 1024, "kindString": "Property", @@ -22833,7 +23516,7 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1077] + "children": [1088, 1098] } ], "sources": [ @@ -22848,14 +23531,14 @@ { "type": "reflection", "declaration": { - "id": 1078, + "id": 1099, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1079, + "id": 1100, "name": "data", "kind": 1024, "kindString": "Property", @@ -22873,7 +23556,7 @@ } }, { - "id": 1080, + "id": 1101, "name": "error", "kind": 1024, "kindString": "Property", @@ -22887,7 +23570,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -22896,7 +23579,7 @@ { "title": "Properties", "kind": 1024, - "children": [1079, 1080] + "children": [1100, 1101] } ], "sources": [ @@ -22912,7 +23595,7 @@ } }, { - "id": 1081, + "id": 1102, "name": "AuthMFAEnrollPhoneResponse", "kind": 4194304, "kindString": "Type alias", @@ -22930,14 +23613,14 @@ { "type": "reflection", "declaration": { - "id": 1082, + "id": 1103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1083, + "id": 1104, "name": "data", "kind": 1024, "kindString": "Property", @@ -22952,14 +23635,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1084, + "id": 1105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1087, + "id": 1108, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -22982,7 +23665,7 @@ } }, { - "id": 1085, + "id": 1106, "name": "id", "kind": 1024, "kindString": "Property", @@ -23003,7 +23686,7 @@ } }, { - "id": 1088, + "id": 1109, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23024,7 +23707,7 @@ } }, { - "id": 1086, + "id": 1107, "name": "type", "kind": 1024, "kindString": "Property", @@ -23049,7 +23732,7 @@ { "title": "Properties", "kind": 1024, - "children": [1087, 1085, 1088, 1086] + "children": [1108, 1106, 1109, 1107] } ], "sources": [ @@ -23063,7 +23746,7 @@ } }, { - "id": 1089, + "id": 1110, "name": "error", "kind": 1024, "kindString": "Property", @@ -23085,7 +23768,7 @@ { "title": "Properties", "kind": 1024, - "children": [1083, 1089] + "children": [1104, 1110] } ], "sources": [ @@ -23100,14 +23783,14 @@ { "type": "reflection", "declaration": { - "id": 1090, + "id": 1111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1091, + "id": 1112, "name": "data", "kind": 1024, "kindString": "Property", @@ -23125,7 +23808,7 @@ } }, { - "id": 1092, + "id": 1113, "name": "error", "kind": 1024, "kindString": "Property", @@ -23139,7 +23822,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -23148,7 +23831,7 @@ { "title": "Properties", "kind": 1024, - "children": [1091, 1092] + "children": [1112, 1113] } ], "sources": [ @@ -23167,7 +23850,7 @@ } }, { - "id": 1065, + "id": 1086, "name": "AuthMFAEnrollTOTPResponse", "kind": 4194304, "kindString": "Type alias", @@ -23185,14 +23868,14 @@ { "type": "reflection", "declaration": { - "id": 1066, + "id": 1087, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1067, + "id": 1088, "name": "data", "kind": 1024, "kindString": "Property", @@ -23207,14 +23890,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1089, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1076, + "id": 1097, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -23237,7 +23920,7 @@ } }, { - "id": 1069, + "id": 1090, "name": "id", "kind": 1024, "kindString": "Property", @@ -23258,7 +23941,7 @@ } }, { - "id": 1071, + "id": 1092, "name": "totp", "kind": 1024, "kindString": "Property", @@ -23276,14 +23959,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1072, + "id": 1093, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1073, + "id": 1094, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -23304,7 +23987,7 @@ } }, { - "id": 1074, + "id": 1095, "name": "secret", "kind": 1024, "kindString": "Property", @@ -23325,7 +24008,7 @@ } }, { - "id": 1075, + "id": 1096, "name": "uri", "kind": 1024, "kindString": "Property", @@ -23350,7 +24033,7 @@ { "title": "Properties", "kind": 1024, - "children": [1073, 1074, 1075] + "children": [1094, 1095, 1096] } ], "sources": [ @@ -23364,7 +24047,7 @@ } }, { - "id": 1070, + "id": 1091, "name": "type", "kind": 1024, "kindString": "Property", @@ -23389,7 +24072,7 @@ { "title": "Properties", "kind": 1024, - "children": [1076, 1069, 1071, 1070] + "children": [1097, 1090, 1092, 1091] } ], "sources": [ @@ -23403,7 +24086,7 @@ } }, { - "id": 1077, + "id": 1098, "name": "error", "kind": 1024, "kindString": "Property", @@ -23425,7 +24108,7 @@ { "title": "Properties", "kind": 1024, - "children": [1067, 1077] + "children": [1088, 1098] } ], "sources": [ @@ -23440,14 +24123,14 @@ { "type": "reflection", "declaration": { - "id": 1078, + "id": 1099, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1079, + "id": 1100, "name": "data", "kind": 1024, "kindString": "Property", @@ -23465,7 +24148,7 @@ } }, { - "id": 1080, + "id": 1101, "name": "error", "kind": 1024, "kindString": "Property", @@ -23479,7 +24162,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -23488,7 +24171,7 @@ { "title": "Properties", "kind": 1024, - "children": [1079, 1080] + "children": [1100, 1101] } ], "sources": [ @@ -23504,7 +24187,7 @@ } }, { - "id": 961, + "id": 982, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -23522,14 +24205,14 @@ { "type": "reflection", "declaration": { - "id": 962, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 984, "name": "data", "kind": 1024, "kindString": "Property", @@ -23544,14 +24227,14 @@ "type": { "type": "reflection", "declaration": { - "id": 964, + "id": 985, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 967, + "id": 988, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -23570,13 +24253,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 644, + "id": 665, "name": "AMREntry" } } }, { - "id": 965, + "id": 986, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -23596,7 +24279,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -23607,7 +24290,7 @@ } }, { - "id": 966, + "id": 987, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -23633,7 +24316,7 @@ "types": [ { "type": "reference", - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels" }, { @@ -23648,7 +24331,7 @@ { "title": "Properties", "kind": 1024, - "children": [967, 965, 966] + "children": [988, 986, 987] } ], "sources": [ @@ -23662,7 +24345,7 @@ } }, { - "id": 968, + "id": 989, "name": "error", "kind": 1024, "kindString": "Property", @@ -23684,7 +24367,7 @@ { "title": "Properties", "kind": 1024, - "children": [963, 968] + "children": [984, 989] } ], "sources": [ @@ -23699,14 +24382,14 @@ { "type": "reflection", "declaration": { - "id": 969, + "id": 990, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 970, + "id": 991, "name": "data", "kind": 1024, "kindString": "Property", @@ -23724,7 +24407,7 @@ } }, { - "id": 971, + "id": 992, "name": "error", "kind": 1024, "kindString": "Property", @@ -23738,7 +24421,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -23747,7 +24430,7 @@ { "title": "Properties", "kind": 1024, - "children": [970, 971] + "children": [991, 992] } ], "sources": [ @@ -23763,7 +24446,7 @@ } }, { - "id": 949, + "id": 970, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -23781,14 +24464,14 @@ { "type": "reflection", "declaration": { - "id": 950, + "id": 971, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 951, + "id": 972, "name": "data", "kind": 1024, "kindString": "Property", @@ -23803,14 +24486,14 @@ "type": { "type": "reflection", "declaration": { - "id": 952, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 953, + "id": 974, "name": "all", "kind": 1024, "kindString": "Property", @@ -23829,13 +24512,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 955, + "id": 976, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23854,13 +24537,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } }, { - "id": 954, + "id": 975, "name": "totp", "kind": 1024, "kindString": "Property", @@ -23879,7 +24562,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 660, + "id": 681, "name": "Factor" } } @@ -23889,7 +24572,7 @@ { "title": "Properties", "kind": 1024, - "children": [953, 955, 954] + "children": [974, 976, 975] } ], "sources": [ @@ -23903,7 +24586,7 @@ } }, { - "id": 956, + "id": 977, "name": "error", "kind": 1024, "kindString": "Property", @@ -23925,7 +24608,7 @@ { "title": "Properties", "kind": 1024, - "children": [951, 956] + "children": [972, 977] } ], "sources": [ @@ -23940,14 +24623,14 @@ { "type": "reflection", "declaration": { - "id": 957, + "id": 978, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 979, "name": "data", "kind": 1024, "kindString": "Property", @@ -23965,7 +24648,7 @@ } }, { - "id": 959, + "id": 980, "name": "error", "kind": 1024, "kindString": "Property", @@ -23979,7 +24662,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -23988,7 +24671,7 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959] + "children": [979, 980] } ], "sources": [ @@ -24004,7 +24687,7 @@ } }, { - "id": 929, + "id": 950, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -24022,14 +24705,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 951, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 931, + "id": 952, "name": "data", "kind": 1024, "kindString": "Property", @@ -24044,14 +24727,14 @@ "type": { "type": "reflection", "declaration": { - "id": 932, + "id": 953, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 954, "name": "id", "kind": 1024, "kindString": "Property", @@ -24076,7 +24759,7 @@ { "title": "Properties", "kind": 1024, - "children": [933] + "children": [954] } ], "sources": [ @@ -24090,7 +24773,7 @@ } }, { - "id": 934, + "id": 955, "name": "error", "kind": 1024, "kindString": "Property", @@ -24112,7 +24795,7 @@ { "title": "Properties", "kind": 1024, - "children": [931, 934] + "children": [952, 955] } ], "sources": [ @@ -24127,14 +24810,14 @@ { "type": "reflection", "declaration": { - "id": 935, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 936, + "id": 957, "name": "data", "kind": 1024, "kindString": "Property", @@ -24152,7 +24835,7 @@ } }, { - "id": 937, + "id": 958, "name": "error", "kind": 1024, "kindString": "Property", @@ -24166,7 +24849,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -24175,7 +24858,7 @@ { "title": "Properties", "kind": 1024, - "children": [936, 937] + "children": [957, 958] } ], "sources": [ @@ -24191,7 +24874,7 @@ } }, { - "id": 915, + "id": 936, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -24209,14 +24892,14 @@ { "type": "reflection", "declaration": { - "id": 916, + "id": 937, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 917, + "id": 938, "name": "data", "kind": 1024, "kindString": "Property", @@ -24231,14 +24914,14 @@ "type": { "type": "reflection", "declaration": { - "id": 918, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 919, + "id": 940, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -24259,7 +24942,7 @@ } }, { - "id": 921, + "id": 942, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -24280,7 +24963,7 @@ } }, { - "id": 922, + "id": 943, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -24301,7 +24984,7 @@ } }, { - "id": 920, + "id": 941, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -24322,7 +25005,7 @@ } }, { - "id": 923, + "id": 944, "name": "user", "kind": 1024, "kindString": "Property", @@ -24339,7 +25022,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -24348,7 +25031,7 @@ { "title": "Properties", "kind": 1024, - "children": [919, 921, 922, 920, 923] + "children": [940, 942, 943, 941, 944] } ], "sources": [ @@ -24362,7 +25045,7 @@ } }, { - "id": 924, + "id": 945, "name": "error", "kind": 1024, "kindString": "Property", @@ -24384,7 +25067,7 @@ { "title": "Properties", "kind": 1024, - "children": [917, 924] + "children": [938, 945] } ], "sources": [ @@ -24399,14 +25082,14 @@ { "type": "reflection", "declaration": { - "id": 925, + "id": 946, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 926, + "id": 947, "name": "data", "kind": 1024, "kindString": "Property", @@ -24424,7 +25107,7 @@ } }, { - "id": 927, + "id": 948, "name": "error", "kind": 1024, "kindString": "Property", @@ -24438,7 +25121,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -24447,7 +25130,7 @@ { "title": "Properties", "kind": 1024, - "children": [926, 927] + "children": [947, 948] } ], "sources": [ @@ -24463,7 +25146,7 @@ } }, { - "id": 559, + "id": 580, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -24485,14 +25168,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 582, "name": "data", "kind": 1024, "kindString": "Property", @@ -24507,14 +25190,14 @@ "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 583, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 565, + "id": 586, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -24543,7 +25226,7 @@ } }, { - "id": 564, + "id": 585, "name": "session", "kind": 1024, "kindString": "Property", @@ -24561,7 +25244,7 @@ } }, { - "id": 563, + "id": 584, "name": "user", "kind": 1024, "kindString": "Property", @@ -24583,7 +25266,7 @@ { "title": "Properties", "kind": 1024, - "children": [565, 564, 563] + "children": [586, 585, 584] } ], "sources": [ @@ -24597,7 +25280,7 @@ } }, { - "id": 566, + "id": 587, "name": "error", "kind": 1024, "kindString": "Property", @@ -24619,7 +25302,7 @@ { "title": "Properties", "kind": 1024, - "children": [561, 566] + "children": [582, 587] } ], "sources": [ @@ -24634,14 +25317,14 @@ { "type": "reflection", "declaration": { - "id": 567, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 589, "name": "data", "kind": 1024, "kindString": "Property", @@ -24656,14 +25339,14 @@ "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 572, + "id": 593, "name": "messageId", "kind": 1024, "kindString": "Property", @@ -24692,7 +25375,7 @@ } }, { - "id": 571, + "id": 592, "name": "session", "kind": 1024, "kindString": "Property", @@ -24710,7 +25393,7 @@ } }, { - "id": 570, + "id": 591, "name": "user", "kind": 1024, "kindString": "Property", @@ -24732,7 +25415,7 @@ { "title": "Properties", "kind": 1024, - "children": [572, 571, 570] + "children": [593, 592, 591] } ], "sources": [ @@ -24746,7 +25429,7 @@ } }, { - "id": 573, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", @@ -24760,7 +25443,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -24769,7 +25452,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 573] + "children": [589, 594] } ], "sources": [ @@ -24785,7 +25468,7 @@ } }, { - "id": 532, + "id": 553, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -24803,14 +25486,14 @@ { "type": "reflection", "declaration": { - "id": 533, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 555, "name": "data", "kind": 1024, "kindString": "Property", @@ -24825,14 +25508,14 @@ "type": { "type": "reflection", "declaration": { - "id": 535, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 537, + "id": 558, "name": "session", "kind": 1024, "kindString": "Property", @@ -24849,7 +25532,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -24860,7 +25543,7 @@ } }, { - "id": 536, + "id": 557, "name": "user", "kind": 1024, "kindString": "Property", @@ -24877,7 +25560,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -24892,7 +25575,7 @@ { "title": "Properties", "kind": 1024, - "children": [537, 536] + "children": [558, 557] } ], "sources": [ @@ -24906,7 +25589,7 @@ } }, { - "id": 538, + "id": 559, "name": "error", "kind": 1024, "kindString": "Property", @@ -24928,7 +25611,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 538] + "children": [555, 559] } ], "sources": [ @@ -24943,14 +25626,14 @@ { "type": "reflection", "declaration": { - "id": 539, + "id": 560, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 540, + "id": 561, "name": "data", "kind": 1024, "kindString": "Property", @@ -24965,14 +25648,14 @@ "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 543, + "id": 564, "name": "session", "kind": 1024, "kindString": "Property", @@ -24990,7 +25673,7 @@ } }, { - "id": 542, + "id": 563, "name": "user", "kind": 1024, "kindString": "Property", @@ -25012,7 +25695,7 @@ { "title": "Properties", "kind": 1024, - "children": [543, 542] + "children": [564, 563] } ], "sources": [ @@ -25026,7 +25709,7 @@ } }, { - "id": 544, + "id": 565, "name": "error", "kind": 1024, "kindString": "Property", @@ -25040,7 +25723,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -25049,7 +25732,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 544] + "children": [561, 565] } ], "sources": [ @@ -25065,7 +25748,7 @@ } }, { - "id": 545, + "id": 566, "name": "AuthResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -25083,14 +25766,14 @@ { "type": "reflection", "declaration": { - "id": 546, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 568, "name": "data", "kind": 1024, "kindString": "Property", @@ -25105,14 +25788,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 550, + "id": 571, "name": "session", "kind": 1024, "kindString": "Property", @@ -25129,7 +25812,7 @@ "types": [ { "type": "reference", - "id": 635, + "id": 656, "name": "Session" }, { @@ -25140,7 +25823,7 @@ } }, { - "id": 549, + "id": 570, "name": "user", "kind": 1024, "kindString": "Property", @@ -25157,7 +25840,7 @@ "types": [ { "type": "reference", - "id": 675, + "id": 696, "name": "User" }, { @@ -25168,7 +25851,7 @@ } }, { - "id": 551, + "id": 572, "name": "weak_password", "kind": 1024, "kindString": "Property", @@ -25187,7 +25870,7 @@ "types": [ { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" }, { @@ -25202,7 +25885,7 @@ { "title": "Properties", "kind": 1024, - "children": [550, 549, 551] + "children": [571, 570, 572] } ], "sources": [ @@ -25216,7 +25899,7 @@ } }, { - "id": 552, + "id": 573, "name": "error", "kind": 1024, "kindString": "Property", @@ -25238,7 +25921,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 552] + "children": [568, 573] } ], "sources": [ @@ -25253,14 +25936,14 @@ { "type": "reflection", "declaration": { - "id": 553, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 554, + "id": 575, "name": "data", "kind": 1024, "kindString": "Property", @@ -25275,14 +25958,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 578, "name": "session", "kind": 1024, "kindString": "Property", @@ -25300,7 +25983,7 @@ } }, { - "id": 556, + "id": 577, "name": "user", "kind": 1024, "kindString": "Property", @@ -25322,7 +26005,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 556] + "children": [578, 577] } ], "sources": [ @@ -25336,7 +26019,7 @@ } }, { - "id": 558, + "id": 579, "name": "error", "kind": 1024, "kindString": "Property", @@ -25350,7 +26033,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -25359,7 +26042,7 @@ { "title": "Properties", "kind": 1024, - "children": [554, 558] + "children": [575, 579] } ], "sources": [ @@ -25375,7 +26058,7 @@ } }, { - "id": 574, + "id": 595, "name": "AuthTokenResponse", "kind": 4194304, "kindString": "Type alias", @@ -25393,14 +26076,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -25415,14 +26098,14 @@ "type": { "type": "reflection", "declaration": { - "id": 577, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 600, "name": "session", "kind": 1024, "kindString": "Property", @@ -25436,12 +26119,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 578, + "id": 599, "name": "user", "kind": 1024, "kindString": "Property", @@ -25455,7 +26138,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -25464,7 +26147,7 @@ { "title": "Properties", "kind": 1024, - "children": [579, 578] + "children": [600, 599] } ], "sources": [ @@ -25478,7 +26161,7 @@ } }, { - "id": 580, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -25500,7 +26183,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 580] + "children": [597, 601] } ], "sources": [ @@ -25515,14 +26198,14 @@ { "type": "reflection", "declaration": { - "id": 581, + "id": 602, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 603, "name": "data", "kind": 1024, "kindString": "Property", @@ -25537,14 +26220,14 @@ "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 604, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 606, "name": "session", "kind": 1024, "kindString": "Property", @@ -25562,7 +26245,7 @@ } }, { - "id": 584, + "id": 605, "name": "user", "kind": 1024, "kindString": "Property", @@ -25584,7 +26267,7 @@ { "title": "Properties", "kind": 1024, - "children": [585, 584] + "children": [606, 605] } ], "sources": [ @@ -25598,7 +26281,7 @@ } }, { - "id": 586, + "id": 607, "name": "error", "kind": 1024, "kindString": "Property", @@ -25612,7 +26295,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -25621,7 +26304,7 @@ { "title": "Properties", "kind": 1024, - "children": [582, 586] + "children": [603, 607] } ], "sources": [ @@ -25637,7 +26320,7 @@ } }, { - "id": 587, + "id": 608, "name": "AuthTokenResponsePassword", "kind": 4194304, "kindString": "Type alias", @@ -25655,14 +26338,14 @@ { "type": "reflection", "declaration": { - "id": 588, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 610, "name": "data", "kind": 1024, "kindString": "Property", @@ -25677,14 +26360,14 @@ "type": { "type": "reflection", "declaration": { - "id": 590, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 592, + "id": 613, "name": "session", "kind": 1024, "kindString": "Property", @@ -25698,12 +26381,12 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } }, { - "id": 591, + "id": 612, "name": "user", "kind": 1024, "kindString": "Property", @@ -25717,12 +26400,12 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } }, { - "id": 593, + "id": 614, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -25738,7 +26421,7 @@ ], "type": { "type": "reference", - "id": 528, + "id": 549, "name": "WeakPassword" } } @@ -25747,7 +26430,7 @@ { "title": "Properties", "kind": 1024, - "children": [592, 591, 593] + "children": [613, 612, 614] } ], "sources": [ @@ -25761,7 +26444,7 @@ } }, { - "id": 594, + "id": 615, "name": "error", "kind": 1024, "kindString": "Property", @@ -25783,7 +26466,7 @@ { "title": "Properties", "kind": 1024, - "children": [589, 594] + "children": [610, 615] } ], "sources": [ @@ -25798,14 +26481,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 617, "name": "data", "kind": 1024, "kindString": "Property", @@ -25820,14 +26503,14 @@ "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 618, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 620, "name": "session", "kind": 1024, "kindString": "Property", @@ -25845,7 +26528,7 @@ } }, { - "id": 598, + "id": 619, "name": "user", "kind": 1024, "kindString": "Property", @@ -25863,7 +26546,7 @@ } }, { - "id": 600, + "id": 621, "name": "weakPassword", "kind": 1024, "kindString": "Property", @@ -25887,7 +26570,7 @@ { "title": "Properties", "kind": 1024, - "children": [599, 598, 600] + "children": [620, 619, 621] } ], "sources": [ @@ -25901,7 +26584,7 @@ } }, { - "id": 601, + "id": 622, "name": "error", "kind": 1024, "kindString": "Property", @@ -25915,7 +26598,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -25924,7 +26607,7 @@ { "title": "Properties", "kind": 1024, - "children": [596, 601] + "children": [617, 622] } ], "sources": [ @@ -25940,7 +26623,7 @@ } }, { - "id": 960, + "id": 981, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -25967,7 +26650,7 @@ } }, { - "id": 1034, + "id": 1055, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -25985,14 +26668,14 @@ { "type": "reflection", "declaration": { - "id": 1035, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1037, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -26010,7 +26693,7 @@ } }, { - "id": 1036, + "id": 1057, "name": "session", "kind": 1024, "kindString": "Property", @@ -26024,7 +26707,7 @@ ], "type": { "type": "reference", - "id": 635, + "id": 656, "name": "Session" } } @@ -26033,7 +26716,7 @@ { "title": "Properties", "kind": 1024, - "children": [1037, 1036] + "children": [1058, 1057] } ], "sources": [ @@ -26048,14 +26731,14 @@ { "type": "reflection", "declaration": { - "id": 1038, + "id": 1059, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1040, + "id": 1061, "name": "error", "kind": 1024, "kindString": "Property", @@ -26069,12 +26752,12 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } }, { - "id": 1039, + "id": 1060, "name": "session", "kind": 1024, "kindString": "Property", @@ -26096,7 +26779,7 @@ { "title": "Properties", "kind": 1024, - "children": [1040, 1039] + "children": [1061, 1060] } ], "sources": [ @@ -26112,7 +26795,7 @@ } }, { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -26155,7 +26838,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26170,14 +26853,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -26198,7 +26881,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -26219,7 +26902,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -26238,7 +26921,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26252,7 +26935,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -26283,7 +26966,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -26297,7 +26980,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26312,14 +26995,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -26340,7 +27023,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -26359,7 +27042,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26382,7 +27065,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -26413,7 +27096,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -26427,7 +27110,7 @@ } }, { - "id": 876, + "id": 897, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26443,7 +27126,7 @@ "type": "union", "types": [ { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26458,14 +27141,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -26483,7 +27166,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -26502,7 +27185,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26525,7 +27208,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -26543,7 +27226,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -26565,7 +27248,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -26579,7 +27262,7 @@ } }, { - "id": 857, + "id": 878, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26594,14 +27277,14 @@ "type": { "type": "reflection", "declaration": { - "id": 858, + "id": 879, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 860, + "id": 881, "name": "email", "kind": 1024, "kindString": "Property", @@ -26622,7 +27305,7 @@ } }, { - "id": 861, + "id": 882, "name": "options", "kind": 1024, "kindString": "Property", @@ -26641,7 +27324,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26664,7 +27347,7 @@ } }, { - "id": 859, + "id": 880, "name": "type", "kind": 1024, "kindString": "Property", @@ -26695,7 +27378,7 @@ { "title": "Properties", "kind": 1024, - "children": [860, 861, 859] + "children": [881, 882, 880] } ], "sources": [ @@ -26709,7 +27392,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26724,14 +27407,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -26752,7 +27435,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -26771,7 +27454,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26785,7 +27468,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -26807,7 +27490,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -26821,7 +27504,7 @@ } }, { - "id": 867, + "id": 888, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26836,14 +27519,14 @@ "type": { "type": "reflection", "declaration": { - "id": 868, + "id": 889, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 870, + "id": 891, "name": "email", "kind": 1024, "kindString": "Property", @@ -26864,7 +27547,7 @@ } }, { - "id": 871, + "id": 892, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -26885,7 +27568,7 @@ } }, { - "id": 872, + "id": 893, "name": "options", "kind": 1024, "kindString": "Property", @@ -26904,7 +27587,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -26918,7 +27601,7 @@ } }, { - "id": 869, + "id": 890, "name": "type", "kind": 1024, "kindString": "Property", @@ -26949,7 +27632,7 @@ { "title": "Properties", "kind": 1024, - "children": [870, 871, 872, 869] + "children": [891, 892, 893, 890] } ], "sources": [ @@ -26966,7 +27649,7 @@ } }, { - "id": 890, + "id": 911, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -26984,14 +27667,14 @@ "type": { "type": "reflection", "declaration": { - "id": 891, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 892, + "id": 913, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27012,7 +27695,7 @@ } }, { - "id": 893, + "id": 914, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -27033,7 +27716,7 @@ } }, { - "id": 894, + "id": 915, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -27054,7 +27737,7 @@ } }, { - "id": 895, + "id": 916, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -27075,7 +27758,7 @@ } }, { - "id": 896, + "id": 917, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -27092,10 +27775,10 @@ ], "type": { "type": "reference", - "id": 897, + "id": 918, "name": "GenerateLinkType", "dereferenced": { - "id": 897, + "id": 918, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -27144,7 +27827,7 @@ { "title": "Properties", "kind": 1024, - "children": [892, 893, 894, 895, 896] + "children": [913, 914, 915, 916, 917] } ], "sources": [ @@ -27158,7 +27841,7 @@ } }, { - "id": 877, + "id": 898, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -27176,14 +27859,14 @@ { "type": "reflection", "declaration": { - "id": 878, + "id": 899, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 879, + "id": 900, "name": "data", "kind": 1024, "kindString": "Property", @@ -27198,14 +27881,14 @@ "type": { "type": "reflection", "declaration": { - "id": 880, + "id": 901, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 881, + "id": 902, "name": "properties", "kind": 1024, "kindString": "Property", @@ -27219,12 +27902,12 @@ ], "type": { "type": "reference", - "id": 890, + "id": 911, "name": "GenerateLinkProperties" } }, { - "id": 882, + "id": 903, "name": "user", "kind": 1024, "kindString": "Property", @@ -27238,7 +27921,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -27247,7 +27930,7 @@ { "title": "Properties", "kind": 1024, - "children": [881, 882] + "children": [902, 903] } ], "sources": [ @@ -27261,7 +27944,7 @@ } }, { - "id": 883, + "id": 904, "name": "error", "kind": 1024, "kindString": "Property", @@ -27283,7 +27966,7 @@ { "title": "Properties", "kind": 1024, - "children": [879, 883] + "children": [900, 904] } ], "sources": [ @@ -27298,14 +27981,14 @@ { "type": "reflection", "declaration": { - "id": 884, + "id": 905, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 885, + "id": 906, "name": "data", "kind": 1024, "kindString": "Property", @@ -27320,14 +28003,14 @@ "type": { "type": "reflection", "declaration": { - "id": 886, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 887, + "id": 908, "name": "properties", "kind": 1024, "kindString": "Property", @@ -27345,7 +28028,7 @@ } }, { - "id": 888, + "id": 909, "name": "user", "kind": 1024, "kindString": "Property", @@ -27367,7 +28050,7 @@ { "title": "Properties", "kind": 1024, - "children": [887, 888] + "children": [908, 909] } ], "sources": [ @@ -27381,7 +28064,7 @@ } }, { - "id": 889, + "id": 910, "name": "error", "kind": 1024, "kindString": "Property", @@ -27395,7 +28078,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -27404,7 +28087,7 @@ { "title": "Properties", "kind": 1024, - "children": [885, 889] + "children": [906, 910] } ], "sources": [ @@ -27420,7 +28103,7 @@ } }, { - "id": 897, + "id": 918, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -27463,7 +28146,7 @@ } }, { - "id": 862, + "id": 883, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27478,14 +28161,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 884, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 886, "name": "email", "kind": 1024, "kindString": "Property", @@ -27506,7 +28189,7 @@ } }, { - "id": 866, + "id": 887, "name": "options", "kind": 1024, "kindString": "Property", @@ -27525,7 +28208,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -27539,7 +28222,7 @@ } }, { - "id": 864, + "id": 885, "name": "type", "kind": 1024, "kindString": "Property", @@ -27561,7 +28244,7 @@ { "title": "Properties", "kind": 1024, - "children": [865, 866, 864] + "children": [886, 887, 885] } ], "sources": [ @@ -27575,7 +28258,7 @@ } }, { - "id": 851, + "id": 872, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27590,14 +28273,14 @@ "type": { "type": "reflection", "declaration": { - "id": 852, + "id": 873, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 875, "name": "email", "kind": 1024, "kindString": "Property", @@ -27615,7 +28298,7 @@ } }, { - "id": 856, + "id": 877, "name": "options", "kind": 1024, "kindString": "Property", @@ -27634,7 +28317,7 @@ "typeArguments": [ { "type": "reference", - "id": 873, + "id": 894, "name": "GenerateLinkOptions" }, { @@ -27657,7 +28340,7 @@ } }, { - "id": 855, + "id": 876, "name": "password", "kind": 1024, "kindString": "Property", @@ -27675,7 +28358,7 @@ } }, { - "id": 853, + "id": 874, "name": "type", "kind": 1024, "kindString": "Property", @@ -27697,7 +28380,7 @@ { "title": "Properties", "kind": 1024, - "children": [854, 856, 855, 853] + "children": [875, 877, 876, 874] } ], "sources": [ @@ -27711,7 +28394,7 @@ } }, { - "id": 505, + "id": 526, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -27726,14 +28409,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 535, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -27753,7 +28436,7 @@ } }, { - "id": 519, + "id": 540, "name": "debug", "kind": 1024, "kindString": "Property", @@ -27777,7 +28460,7 @@ { "type": "reflection", "declaration": { - "id": 520, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27791,14 +28474,14 @@ ], "signatures": [ { - "id": 521, + "id": 542, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 522, + "id": 543, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -27809,7 +28492,7 @@ } }, { - "id": 523, + "id": 544, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -27837,7 +28520,7 @@ } }, { - "id": 513, + "id": 534, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -27857,7 +28540,7 @@ } }, { - "id": 517, + "id": 538, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -27877,7 +28560,7 @@ } }, { - "id": 518, + "id": 539, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -27893,10 +28576,10 @@ ], "type": { "type": "reference", - "id": 779, + "id": 800, "name": "AuthFlowType", "dereferenced": { - "id": 779, + "id": 800, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -27925,7 +28608,7 @@ } }, { - "id": 525, + "id": 546, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -27954,7 +28637,7 @@ } }, { - "id": 508, + "id": 529, "name": "headers", "kind": 1024, "kindString": "Property", @@ -27971,7 +28654,7 @@ "type": { "type": "reflection", "declaration": { - "id": 509, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27984,14 +28667,14 @@ } ], "indexSignature": { - "id": 510, + "id": 531, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 532, "name": "key", "kind": 32768, "flags": {}, @@ -28010,7 +28693,7 @@ } }, { - "id": 524, + "id": 545, "name": "lock", "kind": 1024, "kindString": "Property", @@ -28035,10 +28718,10 @@ ], "type": { "type": "reference", - "id": 496, + "id": 517, "name": "LockFunc", "dereferenced": { - "id": 496, + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -28053,7 +28736,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28067,7 +28750,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28083,7 +28766,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -28092,7 +28775,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -28106,7 +28789,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -28120,7 +28803,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -28131,7 +28814,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28145,7 +28828,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28155,7 +28838,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -28174,7 +28857,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -28190,7 +28873,7 @@ } }, { - "id": 515, + "id": 536, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -28210,7 +28893,7 @@ } }, { - "id": 516, + "id": 537, "name": "storage", "kind": 1024, "kindString": "Property", @@ -28226,10 +28909,10 @@ ], "type": { "type": "reference", - "id": 1028, + "id": 1049, "name": "SupportedStorage", "dereferenced": { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -28284,14 +28967,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -28318,7 +29001,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -28336,7 +29019,7 @@ } }, { - "id": 512, + "id": 533, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -28356,7 +29039,7 @@ } }, { - "id": 507, + "id": 528, "name": "url", "kind": 1024, "kindString": "Property", @@ -28380,7 +29063,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 519, 513, 517, 518, 525, 508, 524, 515, 516, 512, 507] + "children": [535, 540, 534, 538, 539, 546, 529, 545, 536, 537, 533, 528] } ], "sources": [ @@ -28394,7 +29077,7 @@ } }, { - "id": 1031, + "id": 1052, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -28409,14 +29092,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1032, + "id": 1053, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1033, + "id": 1054, "name": "error", "kind": 1024, "kindString": "Property", @@ -28433,7 +29116,7 @@ "types": [ { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" }, { @@ -28448,7 +29131,7 @@ { "title": "Properties", "kind": 1024, - "children": [1033] + "children": [1054] } ], "sources": [ @@ -28462,7 +29145,178 @@ } }, { - "id": 496, + "id": 1114, + "name": "JwtHeader", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1116, + "name": "alg", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1204, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "RS256" + }, + { + "type": "literal", + "value": "ES256" + }, + { + "type": "literal", + "value": "HS256" + } + ] + } + }, + { + "id": 1117, + "name": "kid", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1205, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1118, + "name": "typ", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1206, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1116, 1117, 1118] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1203, + "character": 24 + } + ] + } + } + }, + { + "id": 1129, + "name": "JwtPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 1119, + "name": "RequiredClaims" + }, + { + "type": "reflection", + "declaration": { + "id": 1130, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1220, + "character": 42 + } + ], + "indexSignature": { + "id": 1131, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 1132, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ] + } + }, + { + "id": 517, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -28477,7 +29331,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 518, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28491,7 +29345,7 @@ ], "signatures": [ { - "id": 498, + "id": 519, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28507,7 +29361,7 @@ }, "typeParameter": [ { - "id": 504, + "id": 525, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -28516,7 +29370,7 @@ ], "parameters": [ { - "id": 499, + "id": 520, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -28530,7 +29384,7 @@ } }, { - "id": 500, + "id": 521, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -28544,7 +29398,7 @@ } }, { - "id": 501, + "id": 522, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -28555,7 +29409,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 523, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28569,7 +29423,7 @@ ], "signatures": [ { - "id": 503, + "id": 524, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -28579,7 +29433,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -28598,7 +29452,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 525, "name": "R" } ], @@ -28612,7 +29466,7 @@ } }, { - "id": 911, + "id": 932, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -28627,14 +29481,14 @@ "type": { "type": "reflection", "declaration": { - "id": 912, + "id": 933, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 935, "name": "code", "kind": 1024, "kindString": "Property", @@ -28655,7 +29509,7 @@ } }, { - "id": 913, + "id": 934, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -28680,7 +29534,7 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [935, 934] } ], "sources": [ @@ -28694,7 +29548,7 @@ } }, { - "id": 907, + "id": 928, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -28709,14 +29563,14 @@ "type": { "type": "reflection", "declaration": { - "id": 908, + "id": 929, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 910, + "id": 931, "name": "channel", "kind": 1024, "kindString": "Property", @@ -28748,7 +29602,7 @@ } }, { - "id": 909, + "id": 930, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -28773,7 +29627,7 @@ { "title": "Properties", "kind": 1024, - "children": [910, 909] + "children": [931, 930] } ], "sources": [ @@ -28787,7 +29641,7 @@ } }, { - "id": 898, + "id": 919, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -28803,7 +29657,7 @@ "type": "union", "types": [ { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -28818,14 +29672,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -28846,7 +29700,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -28869,7 +29723,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -28896,7 +29750,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -28910,7 +29764,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -28925,14 +29779,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -28953,7 +29807,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -28976,7 +29830,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29001,7 +29855,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -29018,7 +29872,7 @@ } }, { - "id": 1060, + "id": 1081, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -29033,14 +29887,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1061, + "id": 1082, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1062, + "id": 1083, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -29061,7 +29915,7 @@ } }, { - "id": 1063, + "id": 1084, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -29084,7 +29938,7 @@ } }, { - "id": 1064, + "id": 1085, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29109,7 +29963,7 @@ { "title": "Properties", "kind": 1024, - "children": [1062, 1063, 1064] + "children": [1083, 1084, 1085] } ], "sources": [ @@ -29123,7 +29977,7 @@ } }, { - "id": 1055, + "id": 1076, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -29138,14 +29992,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1056, + "id": 1077, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1057, + "id": 1078, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -29166,7 +30020,7 @@ } }, { - "id": 1059, + "id": 1080, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -29189,7 +30043,7 @@ } }, { - "id": 1058, + "id": 1079, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -29216,7 +30070,7 @@ { "title": "Properties", "kind": 1024, - "children": [1057, 1059, 1058] + "children": [1078, 1080, 1079] } ], "sources": [ @@ -29230,7 +30084,7 @@ } }, { - "id": 899, + "id": 920, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -29245,14 +30099,14 @@ "type": { "type": "reflection", "declaration": { - "id": 900, + "id": 921, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 901, + "id": 922, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -29277,7 +30131,7 @@ { "title": "Properties", "kind": 1024, - "children": [901] + "children": [922] } ], "sources": [ @@ -29291,7 +30145,7 @@ } }, { - "id": 902, + "id": 923, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -29306,14 +30160,14 @@ "type": { "type": "reflection", "declaration": { - "id": 903, + "id": 924, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 905, + "id": 926, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -29334,7 +30188,7 @@ } }, { - "id": 906, + "id": 927, "name": "code", "kind": 1024, "kindString": "Property", @@ -29355,7 +30209,7 @@ } }, { - "id": 904, + "id": 925, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -29380,7 +30234,7 @@ { "title": "Properties", "kind": 1024, - "children": [905, 906, 904] + "children": [926, 927, 925] } ], "sources": [ @@ -29394,7 +30248,7 @@ } }, { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -29421,7 +30275,7 @@ } }, { - "id": 602, + "id": 623, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -29439,14 +30293,14 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 604, + "id": 625, "name": "data", "kind": 1024, "kindString": "Property", @@ -29461,14 +30315,14 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 606, + "id": 627, "name": "provider", "kind": 1024, "kindString": "Property", @@ -29482,12 +30336,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 607, + "id": 628, "name": "url", "kind": 1024, "kindString": "Property", @@ -29509,7 +30363,7 @@ { "title": "Properties", "kind": 1024, - "children": [606, 607] + "children": [627, 628] } ], "sources": [ @@ -29523,7 +30377,7 @@ } }, { - "id": 608, + "id": 629, "name": "error", "kind": 1024, "kindString": "Property", @@ -29545,7 +30399,7 @@ { "title": "Properties", "kind": 1024, - "children": [604, 608] + "children": [625, 629] } ], "sources": [ @@ -29560,14 +30414,14 @@ { "type": "reflection", "declaration": { - "id": 609, + "id": 630, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 610, + "id": 631, "name": "data", "kind": 1024, "kindString": "Property", @@ -29582,14 +30436,14 @@ "type": { "type": "reflection", "declaration": { - "id": 611, + "id": 632, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 612, + "id": 633, "name": "provider", "kind": 1024, "kindString": "Property", @@ -29603,12 +30457,12 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider" } }, { - "id": 613, + "id": 634, "name": "url", "kind": 1024, "kindString": "Property", @@ -29630,7 +30484,7 @@ { "title": "Properties", "kind": 1024, - "children": [612, 613] + "children": [633, 634] } ], "sources": [ @@ -29644,7 +30498,7 @@ } }, { - "id": 614, + "id": 635, "name": "error", "kind": 1024, "kindString": "Property", @@ -29658,7 +30512,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -29667,7 +30521,7 @@ { "title": "Properties", "kind": 1024, - "children": [610, 614] + "children": [631, 635] } ], "sources": [ @@ -29683,7 +30537,7 @@ } }, { - "id": 1048, + "id": 1069, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -29698,14 +30552,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1049, + "id": 1070, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1050, + "id": 1071, "name": "page", "kind": 1024, "kindString": "Property", @@ -29728,7 +30582,7 @@ } }, { - "id": 1051, + "id": 1072, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -29755,7 +30609,7 @@ { "title": "Properties", "kind": 1024, - "children": [1050, 1051] + "children": [1071, 1072] } ], "sources": [ @@ -29769,7 +30623,7 @@ } }, { - "id": 1041, + "id": 1062, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -29784,14 +30638,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1042, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1044, + "id": 1065, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -29809,7 +30663,7 @@ } }, { - "id": 1043, + "id": 1064, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -29836,7 +30690,7 @@ } }, { - "id": 1045, + "id": 1066, "name": "total", "kind": 1024, "kindString": "Property", @@ -29858,7 +30712,7 @@ { "title": "Properties", "kind": 1024, - "children": [1044, 1043, 1045] + "children": [1065, 1064, 1066] } ], "sources": [ @@ -29869,14 +30723,14 @@ } ], "indexSignature": { - "id": 1046, + "id": 1067, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1047, + "id": 1068, "name": "key", "kind": 32768, "flags": {}, @@ -29895,7 +30749,7 @@ } }, { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -30005,7 +30859,231 @@ } }, { - "id": 824, + "id": 1119, + "name": "RequiredClaims", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1127, + "name": "aal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1216, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 981, + "name": "AuthenticatorAssuranceLevels", + "dereferenced": { + "id": 981, + "name": "AuthenticatorAssuranceLevels", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 903, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] + } + } + } + }, + { + "id": 1123, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1212, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1124, + "name": "exp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1213, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1125, + "name": "iat", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1214, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1121, + "name": "iss", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1210, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1126, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1215, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1128, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1122, + "name": "sub", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1127, 1123, 1124, 1125, 1121, 1126, 1128, 1122] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1209, + "character": 29 + } + ] + } + } + }, + { + "id": 845, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -30023,14 +31101,14 @@ { "type": "reflection", "declaration": { - "id": 825, + "id": 846, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 827, + "id": 848, "name": "email", "kind": 1024, "kindString": "Property", @@ -30048,7 +31126,7 @@ } }, { - "id": 828, + "id": 849, "name": "options", "kind": 1024, "kindString": "Property", @@ -30065,14 +31143,14 @@ "type": { "type": "reflection", "declaration": { - "id": 829, + "id": 850, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30095,7 +31173,7 @@ } }, { - "id": 830, + "id": 851, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -30122,7 +31200,7 @@ { "title": "Properties", "kind": 1024, - "children": [831, 830] + "children": [852, 851] } ], "sources": [ @@ -30136,7 +31214,7 @@ } }, { - "id": 826, + "id": 847, "name": "type", "kind": 1024, "kindString": "Property", @@ -30153,7 +31231,7 @@ "typeArguments": [ { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType" }, { @@ -30180,7 +31258,7 @@ { "title": "Properties", "kind": 1024, - "children": [827, 828, 826] + "children": [848, 849, 847] } ], "sources": [ @@ -30195,14 +31273,14 @@ { "type": "reflection", "declaration": { - "id": 832, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 835, + "id": 856, "name": "options", "kind": 1024, "kindString": "Property", @@ -30219,14 +31297,14 @@ "type": { "type": "reflection", "declaration": { - "id": 836, + "id": 857, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 858, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30253,7 +31331,7 @@ { "title": "Properties", "kind": 1024, - "children": [837] + "children": [858] } ], "sources": [ @@ -30267,7 +31345,7 @@ } }, { - "id": 834, + "id": 855, "name": "phone", "kind": 1024, "kindString": "Property", @@ -30285,7 +31363,7 @@ } }, { - "id": 833, + "id": 854, "name": "type", "kind": 1024, "kindString": "Property", @@ -30302,7 +31380,7 @@ "typeArguments": [ { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType" }, { @@ -30329,7 +31407,7 @@ { "title": "Properties", "kind": 1024, - "children": [835, 834, 833] + "children": [856, 855, 854] } ], "sources": [ @@ -30345,7 +31423,7 @@ } }, { - "id": 615, + "id": 636, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -30363,14 +31441,14 @@ { "type": "reflection", "declaration": { - "id": 616, + "id": 637, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 617, + "id": 638, "name": "data", "kind": 1024, "kindString": "Property", @@ -30385,14 +31463,14 @@ "type": { "type": "reflection", "declaration": { - "id": 618, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 640, "name": "url", "kind": 1024, "kindString": "Property", @@ -30418,7 +31496,7 @@ { "title": "Properties", "kind": 1024, - "children": [619] + "children": [640] } ], "sources": [ @@ -30432,7 +31510,7 @@ } }, { - "id": 620, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -30454,7 +31532,7 @@ { "title": "Properties", "kind": 1024, - "children": [617, 620] + "children": [638, 641] } ], "sources": [ @@ -30469,14 +31547,14 @@ { "type": "reflection", "declaration": { - "id": 621, + "id": 642, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 643, "name": "data", "kind": 1024, "kindString": "Property", @@ -30494,7 +31572,7 @@ } }, { - "id": 623, + "id": 644, "name": "error", "kind": 1024, "kindString": "Property", @@ -30508,7 +31586,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -30517,7 +31595,7 @@ { "title": "Properties", "kind": 1024, - "children": [622, 623] + "children": [643, 644] } ], "sources": [ @@ -30533,7 +31611,7 @@ } }, { - "id": 726, + "id": 747, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -30548,14 +31626,14 @@ "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 748, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 728, + "id": 749, "name": "options", "kind": 1024, "kindString": "Property", @@ -30572,14 +31650,14 @@ "type": { "type": "reflection", "declaration": { - "id": 729, + "id": 750, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 731, + "id": 752, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30602,7 +31680,7 @@ } }, { - "id": 730, + "id": 751, "name": "data", "kind": 1024, "kindString": "Property", @@ -30630,7 +31708,7 @@ { "title": "Properties", "kind": 1024, - "children": [731, 730] + "children": [752, 751] } ], "sources": [ @@ -30648,7 +31726,7 @@ { "title": "Properties", "kind": 1024, - "children": [728] + "children": [749] } ], "sources": [ @@ -30662,7 +31740,7 @@ } }, { - "id": 792, + "id": 813, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -30677,14 +31755,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 814, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 797, + "id": 818, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -30707,7 +31785,7 @@ } }, { - "id": 798, + "id": 819, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -30730,7 +31808,7 @@ } }, { - "id": 799, + "id": 820, "name": "options", "kind": 1024, "kindString": "Property", @@ -30747,14 +31825,14 @@ "type": { "type": "reflection", "declaration": { - "id": 800, + "id": 821, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30781,7 +31859,7 @@ { "title": "Properties", "kind": 1024, - "children": [801] + "children": [822] } ], "sources": [ @@ -30795,7 +31873,7 @@ } }, { - "id": 794, + "id": 815, "name": "provider", "kind": 1024, "kindString": "Property", @@ -30843,7 +31921,7 @@ { "type": "reflection", "declaration": { - "id": 795, + "id": 816, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30863,7 +31941,7 @@ } }, { - "id": 796, + "id": 817, "name": "token", "kind": 1024, "kindString": "Property", @@ -30888,7 +31966,7 @@ { "title": "Properties", "kind": 1024, - "children": [797, 798, 799, 794, 796] + "children": [818, 819, 820, 815, 817] } ], "sources": [ @@ -30902,7 +31980,7 @@ } }, { - "id": 780, + "id": 801, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -30917,14 +31995,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 802, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 804, "name": "options", "kind": 1024, "kindString": "Property", @@ -30941,14 +32019,14 @@ "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 805, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 787, + "id": 808, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -30968,7 +32046,7 @@ "type": { "type": "reflection", "declaration": { - "id": 788, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30981,14 +32059,14 @@ } ], "indexSignature": { - "id": 789, + "id": 810, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 811, "name": "key", "kind": 32768, "flags": {}, @@ -31007,7 +32085,7 @@ } }, { - "id": 785, + "id": 806, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -31030,7 +32108,7 @@ } }, { - "id": 786, + "id": 807, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -31053,7 +32131,7 @@ } }, { - "id": 791, + "id": 812, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -31080,7 +32158,7 @@ { "title": "Properties", "kind": 1024, - "children": [787, 785, 786, 791] + "children": [808, 806, 807, 812] } ], "sources": [ @@ -31094,7 +32172,7 @@ } }, { - "id": 782, + "id": 803, "name": "provider", "kind": 1024, "kindString": "Property", @@ -31111,10 +32189,10 @@ ], "type": { "type": "reference", - "id": 493, + "id": 514, "name": "Provider", "dereferenced": { - "id": 493, + "id": 514, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -31230,7 +32308,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782] + "children": [804, 803] } ], "sources": [ @@ -31244,7 +32322,7 @@ } }, { - "id": 749, + "id": 770, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -31262,14 +32340,14 @@ { "type": "reflection", "declaration": { - "id": 750, + "id": 771, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 772, "name": "email", "kind": 1024, "kindString": "Property", @@ -31290,7 +32368,7 @@ } }, { - "id": 753, + "id": 774, "name": "options", "kind": 1024, "kindString": "Property", @@ -31307,14 +32385,14 @@ "type": { "type": "reflection", "declaration": { - "id": 754, + "id": 775, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 776, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31341,7 +32419,7 @@ { "title": "Properties", "kind": 1024, - "children": [755] + "children": [776] } ], "sources": [ @@ -31355,7 +32433,7 @@ } }, { - "id": 752, + "id": 773, "name": "password", "kind": 1024, "kindString": "Property", @@ -31380,7 +32458,7 @@ { "title": "Properties", "kind": 1024, - "children": [751, 753, 752] + "children": [772, 774, 773] } ], "sources": [ @@ -31395,14 +32473,14 @@ { "type": "reflection", "declaration": { - "id": 756, + "id": 777, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 780, "name": "options", "kind": 1024, "kindString": "Property", @@ -31419,14 +32497,14 @@ "type": { "type": "reflection", "declaration": { - "id": 760, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 761, + "id": 782, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31453,7 +32531,7 @@ { "title": "Properties", "kind": 1024, - "children": [761] + "children": [782] } ], "sources": [ @@ -31467,7 +32545,7 @@ } }, { - "id": 758, + "id": 779, "name": "password", "kind": 1024, "kindString": "Property", @@ -31488,7 +32566,7 @@ } }, { - "id": 757, + "id": 778, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31513,7 +32591,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 757] + "children": [780, 779, 778] } ], "sources": [ @@ -31529,7 +32607,7 @@ } }, { - "id": 762, + "id": 783, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -31547,14 +32625,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 785, "name": "email", "kind": 1024, "kindString": "Property", @@ -31575,7 +32653,7 @@ } }, { - "id": 765, + "id": 786, "name": "options", "kind": 1024, "kindString": "Property", @@ -31592,14 +32670,14 @@ "type": { "type": "reflection", "declaration": { - "id": 766, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 770, + "id": 791, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31622,7 +32700,7 @@ } }, { - "id": 769, + "id": 790, "name": "data", "kind": 1024, "kindString": "Property", @@ -31646,7 +32724,7 @@ } }, { - "id": 767, + "id": 788, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -31669,7 +32747,7 @@ } }, { - "id": 768, + "id": 789, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -31696,7 +32774,7 @@ { "title": "Properties", "kind": 1024, - "children": [770, 769, 767, 768] + "children": [791, 790, 788, 789] } ], "sources": [ @@ -31714,7 +32792,7 @@ { "title": "Properties", "kind": 1024, - "children": [764, 765] + "children": [785, 786] } ], "sources": [ @@ -31729,14 +32807,14 @@ { "type": "reflection", "declaration": { - "id": 771, + "id": 792, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 773, + "id": 794, "name": "options", "kind": 1024, "kindString": "Property", @@ -31753,14 +32831,14 @@ "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 777, + "id": 798, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31783,7 +32861,7 @@ } }, { - "id": 778, + "id": 799, "name": "channel", "kind": 1024, "kindString": "Property", @@ -31815,7 +32893,7 @@ } }, { - "id": 776, + "id": 797, "name": "data", "kind": 1024, "kindString": "Property", @@ -31839,7 +32917,7 @@ } }, { - "id": 775, + "id": 796, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -31866,7 +32944,7 @@ { "title": "Properties", "kind": 1024, - "children": [777, 778, 776, 775] + "children": [798, 799, 797, 796] } ], "sources": [ @@ -31880,7 +32958,7 @@ } }, { - "id": 772, + "id": 793, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31905,7 +32983,7 @@ { "title": "Properties", "kind": 1024, - "children": [773, 772] + "children": [794, 793] } ], "sources": [ @@ -31921,7 +32999,7 @@ } }, { - "id": 838, + "id": 859, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -31939,14 +33017,14 @@ { "type": "reflection", "declaration": { - "id": 839, + "id": 860, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 841, + "id": 862, "name": "options", "kind": 1024, "kindString": "Property", @@ -31963,14 +33041,14 @@ "type": { "type": "reflection", "declaration": { - "id": 842, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 865, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31993,7 +33071,7 @@ } }, { - "id": 843, + "id": 864, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -32020,7 +33098,7 @@ { "title": "Properties", "kind": 1024, - "children": [844, 843] + "children": [865, 864] } ], "sources": [ @@ -32034,7 +33112,7 @@ } }, { - "id": 840, + "id": 861, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -32059,7 +33137,7 @@ { "title": "Properties", "kind": 1024, - "children": [841, 840] + "children": [862, 861] } ], "sources": [ @@ -32074,14 +33152,14 @@ { "type": "reflection", "declaration": { - "id": 845, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 846, + "id": 867, "name": "domain", "kind": 1024, "kindString": "Property", @@ -32102,7 +33180,7 @@ } }, { - "id": 847, + "id": 868, "name": "options", "kind": 1024, "kindString": "Property", @@ -32119,14 +33197,14 @@ "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 869, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 871, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32149,7 +33227,7 @@ } }, { - "id": 849, + "id": 870, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -32176,7 +33254,7 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [871, 870] } ], "sources": [ @@ -32194,7 +33272,7 @@ { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [867, 868] } ], "sources": [ @@ -32210,7 +33288,7 @@ } }, { - "id": 1052, + "id": 1073, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -32225,14 +33303,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1053, + "id": 1074, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1054, + "id": 1075, "name": "scope", "kind": 1024, "kindString": "Property", @@ -32272,7 +33350,7 @@ { "title": "Properties", "kind": 1024, - "children": [1054] + "children": [1075] } ], "sources": [ @@ -32286,7 +33364,7 @@ } }, { - "id": 732, + "id": 753, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32304,14 +33382,14 @@ { "type": "reflection", "declaration": { - "id": 733, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 734, + "id": 755, "name": "email", "kind": 1024, "kindString": "Property", @@ -32332,7 +33410,7 @@ } }, { - "id": 736, + "id": 757, "name": "options", "kind": 1024, "kindString": "Property", @@ -32349,14 +33427,14 @@ "type": { "type": "reflection", "declaration": { - "id": 737, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 740, + "id": 761, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32379,7 +33457,7 @@ } }, { - "id": 739, + "id": 760, "name": "data", "kind": 1024, "kindString": "Property", @@ -32403,7 +33481,7 @@ } }, { - "id": 738, + "id": 759, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -32430,7 +33508,7 @@ { "title": "Properties", "kind": 1024, - "children": [740, 739, 738] + "children": [761, 760, 759] } ], "sources": [ @@ -32444,7 +33522,7 @@ } }, { - "id": 735, + "id": 756, "name": "password", "kind": 1024, "kindString": "Property", @@ -32469,7 +33547,7 @@ { "title": "Properties", "kind": 1024, - "children": [734, 736, 735] + "children": [755, 757, 756] } ], "sources": [ @@ -32484,14 +33562,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 765, "name": "options", "kind": 1024, "kindString": "Property", @@ -32508,14 +33586,14 @@ "type": { "type": "reflection", "declaration": { - "id": 745, + "id": 766, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 747, + "id": 768, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32538,7 +33616,7 @@ } }, { - "id": 748, + "id": 769, "name": "channel", "kind": 1024, "kindString": "Property", @@ -32570,7 +33648,7 @@ } }, { - "id": 746, + "id": 767, "name": "data", "kind": 1024, "kindString": "Property", @@ -32598,7 +33676,7 @@ { "title": "Properties", "kind": 1024, - "children": [747, 748, 746] + "children": [768, 769, 767] } ], "sources": [ @@ -32612,7 +33690,7 @@ } }, { - "id": 743, + "id": 764, "name": "password", "kind": 1024, "kindString": "Property", @@ -32633,7 +33711,7 @@ } }, { - "id": 742, + "id": 763, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32658,7 +33736,7 @@ { "title": "Properties", "kind": 1024, - "children": [744, 743, 742] + "children": [765, 764, 763] } ], "sources": [ @@ -32674,7 +33752,7 @@ } }, { - "id": 1028, + "id": 1049, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -32729,14 +33807,14 @@ { "type": "reflection", "declaration": { - "id": 1029, + "id": 1050, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1030, + "id": 1051, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -32763,7 +33841,7 @@ { "title": "Properties", "kind": 1024, - "children": [1030] + "children": [1051] } ], "sources": [ @@ -32779,7 +33857,7 @@ } }, { - "id": 624, + "id": 645, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -32797,14 +33875,14 @@ { "type": "reflection", "declaration": { - "id": 625, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 647, "name": "data", "kind": 1024, "kindString": "Property", @@ -32819,14 +33897,14 @@ "type": { "type": "reflection", "declaration": { - "id": 627, + "id": 648, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 628, + "id": 649, "name": "user", "kind": 1024, "kindString": "Property", @@ -32840,7 +33918,7 @@ ], "type": { "type": "reference", - "id": 675, + "id": 696, "name": "User" } } @@ -32849,7 +33927,7 @@ { "title": "Properties", "kind": 1024, - "children": [628] + "children": [649] } ], "sources": [ @@ -32863,7 +33941,7 @@ } }, { - "id": 629, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -32885,7 +33963,7 @@ { "title": "Properties", "kind": 1024, - "children": [626, 629] + "children": [647, 650] } ], "sources": [ @@ -32900,14 +33978,14 @@ { "type": "reflection", "declaration": { - "id": 630, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 631, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -32922,14 +34000,14 @@ "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 653, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 654, "name": "user", "kind": 1024, "kindString": "Property", @@ -32951,7 +34029,7 @@ { "title": "Properties", "kind": 1024, - "children": [633] + "children": [654] } ], "sources": [ @@ -32965,7 +34043,7 @@ } }, { - "id": 634, + "id": 655, "name": "error", "kind": 1024, "kindString": "Property", @@ -32979,7 +34057,7 @@ ], "type": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -32988,7 +34066,7 @@ { "title": "Properties", "kind": 1024, - "children": [631, 634] + "children": [652, 655] } ], "sources": [ @@ -33004,7 +34082,7 @@ } }, { - "id": 802, + "id": 823, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -33020,14 +34098,14 @@ "type": "union", "types": [ { - "id": 803, + "id": 824, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 807, + "id": 828, "name": "options", "kind": 1024, "kindString": "Property", @@ -33044,14 +34122,14 @@ "type": { "type": "reflection", "declaration": { - "id": 808, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 810, + "id": 831, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33080,7 +34158,7 @@ } }, { - "id": 809, + "id": 830, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -33107,14 +34185,14 @@ { "title": "Properties", "kind": 1024, - "children": [810, 809] + "children": [831, 830] } ] } } }, { - "id": 804, + "id": 825, "name": "phone", "kind": 1024, "kindString": "Property", @@ -33135,7 +34213,7 @@ } }, { - "id": 805, + "id": 826, "name": "token", "kind": 1024, "kindString": "Property", @@ -33156,7 +34234,7 @@ } }, { - "id": 806, + "id": 827, "name": "type", "kind": 1024, "kindString": "Property", @@ -33173,10 +34251,10 @@ ], "type": { "type": "reference", - "id": 822, + "id": 843, "name": "MobileOtpType", "dereferenced": { - "id": 822, + "id": 843, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -33209,7 +34287,7 @@ { "title": "Properties", "kind": 1024, - "children": [807, 804, 805, 806] + "children": [828, 825, 826, 827] } ], "sources": [ @@ -33221,14 +34299,14 @@ ] }, { - "id": 811, + "id": 832, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 812, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -33249,7 +34327,7 @@ } }, { - "id": 815, + "id": 836, "name": "options", "kind": 1024, "kindString": "Property", @@ -33266,14 +34344,14 @@ "type": { "type": "reflection", "declaration": { - "id": 816, + "id": 837, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 839, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33302,7 +34380,7 @@ } }, { - "id": 817, + "id": 838, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -33329,14 +34407,14 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [839, 838] } ] } } }, { - "id": 813, + "id": 834, "name": "token", "kind": 1024, "kindString": "Property", @@ -33357,7 +34435,7 @@ } }, { - "id": 814, + "id": 835, "name": "type", "kind": 1024, "kindString": "Property", @@ -33374,10 +34452,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -33426,7 +34504,7 @@ { "title": "Properties", "kind": 1024, - "children": [812, 815, 813, 814] + "children": [833, 836, 834, 835] } ], "sources": [ @@ -33438,14 +34516,14 @@ ] }, { - "id": 819, + "id": 840, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 820, + "id": 841, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -33466,7 +34544,7 @@ } }, { - "id": 821, + "id": 842, "name": "type", "kind": 1024, "kindString": "Property", @@ -33483,10 +34561,10 @@ ], "type": { "type": "reference", - "id": 823, + "id": 844, "name": "EmailOtpType", "dereferenced": { - "id": 823, + "id": 844, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -33535,7 +34613,7 @@ { "title": "Properties", "kind": 1024, - "children": [820, 821] + "children": [841, 842] } ], "sources": [ @@ -33550,7 +34628,7 @@ } }, { - "id": 528, + "id": 549, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -33565,14 +34643,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 550, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 552, "name": "message", "kind": 1024, "kindString": "Property", @@ -33590,7 +34668,7 @@ } }, { - "id": 530, + "id": 551, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -33606,7 +34684,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 526, + "id": 547, "name": "WeakPasswordReasons" } } @@ -33616,7 +34694,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 530] + "children": [552, 551] } ], "sources": [ @@ -33630,7 +34708,7 @@ } }, { - "id": 526, + "id": 547, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -33667,7 +34745,7 @@ { "type": "reflection", "declaration": { - "id": 527, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33687,7 +34765,7 @@ } }, { - "id": 475, + "id": 496, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -33712,7 +34790,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 476, + "id": 497, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -33737,7 +34815,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 490, + "id": 511, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -33762,14 +34840,14 @@ "type": { "type": "reflection", "declaration": { - "id": 491, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 513, "name": "debug", "kind": 1024, "kindString": "Property", @@ -33800,7 +34878,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [513] } ] } @@ -33808,7 +34886,7 @@ "defaultValue": "..." }, { - "id": 1096, + "id": 1143, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -33822,14 +34900,14 @@ ], "signatures": [ { - "id": 1097, + "id": 1144, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1098, + "id": 1145, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -33846,7 +34924,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1121, + "id": 1168, "name": "AuthApiError" } } @@ -33854,7 +34932,7 @@ ] }, { - "id": 1093, + "id": 1140, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -33868,14 +34946,14 @@ ], "signatures": [ { - "id": 1094, + "id": 1141, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1095, + "id": 1142, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -33892,7 +34970,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1111, + "id": 1158, "name": "AuthError" } } @@ -33900,7 +34978,7 @@ ] }, { - "id": 1102, + "id": 1149, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -33914,14 +34992,14 @@ ], "signatures": [ { - "id": 1103, + "id": 1150, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1104, + "id": 1151, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -33938,7 +35016,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1178, + "id": 1225, "name": "AuthImplicitGrantRedirectError" } } @@ -33946,7 +35024,7 @@ ] }, { - "id": 1105, + "id": 1152, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -33960,14 +35038,14 @@ ], "signatures": [ { - "id": 1106, + "id": 1153, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1107, + "id": 1154, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -33984,7 +35062,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1232, + "id": 1279, "name": "AuthRetryableFetchError" } } @@ -33992,7 +35070,7 @@ ] }, { - "id": 1099, + "id": 1146, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -34006,14 +35084,14 @@ ], "signatures": [ { - "id": 1100, + "id": 1147, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1101, + "id": 1148, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -34030,7 +35108,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1153, + "id": 1200, "name": "AuthSessionMissingError" } } @@ -34038,7 +35116,7 @@ ] }, { - "id": 1108, + "id": 1155, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -34052,14 +35130,14 @@ ], "signatures": [ { - "id": 1109, + "id": 1156, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1110, + "id": 1157, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -34076,7 +35154,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1242, + "id": 1289, "name": "AuthWeakPasswordError" } } @@ -34084,7 +35162,7 @@ ] }, { - "id": 477, + "id": 498, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -34098,7 +35176,7 @@ ], "signatures": [ { - "id": 478, + "id": 499, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -34109,7 +35187,7 @@ }, "typeParameter": [ { - "id": 479, + "id": 500, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -34118,7 +35196,7 @@ ], "parameters": [ { - "id": 480, + "id": 501, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -34132,7 +35210,7 @@ } }, { - "id": 481, + "id": 502, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -34146,7 +35224,7 @@ } }, { - "id": 482, + "id": 503, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -34157,14 +35235,14 @@ "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 505, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -34174,7 +35252,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -34193,7 +35271,7 @@ "typeArguments": [ { "type": "reference", - "id": 479, + "id": 500, "name": "R" } ], @@ -34209,32 +35287,36 @@ { "title": "Classes", "kind": 128, - "children": [1121, 1111, 1178, 1169, 1161, 1205, 1232, 1153, 1131, 1242, 1141, 1, 78, 485] + "children": [ + 1168, 1158, 1225, 1216, 1301, 1208, 1252, 1279, 1200, 1178, 1289, 1188, 1, 78, 506 + ] }, { "title": "Interfaces", "kind": 256, - "children": [644, 705, 660, 873, 1021, 972, 635, 718, 675, 668, 699, 648, 672, 811, 803, 819] + "children": [ + 665, 726, 681, 894, 1042, 993, 1133, 656, 739, 696, 689, 720, 669, 693, 832, 824, 840 + ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 495, 494, 779, 1005, 996, 1018, 1009, 938, 1081, 928, 1065, 961, 949, 929, 915, 559, 532, - 545, 574, 587, 960, 1034, 823, 867, 857, 876, 890, 877, 897, 862, 851, 505, 1031, 496, 911, - 907, 898, 1060, 1055, 899, 902, 822, 602, 1048, 1041, 493, 824, 615, 726, 792, 780, 749, - 762, 838, 1052, 732, 1028, 624, 802, 528, 526 + 516, 515, 800, 1026, 1017, 1039, 1030, 959, 1102, 949, 1086, 982, 970, 950, 936, 580, 553, + 566, 595, 608, 981, 1055, 844, 888, 878, 897, 911, 898, 918, 883, 872, 526, 1052, 1114, + 1129, 517, 932, 928, 919, 1081, 1076, 920, 923, 843, 623, 1069, 1062, 514, 1119, 845, 636, + 747, 813, 801, 770, 783, 859, 1073, 753, 1049, 645, 823, 549, 547 ] }, { "title": "Variables", "kind": 32, - "children": [475, 476, 490] + "children": [496, 497, 511] }, { "title": "Functions", "kind": 64, - "children": [1096, 1093, 1102, 1105, 1099, 1108, 477] + "children": [1143, 1140, 1149, 1152, 1146, 1155, 498] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json index 1a2840cc303..ccad9fc904f 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -24,27 +24,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -61,18 +61,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -86,16 +86,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -105,7 +105,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -116,7 +116,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -126,7 +126,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -136,28 +136,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -181,7 +181,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -216,7 +216,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -226,7 +226,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -248,7 +248,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -258,7 +258,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -268,7 +268,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -278,7 +278,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -309,7 +309,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -320,7 +320,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -330,7 +330,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -340,7 +340,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -351,7 +351,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -362,7 +362,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -374,7 +374,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -384,7 +384,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -396,7 +396,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -404,13 +743,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -420,7 +759,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -431,7 +770,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -444,16 +783,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -463,7 +802,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -471,20 +810,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -493,7 +832,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -502,11 +841,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -514,11 +853,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -527,7 +866,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -540,7 +879,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -557,21 +896,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -580,7 +919,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -589,11 +928,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -601,11 +940,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -645,7 +984,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -662,21 +1001,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -753,7 +1092,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -761,13 +1100,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -781,16 +1120,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -798,11 +1137,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -822,36 +1161,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -869,7 +1208,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -881,7 +1220,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -890,11 +1229,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -902,11 +1241,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -2292,7 +2631,7 @@ ] }, { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -2303,7 +2642,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2317,14 +2656,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -2332,14 +2671,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -2357,7 +2696,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -2375,7 +2714,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2393,7 +2732,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -2415,7 +2754,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -2424,7 +2763,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -2439,7 +2778,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -2457,7 +2796,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -2475,7 +2814,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2497,12 +2836,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -2615,7 +2954,7 @@ "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -2665,14 +3004,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 493, + "id": 501, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 492, + "id": 500, "name": "default.constructor" } }, @@ -2688,7 +3027,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -2698,7 +3037,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 591, "name": "default.body" } }, @@ -2713,7 +3052,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], @@ -2793,7 +3132,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 586, + "id": 594, "name": "default.fetch" } }, @@ -2808,7 +3147,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -2830,7 +3169,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 581, + "id": 589, "name": "default.headers" } }, @@ -2845,7 +3184,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -2855,7 +3194,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 599, "name": "default.isMaybeSingle" } }, @@ -2870,7 +3209,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -2901,7 +3240,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 579, + "id": 587, "name": "default.method" } }, @@ -2917,7 +3256,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -2927,7 +3266,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 582, + "id": 590, "name": "default.schema" } }, @@ -2942,7 +3281,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -2953,7 +3292,7 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 584, + "id": 592, "name": "default.shouldThrowOnError" } }, @@ -2969,7 +3308,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -2981,7 +3320,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 593, "name": "default.signal" } }, @@ -2996,7 +3335,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -3008,7 +3347,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 580, + "id": 588, "name": "default.url" } }, @@ -3087,14 +3426,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 560, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 559, "name": "default.abortSignal" } }, @@ -3617,7 +3956,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -3632,14 +3971,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 561, + "id": 569, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 560, + "id": 568, "name": "default.csv" } }, @@ -4027,7 +4366,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -4042,7 +4381,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -4074,14 +4413,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 565, + "id": 573, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 564, + "id": 572, "name": "default.explain" } }, @@ -4407,7 +4746,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -4434,14 +4773,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 571, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 570, "name": "default.geojson" } }, @@ -6486,14 +6825,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 537, + "id": 545, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 536, + "id": 544, "name": "default.limit" } }, @@ -7100,7 +7439,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "union", @@ -7125,14 +7464,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 558, + "id": 566, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 557, + "id": 565, "name": "default.maybeSingle" } }, @@ -7855,7 +8194,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 514, "name": "default.order" } }, @@ -8019,7 +8358,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 514, + "id": 522, "name": "default.order" } }, @@ -8194,7 +8533,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 521, + "id": 529, "name": "default.order" } }, @@ -8355,14 +8694,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 529, + "id": 537, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 505, + "id": 513, "name": "default.order" } }, @@ -8581,6 +8920,282 @@ } ] }, + { + "id": 486, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 487, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 488, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 493, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 489, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 492, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [492] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 619, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 618, + "name": "default.overrideTypes" + } + }, { "id": 419, "name": "range", @@ -8745,14 +9360,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 544, + "id": 552, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 543, + "id": 551, "name": "default.range" } }, @@ -9635,7 +10250,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], @@ -9647,7 +10262,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { @@ -9657,13 +10278,13 @@ "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -9677,8 +10298,19 @@ }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", @@ -9695,14 +10327,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 577, + "id": 585, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 576, + "id": 584, "name": "default.returns" } }, @@ -9764,14 +10396,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 575, + "id": 583, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 574, + "id": 582, "name": "default.rollback" } }, @@ -9823,7 +10455,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -9876,7 +10508,7 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -9911,14 +10543,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 509, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 508, "name": "default.select" } }, @@ -9931,7 +10563,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], @@ -10003,14 +10635,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 595, + "id": 603, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 594, + "id": 602, "name": "default.setHeader" } }, @@ -10072,7 +10704,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -10088,14 +10720,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 555, + "id": 563, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 554, + "id": 562, "name": "default.single" } }, @@ -10462,7 +11094,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], @@ -10482,7 +11114,7 @@ "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -10545,7 +11177,7 @@ "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -10686,14 +11318,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 607, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 598, + "id": 606, "name": "default.then" } }, @@ -10706,7 +11338,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], @@ -10758,7 +11390,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -10776,14 +11408,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 593, + "id": 601, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 592, + "id": 600, "name": "default.throwOnError" } } @@ -10804,8 +11436,8 @@ "kind": 2048, "children": [ 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 419, 311, 279, 287, 295, 303, - 452, 450, 376, 470, 430, 327, 474, 468 + 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, + 303, 452, 450, 376, 470, 430, 327, 474, 468 ] } ], @@ -10818,7 +11450,7 @@ ], "typeParameter": [ { - "id": 486, + "id": 494, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -10829,7 +11461,7 @@ } }, { - "id": 487, + "id": 495, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -10852,14 +11484,14 @@ } }, { - "id": 488, + "id": 496, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 489, + "id": 497, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -10870,7 +11502,7 @@ } }, { - "id": 490, + "id": 498, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -10884,7 +11516,7 @@ "extendedTypes": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -11981,7 +12613,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -12936,28 +13568,28 @@ ] }, { - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 492, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 493, + "id": 501, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 494, + "id": 502, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -12968,7 +13600,7 @@ } }, { - "id": 495, + "id": 503, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -12991,14 +13623,14 @@ } }, { - "id": 496, + "id": 504, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 505, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -13009,7 +13641,7 @@ } }, { - "id": 498, + "id": 506, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -13022,18 +13654,18 @@ ], "parameters": [ { - "id": 499, + "id": 507, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -13047,31 +13679,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -13079,19 +13711,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 617, + "id": 633, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 616, + "id": 632, "name": "default.constructor" } }, { - "id": 583, + "id": 591, "name": "body", "kind": 1024, "kindString": "Property", @@ -13102,7 +13734,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -13112,12 +13744,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 625, + "id": 641, "name": "default.body" } }, { - "id": 586, + "id": 594, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13127,28 +13759,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 595, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 588, + "id": 596, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 589, + "id": 597, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -13172,7 +13804,7 @@ } }, { - "id": 590, + "id": 598, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -13207,12 +13839,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 628, + "id": 644, "name": "default.fetch" } }, { - "id": 581, + "id": 589, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13222,7 +13854,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -13244,12 +13876,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 623, + "id": 639, "name": "default.headers" } }, { - "id": 591, + "id": 599, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -13259,7 +13891,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -13269,12 +13901,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 649, "name": "default.isMaybeSingle" } }, { - "id": 579, + "id": 587, "name": "method", "kind": 1024, "kindString": "Property", @@ -13284,7 +13916,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -13315,12 +13947,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 621, + "id": 637, "name": "default.method" } }, { - "id": 582, + "id": 590, "name": "schema", "kind": 1024, "kindString": "Property", @@ -13331,7 +13963,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -13341,12 +13973,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 624, + "id": 640, "name": "default.schema" } }, { - "id": 584, + "id": 592, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -13356,7 +13988,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -13367,12 +13999,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 626, + "id": 642, "name": "default.shouldThrowOnError" } }, { - "id": 585, + "id": 593, "name": "signal", "kind": 1024, "kindString": "Property", @@ -13383,7 +14015,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -13395,12 +14027,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 627, + "id": 643, "name": "default.signal" } }, { - "id": 580, + "id": 588, "name": "url", "kind": 1024, "kindString": "Property", @@ -13410,7 +14042,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -13422,12 +14054,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 622, + "id": 638, "name": "default.url" } }, { - "id": 551, + "id": 559, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -13441,7 +14073,7 @@ ], "signatures": [ { - "id": 552, + "id": 560, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -13451,7 +14083,7 @@ }, "parameters": [ { - "id": 553, + "id": 561, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -13469,31 +14101,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -13503,7 +14135,7 @@ ] }, { - "id": 560, + "id": 568, "name": "csv", "kind": 2048, "kindString": "Method", @@ -13517,7 +14149,7 @@ ], "signatures": [ { - "id": 561, + "id": 569, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -13527,7 +14159,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -13544,7 +14176,7 @@ ] }, { - "id": 564, + "id": 572, "name": "explain", "kind": 2048, "kindString": "Method", @@ -13558,7 +14190,7 @@ ], "signatures": [ { - "id": 565, + "id": 573, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -13569,7 +14201,7 @@ }, "parameters": [ { - "id": 566, + "id": 574, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13581,14 +14213,14 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 576, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -13611,7 +14243,7 @@ } }, { - "id": 571, + "id": 579, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -13634,7 +14266,7 @@ } }, { - "id": 573, + "id": 581, "name": "format", "kind": 1024, "kindString": "Property", @@ -13666,7 +14298,7 @@ } }, { - "id": 570, + "id": 578, "name": "settings", "kind": 1024, "kindString": "Property", @@ -13689,7 +14321,7 @@ } }, { - "id": 569, + "id": 577, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -13712,7 +14344,7 @@ } }, { - "id": 572, + "id": 580, "name": "wal", "kind": 1024, "kindString": "Property", @@ -13739,7 +14371,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 571, 573, 570, 569, 572] + "children": [576, 579, 581, 578, 577, 580] } ] } @@ -13752,7 +14384,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -13767,7 +14399,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -13801,7 +14433,7 @@ ] }, { - "id": 562, + "id": 570, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -13815,7 +14447,7 @@ ], "signatures": [ { - "id": 563, + "id": 571, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -13825,7 +14457,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -13854,7 +14486,7 @@ ] }, { - "id": 536, + "id": 544, "name": "limit", "kind": 2048, "kindString": "Method", @@ -13868,7 +14500,7 @@ ], "signatures": [ { - "id": 537, + "id": 545, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -13878,7 +14510,7 @@ }, "parameters": [ { - "id": 538, + "id": 546, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -13891,929 +14523,6 @@ "name": "number" } }, - { - "id": 539, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 540, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 541, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 542, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [541, 542] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 557, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, - "character": 2 - } - ], - "signatures": [ - { - "id": 558, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" - }, - "typeParameter": [ - { - "id": 559, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 496, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 615, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 435, - "name": "ResultOne" - } - ] - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" - } - } - ] - }, - { - "id": 505, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 506, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 507, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 508, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName" - } - }, - { - "id": 509, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 510, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 511, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 512, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 513, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [511, 512, 513] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 514, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 515, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 517, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 518, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 519, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 520, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [518, 519, 520] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 521, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 522, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 523, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName" - } - }, - { - "id": 524, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 525, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 526, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 528, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 527, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [526, 528, 527] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 529, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 530, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 531, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 533, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 535, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 534, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [533, 535, 534] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 543, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, - "character": 2 - } - ], - "signatures": [ - { - "id": 544, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." - }, - "parameters": [ - { - "id": 545, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 546, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, { "id": 547, "name": "options", @@ -14847,7 +14556,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 136, "character": 9 } ], @@ -14867,6 +14576,1205 @@ "comment": { "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 136, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [549, 550] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 565, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 204, + "character": 2 + } + ], + "signatures": [ + { + "id": 566, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "typeParameter": [ + { + "id": 567, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 504, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 435, + "name": "ResultOne" + } + ] + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + } + } + ] + }, + { + "id": 513, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 55, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 515, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 516, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 383, + "name": "ColumnName" + } + }, + { + "id": 517, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 518, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 519, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 520, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 521, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [519, 520, 521] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 522, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 523, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 525, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 526, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 527, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 528, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [526, 527, 528] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 529, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 530, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 531, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 398, + "name": "ColumnName" + } + }, + { + "id": 532, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 533, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 534, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 536, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 535, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [534, 536, 535] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 537, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 538, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 540, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 541, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 543, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 542, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [541, 543, 542] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 618, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 619, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 620, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 625, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [622] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [624] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 672, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 671, + "name": "default.overrideTypes" + } + }, + { + "id": 551, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 158, + "character": 2 + } + ], + "signatures": [ + { + "id": 552, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." + }, + "parameters": [ + { + "id": 553, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 555, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 556, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 557, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 164, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" + }, "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", @@ -14884,7 +15792,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [557, 558] } ] } @@ -14894,31 +15802,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -14928,7 +15836,7 @@ ] }, { - "id": 576, + "id": 584, "name": "returns", "kind": 2048, "kindString": "Method", @@ -14936,69 +15844,96 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], "signatures": [ { - "id": 577, + "id": 585, "name": "returns", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { - "id": 578, + "id": 586, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], "name": "default" + }, + "overwrites": { + "type": "reference", + "id": 669, + "name": "default.returns" } } - ] + ], + "overwrites": { + "type": "reference", + "id": 668, + "name": "default.returns" + } }, { - "id": 574, + "id": 582, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -15012,7 +15947,7 @@ ], "signatures": [ { - "id": 575, + "id": 583, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -15023,31 +15958,31 @@ }, "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15057,7 +15992,7 @@ ] }, { - "id": 500, + "id": 508, "name": "select", "kind": 2048, "kindString": "Method", @@ -15071,7 +16006,7 @@ ], "signatures": [ { - "id": 501, + "id": 509, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -15082,7 +16017,7 @@ }, "typeParameter": [ { - "id": 502, + "id": 510, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -15097,33 +16032,33 @@ } }, { - "id": 503, + "id": 511, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" }, { @@ -15138,7 +16073,7 @@ ], "parameters": [ { - "id": 504, + "id": 512, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -15157,16 +16092,16 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { @@ -15179,12 +16114,12 @@ }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15194,7 +16129,7 @@ ] }, { - "id": 594, + "id": 602, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -15202,13 +16137,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 595, + "id": 603, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -15218,7 +16153,7 @@ }, "parameters": [ { - "id": 596, + "id": 604, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -15229,7 +16164,7 @@ } }, { - "id": 597, + "id": 605, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -15242,31 +16177,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15274,19 +16209,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 653, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 636, + "id": 652, "name": "default.setHeader" } }, { - "id": 554, + "id": 562, "name": "single", "kind": 2048, "kindString": "Method", @@ -15300,7 +16235,7 @@ ], "signatures": [ { - "id": 555, + "id": 563, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -15311,7 +16246,7 @@ }, "typeParameter": [ { - "id": 556, + "id": 564, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -15320,7 +16255,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, "extendsType": { @@ -15343,7 +16278,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -15361,7 +16296,7 @@ ] }, { - "id": 598, + "id": 606, "name": "then", "kind": 2048, "kindString": "Method", @@ -15369,31 +16304,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 599, + "id": 607, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 600, + "id": 608, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -15401,7 +16336,7 @@ } }, { - "id": 601, + "id": 609, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -15414,7 +16349,7 @@ ], "parameters": [ { - "id": 602, + "id": 610, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -15431,32 +16366,32 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 604, + "id": 612, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 605, + "id": 613, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -15495,7 +16430,7 @@ } }, { - "id": 606, + "id": 614, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -15512,21 +16447,21 @@ { "type": "reflection", "declaration": { - "id": 607, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 608, + "id": 616, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 609, + "id": 617, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -15593,19 +16528,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 657, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 640, + "id": 656, "name": "default.then" } }, { - "id": 592, + "id": 600, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -15613,13 +16548,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 593, + "id": 601, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -15633,31 +16568,31 @@ "types": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15665,11 +16600,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -15683,14 +16618,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 635, + "id": 651, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 634, + "id": 650, "name": "default.throwOnError" } } @@ -15699,17 +16634,19 @@ { "title": "Constructors", "kind": 512, - "children": [492] + "children": [500] }, { "title": "Properties", "kind": 1024, - "children": [583, 586, 581, 591, 579, 582, 584, 585, 580] + "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] }, { "title": "Methods", "kind": 2048, - "children": [551, 560, 564, 562, 536, 557, 505, 543, 576, 574, 500, 594, 554, 598, 592] + "children": [ + 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 + ] } ], "sources": [ @@ -15721,7 +16658,7 @@ ], "typeParameter": [ { - "id": 610, + "id": 626, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -15732,7 +16669,7 @@ } }, { - "id": 611, + "id": 627, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -15755,14 +16692,14 @@ } }, { - "id": 612, + "id": 628, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 613, + "id": 629, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -15773,7 +16710,7 @@ } }, { - "id": 614, + "id": 630, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -15787,11 +16724,11 @@ "extendedTypes": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -15807,18 +16744,54 @@ ] }, { - "id": 668, + "id": 695, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 671, + "id": 698, "name": "count", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 696, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -15826,50 +16799,14 @@ "character": 2 } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 669, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" } }, { - "id": 672, + "id": 699, "name": "status", "kind": 1024, "kindString": "Property", @@ -15877,7 +16814,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -15891,7 +16828,7 @@ } }, { - "id": 673, + "id": 700, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -15899,7 +16836,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -15917,13 +16854,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 670, 669, 672, 673] + "children": [698, 697, 696, 699, 700] } ], "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 21, "character": 17 } ], @@ -15935,14 +16872,14 @@ ] }, { - "id": 674, + "id": 701, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 677, + "id": 704, "name": "count", "kind": 1024, "kindString": "Property", @@ -15950,7 +16887,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 19, "character": 2 } ], @@ -15969,7 +16906,7 @@ } }, { - "id": 676, + "id": 703, "name": "data", "kind": 1024, "kindString": "Property", @@ -15977,18 +16914,18 @@ "sources": [ { "fileName": "src/types.ts", - "line": 16, + "line": 18, "character": 2 } ], "type": { "type": "reference", - "id": 680, + "id": 707, "name": "T" } }, { - "id": 675, + "id": 702, "name": "error", "kind": 1024, "kindString": "Property", @@ -15996,7 +16933,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 17, "character": 2 } ], @@ -16006,7 +16943,7 @@ } }, { - "id": 678, + "id": 705, "name": "status", "kind": 1024, "kindString": "Property", @@ -16014,7 +16951,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -16028,7 +16965,7 @@ } }, { - "id": 679, + "id": 706, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -16036,7 +16973,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -16054,19 +16991,19 @@ { "title": "Properties", "kind": 1024, - "children": [677, 676, 675, 678, 679] + "children": [704, 703, 702, 705, 706] } ], "sources": [ { "fileName": "src/types.ts", - "line": 14, + "line": 16, "character": 17 } ], "typeParameter": [ { - "id": 680, + "id": 707, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -16081,7 +17018,7 @@ ] }, { - "id": 683, + "id": 710, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -16089,13 +17026,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 29, + "line": 31, "character": 12 } ], "typeParameter": [ { - "id": 684, + "id": 711, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -16104,14 +17041,14 @@ ], "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 684, + "id": 711, "name": "T" }, { @@ -16125,11 +17062,49 @@ } }, { - "id": 666, + "id": 693, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 694, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 708, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 694, + "name": "T" + } + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 708, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -16139,45 +17114,7 @@ ], "typeParameter": [ { - "id": 667, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 681, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 667, - "name": "T" - } - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 681, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 28, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 682, + "id": 709, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -16189,11 +17126,11 @@ "types": [ { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 682, + "id": 709, "name": "T" } ], @@ -16201,14 +17138,14 @@ }, { "type": "reference", - "id": 668, + "id": 695, "name": "PostgrestResponseFailure" } ] } }, { - "id": 685, + "id": 712, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -16225,7 +17162,7 @@ ], "typeParameter": [ { - "id": 686, + "id": 713, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -16239,7 +17176,7 @@ } }, { - "id": 687, + "id": 714, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -16265,7 +17202,7 @@ } }, { - "id": 688, + "id": 715, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -16275,7 +17212,7 @@ } }, { - "id": 689, + "id": 716, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -16285,7 +17222,7 @@ } }, { - "id": 690, + "id": 717, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -16306,7 +17243,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" } ], @@ -16323,7 +17260,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -16350,7 +17287,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -16386,7 +17323,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -16400,7 +17337,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -16434,7 +17371,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -16443,7 +17380,7 @@ }, "trueType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "falseType": { @@ -16453,7 +17390,7 @@ }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } ], @@ -16466,7 +17403,7 @@ }, "falseType": { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } }, @@ -16477,7 +17414,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -16504,7 +17441,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -16515,7 +17452,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -16530,22 +17467,22 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" }, { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, { @@ -16622,7 +17559,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 615, + "id": 631, "name": "default" } } @@ -16652,7 +17589,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 654, + "id": 681, "name": "default" } } @@ -16697,7 +17634,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 491, + "id": 499, "name": "default" } } @@ -16718,17 +17655,17 @@ { "title": "Classes", "kind": 128, - "children": [615, 9, 654, 151, 64, 491] + "children": [631, 9, 681, 151, 64, 499] }, { "title": "Interfaces", "kind": 256, - "children": [668, 674] + "children": [695, 701] }, { "title": "Type Aliases", "kind": 4194304, - "children": [683, 666, 681, 685] + "children": [710, 693, 708, 712] }, { "title": "Variables", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json index 9f135c5ead2..b5bebe13e51 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -24,27 +24,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -61,18 +61,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -82,7 +82,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -94,36 +94,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -141,7 +141,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -153,7 +153,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -162,11 +162,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -174,11 +174,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -197,16 +197,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -216,7 +216,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -227,7 +227,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -237,7 +237,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -247,28 +247,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -292,7 +292,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -327,7 +327,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -337,7 +337,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -359,7 +359,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -369,7 +369,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -379,7 +379,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -389,7 +389,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -420,7 +420,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -431,7 +431,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -441,7 +441,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -451,7 +451,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -462,7 +462,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -473,7 +473,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -485,7 +485,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -495,7 +495,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -507,7 +507,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -515,13 +854,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -531,7 +870,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -542,7 +881,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -555,16 +894,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -574,7 +913,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -582,20 +921,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -604,7 +943,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -613,11 +952,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -625,11 +964,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -638,7 +977,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -651,7 +990,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -668,21 +1007,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -691,7 +1030,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -700,11 +1039,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -712,11 +1051,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -756,7 +1095,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -773,21 +1112,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -864,7 +1203,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -872,13 +1211,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -892,16 +1231,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -909,11 +1248,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -933,36 +1272,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -980,7 +1319,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -992,7 +1331,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -1001,11 +1340,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -1013,11 +1352,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -2409,7 +2748,7 @@ ] }, { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -2420,7 +2759,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2434,14 +2773,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -2449,14 +2788,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -2474,7 +2813,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -2492,7 +2831,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2510,7 +2849,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -2532,7 +2871,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -2541,7 +2880,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -2556,7 +2895,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -2574,7 +2913,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -2592,7 +2931,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2614,12 +2953,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -2732,7 +3071,7 @@ "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -2746,7 +3085,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -2755,7 +3094,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2763,27 +3102,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -2800,18 +3139,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -2826,16 +3165,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -2845,7 +3184,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -2856,7 +3195,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -2866,7 +3205,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -2876,28 +3215,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -2921,7 +3260,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -2956,7 +3295,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2966,7 +3305,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -2988,7 +3327,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -2998,7 +3337,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -3008,7 +3347,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -3018,7 +3357,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -3049,7 +3388,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -3060,7 +3399,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -3070,7 +3409,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -3080,7 +3419,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -3091,7 +3430,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -3102,7 +3441,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -3114,7 +3453,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -3124,7 +3463,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -3136,7 +3475,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -3144,13 +3822,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -3160,7 +3838,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -3171,7 +3849,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3184,16 +3862,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -3203,7 +3881,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -3211,20 +3889,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -3233,7 +3911,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -3242,11 +3920,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3254,11 +3932,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3267,7 +3945,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -3280,7 +3958,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -3297,21 +3975,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3320,7 +3998,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -3329,11 +4007,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3341,11 +4019,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3385,7 +4063,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -3402,21 +4080,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -3493,7 +4171,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -3501,13 +4179,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -3521,16 +4199,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -3538,11 +4216,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -3562,36 +4240,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -3609,7 +4287,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -3621,7 +4299,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -3630,11 +4308,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3642,11 +4320,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -3697,14 +4375,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 493, + "id": 501, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 492, + "id": 500, "name": "default.constructor" } }, @@ -3720,7 +4398,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -3730,7 +4408,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 591, "name": "default.body" } }, @@ -3745,7 +4423,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], @@ -3825,7 +4503,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 586, + "id": 594, "name": "default.fetch" } }, @@ -3840,7 +4518,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -3862,7 +4540,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 581, + "id": 589, "name": "default.headers" } }, @@ -3877,7 +4555,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -3887,7 +4565,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 599, "name": "default.isMaybeSingle" } }, @@ -3902,7 +4580,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -3933,7 +4611,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 579, + "id": 587, "name": "default.method" } }, @@ -3949,7 +4627,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -3959,7 +4637,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 582, + "id": 590, "name": "default.schema" } }, @@ -3974,7 +4652,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -3985,7 +4663,7 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 584, + "id": 592, "name": "default.shouldThrowOnError" } }, @@ -4001,7 +4679,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -4013,7 +4691,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 593, "name": "default.signal" } }, @@ -4028,7 +4706,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -4040,7 +4718,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 580, + "id": 588, "name": "default.url" } }, @@ -4119,14 +4797,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 560, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 559, "name": "default.abortSignal" } }, @@ -4651,7 +5329,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -4666,14 +5344,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 561, + "id": 569, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 560, + "id": 568, "name": "default.csv" } }, @@ -5062,7 +5740,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -5077,7 +5755,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -5109,14 +5787,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 565, + "id": 573, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 564, + "id": 572, "name": "default.explain" } }, @@ -5443,7 +6121,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -5470,14 +6148,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 571, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 570, "name": "default.geojson" } }, @@ -7532,14 +8210,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 537, + "id": 545, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 536, + "id": 544, "name": "default.limit" } }, @@ -8148,7 +8826,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "union", @@ -8173,14 +8851,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 558, + "id": 566, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 557, + "id": 565, "name": "default.maybeSingle" } }, @@ -8906,7 +9584,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 514, "name": "default.order" } }, @@ -9070,7 +9748,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 514, + "id": 522, "name": "default.order" } }, @@ -9246,7 +9924,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 521, + "id": 529, "name": "default.order" } }, @@ -9407,14 +10085,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 529, + "id": 537, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 505, + "id": 513, "name": "default.order" } }, @@ -9634,6 +10312,282 @@ } ] }, + { + "id": 486, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 487, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 488, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 493, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 489, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 492, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [492] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 619, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 618, + "name": "default.overrideTypes" + } + }, { "id": 419, "name": "range", @@ -9798,14 +10752,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 544, + "id": 552, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 543, + "id": 551, "name": "default.range" } }, @@ -10693,7 +11647,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], @@ -10705,7 +11659,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { @@ -10715,13 +11675,13 @@ "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -10735,8 +11695,19 @@ }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 156, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", @@ -10753,14 +11724,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 577, + "id": 585, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 576, + "id": 584, "name": "default.returns" } }, @@ -10822,14 +11793,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 575, + "id": 583, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 574, + "id": 582, "name": "default.rollback" } }, @@ -10881,7 +11852,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -10935,7 +11906,7 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -10970,14 +11941,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 509, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 508, "name": "default.select" } }, @@ -10990,7 +11961,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], @@ -11062,14 +12033,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 595, + "id": 603, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 594, + "id": 602, "name": "default.setHeader" } }, @@ -11131,7 +12102,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -11147,14 +12118,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 555, + "id": 563, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 554, + "id": 562, "name": "default.single" } }, @@ -11522,7 +12493,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], @@ -11542,7 +12513,7 @@ "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -11605,7 +12576,7 @@ "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", @@ -11746,14 +12717,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 607, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 598, + "id": 606, "name": "default.then" } }, @@ -11766,7 +12737,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], @@ -11818,7 +12789,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -11836,14 +12807,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 593, + "id": 601, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 592, + "id": 600, "name": "default.throwOnError" } } @@ -11864,8 +12835,8 @@ "kind": 2048, "children": [ 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 419, 311, 279, 287, 295, 303, - 452, 450, 376, 470, 430, 327, 474, 468 + 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, + 303, 452, 450, 376, 470, 430, 327, 474, 468 ] } ], @@ -11878,7 +12849,7 @@ ], "typeParameter": [ { - "id": 486, + "id": 494, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -11889,7 +12860,7 @@ } }, { - "id": 487, + "id": 495, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -11912,14 +12883,14 @@ } }, { - "id": 488, + "id": 496, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 489, + "id": 497, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -11930,7 +12901,7 @@ } }, { - "id": 490, + "id": 498, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -11944,7 +12915,7 @@ "extendedTypes": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", @@ -13042,7 +14013,7 @@ "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", @@ -14000,28 +14971,28 @@ ] }, { - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 492, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 493, + "id": 501, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 494, + "id": 502, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -14032,7 +15003,7 @@ } }, { - "id": 495, + "id": 503, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -14055,14 +15026,14 @@ } }, { - "id": 496, + "id": 504, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 505, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -14073,7 +15044,7 @@ } }, { - "id": 498, + "id": 506, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -14086,18 +15057,18 @@ ], "parameters": [ { - "id": 499, + "id": 507, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -14107,7 +15078,7 @@ ], "name": "default", "dereferenced": { - "id": 615, + "id": 631, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -14116,7 +15087,7 @@ }, "children": [ { - "id": 616, + "id": 632, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14124,27 +15095,27 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 31, "character": 2 } ], "signatures": [ { - "id": 617, + "id": 633, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 618, + "id": 634, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 619, + "id": 635, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -14161,18 +15132,18 @@ ], "parameters": [ { - "id": 620, + "id": 636, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -14187,16 +15158,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -14206,7 +15177,7 @@ ] }, { - "id": 625, + "id": 641, "name": "body", "kind": 1024, "kindString": "Property", @@ -14217,7 +15188,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -14227,7 +15198,7 @@ } }, { - "id": 628, + "id": 644, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -14237,28 +15208,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 629, + "id": 645, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 630, + "id": 646, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 631, + "id": 647, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -14282,7 +15253,7 @@ } }, { - "id": 632, + "id": 648, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -14317,7 +15288,7 @@ } }, { - "id": 623, + "id": 639, "name": "headers", "kind": 1024, "kindString": "Property", @@ -14327,7 +15298,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -14349,7 +15320,7 @@ } }, { - "id": 633, + "id": 649, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -14359,7 +15330,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -14369,7 +15340,7 @@ } }, { - "id": 621, + "id": 637, "name": "method", "kind": 1024, "kindString": "Property", @@ -14379,7 +15350,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -14410,7 +15381,7 @@ } }, { - "id": 624, + "id": 640, "name": "schema", "kind": 1024, "kindString": "Property", @@ -14421,7 +15392,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -14431,7 +15402,7 @@ } }, { - "id": 626, + "id": 642, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -14441,7 +15412,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -14452,7 +15423,7 @@ "defaultValue": "false" }, { - "id": 627, + "id": 643, "name": "signal", "kind": 1024, "kindString": "Property", @@ -14463,7 +15434,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -14475,7 +15446,7 @@ } }, { - "id": 622, + "id": 638, "name": "url", "kind": 1024, "kindString": "Property", @@ -14485,7 +15456,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -14497,7 +15468,346 @@ } }, { - "id": 636, + "id": 671, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 672, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 673, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 678, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 676, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 677, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 668, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 669, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 670, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 634, + "name": "Result" + }, + { + "type": "reference", + "id": 670, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 635, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 652, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -14505,13 +15815,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 637, + "id": 653, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -14521,7 +15831,7 @@ }, "parameters": [ { - "id": 638, + "id": 654, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -14532,7 +15842,7 @@ } }, { - "id": 639, + "id": 655, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -14545,16 +15855,16 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -14564,7 +15874,7 @@ ] }, { - "id": 640, + "id": 656, "name": "then", "kind": 2048, "kindString": "Method", @@ -14572,20 +15882,20 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 641, + "id": 657, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 642, + "id": 658, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -14594,7 +15904,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -14603,11 +15913,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -14615,11 +15925,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -14628,7 +15938,7 @@ } }, { - "id": 643, + "id": 659, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -14641,7 +15951,7 @@ ], "parameters": [ { - "id": 644, + "id": 660, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -14658,21 +15968,21 @@ { "type": "reflection", "declaration": { - "id": 645, + "id": 661, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 662, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 663, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -14681,7 +15991,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -14690,11 +16000,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -14702,11 +16012,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -14746,7 +16056,7 @@ } }, { - "id": 648, + "id": 664, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -14763,21 +16073,21 @@ { "type": "reflection", "declaration": { - "id": 649, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 650, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 651, + "id": 667, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -14854,7 +16164,7 @@ } }, { - "id": 634, + "id": 650, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -14862,13 +16172,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 635, + "id": 651, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -14882,16 +16192,16 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" } ], @@ -14899,11 +16209,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" }, { @@ -14923,36 +16233,36 @@ { "title": "Constructors", "kind": 512, - "children": [616] + "children": [632] }, { "title": "Properties", "kind": 1024, - "children": [625, 628, 623, 633, 621, 624, 626, 627, 622] + "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] }, { "title": "Methods", "kind": 2048, - "children": [636, 640, 634] + "children": [671, 668, 652, 656, 650] } ], "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 7, + "line": 15, "character": 30 } ], "typeParameter": [ { - "id": 652, + "id": 679, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 653, + "id": 680, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -14970,7 +16280,7 @@ "extendedBy": [ { "type": "reference", - "id": 491, + "id": 499, "name": "PostgrestTransformBuilder" } ], @@ -14982,7 +16292,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 619, + "id": 635, "name": "ThrowOnError" }, "extendsType": { @@ -14991,11 +16301,11 @@ }, "trueType": { "type": "reference", - "id": 674, + "id": 701, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -15003,11 +16313,11 @@ }, "falseType": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 618, + "id": 634, "name": "Result" } ], @@ -15026,31 +16336,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15058,19 +16368,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 617, + "id": 633, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 616, + "id": 632, "name": "default.constructor" } }, { - "id": 583, + "id": 591, "name": "body", "kind": 1024, "kindString": "Property", @@ -15081,7 +16391,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 17, + "line": 25, "character": 12 } ], @@ -15091,12 +16401,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 625, + "id": 641, "name": "default.body" } }, { - "id": 586, + "id": 594, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -15106,28 +16416,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 20, + "line": 28, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 595, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 588, + "id": 596, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 589, + "id": 597, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -15151,7 +16461,7 @@ } }, { - "id": 590, + "id": 598, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -15186,12 +16496,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 628, + "id": 644, "name": "default.fetch" } }, { - "id": 581, + "id": 589, "name": "headers", "kind": 1024, "kindString": "Property", @@ -15201,7 +16511,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 15, + "line": 23, "character": 12 } ], @@ -15223,12 +16533,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 623, + "id": 639, "name": "default.headers" } }, { - "id": 591, + "id": 599, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -15238,7 +16548,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 29, "character": 12 } ], @@ -15248,12 +16558,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 649, "name": "default.isMaybeSingle" } }, { - "id": 579, + "id": 587, "name": "method", "kind": 1024, "kindString": "Property", @@ -15263,7 +16573,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 13, + "line": 21, "character": 12 } ], @@ -15294,12 +16604,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 621, + "id": 637, "name": "default.method" } }, { - "id": 582, + "id": 590, "name": "schema", "kind": 1024, "kindString": "Property", @@ -15310,7 +16620,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 16, + "line": 24, "character": 12 } ], @@ -15320,12 +16630,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 624, + "id": 640, "name": "default.schema" } }, { - "id": 584, + "id": 592, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -15335,7 +16645,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 18, + "line": 26, "character": 12 } ], @@ -15346,12 +16656,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 626, + "id": 642, "name": "default.shouldThrowOnError" } }, { - "id": 585, + "id": 593, "name": "signal", "kind": 1024, "kindString": "Property", @@ -15362,7 +16672,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 19, + "line": 27, "character": 12 } ], @@ -15374,12 +16684,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 627, + "id": 643, "name": "default.signal" } }, { - "id": 580, + "id": 588, "name": "url", "kind": 1024, "kindString": "Property", @@ -15389,7 +16699,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 14, + "line": 22, "character": 12 } ], @@ -15401,12 +16711,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 622, + "id": 638, "name": "default.url" } }, { - "id": 551, + "id": 559, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -15420,7 +16730,7 @@ ], "signatures": [ { - "id": 552, + "id": 560, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -15430,7 +16740,7 @@ }, "parameters": [ { - "id": 553, + "id": 561, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -15448,31 +16758,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -15482,7 +16792,7 @@ ] }, { - "id": 560, + "id": 568, "name": "csv", "kind": 2048, "kindString": "Method", @@ -15496,7 +16806,7 @@ ], "signatures": [ { - "id": 561, + "id": 569, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -15506,7 +16816,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -15523,7 +16833,7 @@ ] }, { - "id": 564, + "id": 572, "name": "explain", "kind": 2048, "kindString": "Method", @@ -15537,7 +16847,7 @@ ], "signatures": [ { - "id": 565, + "id": 573, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -15548,7 +16858,7 @@ }, "parameters": [ { - "id": 566, + "id": 574, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15560,14 +16870,14 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 576, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -15590,7 +16900,7 @@ } }, { - "id": 571, + "id": 579, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -15613,7 +16923,7 @@ } }, { - "id": 573, + "id": 581, "name": "format", "kind": 1024, "kindString": "Property", @@ -15645,7 +16955,7 @@ } }, { - "id": 570, + "id": 578, "name": "settings", "kind": 1024, "kindString": "Property", @@ -15668,7 +16978,7 @@ } }, { - "id": 569, + "id": 577, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -15691,7 +17001,7 @@ } }, { - "id": 572, + "id": 580, "name": "wal", "kind": 1024, "kindString": "Property", @@ -15718,7 +17028,7 @@ { "title": "Properties", "kind": 1024, - "children": [568, 571, 573, 570, 569, 572] + "children": [576, 579, 581, 578, 577, 580] } ] } @@ -15731,7 +17041,7 @@ "types": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "intrinsic", @@ -15746,7 +17056,7 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "array", @@ -15780,7 +17090,7 @@ ] }, { - "id": 562, + "id": 570, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -15794,7 +17104,7 @@ ], "signatures": [ { - "id": 563, + "id": 571, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -15804,7 +17114,7 @@ }, "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -15833,7 +17143,7 @@ ] }, { - "id": 536, + "id": 544, "name": "limit", "kind": 2048, "kindString": "Method", @@ -15847,7 +17157,7 @@ ], "signatures": [ { - "id": 537, + "id": 545, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -15857,7 +17167,7 @@ }, "parameters": [ { - "id": 538, + "id": 546, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -15870,931 +17180,6 @@ "name": "number" } }, - { - "id": 539, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 540, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 541, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 542, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [541, 542] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 557, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, - "character": 2 - } - ], - "signatures": [ - { - "id": 558, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" - }, - "typeParameter": [ - { - "id": 559, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 496, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 615, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 435, - "name": "ResultOne" - } - ] - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" - } - } - ] - }, - { - "id": 505, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 506, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 507, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 508, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 509, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 510, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 511, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 512, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 513, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [511, 512, 513] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 514, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 515, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 517, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 518, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 519, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 520, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [518, 519, 520] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 521, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 522, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 523, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 524, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 525, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 526, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 528, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 527, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [526, 528, 527] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 529, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 530, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 531, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 533, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 535, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 534, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [533, 535, 534] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 491, - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "Schema" - }, - { - "type": "reference", - "id": 495, - "name": "Row" - }, - { - "type": "reference", - "id": 496, - "name": "Result" - }, - { - "type": "reference", - "id": 497, - "name": "RelationName" - }, - { - "type": "reference", - "id": 498, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 543, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, - "character": 2 - } - ], - "signatures": [ - { - "id": 544, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." - }, - "parameters": [ - { - "id": 545, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 546, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, { "id": 547, "name": "options", @@ -16828,7 +17213,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 136, "character": 9 } ], @@ -16848,6 +17233,1207 @@ "comment": { "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 136, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [549, 550] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 565, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 204, + "character": 2 + } + ], + "signatures": [ + { + "id": 566, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "typeParameter": [ + { + "id": 567, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 504, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 435, + "name": "ResultOne" + } + ] + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + } + } + ] + }, + { + "id": 513, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 55, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 515, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 516, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 383, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 517, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 518, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 519, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 520, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 521, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [519, 520, 521] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 522, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 523, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 525, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 526, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 527, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 528, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [526, 527, 528] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 529, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 530, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 531, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 398, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 532, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 533, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 534, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 536, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 535, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 68, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [534, 536, 535] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + }, + { + "id": 537, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 538, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 540, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 541, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 543, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 542, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 75, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [541, 543, 542] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 499, + "typeArguments": [ + { + "type": "reference", + "id": 502, + "name": "Schema" + }, + { + "type": "reference", + "id": 503, + "name": "Row" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 505, + "name": "RelationName" + }, + { + "type": "reference", + "id": 506, + "name": "Relationships" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 618, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 257, + "character": 2 + } + ], + "signatures": [ + { + "id": 619, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 620, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 625, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [622] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 259, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [624] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 631, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 488, + "name": "NewResult" + }, + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 493, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 488, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "literal", + "value": false + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 672, + "name": "default.overrideTypes" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 671, + "name": "default.overrideTypes" + } + }, + { + "id": 551, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 158, + "character": 2 + } + ], + "signatures": [ + { + "id": 552, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by starting at an offset `from` and ending at the offset `to`.\nOnly records within this range are returned.\nThis respects the query order and if there is no order clause the range could behave unexpectedly.\nThe `from` and `to` values are 0-based and inclusive: `range(1, 3)` will include the second, third\nand fourth rows of the query." + }, + "parameters": [ + { + "id": 553, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 554, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 555, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 556, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 557, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `options.referencedTable`\ninstead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 164, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of referenced\ntables instead of the parent table" + }, "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", @@ -16865,7 +18451,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [557, 558] } ] } @@ -16875,31 +18461,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -16909,7 +18495,7 @@ ] }, { - "id": 576, + "id": 584, "name": "returns", "kind": 2048, "kindString": "Method", @@ -16917,69 +18503,96 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 311, + "line": 312, "character": 2 } ], "signatures": [ { - "id": 577, + "id": 585, "name": "returns", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Override the type of the returned `data`." + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] }, "typeParameter": [ { - "id": 578, + "id": 586, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "The new result type to override with\n" + "shortText": "The new result type to override with" } } ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 454, - "name": "NewResult" + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "Result" + }, + { + "type": "reference", + "id": 454, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], "name": "default" + }, + "overwrites": { + "type": "reference", + "id": 669, + "name": "default.returns" } } - ] + ], + "overwrites": { + "type": "reference", + "id": 668, + "name": "default.returns" + } }, { - "id": 574, + "id": 582, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -16993,7 +18606,7 @@ ], "signatures": [ { - "id": 575, + "id": 583, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -17004,31 +18617,31 @@ }, "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -17038,7 +18651,7 @@ ] }, { - "id": 500, + "id": 508, "name": "select", "kind": 2048, "kindString": "Method", @@ -17052,7 +18665,7 @@ ], "signatures": [ { - "id": 501, + "id": 509, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -17063,7 +18676,7 @@ }, "typeParameter": [ { - "id": 502, + "id": 510, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -17078,33 +18691,33 @@ } }, { - "id": 503, + "id": 511, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 685, + "id": 712, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" }, { @@ -17119,7 +18732,7 @@ ], "parameters": [ { - "id": 504, + "id": 512, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -17139,16 +18752,16 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { @@ -17161,12 +18774,12 @@ }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -17176,7 +18789,7 @@ ] }, { - "id": 594, + "id": 602, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -17184,13 +18797,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 64, "character": 2 } ], "signatures": [ { - "id": 595, + "id": 603, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -17200,7 +18813,7 @@ }, "parameters": [ { - "id": 596, + "id": 604, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -17211,7 +18824,7 @@ } }, { - "id": 597, + "id": 605, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -17224,31 +18837,31 @@ ], "type": { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -17256,19 +18869,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 653, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 636, + "id": 652, "name": "default.setHeader" } }, { - "id": 554, + "id": 562, "name": "single", "kind": 2048, "kindString": "Method", @@ -17282,7 +18895,7 @@ ], "signatures": [ { - "id": 555, + "id": 563, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -17293,7 +18906,7 @@ }, "typeParameter": [ { - "id": 556, + "id": 564, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -17302,7 +18915,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, "extendsType": { @@ -17325,7 +18938,7 @@ ], "type": { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", @@ -17343,7 +18956,7 @@ ] }, { - "id": 598, + "id": 606, "name": "then", "kind": 2048, "kindString": "Method", @@ -17351,31 +18964,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 62, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 599, + "id": 607, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 600, + "id": 608, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -17383,7 +18996,7 @@ } }, { - "id": 601, + "id": 609, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -17396,7 +19009,7 @@ ], "parameters": [ { - "id": 602, + "id": 610, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -17413,32 +19026,32 @@ { "type": "reflection", "declaration": { - "id": 603, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 604, + "id": 612, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 605, + "id": 613, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -17477,7 +19090,7 @@ } }, { - "id": 606, + "id": 614, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -17494,21 +19107,21 @@ { "type": "reflection", "declaration": { - "id": 607, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 608, + "id": 616, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 609, + "id": 617, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -17575,19 +19188,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 657, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 640, + "id": 656, "name": "default.then" } }, { - "id": 592, + "id": 600, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -17595,13 +19208,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 48, + "line": 56, "character": 2 } ], "signatures": [ { - "id": 593, + "id": 601, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -17615,31 +19228,31 @@ "types": [ { "type": "reference", - "id": 491, + "id": 499, "typeArguments": [ { "type": "reference", - "id": 494, + "id": 502, "name": "Schema" }, { "type": "reference", - "id": 495, + "id": 503, "name": "Row" }, { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { "type": "reference", - "id": 497, + "id": 505, "name": "RelationName" }, { "type": "reference", - "id": 498, + "id": 506, "name": "Relationships" } ], @@ -17647,11 +19260,11 @@ }, { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" }, { @@ -17665,14 +19278,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 635, + "id": 651, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 634, + "id": 650, "name": "default.throwOnError" } } @@ -17681,17 +19294,19 @@ { "title": "Constructors", "kind": 512, - "children": [492] + "children": [500] }, { "title": "Properties", "kind": 1024, - "children": [583, 586, 581, 591, 579, 582, 584, 585, 580] + "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] }, { "title": "Methods", "kind": 2048, - "children": [551, 560, 564, 562, 536, 557, 505, 543, 576, 574, 500, 594, 554, 598, 592] + "children": [ + 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 + ] } ], "sources": [ @@ -17703,7 +19318,7 @@ ], "typeParameter": [ { - "id": 610, + "id": 626, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -17714,7 +19329,7 @@ } }, { - "id": 611, + "id": 627, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -17737,14 +19352,14 @@ } }, { - "id": 612, + "id": 628, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 613, + "id": 629, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -17755,7 +19370,7 @@ } }, { - "id": 614, + "id": 630, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -17769,11 +19384,11 @@ "extendedTypes": [ { "type": "reference", - "id": 615, + "id": 631, "typeArguments": [ { "type": "reference", - "id": 496, + "id": 504, "name": "Result" } ], @@ -17789,18 +19404,54 @@ ] }, { - "id": 668, + "id": 695, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 671, + "id": 698, "name": "count", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 696, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -17808,48 +19459,12 @@ "character": 2 } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 669, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default", "dereferenced": { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -17860,7 +19475,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -17874,14 +19489,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -17889,14 +19504,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -17914,7 +19529,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -17932,7 +19547,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -17950,7 +19565,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -17972,7 +19587,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -17981,7 +19596,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -17996,7 +19611,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -18014,7 +19629,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -18032,7 +19647,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -18054,12 +19669,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -18081,7 +19696,7 @@ } }, { - "id": 672, + "id": 699, "name": "status", "kind": 1024, "kindString": "Property", @@ -18089,7 +19704,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -18103,7 +19718,7 @@ } }, { - "id": 673, + "id": 700, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -18111,7 +19726,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -18129,13 +19744,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 670, 669, 672, 673] + "children": [698, 697, 696, 699, 700] } ], "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 21, "character": 17 } ], @@ -18147,14 +19762,14 @@ ] }, { - "id": 674, + "id": 701, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 677, + "id": 704, "name": "count", "kind": 1024, "kindString": "Property", @@ -18162,7 +19777,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 19, "character": 2 } ], @@ -18181,7 +19796,7 @@ } }, { - "id": 676, + "id": 703, "name": "data", "kind": 1024, "kindString": "Property", @@ -18189,19 +19804,19 @@ "sources": [ { "fileName": "src/types.ts", - "line": 16, + "line": 18, "character": 2 } ], "type": { "type": "reference", - "id": 680, + "id": 707, "name": "T", "dereferenced": {} } }, { - "id": 675, + "id": 702, "name": "error", "kind": 1024, "kindString": "Property", @@ -18209,7 +19824,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 17, "character": 2 } ], @@ -18219,7 +19834,7 @@ } }, { - "id": 678, + "id": 705, "name": "status", "kind": 1024, "kindString": "Property", @@ -18227,7 +19842,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -18241,7 +19856,7 @@ } }, { - "id": 679, + "id": 706, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -18249,7 +19864,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -18267,19 +19882,19 @@ { "title": "Properties", "kind": 1024, - "children": [677, 676, 675, 678, 679] + "children": [704, 703, 702, 705, 706] } ], "sources": [ { "fileName": "src/types.ts", - "line": 14, + "line": 16, "character": 17 } ], "typeParameter": [ { - "id": 680, + "id": 707, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18294,7 +19909,7 @@ ] }, { - "id": 683, + "id": 710, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -18302,13 +19917,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 29, + "line": 31, "character": 12 } ], "typeParameter": [ { - "id": 684, + "id": 711, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18317,14 +19932,14 @@ ], "type": { "type": "reference", - "id": 681, + "id": 708, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 684, + "id": 711, "name": "T" }, { @@ -18338,11 +19953,49 @@ } }, { - "id": 666, + "id": 693, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 694, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 708, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 694, + "name": "T" + } + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 708, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -18352,45 +20005,7 @@ ], "typeParameter": [ { - "id": 667, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 681, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 667, - "name": "T" - } - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 681, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 28, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 682, + "id": 709, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18401,14 +20016,14 @@ "type": "union", "types": [ { - "id": 674, + "id": 701, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 677, + "id": 704, "name": "count", "kind": 1024, "kindString": "Property", @@ -18416,7 +20031,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 19, "character": 2 } ], @@ -18435,7 +20050,7 @@ } }, { - "id": 676, + "id": 703, "name": "data", "kind": 1024, "kindString": "Property", @@ -18443,19 +20058,19 @@ "sources": [ { "fileName": "src/types.ts", - "line": 16, + "line": 18, "character": 2 } ], "type": { "type": "reference", - "id": 680, + "id": 707, "name": "T", "dereferenced": {} } }, { - "id": 675, + "id": 702, "name": "error", "kind": 1024, "kindString": "Property", @@ -18463,7 +20078,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 17, "character": 2 } ], @@ -18473,7 +20088,7 @@ } }, { - "id": 678, + "id": 705, "name": "status", "kind": 1024, "kindString": "Property", @@ -18481,7 +20096,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -18495,7 +20110,7 @@ } }, { - "id": 679, + "id": 706, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -18503,7 +20118,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -18521,19 +20136,19 @@ { "title": "Properties", "kind": 1024, - "children": [677, 676, 675, 678, 679] + "children": [704, 703, 702, 705, 706] } ], "sources": [ { "fileName": "src/types.ts", - "line": 14, + "line": 16, "character": 17 } ], "typeParameter": [ { - "id": 680, + "id": 707, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18548,18 +20163,54 @@ ] }, { - "id": 668, + "id": 695, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 671, + "id": 698, "name": "count", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 697, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 696, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/types.ts", @@ -18567,48 +20218,12 @@ "character": 2 } ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 669, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default", "dereferenced": { - "id": 654, + "id": 681, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -18619,7 +20234,7 @@ }, "children": [ { - "id": 655, + "id": 682, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -18633,14 +20248,14 @@ ], "signatures": [ { - "id": 656, + "id": 683, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 657, + "id": 684, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -18648,14 +20263,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 689, "name": "code", "kind": 1024, "kindString": "Property", @@ -18673,7 +20288,7 @@ } }, { - "id": 660, + "id": 687, "name": "details", "kind": 1024, "kindString": "Property", @@ -18691,7 +20306,7 @@ } }, { - "id": 661, + "id": 688, "name": "hint", "kind": 1024, "kindString": "Property", @@ -18709,7 +20324,7 @@ } }, { - "id": 659, + "id": 686, "name": "message", "kind": 1024, "kindString": "Property", @@ -18731,7 +20346,7 @@ { "title": "Properties", "kind": 1024, - "children": [662, 660, 661, 659] + "children": [689, 687, 688, 686] } ] } @@ -18740,7 +20355,7 @@ ], "type": { "type": "reference", - "id": 654, + "id": 681, "name": "default" }, "overwrites": { @@ -18755,7 +20370,7 @@ } }, { - "id": 665, + "id": 692, "name": "code", "kind": 1024, "kindString": "Property", @@ -18773,7 +20388,7 @@ } }, { - "id": 663, + "id": 690, "name": "details", "kind": 1024, "kindString": "Property", @@ -18791,7 +20406,7 @@ } }, { - "id": 664, + "id": 691, "name": "hint", "kind": 1024, "kindString": "Property", @@ -18813,12 +20428,12 @@ { "title": "Constructors", "kind": 512, - "children": [655] + "children": [682] }, { "title": "Properties", "kind": 1024, - "children": [665, 663, 664] + "children": [692, 690, 691] } ], "sources": [ @@ -18840,7 +20455,7 @@ } }, { - "id": 672, + "id": 699, "name": "status", "kind": 1024, "kindString": "Property", @@ -18848,7 +20463,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 11, + "line": 13, "character": 2 } ], @@ -18862,7 +20477,7 @@ } }, { - "id": 673, + "id": 700, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -18870,7 +20485,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 12, + "line": 14, "character": 2 } ], @@ -18888,13 +20503,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 670, 669, 672, 673] + "children": [698, 697, 696, 699, 700] } ], "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 21, "character": 17 } ], @@ -18909,7 +20524,7 @@ } }, { - "id": 685, + "id": 712, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -18926,7 +20541,7 @@ ], "typeParameter": [ { - "id": 686, + "id": 713, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -18940,7 +20555,7 @@ } }, { - "id": 687, + "id": 714, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -18966,7 +20581,7 @@ } }, { - "id": 688, + "id": 715, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -18976,7 +20591,7 @@ } }, { - "id": 689, + "id": 716, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -18986,7 +20601,7 @@ } }, { - "id": 690, + "id": 717, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -19007,7 +20622,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" } ], @@ -19024,7 +20639,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -19051,7 +20666,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -19087,7 +20702,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -19101,7 +20716,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -19135,7 +20750,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -19144,7 +20759,7 @@ }, "trueType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "falseType": { @@ -19154,7 +20769,7 @@ }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } ], @@ -19167,7 +20782,7 @@ }, "falseType": { "type": "reference", - "id": 687, + "id": 714, "name": "Row" } }, @@ -19178,7 +20793,7 @@ "typeArguments": [ { "type": "reference", - "id": 690, + "id": 717, "name": "Query" } ], @@ -19205,7 +20820,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, "extendsType": { @@ -19216,7 +20831,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, "extendsType": { @@ -19231,22 +20846,22 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 713, "name": "Schema" }, { "type": "reference", - "id": 687, + "id": 714, "name": "Row" }, { "type": "reference", - "id": 688, + "id": 715, "name": "RelationName" }, { "type": "reference", - "id": 689, + "id": 716, "name": "Relationships" }, { @@ -19323,7 +20938,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 615, + "id": 631, "name": "default" } } @@ -19353,7 +20968,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 654, + "id": 681, "name": "default" } } @@ -19398,7 +21013,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 491, + "id": 499, "name": "default" } } @@ -19419,17 +21034,17 @@ { "title": "Classes", "kind": 128, - "children": [615, 9, 654, 151, 64, 491] + "children": [631, 9, 681, 151, 64, 499] }, { "title": "Interfaces", "kind": 256, - "children": [668, 674] + "children": [695, 701] }, { "title": "Type Aliases", "kind": 4194304, - "children": [683, 666, 681, 685] + "children": [710, 693, 708, 712] }, { "title": "Variables", diff --git a/apps/docs/spec/storage_v0_openapi.json b/apps/docs/spec/storage_v0_openapi.json index 294aa475c84..edf934d462b 100644 --- a/apps/docs/spec/storage_v0_openapi.json +++ b/apps/docs/spec/storage_v0_openapi.json @@ -1219,6 +1219,31 @@ } } }, + "/object/list-v2/{bucketName}": { + "post": { + "summary": "Search for objects under a prefix", + "tags": ["object"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "prefix": { "type": "string", "examples": ["folder/subfolder"] }, + "limit": { "type": "integer", "minimum": 1, "examples": [10] }, + "cursor": { "type": "string" }, + "with_delimiter": { "type": "boolean" } + } + } + } + } + }, + "parameters": [ + { "schema": { "type": "string" }, "in": "path", "name": "bucketName", "required": true } + ], + "responses": { "200": { "description": "Default Response" } } + } + }, "/object/list/{bucketName}": { "post": { "summary": "Search for objects under a prefix", diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index ae051e1225a..da4ea241ef4 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -6593,6 +6593,8 @@ functions: - id: returns $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.returns' + notes: | + - Deprecated: use overrideTypes method instead title: returns() examples: - id: override-type-of-successful-response @@ -6602,6 +6604,22 @@ functions: const { data } = await supabase .from('countries') .select() + .returns>() + ``` + response: | + ``` + let x: typeof data // MyType[] + ``` + hideCodeBlock: true + isSpotlight: true + - id: override-type-of-object-response + name: Override type of object response + code: | + ```ts + const { data } = await supabase + .from('countries') + .select() + .maybeSingle() .returns() ``` response: | @@ -6611,6 +6629,73 @@ functions: hideCodeBlock: true isSpotlight: true + - id: overrideTypes + $ref: '@supabase/postgrest-js.PostgrestBuilder.overrideTypes' + title: overrideTypes() + examples: + - id: complete-override-type-of-successful-response + name: Complete Override type of successful response + code: | + ```ts + const { data } = await supabase + .from('countries') + .select() + .overrideTypes, { merge: false }>() + ``` + response: | + ```ts + let x: typeof data // MyType[] + ``` + hideCodeBlock: true + isSpotlight: true + - id: complete-override-type-of-object-response + name: Complete Override type of object response + code: | + ```ts + const { data } = await supabase + .from('countries') + .select() + .maybeSingle() + .overrideTypes() + ``` + response: | + ```ts + let x: typeof data // MyType | null + ``` + hideCodeBlock: true + isSpotlight: true + - id: partial-override-type-of-successful-response + name: Partial Override type of successful response + code: | + ```ts + const { data } = await supabase + .from('countries') + .select() + .overrideTypes>() + ``` + response: | + ```ts + let x: typeof data // Array + ``` + hideCodeBlock: true + isSpotlight: true + - id: partial-override-type-of-object-response + name: Partial Override type of object response + code: | + ```ts + const { data } = await supabase + .from('countries') + .select() + .maybeSingle() + .overrideTypes<{ status: "A" | "B" }>() + ``` + response: | + ```ts + let x: typeof data // CountryRowProperties & { status: "A" | "B" } | null + ``` + hideCodeBlock: true + isSpotlight: true + - id: explain $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.explain' title: Using Explain diff --git a/apps/docs/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.yml index 45768e4754b..4c83fb45c73 100644 --- a/apps/docs/spec/supabase_swift_v2.yml +++ b/apps/docs/spec/supabase_swift_v2.yml @@ -26,7 +26,7 @@ functions: code: | ```swift import Supabase - + let client = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key") ``` - id: initialize-client-custom-options @@ -34,7 +34,7 @@ functions: code: | ```swift import Supabase - + let client = SupabaseClient( supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key", @@ -58,7 +58,7 @@ functions: code: | ```swift import Supabase - + struct AppLogger: SupabaseLogger { func log(message: SupabaseLogMessage) { print(message.description) @@ -80,7 +80,7 @@ functions: code: | ```swift import Supabase - + let supabase = SupabaseClient( supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key", diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json index 26c772546aa..853eed28c1e 100644 --- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json +++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json @@ -3592,6 +3592,9 @@ }, "value": { "type": "string" + }, + "updated_at": { + "type": "string" } }, "required": ["name", "value"] @@ -12284,6 +12287,9 @@ }, "value": { "type": "string" + }, + "updated_at": { + "type": "string" } }, "required": ["name", "value"] diff --git a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json index 015db0229d7..642d78f9511 100644 --- a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json +++ b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json @@ -1874,6 +1874,53 @@ } } }, + "/object/list-v2/{bucketName}": { + "post": { + "summary": "Search for objects under a prefix", + "tags": ["object"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "examples": ["folder/subfolder"] + }, + "limit": { + "type": "integer", + "minimum": 1, + "examples": [10] + }, + "cursor": { + "type": "string" + }, + "with_delimiter": { + "type": "boolean" + } + } + } + } + } + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "path", + "name": "bucketName", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } + }, "/object/list/{bucketName}": { "post": { "summary": "Search for objects under a prefix",