diff --git a/apps/www/.env b/apps/www/.env index af6041f3a2c..92ef5301973 100644 --- a/apps/www/.env +++ b/apps/www/.env @@ -10,3 +10,6 @@ NEXT_PUBLIC_STUDIO_URL="https://localhost:8082" NEXT_PUBLIC_LAUNCHWEEKSITE_URL="https://localhost:3008" NEXT_PUBLIC_REFERENCE_DOCS_URL="https://localhost:3010" +NEXT_PUBLIC_SITE_ORIGIN=http://localhost:3000 +NEXT_PUBLIC_SUPABASE_URL=https://obuldanrptloktxcffvn.supabase.co +NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2Njk3MjcwMTIsImV4cCI6MTk4NTMwMzAxMn0.SZLqryz_-stF8dgzeVXmzZWPOqdOrBwqJROlFES8v3I \ No newline at end of file diff --git a/spec/api_v0_openapi.json b/spec/api_v0_openapi.json index 7867f4a7d1b..b634edfa990 100644 --- a/spec/api_v0_openapi.json +++ b/spec/api_v0_openapi.json @@ -1116,18 +1116,18 @@ "PostgrestConfigResponse": { "type": "object", "properties": { + "max_rows": { "type": "integer" }, "db_schema": { "type": "string" }, - "max_rows": { "type": "number" }, "db_extra_search_path": { "type": "string" } }, - "required": ["db_schema", "max_rows", "db_extra_search_path"] + "required": ["max_rows", "db_schema", "db_extra_search_path"] }, "UpdatePostgrestConfigBody": { "type": "object", "properties": { + "max_rows": { "type": "integer", "minimum": 0, "maximum": 1000000 }, "db_extra_search_path": { "type": "string" }, - "db_schema": { "type": "string" }, - "max_rows": { "type": "number", "maximum": 1000000 } + "db_schema": { "type": "string" } } }, "UpdateCustomHostnameResponse": { diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json index b7cd6c2ddc4..6cb387f0435 100644 --- a/spec/common-client-libs-sections.json +++ b/spec/common-client-libs-sections.json @@ -387,6 +387,13 @@ "title": "Auth", "libs": ["js", "js_v1", "dart", "dart_v0"], "items": [ + { + "id": "auth-api", + "title": "Overview", + "slug": "auth-api", + "libs": ["js"], + "type": "function" + }, { "id": "sign-up", "title": "Create a new user", @@ -547,7 +554,6 @@ "type": "function", "libs": ["js"] }, - { "id": "on-auth-state-change", "title": "Listen to auth events", @@ -564,86 +570,154 @@ "type": "function", "libs": ["js", "js_v1", "dart", "dart_v0"] }, + { + "id": "mfa-enroll", + "title": "Enroll a factor", + "slug": "auth-mfa-enroll", + "product": "auth", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-challenge", + "title": "Create a challenge", + "slug": "auth-mfa-challenge", + "product": "auth", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-verify", + "title": "Verify a challenge", + "slug": "auth-mfa-verify", + "product": "auth", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-challenge-and-verify", + "title": "Create and verify a challenge", + "slug": "auth-mfa-challengeandverify", + "product": "auth", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-unenroll", + "title": "Unenroll a factor", + "slug": "auth-mfa-unenroll", + "product": "auth", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-get-authenticator-assurance-level", + "title": "Get Authenticator Assurance Level", + "slug": "auth-mfa-getauthenticatorassurancelevel", + "product": "auth", + "type": "function", + "libs": ["js"] + } + ] + }, + { + "title": "Auth Admin", + "libs": ["js", "js_v1"], + "items": [ { "id": "admin-api", - "title": "Auth (server-only)", + "title": "Overview", "slug": "admin-api", "libs": ["js", "js_v1"], + "type": "function" + }, + { + "id": "get-user-by-id", + "title": "Retrieve a user", + "slug": "auth-admin-getuserbyid", + "product": "auth-admin", "type": "function", - "items": [ - { - "id": "get-user-by-id", - "title": "Retrieve a user", - "slug": "auth-admin-getuserbyid", - "product": "auth-admin", - "type": "function", - "libs": ["js"] - }, - { - "id": "list-users", - "title": "List all users", - "slug": "auth-admin-listusers", - "product": "auth-admin", - "type": "function", - "libs": ["js", "js_v1"] - }, - { - "id": "create-user", - "title": "Create a user", - "slug": "auth-admin-createuser", - "product": "auth-admin", - "type": "function", - "libs": ["js", "js_v1"] - }, - { - "id": "delete-user", - "title": "Delete a user", - "slug": "auth-admin-deleteuser", - "product": "auth-admin", - "type": "function", - "libs": ["js", "js_v1"] - }, - { - "id": "invite-user-by-email", - "title": "Send an email invite link", - "slug": "auth-admin-inviteuserbyemail", - "product": "auth-admin", - "type": "function", - "libs": ["js", "js_v1"] - }, - { - "id": "reset-password-for-email", - "title": "Send a password reset request", - "slug": "auth-admin-resetpasswordforemail", - "product": "auth-admin", - "type": "function", - "libs": ["js"] - }, - { - "id": "generate-link", - "title": "Generate an email link", - "slug": "auth-admin-generatelink", - "product": "auth-admin", - "type": "function", - "libs": ["js"] - }, - { - "id": "send-mobile-otp", - "title": "Send a one-time passcode", - "slug": "auth-api-sendmobileotp", - "product": "auth-server", - "type": "function", - "libs": ["js_v1"] - }, - { - "id": "update-user-by-id", - "title": "Update a user", - "slug": "auth-admin-updateuserbyid", - "product": "auth-admin", - "type": "function", - "libs": ["js", "js_v1"] - } - ] + "libs": ["js"] + }, + { + "id": "list-users", + "title": "List all users", + "slug": "auth-admin-listusers", + "product": "auth-admin", + "type": "function", + "libs": ["js", "js_v1"] + }, + { + "id": "create-user", + "title": "Create a user", + "slug": "auth-admin-createuser", + "product": "auth-admin", + "type": "function", + "libs": ["js", "js_v1"] + }, + { + "id": "delete-user", + "title": "Delete a user", + "slug": "auth-admin-deleteuser", + "product": "auth-admin", + "type": "function", + "libs": ["js", "js_v1"] + }, + { + "id": "invite-user-by-email", + "title": "Send an email invite link", + "slug": "auth-admin-inviteuserbyemail", + "product": "auth-admin", + "type": "function", + "libs": ["js", "js_v1"] + }, + { + "id": "reset-password-for-email", + "title": "Send a password reset request", + "slug": "auth-admin-resetpasswordforemail", + "product": "auth-admin", + "type": "function", + "libs": ["js"] + }, + { + "id": "generate-link", + "title": "Generate an email link", + "slug": "auth-admin-generatelink", + "product": "auth-admin", + "type": "function", + "libs": ["js"] + }, + { + "id": "send-mobile-otp", + "title": "Send a one-time passcode", + "slug": "auth-api-sendmobileotp", + "product": "auth-server", + "type": "function", + "libs": ["js_v1"] + }, + { + "id": "update-user-by-id", + "title": "Update a user", + "slug": "auth-admin-updateuserbyid", + "product": "auth-admin", + "type": "function", + "libs": ["js", "js_v1"] + }, + { + "id": "mfa-list-factors", + "title": "List all factors for a user", + "slug": "auth-admin-mfa-listfactors", + "product": "auth-admin", + "type": "function", + "libs": ["js"] + }, + { + "id": "mfa-delete-factor", + "title": "Delete a factor for a user", + "slug": "auth-admin-mfa-deletefactor", + "product": "auth-admin", + "type": "function", + "libs": ["js"] } ] }, diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json index 373c4bc4f59..4af3936ad21 100644 --- a/spec/enrichments/tsdoc_v2/combined.json +++ b/spec/enrichments/tsdoc_v2/combined.json @@ -5859,14 +5859,14 @@ "originalName": "", "children": [ { - "id": 727, + "id": 732, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 728, + "id": 733, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5880,14 +5880,14 @@ ], "signatures": [ { - "id": 729, + "id": 734, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 730, + "id": 735, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5898,7 +5898,7 @@ } }, { - "id": 731, + "id": 736, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5911,24 +5911,24 @@ ], "type": { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 732, + "id": 737, "name": "status", "kind": 1024, "kindString": "Property", @@ -5946,7 +5946,7 @@ } }, { - "id": 733, + "id": 738, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -5960,7 +5960,7 @@ ], "signatures": [ { - "id": 734, + "id": 739, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -5968,14 +5968,14 @@ "type": { "type": "reflection", "declaration": { - "id": 735, + "id": 740, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 737, + "id": 742, "name": "message", "kind": 1024, "kindString": "Property", @@ -5994,7 +5994,7 @@ "defaultValue": "..." }, { - "id": 736, + "id": 741, "name": "name", "kind": 1024, "kindString": "Property", @@ -6013,7 +6013,7 @@ "defaultValue": "..." }, { - "id": 738, + "id": 743, "name": "status", "kind": 1024, "kindString": "Property", @@ -6036,7 +6036,7 @@ { "title": "Properties", "kind": 1024, - "children": [737, 736, 738] + "children": [742, 741, 743] } ] } @@ -6049,17 +6049,17 @@ { "title": "Constructors", "kind": 512, - "children": [728] + "children": [733] }, { "title": "Properties", "kind": 1024, - "children": [732] + "children": [737] }, { "title": "Methods", "kind": 2048, - "children": [733] + "children": [738] } ], "sources": [ @@ -6072,20 +6072,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 722, + "id": 727, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 723, + "id": 728, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6099,14 +6099,14 @@ ], "signatures": [ { - "id": 724, + "id": 729, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 725, + "id": 730, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6119,7 +6119,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, "overwrites": { @@ -6138,7 +6138,7 @@ { "title": "Constructors", "kind": 512, - "children": [723] + "children": [728] } ], "sources": [ @@ -6159,30 +6159,30 @@ "extendedBy": [ { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 788, + "id": 793, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6196,14 +6196,14 @@ ], "signatures": [ { - "id": 789, + "id": 794, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 795, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6214,7 +6214,7 @@ } }, { - "id": 791, + "id": 796, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -6229,14 +6229,14 @@ { "type": "reflection", "declaration": { - "id": 792, + "id": 797, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 794, + "id": 799, "name": "code", "kind": 1024, "kindString": "Property", @@ -6254,7 +6254,7 @@ } }, { - "id": 793, + "id": 798, "name": "error", "kind": 1024, "kindString": "Property", @@ -6276,7 +6276,7 @@ { "title": "Properties", "kind": 1024, - "children": [794, 793] + "children": [799, 798] } ] } @@ -6288,24 +6288,24 @@ ], "type": { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 795, + "id": 800, "name": "details", "kind": 1024, "kindString": "Property", @@ -6327,14 +6327,14 @@ { "type": "reflection", "declaration": { - "id": 796, + "id": 801, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 803, "name": "code", "kind": 1024, "kindString": "Property", @@ -6352,7 +6352,7 @@ } }, { - "id": 797, + "id": 802, "name": "error", "kind": 1024, "kindString": "Property", @@ -6374,7 +6374,7 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [803, 802] } ] } @@ -6384,7 +6384,7 @@ "defaultValue": "null" }, { - "id": 809, + "id": 814, "name": "name", "kind": 1024, "kindString": "Property", @@ -6402,12 +6402,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 810, + "id": 815, "name": "status", "kind": 1024, "kindString": "Property", @@ -6425,12 +6425,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 799, + "id": 804, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6444,7 +6444,7 @@ ], "signatures": [ { - "id": 800, + "id": 805, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6452,14 +6452,14 @@ "type": { "type": "reflection", "declaration": { - "id": 801, + "id": 806, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 805, + "id": 810, "name": "details", "kind": 1024, "kindString": "Property", @@ -6481,14 +6481,14 @@ { "type": "reflection", "declaration": { - "id": 806, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 813, "name": "code", "kind": 1024, "kindString": "Property", @@ -6506,7 +6506,7 @@ } }, { - "id": 807, + "id": 812, "name": "error", "kind": 1024, "kindString": "Property", @@ -6528,7 +6528,7 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807] + "children": [813, 812] } ] } @@ -6538,7 +6538,7 @@ "defaultValue": "..." }, { - "id": 803, + "id": 808, "name": "message", "kind": 1024, "kindString": "Property", @@ -6557,7 +6557,7 @@ "defaultValue": "..." }, { - "id": 802, + "id": 807, "name": "name", "kind": 1024, "kindString": "Property", @@ -6576,7 +6576,7 @@ "defaultValue": "..." }, { - "id": 804, + "id": 809, "name": "status", "kind": 1024, "kindString": "Property", @@ -6599,21 +6599,21 @@ { "title": "Properties", "kind": 1024, - "children": [805, 803, 802, 804] + "children": [810, 808, 807, 809] } ] } }, "overwrites": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -6622,17 +6622,17 @@ { "title": "Constructors", "kind": 512, - "children": [788] + "children": [793] }, { "title": "Properties", "kind": 1024, - "children": [795, 809, 810] + "children": [800, 814, 815] }, { "title": "Methods", "kind": 2048, - "children": [799] + "children": [804] } ], "sources": [ @@ -6645,20 +6645,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 775, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6672,14 +6672,14 @@ ], "signatures": [ { - "id": 776, + "id": 781, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 777, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6692,24 +6692,24 @@ ], "type": { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 778, + "id": 783, "name": "name", "kind": 1024, "kindString": "Property", @@ -6727,12 +6727,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 779, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -6750,12 +6750,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 780, + "id": 785, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6769,7 +6769,7 @@ ], "signatures": [ { - "id": 781, + "id": 786, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6777,14 +6777,14 @@ "type": { "type": "reflection", "declaration": { - "id": 782, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 789, "name": "message", "kind": 1024, "kindString": "Property", @@ -6803,7 +6803,7 @@ "defaultValue": "..." }, { - "id": 783, + "id": 788, "name": "name", "kind": 1024, "kindString": "Property", @@ -6822,7 +6822,7 @@ "defaultValue": "..." }, { - "id": 785, + "id": 790, "name": "status", "kind": 1024, "kindString": "Property", @@ -6845,21 +6845,21 @@ { "title": "Properties", "kind": 1024, - "children": [784, 783, 785] + "children": [789, 788, 790] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -6868,17 +6868,17 @@ { "title": "Constructors", "kind": 512, - "children": [775] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [778, 779] + "children": [783, 784] }, { "title": "Methods", "kind": 2048, - "children": [780] + "children": [785] } ], "sources": [ @@ -6891,20 +6891,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 812, + "id": 817, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 813, + "id": 818, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6918,14 +6918,14 @@ ], "signatures": [ { - "id": 814, + "id": 819, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 815, + "id": 820, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6936,7 +6936,7 @@ } }, { - "id": 816, + "id": 821, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6949,24 +6949,24 @@ ], "type": { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 817, + "id": 822, "name": "name", "kind": 1024, "kindString": "Property", @@ -6984,12 +6984,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 818, + "id": 823, "name": "status", "kind": 1024, "kindString": "Property", @@ -7007,12 +7007,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 819, + "id": 824, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7026,7 +7026,7 @@ ], "signatures": [ { - "id": 820, + "id": 825, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7034,14 +7034,14 @@ "type": { "type": "reflection", "declaration": { - "id": 821, + "id": 826, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 823, + "id": 828, "name": "message", "kind": 1024, "kindString": "Property", @@ -7060,7 +7060,7 @@ "defaultValue": "..." }, { - "id": 822, + "id": 827, "name": "name", "kind": 1024, "kindString": "Property", @@ -7079,7 +7079,7 @@ "defaultValue": "..." }, { - "id": 824, + "id": 829, "name": "status", "kind": 1024, "kindString": "Property", @@ -7102,21 +7102,21 @@ { "title": "Properties", "kind": 1024, - "children": [823, 822, 824] + "children": [828, 827, 829] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -7125,17 +7125,17 @@ { "title": "Constructors", "kind": 512, - "children": [813] + "children": [818] }, { "title": "Properties", "kind": 1024, - "children": [817, 818] + "children": [822, 823] }, { "title": "Methods", "kind": 2048, - "children": [819] + "children": [824] } ], "sources": [ @@ -7148,20 +7148,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 762, + "id": 767, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 763, + "id": 768, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7175,31 +7175,31 @@ ], "signatures": [ { - "id": 764, + "id": 769, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 765, + "id": 770, "name": "name", "kind": 1024, "kindString": "Property", @@ -7217,12 +7217,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 766, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -7240,12 +7240,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 767, + "id": 772, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7259,7 +7259,7 @@ ], "signatures": [ { - "id": 768, + "id": 773, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7267,14 +7267,14 @@ "type": { "type": "reflection", "declaration": { - "id": 769, + "id": 774, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 771, + "id": 776, "name": "message", "kind": 1024, "kindString": "Property", @@ -7293,7 +7293,7 @@ "defaultValue": "..." }, { - "id": 770, + "id": 775, "name": "name", "kind": 1024, "kindString": "Property", @@ -7312,7 +7312,7 @@ "defaultValue": "..." }, { - "id": 772, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -7335,21 +7335,21 @@ { "title": "Properties", "kind": 1024, - "children": [771, 770, 772] + "children": [776, 775, 777] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -7358,17 +7358,17 @@ { "title": "Constructors", "kind": 512, - "children": [763] + "children": [768] }, { "title": "Properties", "kind": 1024, - "children": [765, 766] + "children": [770, 771] }, { "title": "Methods", "kind": 2048, - "children": [767] + "children": [772] } ], "sources": [ @@ -7381,20 +7381,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 740, + "id": 745, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 741, + "id": 746, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7408,14 +7408,14 @@ ], "signatures": [ { - "id": 742, + "id": 747, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 743, + "id": 748, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7426,7 +7426,7 @@ } }, { - "id": 744, + "id": 749, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -7439,24 +7439,24 @@ ], "type": { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 745, + "id": 750, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -7478,12 +7478,12 @@ { "title": "Constructors", "kind": 512, - "children": [741] + "children": [746] }, { "title": "Properties", "kind": 1024, - "children": [745] + "children": [750] } ], "sources": [ @@ -7496,20 +7496,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 747, + "id": 752, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 748, + "id": 753, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7523,14 +7523,14 @@ ], "signatures": [ { - "id": 749, + "id": 754, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 750, + "id": 755, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7541,7 +7541,7 @@ } }, { - "id": 751, + "id": 756, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -7552,7 +7552,7 @@ } }, { - "id": 752, + "id": 757, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7565,24 +7565,24 @@ ], "type": { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 753, + "id": 758, "name": "name", "kind": 1024, "kindString": "Property", @@ -7604,7 +7604,7 @@ } }, { - "id": 754, + "id": 759, "name": "status", "kind": 1024, "kindString": "Property", @@ -7622,7 +7622,7 @@ } }, { - "id": 755, + "id": 760, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7636,7 +7636,7 @@ ], "signatures": [ { - "id": 756, + "id": 761, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7644,14 +7644,14 @@ "type": { "type": "reflection", "declaration": { - "id": 757, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 764, "name": "message", "kind": 1024, "kindString": "Property", @@ -7670,7 +7670,7 @@ "defaultValue": "..." }, { - "id": 758, + "id": 763, "name": "name", "kind": 1024, "kindString": "Property", @@ -7689,7 +7689,7 @@ "defaultValue": "..." }, { - "id": 760, + "id": 765, "name": "status", "kind": 1024, "kindString": "Property", @@ -7712,7 +7712,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 760] + "children": [764, 763, 765] } ] } @@ -7725,17 +7725,17 @@ { "title": "Constructors", "kind": 512, - "children": [748] + "children": [753] }, { "title": "Properties", "kind": 1024, - "children": [753, 754] + "children": [758, 759] }, { "title": "Methods", "kind": 2048, - "children": [755] + "children": [760] } ], "sources": [ @@ -7748,29 +7748,29 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" } ] @@ -7791,7 +7791,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -7829,7 +7829,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 36, + "line": 37, "character": 4 } ], @@ -7919,7 +7919,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 33, + "line": 34, "character": 4 } ], @@ -7966,7 +7966,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 32, + "line": 33, "character": 4 } ], @@ -8007,13 +8007,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 19, + "line": 20, "character": 2 } ], "type": { "type": "reference", - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi" } }, @@ -8026,7 +8026,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 138, + "line": 139, "character": 8 } ], @@ -8049,17 +8049,17 @@ "flags": {}, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes", "dereferenced": { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8083,7 +8083,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -8107,7 +8107,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -8131,12 +8131,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -8159,12 +8159,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8188,7 +8188,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -8211,12 +8211,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8239,12 +8239,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -8268,7 +8268,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -8296,7 +8296,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -8309,7 +8309,7 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] @@ -8322,7 +8322,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -8334,7 +8334,7 @@ ] }, { - "id": 65, + "id": 66, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -8342,13 +8342,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 228, + "line": 234, "character": 8 } ], "signatures": [ { - "id": 66, + "id": 67, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -8358,7 +8358,7 @@ }, "parameters": [ { - "id": 67, + "id": 68, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -8377,7 +8377,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -8397,7 +8397,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 104, + "line": 105, "character": 8 } ], @@ -8420,10 +8420,10 @@ "flags": {}, "type": { "type": "reference", - "id": 542, + "id": 543, "name": "GenerateLinkParams", "dereferenced": { - "id": 542, + "id": 543, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8439,7 +8439,7 @@ "type": "union", "types": [ { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8454,14 +8454,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -8479,7 +8479,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -8498,7 +8498,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -8521,7 +8521,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -8539,7 +8539,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -8561,7 +8561,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -8575,7 +8575,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8590,14 +8590,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -8618,7 +8618,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -8637,7 +8637,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -8660,7 +8660,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -8691,7 +8691,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -8705,7 +8705,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8720,14 +8720,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -8748,7 +8748,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -8767,7 +8767,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -8781,7 +8781,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -8803,7 +8803,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -8817,7 +8817,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8832,14 +8832,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -8860,7 +8860,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -8881,7 +8881,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -8900,7 +8900,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -8914,7 +8914,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -8945,7 +8945,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -8969,7 +8969,7 @@ "typeArguments": [ { "type": "reference", - "id": 543, + "id": 544, "name": "GenerateLinkResponse" } ], @@ -8981,7 +8981,7 @@ ] }, { - "id": 58, + "id": 59, "name": "getUserById", "kind": 2048, "kindString": "Method", @@ -8989,13 +8989,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 183, + "line": 189, "character": 8 } ], "signatures": [ { - "id": 59, + "id": 60, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -9005,7 +9005,7 @@ }, "parameters": [ { - "id": 60, + "id": 61, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -9024,7 +9024,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -9044,7 +9044,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 74, + "line": 75, "character": 8 } ], @@ -9102,7 +9102,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 78, + "line": 79, "character": 6 } ], @@ -9125,7 +9125,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 77, + "line": 78, "character": 6 } ], @@ -9152,7 +9152,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -9172,7 +9172,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 159, + "line": 161, "character": 8 } ], @@ -9185,8 +9185,113 @@ "flags": {}, "comment": { "shortText": "Get a list of users.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "text": "This function should only be called on a server. Never expose your `service_role` key in the browser." }, + "parameters": [ + { + "id": 48, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object which supports `page` and `per_page` as numbers, to alter the paginated results.\n" + }, + "type": { + "type": "reference", + "id": 717, + "name": "PageParams", + "dereferenced": { + "id": 717, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 718, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 919, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 720, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 921, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [719, 720] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 25 + } + ] + } + } + } + } + } + ], "type": { "type": "reference", "typeArguments": [ @@ -9196,14 +9301,14 @@ { "type": "reflection", "declaration": { - "id": 48, + "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 49, + "id": 50, "name": "data", "kind": 1024, "kindString": "Property", @@ -9211,21 +9316,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 6 + "line": 163, + "character": 15 } ], "type": { "type": "reflection", "declaration": { - "id": 50, + "id": 51, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 51, + "id": 52, "name": "users", "kind": 1024, "kindString": "Property", @@ -9233,15 +9338,15 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 14 + "line": 163, + "character": 23 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -9251,14 +9356,14 @@ { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ] } } }, { - "id": 52, + "id": 53, "name": "error", "kind": 1024, "kindString": "Property", @@ -9266,8 +9371,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 31 + "line": 163, + "character": 40 } ], "type": { @@ -9280,7 +9385,7 @@ { "title": "Properties", "kind": 1024, - "children": [49, 52] + "children": [50, 53] } ] } @@ -9288,14 +9393,14 @@ { "type": "reflection", "declaration": { - "id": 53, + "id": 54, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 54, + "id": 55, "name": "data", "kind": 1024, "kindString": "Property", @@ -9303,21 +9408,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 49 + "line": 163, + "character": 58 } ], "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 56, + "id": 57, "name": "users", "kind": 1024, "kindString": "Property", @@ -9325,8 +9430,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 57 + "line": 163, + "character": 66 } ], "type": { @@ -9338,14 +9443,14 @@ { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ] } } }, { - "id": 57, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -9353,13 +9458,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 70 + "line": 163, + "character": 79 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -9368,7 +9473,7 @@ { "title": "Properties", "kind": 1024, - "children": [54, 57] + "children": [55, 58] } ] } @@ -9392,7 +9497,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 8 } ], @@ -9443,7 +9548,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 40 } ], @@ -9461,7 +9566,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 52 } ], @@ -9474,7 +9579,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -9499,7 +9604,7 @@ ] }, { - "id": 61, + "id": 62, "name": "updateUserById", "kind": 2048, "kindString": "Method", @@ -9507,13 +9612,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 205, + "line": 211, "character": 8 } ], "signatures": [ { - "id": 62, + "id": 63, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -9523,7 +9628,7 @@ }, "parameters": [ { - "id": 63, + "id": 64, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -9534,7 +9639,7 @@ } }, { - "id": 64, + "id": 65, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -9544,17 +9649,17 @@ }, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes", "dereferenced": { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9578,7 +9683,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -9602,7 +9707,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -9626,12 +9731,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -9654,12 +9759,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -9683,7 +9788,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -9706,12 +9811,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9734,12 +9839,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -9763,7 +9868,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9791,7 +9896,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -9804,7 +9909,7 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] @@ -9817,7 +9922,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -9843,26 +9948,26 @@ { "title": "Methods", "kind": 2048, - "children": [43, 65, 40, 58, 33, 46, 27, 61] + "children": [43, 66, 40, 59, 33, 46, 27, 62] } ], "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 17, + "line": 18, "character": 21 } ] }, { - "id": 74, + "id": 75, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 75, + "id": 76, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9876,7 +9981,7 @@ ], "signatures": [ { - "id": 76, + "id": 77, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -9886,17 +9991,17 @@ }, "parameters": [ { - "id": 77, + "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "dereferenced": { - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -9911,14 +10016,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 297, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -9938,7 +10043,7 @@ } }, { - "id": 295, + "id": 296, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -9958,7 +10063,7 @@ } }, { - "id": 299, + "id": 300, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -9978,7 +10083,7 @@ } }, { - "id": 290, + "id": 291, "name": "headers", "kind": 1024, "kindString": "Property", @@ -9995,7 +10100,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10008,14 +10113,14 @@ } ], "indexSignature": { - "id": 292, + "id": 293, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 293, + "id": 294, "name": "key", "kind": 32768, "flags": {}, @@ -10034,7 +10139,7 @@ } }, { - "id": 297, + "id": 298, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -10054,7 +10159,7 @@ } }, { - "id": 298, + "id": 299, "name": "storage", "kind": 1024, "kindString": "Property", @@ -10070,12 +10175,12 @@ ], "type": { "type": "reference", - "id": 705, + "id": 706, "name": "SupportedStorage" } }, { - "id": 294, + "id": 295, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -10095,7 +10200,7 @@ } }, { - "id": 289, + "id": 290, "name": "url", "kind": 1024, "kindString": "Property", @@ -10119,7 +10224,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 295, 299, 290, 297, 298, 294, 289] + "children": [297, 296, 300, 291, 298, 299, 295, 290] } ], "sources": [ @@ -10137,14 +10242,14 @@ ], "type": { "type": "reference", - "id": 74, + "id": 75, "name": "default" } } ] }, { - "id": 78, + "id": 79, "name": "admin", "kind": 1024, "kindString": "Property", @@ -10166,7 +10271,7 @@ } }, { - "id": 79, + "id": 80, "name": "mfa", "kind": 1024, "kindString": "Property", @@ -10183,12 +10288,12 @@ ], "type": { "type": "reference", - "id": 653, + "id": 654, "name": "GoTrueMFAApi" } }, { - "id": 123, + "id": 124, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -10202,7 +10307,7 @@ ], "signatures": [ { - "id": 124, + "id": 125, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -10219,14 +10324,14 @@ { "type": "reflection", "declaration": { - "id": 125, + "id": 126, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 126, + "id": 127, "name": "data", "kind": 1024, "kindString": "Property", @@ -10241,14 +10346,14 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 128, + "id": 129, "name": "session", "kind": 1024, "kindString": "Property", @@ -10262,7 +10367,7 @@ ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -10271,14 +10376,14 @@ { "title": "Properties", "kind": 1024, - "children": [128] + "children": [129] } ] } } }, { - "id": 129, + "id": 130, "name": "error", "kind": 1024, "kindString": "Property", @@ -10300,7 +10405,7 @@ { "title": "Properties", "kind": 1024, - "children": [126, 129] + "children": [127, 130] } ] } @@ -10308,14 +10413,14 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 132, "name": "data", "kind": 1024, "kindString": "Property", @@ -10330,14 +10435,14 @@ "type": { "type": "reflection", "declaration": { - "id": 132, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 133, + "id": 134, "name": "session", "kind": 1024, "kindString": "Property", @@ -10359,14 +10464,14 @@ { "title": "Properties", "kind": 1024, - "children": [133] + "children": [134] } ] } } }, { - "id": 134, + "id": 135, "name": "error", "kind": 1024, "kindString": "Property", @@ -10380,7 +10485,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -10389,7 +10494,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 134] + "children": [132, 135] } ] } @@ -10397,14 +10502,14 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 137, "name": "data", "kind": 1024, "kindString": "Property", @@ -10419,14 +10524,14 @@ "type": { "type": "reflection", "declaration": { - "id": 137, + "id": 138, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 138, + "id": 139, "name": "session", "kind": 1024, "kindString": "Property", @@ -10448,14 +10553,14 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [139] } ] } } }, { - "id": 139, + "id": 140, "name": "error", "kind": 1024, "kindString": "Property", @@ -10477,7 +10582,7 @@ { "title": "Properties", "kind": 1024, - "children": [136, 139] + "children": [137, 140] } ] } @@ -10493,7 +10598,7 @@ ] }, { - "id": 140, + "id": 141, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -10507,7 +10612,7 @@ ], "signatures": [ { - "id": 141, + "id": 142, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -10517,7 +10622,7 @@ }, "parameters": [ { - "id": 142, + "id": 143, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10538,7 +10643,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -10550,7 +10655,7 @@ ] }, { - "id": 101, + "id": 102, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -10564,7 +10669,7 @@ ], "signatures": [ { - "id": 102, + "id": 103, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -10577,7 +10682,7 @@ "typeArguments": [ { "type": "reference", - "id": 706, + "id": 707, "name": "InitializeResult" } ], @@ -10589,7 +10694,7 @@ ] }, { - "id": 184, + "id": 185, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -10603,7 +10708,7 @@ ], "signatures": [ { - "id": 185, + "id": 186, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -10613,7 +10718,7 @@ }, "parameters": [ { - "id": 186, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -10624,33 +10729,33 @@ "type": { "type": "reflection", "declaration": { - "id": 187, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 188, + "id": 189, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 189, + "id": 190, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent" } }, { - "id": 190, + "id": 191, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -10664,7 +10769,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -10684,14 +10789,14 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 193, "name": "data", "kind": 1024, "kindString": "Property", @@ -10706,14 +10811,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -10727,7 +10832,7 @@ ], "type": { "type": "reference", - "id": 420, + "id": 421, "name": "Subscription" } } @@ -10736,7 +10841,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [195] } ] } @@ -10747,7 +10852,7 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [193] } ] } @@ -10756,7 +10861,7 @@ ] }, { - "id": 159, + "id": 160, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -10770,7 +10875,7 @@ ], "signatures": [ { - "id": 160, + "id": 161, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -10780,7 +10885,7 @@ }, "parameters": [ { - "id": 161, + "id": 162, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -10793,14 +10898,14 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 163, + "id": 164, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -10822,7 +10927,7 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [164] } ] } @@ -10834,7 +10939,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -10846,7 +10951,7 @@ ] }, { - "id": 195, + "id": 196, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -10860,7 +10965,7 @@ ], "signatures": [ { - "id": 196, + "id": 197, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -10870,7 +10975,7 @@ }, "parameters": [ { - "id": 197, + "id": 198, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10884,7 +10989,7 @@ } }, { - "id": 198, + "id": 199, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10892,14 +10997,14 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 201, + "id": 202, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10922,7 +11027,7 @@ } }, { - "id": 200, + "id": 201, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10949,7 +11054,7 @@ { "title": "Properties", "kind": 1024, - "children": [201, 200] + "children": [202, 201] } ] } @@ -10966,14 +11071,14 @@ { "type": "reflection", "declaration": { - "id": 202, + "id": 203, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 204, "name": "data", "kind": 1024, "kindString": "Property", @@ -10988,7 +11093,7 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10997,7 +11102,7 @@ } }, { - "id": 205, + "id": 206, "name": "error", "kind": 1024, "kindString": "Property", @@ -11019,7 +11124,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 205] + "children": [204, 206] } ] } @@ -11027,14 +11132,14 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 207, + "id": 208, "name": "data", "kind": 1024, "kindString": "Property", @@ -11052,7 +11157,7 @@ } }, { - "id": 208, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -11066,7 +11171,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -11075,7 +11180,7 @@ { "title": "Properties", "kind": 1024, - "children": [207, 208] + "children": [208, 209] } ] } @@ -11091,7 +11196,7 @@ ] }, { - "id": 153, + "id": 154, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -11105,7 +11210,7 @@ ], "signatures": [ { - "id": 154, + "id": 155, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -11115,7 +11220,7 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -11126,14 +11231,14 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 157, + "id": 158, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -11151,7 +11256,7 @@ } }, { - "id": 158, + "id": 159, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -11173,7 +11278,7 @@ { "title": "Properties", "kind": 1024, - "children": [157, 158] + "children": [158, 159] } ] } @@ -11185,7 +11290,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -11197,7 +11302,7 @@ ] }, { - "id": 111, + "id": 112, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -11211,7 +11316,7 @@ ], "signatures": [ { - "id": 112, + "id": 113, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -11221,17 +11326,17 @@ }, "parameters": [ { - "id": 113, + "id": 114, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11246,14 +11351,14 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 480, + "id": 481, "name": "options", "kind": 1024, "kindString": "Property", @@ -11270,14 +11375,14 @@ "type": { "type": "reflection", "declaration": { - "id": 481, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 484, + "id": 485, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -11297,7 +11402,7 @@ "type": { "type": "reflection", "declaration": { - "id": 485, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11310,14 +11415,14 @@ } ], "indexSignature": { - "id": 486, + "id": 487, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 487, + "id": 488, "name": "key", "kind": 32768, "flags": {}, @@ -11336,7 +11441,7 @@ } }, { - "id": 482, + "id": 483, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11359,7 +11464,7 @@ } }, { - "id": 483, + "id": 484, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -11386,7 +11491,7 @@ { "title": "Properties", "kind": 1024, - "children": [484, 482, 483] + "children": [485, 483, 484] } ], "sources": [ @@ -11400,7 +11505,7 @@ } }, { - "id": 479, + "id": 480, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11417,7 +11522,7 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } } @@ -11426,7 +11531,7 @@ { "title": "Properties", "kind": 1024, - "children": [480, 479] + "children": [481, 480] } ], "sources": [ @@ -11447,7 +11552,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 314, "name": "OAuthResponse" } ], @@ -11459,7 +11564,7 @@ ] }, { - "id": 114, + "id": 115, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -11473,7 +11578,7 @@ ], "signatures": [ { - "id": 115, + "id": 116, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -11483,17 +11588,17 @@ }, "parameters": [ { - "id": 116, + "id": 117, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11511,14 +11616,14 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 463, + "id": 464, "name": "email", "kind": 1024, "kindString": "Property", @@ -11539,7 +11644,7 @@ } }, { - "id": 464, + "id": 465, "name": "options", "kind": 1024, "kindString": "Property", @@ -11556,14 +11661,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 466, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 470, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11586,7 +11691,7 @@ } }, { - "id": 468, + "id": 469, "name": "data", "kind": 1024, "kindString": "Property", @@ -11610,7 +11715,7 @@ } }, { - "id": 466, + "id": 467, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -11633,7 +11738,7 @@ } }, { - "id": 467, + "id": 468, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -11660,7 +11765,7 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468, 466, 467] + "children": [470, 469, 467, 468] } ], "sources": [ @@ -11678,7 +11783,7 @@ { "title": "Properties", "kind": 1024, - "children": [463, 464] + "children": [464, 465] } ], "sources": [ @@ -11693,14 +11798,14 @@ { "type": "reflection", "declaration": { - "id": 470, + "id": 471, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 473, "name": "options", "kind": 1024, "kindString": "Property", @@ -11717,14 +11822,14 @@ "type": { "type": "reflection", "declaration": { - "id": 473, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 476, + "id": 477, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11747,7 +11852,7 @@ } }, { - "id": 475, + "id": 476, "name": "data", "kind": 1024, "kindString": "Property", @@ -11771,7 +11876,7 @@ } }, { - "id": 474, + "id": 475, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -11798,7 +11903,7 @@ { "title": "Properties", "kind": 1024, - "children": [476, 475, 474] + "children": [477, 476, 475] } ], "sources": [ @@ -11812,7 +11917,7 @@ } }, { - "id": 471, + "id": 472, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11837,7 +11942,7 @@ { "title": "Properties", "kind": 1024, - "children": [472, 471] + "children": [473, 472] } ], "sources": [ @@ -11860,7 +11965,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -11872,7 +11977,7 @@ ] }, { - "id": 108, + "id": 109, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -11886,7 +11991,7 @@ ], "signatures": [ { - "id": 109, + "id": 110, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -11896,17 +12001,17 @@ }, "parameters": [ { - "id": 110, + "id": 111, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11924,14 +12029,14 @@ { "type": "reflection", "declaration": { - "id": 447, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 448, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -11952,7 +12057,7 @@ } }, { - "id": 450, + "id": 451, "name": "options", "kind": 1024, "kindString": "Property", @@ -11969,14 +12074,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 453, + "id": 454, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11999,7 +12104,7 @@ } }, { - "id": 452, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -12027,7 +12132,7 @@ { "title": "Properties", "kind": 1024, - "children": [453, 452] + "children": [454, 453] } ], "sources": [ @@ -12041,7 +12146,7 @@ } }, { - "id": 449, + "id": 450, "name": "password", "kind": 1024, "kindString": "Property", @@ -12066,7 +12171,7 @@ { "title": "Properties", "kind": 1024, - "children": [448, 450, 449] + "children": [449, 451, 450] } ], "sources": [ @@ -12081,14 +12186,14 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 455, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 458, "name": "options", "kind": 1024, "kindString": "Property", @@ -12105,14 +12210,14 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 459, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 460, + "id": 461, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12135,7 +12240,7 @@ } }, { - "id": 459, + "id": 460, "name": "data", "kind": 1024, "kindString": "Property", @@ -12163,7 +12268,7 @@ { "title": "Properties", "kind": 1024, - "children": [460, 459] + "children": [461, 460] } ], "sources": [ @@ -12177,7 +12282,7 @@ } }, { - "id": 456, + "id": 457, "name": "password", "kind": 1024, "kindString": "Property", @@ -12198,7 +12303,7 @@ } }, { - "id": 455, + "id": 456, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12223,7 +12328,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 456, 455] + "children": [458, 457, 456] } ], "sources": [ @@ -12246,7 +12351,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -12258,7 +12363,7 @@ ] }, { - "id": 120, + "id": 121, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -12272,7 +12377,7 @@ ], "signatures": [ { - "id": 121, + "id": 122, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -12289,17 +12394,17 @@ }, "parameters": [ { - "id": 122, + "id": 123, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 507, + "id": 508, "name": "SignInWithSSO", "dereferenced": { - "id": 507, + "id": 508, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -12317,14 +12422,14 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 510, "name": "options", "kind": 1024, "kindString": "Property", @@ -12341,14 +12446,14 @@ "type": { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12371,7 +12476,7 @@ } }, { - "id": 511, + "id": 512, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12398,7 +12503,7 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [513, 512] } ], "sources": [ @@ -12416,7 +12521,7 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [510] } ], "sources": [ @@ -12434,14 +12539,14 @@ { "type": "reflection", "declaration": { - "id": 513, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 515, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -12466,7 +12571,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [515] } ], "sources": [ @@ -12481,14 +12586,14 @@ { "type": "reflection", "declaration": { - "id": 515, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 517, "name": "domain", "kind": 1024, "kindString": "Property", @@ -12513,7 +12618,7 @@ { "title": "Properties", "kind": 1024, - "children": [516] + "children": [517] } ], "sources": [ @@ -12538,7 +12643,7 @@ "typeArguments": [ { "type": "reference", - "id": 326, + "id": 327, "name": "SSOResponse" } ], @@ -12550,7 +12655,7 @@ ] }, { - "id": 180, + "id": 181, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -12564,7 +12669,7 @@ ], "signatures": [ { - "id": 181, + "id": 182, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -12579,14 +12684,14 @@ { "type": "reflection", "declaration": { - "id": 182, + "id": 183, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 183, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -12607,7 +12712,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -12618,7 +12723,7 @@ { "title": "Properties", "kind": 1024, - "children": [183] + "children": [184] } ] } @@ -12632,7 +12737,7 @@ ] }, { - "id": 105, + "id": 106, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -12646,7 +12751,7 @@ ], "signatures": [ { - "id": 106, + "id": 107, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -12657,17 +12762,17 @@ }, "parameters": [ { - "id": 107, + "id": 108, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12685,14 +12790,14 @@ { "type": "reflection", "declaration": { - "id": 431, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 432, + "id": 433, "name": "email", "kind": 1024, "kindString": "Property", @@ -12713,7 +12818,7 @@ } }, { - "id": 434, + "id": 435, "name": "options", "kind": 1024, "kindString": "Property", @@ -12730,14 +12835,14 @@ "type": { "type": "reflection", "declaration": { - "id": 435, + "id": 436, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 439, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12760,7 +12865,7 @@ } }, { - "id": 437, + "id": 438, "name": "data", "kind": 1024, "kindString": "Property", @@ -12784,7 +12889,7 @@ } }, { - "id": 436, + "id": 437, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12811,7 +12916,7 @@ { "title": "Properties", "kind": 1024, - "children": [438, 437, 436] + "children": [439, 438, 437] } ], "sources": [ @@ -12825,7 +12930,7 @@ } }, { - "id": 433, + "id": 434, "name": "password", "kind": 1024, "kindString": "Property", @@ -12850,7 +12955,7 @@ { "title": "Properties", "kind": 1024, - "children": [432, 434, 433] + "children": [433, 435, 434] } ], "sources": [ @@ -12865,14 +12970,14 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 442, + "id": 443, "name": "options", "kind": 1024, "kindString": "Property", @@ -12889,14 +12994,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 444, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 445, + "id": 446, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12919,7 +13024,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "kind": 1024, "kindString": "Property", @@ -12947,7 +13052,7 @@ { "title": "Properties", "kind": 1024, - "children": [445, 444] + "children": [446, 445] } ], "sources": [ @@ -12961,7 +13066,7 @@ } }, { - "id": 441, + "id": 442, "name": "password", "kind": 1024, "kindString": "Property", @@ -12982,7 +13087,7 @@ } }, { - "id": 440, + "id": 441, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13007,7 +13112,7 @@ { "title": "Properties", "kind": 1024, - "children": [442, 441, 440] + "children": [443, 442, 441] } ], "sources": [ @@ -13030,7 +13135,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -13042,7 +13147,7 @@ ] }, { - "id": 143, + "id": 144, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -13056,7 +13161,7 @@ ], "signatures": [ { - "id": 144, + "id": 145, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -13066,24 +13171,24 @@ }, "parameters": [ { - "id": 145, + "id": 146, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes", "dereferenced": { - "id": 405, + "id": 406, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 409, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -13107,7 +13212,7 @@ } }, { - "id": 406, + "id": 407, "name": "email", "kind": 1024, "kindString": "Property", @@ -13130,7 +13235,7 @@ } }, { - "id": 408, + "id": 409, "name": "password", "kind": 1024, "kindString": "Property", @@ -13153,7 +13258,7 @@ } }, { - "id": 407, + "id": 408, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13180,7 +13285,7 @@ { "title": "Properties", "kind": 1024, - "children": [409, 406, 408, 407] + "children": [410, 407, 409, 408] } ], "sources": [ @@ -13193,7 +13298,7 @@ "extendedBy": [ { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } ] @@ -13206,7 +13311,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -13218,7 +13323,7 @@ ] }, { - "id": 117, + "id": 118, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -13232,7 +13337,7 @@ ], "signatures": [ { - "id": 118, + "id": 119, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -13242,17 +13347,17 @@ }, "parameters": [ { - "id": 119, + "id": 120, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 488, + "id": 489, "name": "VerifyOtpParams", "dereferenced": { - "id": 488, + "id": 489, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -13268,14 +13373,14 @@ "type": "union", "types": [ { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -13292,14 +13397,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13328,7 +13433,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13355,14 +13460,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13383,7 +13488,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -13404,7 +13509,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -13421,7 +13526,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -13430,7 +13535,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -13442,14 +13547,14 @@ ] }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -13470,7 +13575,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -13487,14 +13592,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13517,7 +13622,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13544,14 +13649,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -13572,7 +13677,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -13589,7 +13694,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -13598,7 +13703,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -13620,7 +13725,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -13636,18 +13741,18 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [76] }, { "title": "Properties", "kind": 1024, - "children": [78, 79] + "children": [79, 80] }, { "title": "Methods", "kind": 2048, "children": [ - 123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117 + 124, 141, 102, 185, 160, 196, 154, 112, 115, 109, 121, 181, 106, 144, 118 ] } ], @@ -13660,7 +13765,7 @@ ] }, { - "id": 355, + "id": 356, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -13677,7 +13782,7 @@ }, "children": [ { - "id": 356, + "id": 357, "name": "method", "kind": 1024, "kindString": "Property", @@ -13698,7 +13803,7 @@ } }, { - "id": 357, + "id": 358, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -13723,7 +13828,7 @@ { "title": "Properties", "kind": 1024, - "children": [356, 357] + "children": [357, 358] } ], "sources": [ @@ -13735,14 +13840,14 @@ ] }, { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -13766,7 +13871,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -13790,7 +13895,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -13814,12 +13919,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -13842,12 +13947,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -13871,7 +13976,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -13894,12 +13999,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13922,12 +14027,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13951,7 +14056,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13979,7 +14084,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -13992,13 +14097,13 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] }, { - "id": 369, + "id": 370, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -14022,7 +14127,7 @@ }, "children": [ { - "id": 374, + "id": 375, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -14040,7 +14145,7 @@ } }, { - "id": 372, + "id": 373, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -14061,7 +14166,7 @@ } }, { - "id": 371, + "id": 372, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -14084,7 +14189,7 @@ } }, { - "id": 370, + "id": 371, "name": "id", "kind": 1024, "kindString": "Property", @@ -14105,7 +14210,7 @@ } }, { - "id": 373, + "id": 374, "name": "status", "kind": 1024, "kindString": "Property", @@ -14135,7 +14240,7 @@ } }, { - "id": 375, + "id": 376, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -14157,7 +14262,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 372, 371, 370, 373, 375] + "children": [375, 373, 372, 371, 374, 376] } ], "sources": [ @@ -14169,14 +14274,14 @@ ] }, { - "id": 539, + "id": 540, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 540, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -14200,7 +14305,7 @@ } }, { - "id": 541, + "id": 542, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14227,7 +14332,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 541] + "children": [541, 542] } ], "sources": [ @@ -14239,7 +14344,7 @@ ] }, { - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -14255,20 +14360,20 @@ }, "children": [ { - "id": 702, + "id": 703, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 703, + "id": 704, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.", + "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.", "tags": [ { "tag": "see", @@ -14282,17 +14387,17 @@ }, "parameters": [ { - "id": 704, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -14308,21 +14413,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 855, + "line": 842, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 684, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 685, "name": "id", "kind": 1024, "kindString": "Property", @@ -14333,7 +14438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 857, + "line": 844, "character": 2 } ], @@ -14343,7 +14448,7 @@ } }, { - "id": 685, + "id": 686, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14354,7 +14459,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 860, + "line": 847, "character": 2 } ], @@ -14368,13 +14473,13 @@ { "title": "Properties", "kind": 1024, - "children": [684, 685] + "children": [685, 686] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 855, + "line": 842, "character": 45 } ] @@ -14389,7 +14494,7 @@ "typeArguments": [ { "type": "reference", - "id": 673, + "id": 674, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -14401,34 +14506,34 @@ ] }, { - "id": 699, + "id": 700, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 700, + "id": 701, "name": "listFactors", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Lists all factors attached to a user." + "shortText": "Lists all factors associated to a user." }, "parameters": [ { - "id": 701, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 695, + "id": 696, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 695, + "id": 696, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -14444,32 +14549,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 866, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 696, + "id": 697, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 697, + "id": 698, "name": "userId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the user for which to list all MFA factors." + "shortText": "ID of the user." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 881, + "line": 868, "character": 2 } ], @@ -14483,13 +14588,13 @@ { "title": "Properties", "kind": 1024, - "children": [697] + "children": [698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 866, "character": 44 } ] @@ -14504,7 +14609,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 687, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -14520,19 +14625,19 @@ { "title": "Methods", "kind": 2048, - "children": [702, 699] + "children": [703, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 876, "character": 17 } ] }, { - "id": 653, + "id": 654, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -14542,34 +14647,34 @@ }, "children": [ { - "id": 657, + "id": 658, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 658, + "id": 659, "name": "challenge", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}." + "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." }, "parameters": [ { - "id": 659, + "id": 660, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 577, + "id": 578, "name": "MFAChallengeParams", "dereferenced": { - "id": 577, + "id": 578, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -14577,32 +14682,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 578, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 580, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor to be challenged." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 624, "character": 2 } ], @@ -14616,13 +14721,13 @@ { "title": "Properties", "kind": 1024, - "children": [579] + "children": [580] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 33 } ] @@ -14637,7 +14742,7 @@ "typeArguments": [ { "type": "reference", - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse" } ], @@ -14649,40 +14754,34 @@ ] }, { - "id": 666, + "id": 667, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 667, + "id": 668, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n" - } - ] + "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 668, + "id": 669, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14690,21 +14789,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 584, "name": "code", "kind": 1024, "kindString": "Property", @@ -14715,7 +14814,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 628, + "line": 631, "character": 2 } ], @@ -14725,18 +14824,18 @@ } }, { - "id": 582, + "id": 583, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 629, "character": 2 } ], @@ -14750,13 +14849,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [584, 583] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 42 } ] @@ -14771,7 +14870,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -14783,49 +14882,35 @@ ] }, { - "id": 654, + "id": 655, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 655, + "id": 656, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.", - "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#verify}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n" - } - ] + "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.", + "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n" }, "parameters": [ { - "id": 656, + "id": 657, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 564, + "id": 565, "name": "MFAEnrollParams", "dereferenced": { - "id": 564, + "id": 565, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -14840,22 +14925,25 @@ "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 567, "name": "factorType", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 598, + "line": 599, "character": 2 } ], @@ -14865,17 +14953,20 @@ } }, { - "id": 568, + "id": 569, "name": "friendlyName", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Human readable name assigned to the factor." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 603, "character": 2 } ], @@ -14885,17 +14976,20 @@ } }, { - "id": 567, + "id": 568, "name": "issuer", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Domain which the user is enrolled with." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 2 } ], @@ -14909,7 +15003,7 @@ { "title": "Properties", "kind": 1024, - "children": [566, 568, 567] + "children": [567, 569, 568] } ], "sources": [ @@ -14930,7 +15024,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse" } ], @@ -14942,14 +15036,14 @@ ] }, { - "id": 671, + "id": 672, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 672, + "id": 673, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -14963,7 +15057,7 @@ "typeArguments": [ { "type": "reference", - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -14975,14 +15069,14 @@ ] }, { - "id": 669, + "id": 670, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 670, + "id": 671, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -15009,7 +15103,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse" } ], @@ -15021,34 +15115,34 @@ ] }, { - "id": 663, + "id": 664, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 664, + "id": 665, "name": "unenroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level." + "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor." }, "parameters": [ { - "id": 665, + "id": 666, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "dereferenced": { - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -15056,21 +15150,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 571, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 571, + "id": 572, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15081,7 +15175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 608, "character": 2 } ], @@ -15095,13 +15189,13 @@ { "title": "Properties", "kind": 1024, - "children": [571] + "children": [572] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 32 } ] @@ -15116,7 +15210,7 @@ "typeArguments": [ { "type": "reference", - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse" } ], @@ -15128,40 +15222,34 @@ ] }, { - "id": 660, + "id": 661, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 661, + "id": 662, "name": "verify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n\n" - } - ] + "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 662, + "id": 663, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 572, + "id": 573, "name": "MFAVerifyParams", "dereferenced": { - "id": 572, + "id": 573, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -15169,48 +15257,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 575, + "id": 576, "name": "challengeId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the challenge being verified." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the challenge being verified. Returned in challenge()." }, "sources": [ { @@ -15225,18 +15292,39 @@ } }, { - "id": 574, + "id": 577, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 613, "character": 2 } ], @@ -15250,13 +15338,13 @@ { "title": "Properties", "kind": 1024, - "children": [575, 576, 574] + "children": [576, 577, 575] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 30 } ] @@ -15271,7 +15359,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -15287,26 +15375,26 @@ { "title": "Methods", "kind": 2048, - "children": [657, 666, 654, 671, 669, 663, 660] + "children": [658, 667, 655, 672, 670, 664, 661] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 756, + "line": 759, "character": 17 } ] }, { - "id": 346, + "id": 347, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 349, + "id": 350, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -15327,7 +15415,7 @@ } }, { - "id": 352, + "id": 353, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -15350,7 +15438,7 @@ } }, { - "id": 351, + "id": 352, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -15371,7 +15459,7 @@ } }, { - "id": 348, + "id": 349, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -15403,7 +15491,7 @@ } }, { - "id": 347, + "id": 348, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -15435,7 +15523,7 @@ } }, { - "id": 350, + "id": 351, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -15456,7 +15544,7 @@ } }, { - "id": 353, + "id": 354, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -15474,7 +15562,7 @@ } }, { - "id": 354, + "id": 355, "name": "user", "kind": 1024, "kindString": "Property", @@ -15488,7 +15576,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -15497,7 +15585,7 @@ { "title": "Properties", "kind": 1024, - "children": [349, 352, 351, 348, 347, 350, 353, 354] + "children": [350, 353, 352, 349, 348, 351, 354, 355] } ], "sources": [ @@ -15509,14 +15597,14 @@ ] }, { - "id": 420, + "id": 421, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 422, "name": "id", "kind": 1024, "kindString": "Property", @@ -15537,7 +15625,7 @@ } }, { - "id": 422, + "id": 423, "name": "callback", "kind": 2048, "kindString": "Method", @@ -15551,7 +15639,7 @@ ], "signatures": [ { - "id": 423, + "id": 424, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -15561,17 +15649,17 @@ }, "parameters": [ { - "id": 424, + "id": 425, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent", "dereferenced": { - "id": 286, + "id": 287, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -15611,7 +15699,7 @@ "value": "USER_DELETED" }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -15634,7 +15722,7 @@ } }, { - "id": 425, + "id": 426, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15648,7 +15736,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -15663,7 +15751,7 @@ ] }, { - "id": 426, + "id": 427, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -15677,7 +15765,7 @@ ], "signatures": [ { - "id": 427, + "id": 428, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -15697,12 +15785,12 @@ { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] }, { "title": "Methods", "kind": 2048, - "children": [422, 426] + "children": [423, 427] } ], "sources": [ @@ -15714,14 +15802,14 @@ ] }, { - "id": 428, + "id": 429, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 429, + "id": 430, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -15743,7 +15831,7 @@ { "title": "Properties", "kind": 1024, - "children": [429] + "children": [430] } ], "sources": [ @@ -15755,14 +15843,14 @@ ] }, { - "id": 383, + "id": 384, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 393, + "id": 394, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -15782,7 +15870,7 @@ } }, { - "id": 385, + "id": 386, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -15796,12 +15884,12 @@ ], "type": { "type": "reference", - "id": 376, + "id": 377, "name": "UserAppMetadata" } }, { - "id": 387, + "id": 388, "name": "aud", "kind": 1024, "kindString": "Property", @@ -15819,7 +15907,7 @@ } }, { - "id": 388, + "id": 389, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -15839,7 +15927,7 @@ } }, { - "id": 397, + "id": 398, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -15859,7 +15947,7 @@ } }, { - "id": 396, + "id": 397, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -15877,7 +15965,7 @@ } }, { - "id": 394, + "id": 395, "name": "email", "kind": 1024, "kindString": "Property", @@ -15897,7 +15985,7 @@ } }, { - "id": 390, + "id": 391, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -15917,7 +16005,7 @@ } }, { - "id": 398, + "id": 399, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -15937,7 +16025,7 @@ } }, { - "id": 404, + "id": 405, "name": "factors", "kind": 1024, "kindString": "Property", @@ -15955,13 +16043,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } }, { - "id": 384, + "id": 385, "name": "id", "kind": 1024, "kindString": "Property", @@ -15979,7 +16067,7 @@ } }, { - "id": 403, + "id": 404, "name": "identities", "kind": 1024, "kindString": "Property", @@ -15997,13 +16085,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 358, + "id": 359, "name": "UserIdentity" } } }, { - "id": 392, + "id": 393, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -16023,7 +16111,7 @@ } }, { - "id": 400, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -16043,7 +16131,7 @@ } }, { - "id": 391, + "id": 392, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -16063,7 +16151,7 @@ } }, { - "id": 395, + "id": 396, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16083,7 +16171,7 @@ } }, { - "id": 399, + "id": 400, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -16103,7 +16191,7 @@ } }, { - "id": 389, + "id": 390, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -16123,7 +16211,7 @@ } }, { - "id": 401, + "id": 402, "name": "role", "kind": 1024, "kindString": "Property", @@ -16143,7 +16231,7 @@ } }, { - "id": 402, + "id": 403, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -16163,7 +16251,7 @@ } }, { - "id": 386, + "id": 387, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -16177,7 +16265,7 @@ ], "type": { "type": "reference", - "id": 380, + "id": 381, "name": "UserMetadata" } } @@ -16187,8 +16275,8 @@ "title": "Properties", "kind": 1024, "children": [ - 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399, - 389, 401, 402, 386 + 394, 386, 388, 389, 398, 397, 395, 391, 399, 405, 385, 404, 393, 401, 392, 396, 400, + 390, 402, 403, 387 ] } ], @@ -16201,14 +16289,14 @@ ] }, { - "id": 376, + "id": 377, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 377, + "id": 378, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16232,7 +16320,7 @@ { "title": "Properties", "kind": 1024, - "children": [377] + "children": [378] } ], "sources": [ @@ -16243,14 +16331,14 @@ } ], "indexSignature": { - "id": 378, + "id": 379, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 379, + "id": 380, "name": "key", "kind": 32768, "flags": {}, @@ -16267,14 +16355,14 @@ } }, { - "id": 405, + "id": 406, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 409, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -16298,7 +16386,7 @@ } }, { - "id": 406, + "id": 407, "name": "email", "kind": 1024, "kindString": "Property", @@ -16321,7 +16409,7 @@ } }, { - "id": 408, + "id": 409, "name": "password", "kind": 1024, "kindString": "Property", @@ -16344,7 +16432,7 @@ } }, { - "id": 407, + "id": 408, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16371,7 +16459,7 @@ { "title": "Properties", "kind": 1024, - "children": [409, 406, 408, 407] + "children": [410, 407, 409, 408] } ], "sources": [ @@ -16384,20 +16472,20 @@ "extendedBy": [ { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } ] }, { - "id": 358, + "id": 359, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 366, + "id": 367, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -16415,7 +16503,7 @@ } }, { - "id": 359, + "id": 360, "name": "id", "kind": 1024, "kindString": "Property", @@ -16433,7 +16521,7 @@ } }, { - "id": 361, + "id": 362, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -16448,20 +16536,20 @@ "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 363, + "id": 364, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 364, + "id": 365, "name": "key", "kind": 32768, "flags": {}, @@ -16480,7 +16568,7 @@ } }, { - "id": 367, + "id": 368, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -16498,7 +16586,7 @@ } }, { - "id": 365, + "id": 366, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16516,7 +16604,7 @@ } }, { - "id": 368, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -16536,7 +16624,7 @@ } }, { - "id": 360, + "id": 361, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -16558,7 +16646,7 @@ { "title": "Properties", "kind": 1024, - "children": [366, 359, 361, 367, 365, 368, 360] + "children": [367, 360, 362, 368, 366, 369, 361] } ], "sources": [ @@ -16570,7 +16658,7 @@ ] }, { - "id": 380, + "id": 381, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -16583,14 +16671,14 @@ } ], "indexSignature": { - "id": 381, + "id": 382, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 382, + "id": 383, "name": "key", "kind": 32768, "flags": {}, @@ -16607,14 +16695,14 @@ } }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -16635,7 +16723,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -16652,14 +16740,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16682,7 +16770,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16709,14 +16797,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -16737,7 +16825,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -16754,7 +16842,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -16763,7 +16851,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -16775,14 +16863,14 @@ ] }, { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -16799,14 +16887,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16835,7 +16923,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16862,14 +16950,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16890,7 +16978,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -16911,7 +16999,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -16928,7 +17016,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -16937,7 +17025,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -16949,7 +17037,7 @@ ] }, { - "id": 286, + "id": 287, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -16989,7 +17077,7 @@ "value": "USER_DELETED" }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -17010,7 +17098,7 @@ } }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -17028,7 +17116,7 @@ } }, { - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -17041,96 +17129,6 @@ } ] }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 683, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 684, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the MFA factor to delete." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 685, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user whose factor is being deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 860, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [684, 685] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 45 - } - ] - } - } - }, - { - "id": 673, - "name": "AuthMFAAdminDeleteFactorResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -17139,182 +17137,77 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "id", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 675, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 846, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 12 - } - ] - } - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 848, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675, 678] - } - ], + "comment": { + "shortText": "ID of the MFA factor to delete." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, - "character": 4 + "line": 844, + "character": 2 } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 679, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "userId", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 680, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 681, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 722, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [680, 681] - } - ], + "comment": { + "shortText": "ID of the user whose factor is being deleted." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 850, - "character": 4 + "line": 847, + "character": 2 } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 842, + "character": 45 + } + ] + } } }, { - "id": 695, - "name": "AuthMFAAdminListFactorsParams", + "id": 674, + "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -17329,61 +17222,187 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 829, "character": 12 } ], "type": { - "type": "reflection", - "declaration": { - "id": 696, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 697, - "name": "userId", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "comment": { - "shortText": "ID of the user for which to list all MFA factors." - }, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 678, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully deleted." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 833, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [678] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 835, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 679] + } + ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 881, - "character": 2 + "line": 830, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 727, + "name": "AuthError" + } } ], - "type": { - "type": "intrinsic", - "name": "string" - } + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 4 + } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 879, - "character": 44 - } - ] - } + } + ] } }, { - "id": 686, - "name": "AuthMFAAdminListFactorsResponse", + "id": 696, + "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -17402,20 +17421,89 @@ "character": 12 } ], + "type": { + "type": "reflection", + "declaration": { + "id": 697, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 698, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [698] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 866, + "character": 44 + } + ] + } + } + }, + { + "id": 687, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 853, + "character": 12 + } + ], "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { - "id": 687, + "id": 688, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 688, + "id": 689, "name": "data", "kind": 1024, "kindString": "Property", @@ -17423,21 +17511,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 689, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 690, + "id": 691, "name": "factors", "kind": 1024, "kindString": "Property", @@ -17448,7 +17536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 870, + "line": 857, "character": 8 } ], @@ -17456,7 +17544,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } @@ -17466,13 +17554,13 @@ { "title": "Properties", "kind": 1024, - "children": [690] + "children": [691] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 12 } ] @@ -17480,7 +17568,7 @@ } }, { - "id": 691, + "id": 692, "name": "error", "kind": 1024, "kindString": "Property", @@ -17488,7 +17576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 872, + "line": 859, "character": 6 } ], @@ -17502,13 +17590,13 @@ { "title": "Properties", "kind": 1024, - "children": [688, 691] + "children": [689, 692] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 854, "character": 4 } ] @@ -17517,14 +17605,14 @@ { "type": "reflection", "declaration": { - "id": 692, + "id": 693, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 694, "name": "data", "kind": 1024, "kindString": "Property", @@ -17532,7 +17620,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 6 } ], @@ -17542,7 +17630,7 @@ } }, { - "id": 694, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -17550,13 +17638,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -17565,13 +17653,13 @@ { "title": "Properties", "kind": 1024, - "children": [693, 694] + "children": [694, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 4 } ] @@ -17581,7 +17669,7 @@ } }, { - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -17589,7 +17677,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 702, "character": 12 } ], @@ -17599,14 +17687,14 @@ { "type": "reflection", "declaration": { - "id": 622, + "id": 623, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 623, + "id": 624, "name": "data", "kind": 1024, "kindString": "Property", @@ -17614,21 +17702,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 624, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 627, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -17639,7 +17727,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 706, + "line": 709, "character": 8 } ], @@ -17649,7 +17737,7 @@ } }, { - "id": 625, + "id": 626, "name": "id", "kind": 1024, "kindString": "Property", @@ -17660,7 +17748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 706, "character": 8 } ], @@ -17674,13 +17762,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 625] + "children": [627, 626] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 12 } ] @@ -17688,7 +17776,7 @@ } }, { - "id": 627, + "id": 628, "name": "error", "kind": 1024, "kindString": "Property", @@ -17696,7 +17784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 708, + "line": 711, "character": 6 } ], @@ -17710,13 +17798,13 @@ { "title": "Properties", "kind": 1024, - "children": [623, 627] + "children": [624, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 703, "character": 4 } ] @@ -17725,14 +17813,14 @@ { "type": "reflection", "declaration": { - "id": 628, + "id": 629, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 629, + "id": 630, "name": "data", "kind": 1024, "kindString": "Property", @@ -17740,7 +17828,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 6 } ], @@ -17750,7 +17838,7 @@ } }, { - "id": 630, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -17758,13 +17846,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -17773,13 +17861,13 @@ { "title": "Properties", "kind": 1024, - "children": [629, 630] + "children": [630, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 4 } ] @@ -17789,7 +17877,7 @@ } }, { - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -17797,7 +17885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 659, "character": 12 } ], @@ -17807,14 +17895,14 @@ { "type": "reflection", "declaration": { - "id": 598, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 600, "name": "data", "kind": 1024, "kindString": "Property", @@ -17822,21 +17910,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 600, + "id": 601, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 601, + "id": 602, "name": "id", "kind": 1024, "kindString": "Property", @@ -17847,7 +17935,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 663, "character": 8 } ], @@ -17857,7 +17945,7 @@ } }, { - "id": 603, + "id": 604, "name": "totp", "kind": 1024, "kindString": "Property", @@ -17868,21 +17956,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 604, + "id": 605, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 606, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -17893,28 +17981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 606, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 675, + "line": 673, "character": 10 } ], @@ -17925,6 +17992,27 @@ }, { "id": 607, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, "name": "uri", "kind": 1024, "kindString": "Property", @@ -17935,7 +18023,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 682, "character": 10 } ], @@ -17949,13 +18037,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606, 607] + "children": [606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 14 } ] @@ -17963,7 +18051,7 @@ } }, { - "id": 602, + "id": 603, "name": "type", "kind": 1024, "kindString": "Property", @@ -17974,7 +18062,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 666, "character": 8 } ], @@ -17988,13 +18076,13 @@ { "title": "Properties", "kind": 1024, - "children": [601, 603, 602] + "children": [602, 604, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 12 } ] @@ -18002,55 +18090,11 @@ } }, { - "id": 608, + "id": 609, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 682, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 657, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 609, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 610, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -18062,9 +18106,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [600, 609] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 660, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 610, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 611, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 612, "name": "error", "kind": 1024, "kindString": "Property", @@ -18072,13 +18160,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 689, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -18087,13 +18175,13 @@ { "title": "Properties", "kind": 1024, - "children": [610, 611] + "children": [611, 612] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 684, + "line": 687, "character": 4 } ] @@ -18103,7 +18191,7 @@ } }, { - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -18111,7 +18199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 730, "character": 12 } ], @@ -18121,14 +18209,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 645, "name": "data", "kind": 1024, "kindString": "Property", @@ -18136,21 +18224,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 649, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -18161,7 +18249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 746, + "line": 749, "character": 8 } ], @@ -18169,13 +18257,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 355, + "id": 356, "name": "AMREntry" } } }, { - "id": 646, + "id": 647, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -18186,7 +18274,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 734, "character": 8 } ], @@ -18195,7 +18283,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -18206,7 +18294,7 @@ } }, { - "id": 647, + "id": 648, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -18223,7 +18311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 742, "character": 8 } ], @@ -18232,7 +18320,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -18247,13 +18335,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 646, 647] + "children": [649, 647, 648] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 12 } ] @@ -18261,7 +18349,7 @@ } }, { - "id": 649, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -18269,7 +18357,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 751, "character": 6 } ], @@ -18283,13 +18371,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 649] + "children": [645, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 731, "character": 4 } ] @@ -18298,14 +18386,14 @@ { "type": "reflection", "declaration": { - "id": 650, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 651, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -18313,7 +18401,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 6 } ], @@ -18323,7 +18411,7 @@ } }, { - "id": 652, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -18331,13 +18419,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -18346,13 +18434,13 @@ { "title": "Properties", "kind": 1024, - "children": [651, 652] + "children": [652, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 4 } ] @@ -18362,7 +18450,7 @@ } }, { - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -18370,7 +18458,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 715, "character": 12 } ], @@ -18380,14 +18468,14 @@ { "type": "reflection", "declaration": { - "id": 632, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 634, "name": "data", "kind": 1024, "kindString": "Property", @@ -18395,21 +18483,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 634, + "id": 635, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 635, + "id": 636, "name": "all", "kind": 1024, "kindString": "Property", @@ -18417,31 +18505,6 @@ "comment": { "shortText": "All available factors (verified and unverified)." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 716, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 369, - "name": "Factor" - } - } - }, - { - "id": 636, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -18453,7 +18516,32 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, + "name": "Factor" + } + } + }, + { + "id": 637, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 370, "name": "Factor" } } @@ -18463,13 +18551,13 @@ { "title": "Properties", "kind": 1024, - "children": [635, 636] + "children": [636, 637] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 12 } ] @@ -18477,7 +18565,7 @@ } }, { - "id": 637, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -18485,7 +18573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 721, + "line": 724, "character": 6 } ], @@ -18499,13 +18587,13 @@ { "title": "Properties", "kind": 1024, - "children": [633, 637] + "children": [634, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 716, "character": 4 } ] @@ -18514,14 +18602,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 640, "name": "data", "kind": 1024, "kindString": "Property", @@ -18529,7 +18617,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 6 } ], @@ -18539,7 +18627,7 @@ } }, { - "id": 640, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -18547,13 +18635,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -18562,13 +18650,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 640] + "children": [640, 641] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 4 } ] @@ -18578,7 +18666,7 @@ } }, { - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -18586,7 +18674,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 689, + "line": 692, "character": 12 } ], @@ -18596,14 +18684,14 @@ { "type": "reflection", "declaration": { - "id": 613, + "id": 614, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 614, + "id": 615, "name": "data", "kind": 1024, "kindString": "Property", @@ -18611,21 +18699,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 615, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 616, + "id": 617, "name": "id", "kind": 1024, "kindString": "Property", @@ -18636,7 +18724,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 693, + "line": 696, "character": 8 } ], @@ -18650,13 +18738,13 @@ { "title": "Properties", "kind": 1024, - "children": [616] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 12 } ] @@ -18664,7 +18752,7 @@ } }, { - "id": 617, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -18672,7 +18760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 698, "character": 6 } ], @@ -18686,13 +18774,13 @@ { "title": "Properties", "kind": 1024, - "children": [614, 617] + "children": [615, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 693, "character": 4 } ] @@ -18701,14 +18789,14 @@ { "type": "reflection", "declaration": { - "id": 618, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -18716,7 +18804,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 6 } ], @@ -18726,7 +18814,7 @@ } }, { - "id": 620, + "id": 621, "name": "error", "kind": 1024, "kindString": "Property", @@ -18734,13 +18822,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -18749,13 +18837,13 @@ { "title": "Properties", "kind": 1024, - "children": [619, 620] + "children": [620, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 4 } ] @@ -18765,7 +18853,7 @@ } }, { - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -18773,7 +18861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 634, "character": 12 } ], @@ -18783,14 +18871,14 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 586, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 586, + "id": 587, "name": "data", "kind": 1024, "kindString": "Property", @@ -18798,21 +18886,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 588, + "id": 589, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -18820,69 +18908,6 @@ "comment": { "shortText": "New access token (JWT) after successful verification." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 635, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 590, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Number of seconds in which the access token will expire." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 591, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Refresh token you can use to obtain new access tokens when expired." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 644, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of token, typically `Bearer`." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -18895,8 +18920,71 @@ "name": "string" } }, + { + "id": 591, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 644, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 592, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 647, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of token, typically `Bearer`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 593, "name": "user", "kind": 1024, "kindString": "Property", @@ -18907,13 +18995,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 650, "character": 8 } ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -18922,13 +19010,13 @@ { "title": "Properties", "kind": 1024, - "children": [588, 590, 591, 589, 592] + "children": [589, 591, 592, 590, 593] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 12 } ] @@ -18936,55 +19024,11 @@ } }, { - "id": 593, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [586, 593] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 632, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 594, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 595, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -18996,9 +19040,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [587, 594] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 635, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 596, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 655, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 597, "name": "error", "kind": 1024, "kindString": "Property", @@ -19006,13 +19094,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 653, + "line": 656, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -19021,13 +19109,13 @@ { "title": "Properties", "kind": 1024, - "children": [595, 596] + "children": [596, 597] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 654, "character": 4 } ] @@ -19037,7 +19125,7 @@ } }, { - "id": 300, + "id": 301, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -19055,14 +19143,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 303, "name": "data", "kind": 1024, "kindString": "Property", @@ -19077,14 +19165,14 @@ "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 306, "name": "session", "kind": 1024, "kindString": "Property", @@ -19101,7 +19189,7 @@ "types": [ { "type": "reference", - "id": 346, + "id": 347, "name": "Session" }, { @@ -19112,7 +19200,7 @@ } }, { - "id": 304, + "id": 305, "name": "user", "kind": 1024, "kindString": "Property", @@ -19129,7 +19217,7 @@ "types": [ { "type": "reference", - "id": 383, + "id": 384, "name": "User" }, { @@ -19144,7 +19232,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304] + "children": [306, 305] } ], "sources": [ @@ -19158,7 +19246,7 @@ } }, { - "id": 306, + "id": 307, "name": "error", "kind": 1024, "kindString": "Property", @@ -19180,7 +19268,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 306] + "children": [303, 307] } ], "sources": [ @@ -19195,14 +19283,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 309, "name": "data", "kind": 1024, "kindString": "Property", @@ -19217,14 +19305,14 @@ "type": { "type": "reflection", "declaration": { - "id": 309, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 312, "name": "session", "kind": 1024, "kindString": "Property", @@ -19242,7 +19330,7 @@ } }, { - "id": 310, + "id": 311, "name": "user", "kind": 1024, "kindString": "Property", @@ -19264,7 +19352,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 310] + "children": [312, 311] } ], "sources": [ @@ -19278,7 +19366,7 @@ } }, { - "id": 312, + "id": 313, "name": "error", "kind": 1024, "kindString": "Property", @@ -19292,7 +19380,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -19301,7 +19389,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 312] + "children": [309, 313] } ], "sources": [ @@ -19317,7 +19405,7 @@ } }, { - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -19325,7 +19413,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 728, "character": 12 } ], @@ -19344,7 +19432,7 @@ } }, { - "id": 709, + "id": 710, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -19352,7 +19440,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 907, "character": 12 } ], @@ -19362,14 +19450,14 @@ { "type": "reflection", "declaration": { - "id": 710, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 712, + "id": 713, "name": "error", "kind": 1024, "kindString": "Property", @@ -19377,7 +19465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 910, "character": 6 } ], @@ -19387,7 +19475,7 @@ } }, { - "id": 711, + "id": 712, "name": "session", "kind": 1024, "kindString": "Property", @@ -19395,13 +19483,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 923, + "line": 909, "character": 6 } ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -19410,13 +19498,13 @@ { "title": "Properties", "kind": 1024, - "children": [712, 711] + "children": [713, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 908, "character": 4 } ] @@ -19425,14 +19513,14 @@ { "type": "reflection", "declaration": { - "id": 713, + "id": 714, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 715, + "id": 716, "name": "error", "kind": 1024, "kindString": "Property", @@ -19440,18 +19528,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 914, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } }, { - "id": 714, + "id": 715, "name": "session", "kind": 1024, "kindString": "Property", @@ -19459,7 +19547,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 913, "character": 6 } ], @@ -19473,13 +19561,13 @@ { "title": "Properties", "kind": 1024, - "children": [715, 714] + "children": [716, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 912, "character": 4 } ] @@ -19489,7 +19577,7 @@ } }, { - "id": 506, + "id": 507, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -19528,7 +19616,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19543,14 +19631,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -19571,7 +19659,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -19592,7 +19680,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -19611,7 +19699,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -19625,7 +19713,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -19656,7 +19744,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -19670,7 +19758,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19685,14 +19773,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -19713,7 +19801,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -19732,7 +19820,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -19755,7 +19843,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -19786,7 +19874,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -19800,7 +19888,7 @@ } }, { - "id": 542, + "id": 543, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19816,7 +19904,7 @@ "type": "union", "types": [ { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19831,14 +19919,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -19856,7 +19944,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -19875,7 +19963,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -19898,7 +19986,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -19916,7 +20004,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -19938,7 +20026,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -19952,7 +20040,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19967,14 +20055,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -19995,7 +20083,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -20014,7 +20102,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -20037,7 +20125,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -20068,7 +20156,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -20082,7 +20170,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20097,14 +20185,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -20125,7 +20213,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -20144,7 +20232,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -20158,7 +20246,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -20180,7 +20268,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -20194,7 +20282,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20209,14 +20297,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -20237,7 +20325,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -20258,7 +20346,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -20277,7 +20365,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -20291,7 +20379,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -20322,7 +20410,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -20339,7 +20427,7 @@ } }, { - "id": 556, + "id": 557, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -20357,14 +20445,14 @@ "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 558, + "id": 559, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -20385,7 +20473,7 @@ } }, { - "id": 559, + "id": 560, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -20406,7 +20494,7 @@ } }, { - "id": 560, + "id": 561, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -20427,7 +20515,7 @@ } }, { - "id": 561, + "id": 562, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -20448,7 +20536,7 @@ } }, { - "id": 562, + "id": 563, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -20465,7 +20553,7 @@ ], "type": { "type": "reference", - "id": 563, + "id": 564, "name": "GenerateLinkType" } } @@ -20474,7 +20562,7 @@ { "title": "Properties", "kind": 1024, - "children": [558, 559, 560, 561, 562] + "children": [559, 560, 561, 562, 563] } ], "sources": [ @@ -20488,7 +20576,7 @@ } }, { - "id": 543, + "id": 544, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -20506,14 +20594,14 @@ { "type": "reflection", "declaration": { - "id": 544, + "id": 545, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 545, + "id": 546, "name": "data", "kind": 1024, "kindString": "Property", @@ -20528,14 +20616,14 @@ "type": { "type": "reflection", "declaration": { - "id": 546, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 548, "name": "properties", "kind": 1024, "kindString": "Property", @@ -20549,12 +20637,12 @@ ], "type": { "type": "reference", - "id": 556, + "id": 557, "name": "GenerateLinkProperties" } }, { - "id": 548, + "id": 549, "name": "user", "kind": 1024, "kindString": "Property", @@ -20568,7 +20656,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -20577,7 +20665,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 548] + "children": [548, 549] } ], "sources": [ @@ -20591,7 +20679,7 @@ } }, { - "id": 549, + "id": 550, "name": "error", "kind": 1024, "kindString": "Property", @@ -20613,7 +20701,7 @@ { "title": "Properties", "kind": 1024, - "children": [545, 549] + "children": [546, 550] } ], "sources": [ @@ -20628,14 +20716,14 @@ { "type": "reflection", "declaration": { - "id": 550, + "id": 551, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 551, + "id": 552, "name": "data", "kind": 1024, "kindString": "Property", @@ -20650,14 +20738,14 @@ "type": { "type": "reflection", "declaration": { - "id": 552, + "id": 553, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 554, "name": "properties", "kind": 1024, "kindString": "Property", @@ -20675,7 +20763,7 @@ } }, { - "id": 554, + "id": 555, "name": "user", "kind": 1024, "kindString": "Property", @@ -20697,7 +20785,7 @@ { "title": "Properties", "kind": 1024, - "children": [553, 554] + "children": [554, 555] } ], "sources": [ @@ -20711,7 +20799,7 @@ } }, { - "id": 555, + "id": 556, "name": "error", "kind": 1024, "kindString": "Property", @@ -20725,7 +20813,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -20734,7 +20822,7 @@ { "title": "Properties", "kind": 1024, - "children": [551, 555] + "children": [552, 556] } ], "sources": [ @@ -20750,7 +20838,7 @@ } }, { - "id": 563, + "id": 564, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -20793,7 +20881,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20808,14 +20896,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -20836,7 +20924,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -20855,7 +20943,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -20869,7 +20957,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -20891,7 +20979,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -20905,7 +20993,7 @@ } }, { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20920,14 +21008,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -20945,7 +21033,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -20964,7 +21052,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -20987,7 +21075,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -21005,7 +21093,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -21027,7 +21115,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -21041,7 +21129,7 @@ } }, { - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -21056,14 +21144,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 297, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -21083,7 +21171,7 @@ } }, { - "id": 295, + "id": 296, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -21103,7 +21191,7 @@ } }, { - "id": 299, + "id": 300, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -21123,7 +21211,7 @@ } }, { - "id": 290, + "id": 291, "name": "headers", "kind": 1024, "kindString": "Property", @@ -21140,7 +21228,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21153,14 +21241,14 @@ } ], "indexSignature": { - "id": 292, + "id": 293, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 293, + "id": 294, "name": "key", "kind": 32768, "flags": {}, @@ -21179,7 +21267,7 @@ } }, { - "id": 297, + "id": 298, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -21199,7 +21287,7 @@ } }, { - "id": 298, + "id": 299, "name": "storage", "kind": 1024, "kindString": "Property", @@ -21215,12 +21303,12 @@ ], "type": { "type": "reference", - "id": 705, + "id": 706, "name": "SupportedStorage" } }, { - "id": 294, + "id": 295, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -21240,7 +21328,7 @@ } }, { - "id": 289, + "id": 290, "name": "url", "kind": 1024, "kindString": "Property", @@ -21264,7 +21352,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 295, 299, 290, 297, 298, 294, 289] + "children": [297, 296, 300, 291, 298, 299, 295, 290] } ], "sources": [ @@ -21278,7 +21366,7 @@ } }, { - "id": 706, + "id": 707, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -21286,21 +21374,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 707, + "id": 708, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 708, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -21308,7 +21396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 33 } ], @@ -21317,7 +21405,7 @@ "types": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, { @@ -21332,13 +21420,13 @@ { "title": "Properties", "kind": 1024, - "children": [708] + "children": [709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 31 } ] @@ -21346,7 +21434,7 @@ } }, { - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -21354,21 +21442,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 584, "name": "code", "kind": 1024, "kindString": "Property", @@ -21379,7 +21467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 628, + "line": 631, "character": 2 } ], @@ -21389,18 +21477,18 @@ } }, { - "id": 582, + "id": 583, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 629, "character": 2 } ], @@ -21414,13 +21502,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [584, 583] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 42 } ] @@ -21428,7 +21516,7 @@ } }, { - "id": 577, + "id": 578, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -21436,32 +21524,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 578, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 580, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor to be challenged." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 624, "character": 2 } ], @@ -21475,13 +21563,13 @@ { "title": "Properties", "kind": 1024, - "children": [579] + "children": [580] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 33 } ] @@ -21489,7 +21577,7 @@ } }, { - "id": 564, + "id": 565, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -21504,22 +21592,25 @@ "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 567, "name": "factorType", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 598, + "line": 599, "character": 2 } ], @@ -21529,17 +21620,20 @@ } }, { - "id": 568, + "id": 569, "name": "friendlyName", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Human readable name assigned to the factor." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 603, "character": 2 } ], @@ -21549,17 +21643,20 @@ } }, { - "id": 567, + "id": 568, "name": "issuer", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Domain which the user is enrolled with." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 2 } ], @@ -21573,7 +21670,7 @@ { "title": "Properties", "kind": 1024, - "children": [566, 568, 567] + "children": [567, 569, 568] } ], "sources": [ @@ -21587,7 +21684,7 @@ } }, { - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -21595,21 +21692,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 571, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 571, + "id": 572, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -21620,7 +21717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 608, "character": 2 } ], @@ -21634,13 +21731,13 @@ { "title": "Properties", "kind": 1024, - "children": [571] + "children": [572] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 32 } ] @@ -21648,7 +21745,7 @@ } }, { - "id": 572, + "id": 573, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -21656,48 +21753,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 575, + "id": 576, "name": "challengeId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the challenge being verified." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the challenge being verified. Returned in challenge()." }, "sources": [ { @@ -21712,18 +21788,39 @@ } }, { - "id": 574, + "id": 577, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 613, "character": 2 } ], @@ -21737,13 +21834,13 @@ { "title": "Properties", "kind": 1024, - "children": [575, 576, 574] + "children": [576, 577, 575] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 30 } ] @@ -21751,7 +21848,7 @@ } }, { - "id": 505, + "id": 506, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21778,7 +21875,7 @@ } }, { - "id": 313, + "id": 314, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -21796,14 +21893,14 @@ { "type": "reflection", "declaration": { - "id": 314, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 315, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -21818,14 +21915,14 @@ "type": { "type": "reflection", "declaration": { - "id": 316, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 318, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21839,12 +21936,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 318, + "id": 319, "name": "url", "kind": 1024, "kindString": "Property", @@ -21866,7 +21963,7 @@ { "title": "Properties", "kind": 1024, - "children": [317, 318] + "children": [318, 319] } ], "sources": [ @@ -21880,7 +21977,7 @@ } }, { - "id": 319, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -21902,7 +21999,7 @@ { "title": "Properties", "kind": 1024, - "children": [315, 319] + "children": [316, 320] } ], "sources": [ @@ -21917,14 +22014,14 @@ { "type": "reflection", "declaration": { - "id": 320, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 321, + "id": 322, "name": "data", "kind": 1024, "kindString": "Property", @@ -21939,14 +22036,14 @@ "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 323, + "id": 324, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21960,12 +22057,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 324, + "id": 325, "name": "url", "kind": 1024, "kindString": "Property", @@ -21987,7 +22084,7 @@ { "title": "Properties", "kind": 1024, - "children": [323, 324] + "children": [324, 325] } ], "sources": [ @@ -22001,7 +22098,7 @@ } }, { - "id": 325, + "id": 326, "name": "error", "kind": 1024, "kindString": "Property", @@ -22015,7 +22112,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -22024,7 +22121,7 @@ { "title": "Properties", "kind": 1024, - "children": [321, 325] + "children": [322, 326] } ], "sources": [ @@ -22040,7 +22137,93 @@ } }, { - "id": 284, + "id": 717, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 718, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 919, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 720, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 921, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [719, 720] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 25 + } + ] + } + } + }, + { + "id": 285, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -22126,7 +22309,7 @@ } }, { - "id": 326, + "id": 327, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -22144,14 +22327,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 329, "name": "data", "kind": 1024, "kindString": "Property", @@ -22166,14 +22349,14 @@ "type": { "type": "reflection", "declaration": { - "id": 329, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 331, "name": "url", "kind": 1024, "kindString": "Property", @@ -22198,7 +22381,7 @@ { "title": "Properties", "kind": 1024, - "children": [330] + "children": [331] } ], "sources": [ @@ -22212,7 +22395,7 @@ } }, { - "id": 331, + "id": 332, "name": "error", "kind": 1024, "kindString": "Property", @@ -22234,7 +22417,7 @@ { "title": "Properties", "kind": 1024, - "children": [328, 331] + "children": [329, 332] } ], "sources": [ @@ -22249,14 +22432,14 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 334, "name": "data", "kind": 1024, "kindString": "Property", @@ -22274,7 +22457,7 @@ } }, { - "id": 334, + "id": 335, "name": "error", "kind": 1024, "kindString": "Property", @@ -22288,7 +22471,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -22297,7 +22480,7 @@ { "title": "Properties", "kind": 1024, - "children": [333, 334] + "children": [334, 335] } ], "sources": [ @@ -22313,7 +22496,7 @@ } }, { - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22328,14 +22511,14 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 480, + "id": 481, "name": "options", "kind": 1024, "kindString": "Property", @@ -22352,14 +22535,14 @@ "type": { "type": "reflection", "declaration": { - "id": 481, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 484, + "id": 485, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -22379,7 +22562,7 @@ "type": { "type": "reflection", "declaration": { - "id": 485, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22392,14 +22575,14 @@ } ], "indexSignature": { - "id": 486, + "id": 487, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 487, + "id": 488, "name": "key", "kind": 32768, "flags": {}, @@ -22418,7 +22601,7 @@ } }, { - "id": 482, + "id": 483, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22441,7 +22624,7 @@ } }, { - "id": 483, + "id": 484, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -22468,7 +22651,7 @@ { "title": "Properties", "kind": 1024, - "children": [484, 482, 483] + "children": [485, 483, 484] } ], "sources": [ @@ -22482,7 +22665,7 @@ } }, { - "id": 479, + "id": 480, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22499,7 +22682,7 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } } @@ -22508,7 +22691,7 @@ { "title": "Properties", "kind": 1024, - "children": [480, 479] + "children": [481, 480] } ], "sources": [ @@ -22522,7 +22705,7 @@ } }, { - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22540,14 +22723,14 @@ { "type": "reflection", "declaration": { - "id": 447, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 448, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -22568,7 +22751,7 @@ } }, { - "id": 450, + "id": 451, "name": "options", "kind": 1024, "kindString": "Property", @@ -22585,14 +22768,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 453, + "id": 454, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22615,7 +22798,7 @@ } }, { - "id": 452, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -22643,7 +22826,7 @@ { "title": "Properties", "kind": 1024, - "children": [453, 452] + "children": [454, 453] } ], "sources": [ @@ -22657,7 +22840,7 @@ } }, { - "id": 449, + "id": 450, "name": "password", "kind": 1024, "kindString": "Property", @@ -22682,7 +22865,7 @@ { "title": "Properties", "kind": 1024, - "children": [448, 450, 449] + "children": [449, 451, 450] } ], "sources": [ @@ -22697,14 +22880,14 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 455, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 458, "name": "options", "kind": 1024, "kindString": "Property", @@ -22721,14 +22904,14 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 459, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 460, + "id": 461, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22751,7 +22934,7 @@ } }, { - "id": 459, + "id": 460, "name": "data", "kind": 1024, "kindString": "Property", @@ -22779,7 +22962,7 @@ { "title": "Properties", "kind": 1024, - "children": [460, 459] + "children": [461, 460] } ], "sources": [ @@ -22793,7 +22976,7 @@ } }, { - "id": 456, + "id": 457, "name": "password", "kind": 1024, "kindString": "Property", @@ -22814,7 +22997,7 @@ } }, { - "id": 455, + "id": 456, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22839,7 +23022,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 456, 455] + "children": [458, 457, 456] } ], "sources": [ @@ -22855,7 +23038,7 @@ } }, { - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22873,14 +23056,14 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 463, + "id": 464, "name": "email", "kind": 1024, "kindString": "Property", @@ -22901,7 +23084,7 @@ } }, { - "id": 464, + "id": 465, "name": "options", "kind": 1024, "kindString": "Property", @@ -22918,14 +23101,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 466, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 470, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22948,7 +23131,7 @@ } }, { - "id": 468, + "id": 469, "name": "data", "kind": 1024, "kindString": "Property", @@ -22972,7 +23155,7 @@ } }, { - "id": 466, + "id": 467, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -22995,7 +23178,7 @@ } }, { - "id": 467, + "id": 468, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -23022,7 +23205,7 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468, 466, 467] + "children": [470, 469, 467, 468] } ], "sources": [ @@ -23040,7 +23223,7 @@ { "title": "Properties", "kind": 1024, - "children": [463, 464] + "children": [464, 465] } ], "sources": [ @@ -23055,14 +23238,14 @@ { "type": "reflection", "declaration": { - "id": 470, + "id": 471, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 473, "name": "options", "kind": 1024, "kindString": "Property", @@ -23079,14 +23262,14 @@ "type": { "type": "reflection", "declaration": { - "id": 473, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 476, + "id": 477, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23109,7 +23292,7 @@ } }, { - "id": 475, + "id": 476, "name": "data", "kind": 1024, "kindString": "Property", @@ -23133,7 +23316,7 @@ } }, { - "id": 474, + "id": 475, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -23160,7 +23343,7 @@ { "title": "Properties", "kind": 1024, - "children": [476, 475, 474] + "children": [477, 476, 475] } ], "sources": [ @@ -23174,7 +23357,7 @@ } }, { - "id": 471, + "id": 472, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23199,7 +23382,7 @@ { "title": "Properties", "kind": 1024, - "children": [472, 471] + "children": [473, 472] } ], "sources": [ @@ -23215,7 +23398,7 @@ } }, { - "id": 507, + "id": 508, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -23233,14 +23416,14 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 510, "name": "options", "kind": 1024, "kindString": "Property", @@ -23257,14 +23440,14 @@ "type": { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23287,7 +23470,7 @@ } }, { - "id": 511, + "id": 512, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23314,7 +23497,7 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [513, 512] } ], "sources": [ @@ -23332,7 +23515,7 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [510] } ], "sources": [ @@ -23350,14 +23533,14 @@ { "type": "reflection", "declaration": { - "id": 513, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 515, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -23382,7 +23565,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [515] } ], "sources": [ @@ -23397,14 +23580,14 @@ { "type": "reflection", "declaration": { - "id": 515, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 517, "name": "domain", "kind": 1024, "kindString": "Property", @@ -23429,7 +23612,7 @@ { "title": "Properties", "kind": 1024, - "children": [516] + "children": [517] } ], "sources": [ @@ -23447,7 +23630,7 @@ } }, { - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23465,14 +23648,14 @@ { "type": "reflection", "declaration": { - "id": 431, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 432, + "id": 433, "name": "email", "kind": 1024, "kindString": "Property", @@ -23493,7 +23676,7 @@ } }, { - "id": 434, + "id": 435, "name": "options", "kind": 1024, "kindString": "Property", @@ -23510,14 +23693,14 @@ "type": { "type": "reflection", "declaration": { - "id": 435, + "id": 436, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 439, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23540,7 +23723,7 @@ } }, { - "id": 437, + "id": 438, "name": "data", "kind": 1024, "kindString": "Property", @@ -23564,7 +23747,7 @@ } }, { - "id": 436, + "id": 437, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -23591,7 +23774,7 @@ { "title": "Properties", "kind": 1024, - "children": [438, 437, 436] + "children": [439, 438, 437] } ], "sources": [ @@ -23605,7 +23788,7 @@ } }, { - "id": 433, + "id": 434, "name": "password", "kind": 1024, "kindString": "Property", @@ -23630,7 +23813,7 @@ { "title": "Properties", "kind": 1024, - "children": [432, 434, 433] + "children": [433, 435, 434] } ], "sources": [ @@ -23645,14 +23828,14 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 442, + "id": 443, "name": "options", "kind": 1024, "kindString": "Property", @@ -23669,14 +23852,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 444, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 445, + "id": 446, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23699,7 +23882,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "kind": 1024, "kindString": "Property", @@ -23727,7 +23910,7 @@ { "title": "Properties", "kind": 1024, - "children": [445, 444] + "children": [446, 445] } ], "sources": [ @@ -23741,7 +23924,7 @@ } }, { - "id": 441, + "id": 442, "name": "password", "kind": 1024, "kindString": "Property", @@ -23762,7 +23945,7 @@ } }, { - "id": 440, + "id": 441, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23787,7 +23970,7 @@ { "title": "Properties", "kind": 1024, - "children": [442, 441, 440] + "children": [443, 442, 441] } ], "sources": [ @@ -23803,7 +23986,7 @@ } }, { - "id": 705, + "id": 706, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -23811,7 +23994,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 903, "character": 12 } ], @@ -23854,7 +24037,7 @@ } }, { - "id": 335, + "id": 336, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -23872,14 +24055,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -23894,14 +24077,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 340, "name": "user", "kind": 1024, "kindString": "Property", @@ -23915,7 +24098,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -23924,7 +24107,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [340] } ], "sources": [ @@ -23938,7 +24121,7 @@ } }, { - "id": 340, + "id": 341, "name": "error", "kind": 1024, "kindString": "Property", @@ -23960,7 +24143,7 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [338, 341] } ], "sources": [ @@ -23975,14 +24158,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 342, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 343, "name": "data", "kind": 1024, "kindString": "Property", @@ -23997,14 +24180,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 345, "name": "user", "kind": 1024, "kindString": "Property", @@ -24026,7 +24209,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [345] } ], "sources": [ @@ -24040,7 +24223,7 @@ } }, { - "id": 345, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -24054,7 +24237,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -24063,7 +24246,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [343, 346] } ], "sources": [ @@ -24079,7 +24262,7 @@ } }, { - "id": 488, + "id": 489, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -24095,14 +24278,14 @@ "type": "union", "types": [ { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -24119,14 +24302,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24155,7 +24338,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24182,14 +24365,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24210,7 +24393,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -24231,7 +24414,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -24248,7 +24431,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -24257,7 +24440,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -24269,14 +24452,14 @@ ] }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -24297,7 +24480,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -24314,14 +24497,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24344,7 +24527,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24371,14 +24554,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -24399,7 +24582,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -24416,7 +24599,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -24425,7 +24608,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -24440,7 +24623,7 @@ } }, { - "id": 719, + "id": 724, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -24454,14 +24637,60 @@ ], "signatures": [ { - "id": 720, + "id": 725, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 721, + "id": 726, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 732, + "name": "AuthApiError" + } + } + } + ] + }, + { + "id": 721, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 722, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 723, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -24479,52 +24708,6 @@ "targetType": { "type": "reference", "id": 727, - "name": "AuthApiError" - } - } - } - ] - }, - { - "id": 716, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 717, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 718, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 722, "name": "AuthError" } } @@ -24536,28 +24719,28 @@ { "title": "Classes", "kind": 128, - "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74] + "children": [732, 727, 792, 779, 817, 767, 745, 752, 1, 75] }, { "title": "Interfaces", "kind": 256, "children": [ - 355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489 + 356, 411, 370, 540, 699, 654, 347, 421, 429, 384, 377, 406, 359, 381, 498, 490 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533, - 523, 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284, - 326, 477, 446, 461, 507, 430, 705, 335, 488 + 287, 286, 683, 674, 696, 687, 622, 598, 643, 632, 613, 585, 301, 642, 710, 507, 534, + 524, 543, 557, 544, 564, 529, 518, 288, 707, 581, 578, 565, 570, 573, 506, 314, 717, + 285, 327, 478, 447, 462, 508, 431, 706, 336, 489 ] }, { "title": "Functions", "kind": 64, - "children": [719, 716] + "children": [724, 721] } ], "sources": [ @@ -55787,14 +55970,14 @@ "flags": {}, "children": [ { - "id": 390, + "id": 402, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 391, + "id": 403, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -55808,14 +55991,14 @@ ], "signatures": [ { - "id": 392, + "id": 404, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 405, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -55826,7 +56009,7 @@ } }, { - "id": 394, + "id": 406, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -55839,24 +56022,24 @@ ], "type": { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 395, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -55874,7 +56057,7 @@ } }, { - "id": 396, + "id": 408, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -55888,7 +56071,7 @@ ], "signatures": [ { - "id": 397, + "id": 409, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -55896,14 +56079,14 @@ "type": { "type": "reflection", "declaration": { - "id": 398, + "id": 410, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 400, + "id": 412, "name": "message", "kind": 1024, "kindString": "Property", @@ -55922,7 +56105,7 @@ "defaultValue": "..." }, { - "id": 399, + "id": 411, "name": "name", "kind": 1024, "kindString": "Property", @@ -55941,7 +56124,7 @@ "defaultValue": "..." }, { - "id": 401, + "id": 413, "name": "status", "kind": 1024, "kindString": "Property", @@ -55964,7 +56147,7 @@ { "title": "Properties", "kind": 1024, - "children": [400, 399, 401] + "children": [412, 411, 413] } ] } @@ -55977,17 +56160,17 @@ { "title": "Constructors", "kind": 512, - "children": [391] + "children": [403] }, { "title": "Properties", "kind": 1024, - "children": [395] + "children": [407] }, { "title": "Methods", "kind": 2048, - "children": [396] + "children": [408] } ], "sources": [ @@ -56000,20 +56183,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 258, + "id": 266, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 259, + "id": 267, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -56027,14 +56210,14 @@ ], "signatures": [ { - "id": 260, + "id": 268, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 261, + "id": 269, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -56045,7 +56228,7 @@ } }, { - "id": 262, + "id": 270, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -56053,20 +56236,20 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 264, + "id": 272, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 265, + "id": 273, "name": "key", "kind": 32768, "flags": {}, @@ -56086,7 +56269,7 @@ "defaultValue": "{}" }, { - "id": 266, + "id": 274, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -56096,21 +56279,21 @@ "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 268, + "id": 276, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 269, + "id": 277, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -56123,7 +56306,7 @@ } }, { - "id": 270, + "id": 278, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -56160,7 +56343,7 @@ ], "type": { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" }, "overwrites": { @@ -56177,7 +56360,7 @@ } }, { - "id": 301, + "id": 309, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -56191,7 +56374,7 @@ ], "signatures": [ { - "id": 302, + "id": 310, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -56202,7 +56385,7 @@ }, "parameters": [ { - "id": 303, + "id": 311, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -56216,7 +56399,7 @@ } }, { - "id": 304, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -56224,14 +56407,14 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 314, "name": "public", "kind": 1024, "kindString": "Property", @@ -56256,7 +56439,7 @@ { "title": "Properties", "kind": 1024, - "children": [306] + "children": [314] } ] } @@ -56273,14 +56456,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -56297,7 +56480,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -56311,7 +56494,7 @@ } }, { - "id": 309, + "id": 317, "name": "error", "kind": 1024, "kindString": "Property", @@ -56333,7 +56516,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 309] + "children": [316, 317] } ] } @@ -56341,14 +56524,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 319, "name": "data", "kind": 1024, "kindString": "Property", @@ -56366,7 +56549,7 @@ } }, { - "id": 312, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -56380,7 +56563,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -56389,7 +56572,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 312] + "children": [319, 320] } ] } @@ -56415,7 +56598,7 @@ } }, { - "id": 338, + "id": 346, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -56429,7 +56612,7 @@ ], "signatures": [ { - "id": 339, + "id": 347, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -56439,7 +56622,7 @@ }, "parameters": [ { - "id": 340, + "id": 348, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -56462,14 +56645,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 350, "name": "data", "kind": 1024, "kindString": "Property", @@ -56484,14 +56667,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 352, "name": "message", "kind": 1024, "kindString": "Property", @@ -56513,14 +56696,14 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [352] } ] } } }, { - "id": 345, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -56542,7 +56725,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [350, 353] } ] } @@ -56550,14 +56733,14 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -56575,7 +56758,7 @@ } }, { - "id": 348, + "id": 356, "name": "error", "kind": 1024, "kindString": "Property", @@ -56589,7 +56772,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -56598,7 +56781,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348] + "children": [355, 356] } ] } @@ -56624,7 +56807,7 @@ } }, { - "id": 327, + "id": 335, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -56638,7 +56821,7 @@ ], "signatures": [ { - "id": 328, + "id": 336, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -56648,7 +56831,7 @@ }, "parameters": [ { - "id": 329, + "id": 337, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -56671,14 +56854,14 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 338, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 331, + "id": 339, "name": "data", "kind": 1024, "kindString": "Property", @@ -56693,14 +56876,14 @@ "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 341, "name": "message", "kind": 1024, "kindString": "Property", @@ -56722,14 +56905,14 @@ { "title": "Properties", "kind": 1024, - "children": [333] + "children": [341] } ] } } }, { - "id": 334, + "id": 342, "name": "error", "kind": 1024, "kindString": "Property", @@ -56751,7 +56934,7 @@ { "title": "Properties", "kind": 1024, - "children": [331, 334] + "children": [339, 342] } ] } @@ -56759,14 +56942,14 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 344, "name": "data", "kind": 1024, "kindString": "Property", @@ -56784,7 +56967,7 @@ } }, { - "id": 337, + "id": 345, "name": "error", "kind": 1024, "kindString": "Property", @@ -56798,7 +56981,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -56807,7 +56990,7 @@ { "title": "Properties", "kind": 1024, - "children": [336, 337] + "children": [344, 345] } ] } @@ -56833,7 +57016,7 @@ } }, { - "id": 271, + "id": 279, "name": "from", "kind": 2048, "kindString": "Method", @@ -56847,7 +57030,7 @@ ], "signatures": [ { - "id": 272, + "id": 280, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -56857,7 +57040,7 @@ }, "parameters": [ { - "id": 273, + "id": 281, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -56880,7 +57063,7 @@ ] }, { - "id": 292, + "id": 300, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -56894,7 +57077,7 @@ ], "signatures": [ { - "id": 293, + "id": 301, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -56904,7 +57087,7 @@ }, "parameters": [ { - "id": 294, + "id": 302, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -56927,14 +57110,14 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -56948,12 +57131,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 297, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -56975,7 +57158,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 297] + "children": [304, 305] } ] } @@ -56983,14 +57166,14 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -57008,7 +57191,7 @@ } }, { - "id": 300, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -57022,7 +57205,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -57031,7 +57214,7 @@ { "title": "Properties", "kind": 1024, - "children": [299, 300] + "children": [307, 308] } ] } @@ -57057,7 +57240,7 @@ } }, { - "id": 284, + "id": 292, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -57071,7 +57254,7 @@ ], "signatures": [ { - "id": 285, + "id": 293, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -57088,14 +57271,14 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 295, "name": "data", "kind": 1024, "kindString": "Property", @@ -57111,13 +57294,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } }, { - "id": 288, + "id": 296, "name": "error", "kind": 1024, "kindString": "Property", @@ -57139,7 +57322,7 @@ { "title": "Properties", "kind": 1024, - "children": [287, 288] + "children": [295, 296] } ] } @@ -57147,14 +57330,14 @@ { "type": "reflection", "declaration": { - "id": 289, + "id": 297, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 290, + "id": 298, "name": "data", "kind": 1024, "kindString": "Property", @@ -57172,7 +57355,7 @@ } }, { - "id": 291, + "id": 299, "name": "error", "kind": 1024, "kindString": "Property", @@ -57186,7 +57369,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -57195,7 +57378,7 @@ { "title": "Properties", "kind": 1024, - "children": [290, 291] + "children": [298, 299] } ] } @@ -57221,7 +57404,7 @@ } }, { - "id": 313, + "id": 321, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -57235,7 +57418,7 @@ ], "signatures": [ { - "id": 314, + "id": 322, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -57245,7 +57428,7 @@ }, "parameters": [ { - "id": 315, + "id": 323, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -57259,7 +57442,7 @@ } }, { - "id": 316, + "id": 324, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -57267,14 +57450,14 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, + "id": 326, "name": "public", "kind": 1024, "kindString": "Property", @@ -57299,7 +57482,7 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [326] } ] } @@ -57315,14 +57498,14 @@ { "type": "reflection", "declaration": { - "id": 319, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 328, "name": "data", "kind": 1024, "kindString": "Property", @@ -57337,14 +57520,14 @@ "type": { "type": "reflection", "declaration": { - "id": 321, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 322, + "id": 330, "name": "message", "kind": 1024, "kindString": "Property", @@ -57366,14 +57549,14 @@ { "title": "Properties", "kind": 1024, - "children": [322] + "children": [330] } ] } } }, { - "id": 323, + "id": 331, "name": "error", "kind": 1024, "kindString": "Property", @@ -57395,7 +57578,7 @@ { "title": "Properties", "kind": 1024, - "children": [320, 323] + "children": [328, 331] } ] } @@ -57403,14 +57586,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 333, "name": "data", "kind": 1024, "kindString": "Property", @@ -57428,7 +57611,7 @@ } }, { - "id": 326, + "id": 334, "name": "error", "kind": 1024, "kindString": "Property", @@ -57442,7 +57625,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -57451,7 +57634,7 @@ { "title": "Properties", "kind": 1024, - "children": [325, 326] + "children": [333, 334] } ] } @@ -57481,12 +57664,12 @@ { "title": "Constructors", "kind": 512, - "children": [259] + "children": [267] }, { "title": "Methods", "kind": 2048, - "children": [301, 338, 327, 271, 292, 284, 313] + "children": [309, 346, 335, 279, 300, 292, 321] } ], "sources": [ @@ -57505,14 +57688,14 @@ ] }, { - "id": 385, + "id": 397, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 386, + "id": 398, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57526,14 +57709,14 @@ ], "signatures": [ { - "id": 387, + "id": 399, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 400, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -57546,7 +57729,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" }, "overwrites": { @@ -57565,7 +57748,7 @@ { "title": "Constructors", "kind": 512, - "children": [386] + "children": [398] } ], "sources": [ @@ -57586,25 +57769,25 @@ "extendedBy": [ { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" } ] }, { - "id": 403, + "id": 415, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 416, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57618,14 +57801,14 @@ ], "signatures": [ { - "id": 405, + "id": 417, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 418, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -57636,7 +57819,7 @@ } }, { - "id": 407, + "id": 419, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -57649,24 +57832,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 420, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -57688,12 +57871,12 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [416] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [420] } ], "sources": [ @@ -57706,20 +57889,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 349, + "id": 357, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 353, + "id": 361, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -57737,7 +57920,7 @@ } }, { - "id": 350, + "id": 358, "name": "id", "kind": 1024, "kindString": "Property", @@ -57755,7 +57938,7 @@ } }, { - "id": 351, + "id": 359, "name": "name", "kind": 1024, "kindString": "Property", @@ -57773,7 +57956,7 @@ } }, { - "id": 352, + "id": 360, "name": "owner", "kind": 1024, "kindString": "Property", @@ -57791,7 +57974,7 @@ } }, { - "id": 355, + "id": 363, "name": "public", "kind": 1024, "kindString": "Property", @@ -57809,7 +57992,7 @@ } }, { - "id": 354, + "id": 362, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -57831,7 +58014,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 350, 351, 352, 355, 354] + "children": [361, 358, 359, 360, 363, 362] } ], "sources": [ @@ -57843,14 +58026,14 @@ ] }, { - "id": 378, + "id": 386, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, + "id": 387, "name": "signal", "kind": 1024, "kindString": "Property", @@ -57879,7 +58062,7 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [387] } ], "sources": [ @@ -57891,14 +58074,14 @@ ] }, { - "id": 356, + "id": 364, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 366, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -57916,7 +58099,7 @@ } }, { - "id": 365, + "id": 373, "name": "buckets", "kind": 1024, "kindString": "Property", @@ -57930,12 +58113,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 362, + "id": 370, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -57953,7 +58136,7 @@ } }, { - "id": 360, + "id": 368, "name": "id", "kind": 1024, "kindString": "Property", @@ -57971,7 +58154,7 @@ } }, { - "id": 363, + "id": 371, "name": "last_accessed_at", "kind": 1024, "kindString": "Property", @@ -57989,7 +58172,7 @@ } }, { - "id": 364, + "id": 372, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -58019,7 +58202,7 @@ } }, { - "id": 357, + "id": 365, "name": "name", "kind": 1024, "kindString": "Property", @@ -58037,7 +58220,7 @@ } }, { - "id": 359, + "id": 367, "name": "owner", "kind": 1024, "kindString": "Property", @@ -58055,7 +58238,7 @@ } }, { - "id": 361, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -58077,7 +58260,7 @@ { "title": "Properties", "kind": 1024, - "children": [358, 365, 362, 360, 363, 364, 357, 359, 361] + "children": [366, 373, 370, 368, 371, 372, 365, 367, 369] } ], "sources": [ @@ -58089,14 +58272,14 @@ ] }, { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -58119,7 +58302,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -58142,7 +58325,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -58169,7 +58352,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -58181,14 +58364,14 @@ ] }, { - "id": 380, + "id": 388, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 381, + "id": 389, "name": "name", "kind": 1024, "kindString": "Property", @@ -58210,7 +58393,7 @@ { "title": "Properties", "kind": 1024, - "children": [381] + "children": [389] } ], "sources": [ @@ -58222,14 +58405,14 @@ ] }, { - "id": 373, + "id": 381, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 382, "name": "limit", "kind": 1024, "kindString": "Property", @@ -58252,7 +58435,7 @@ } }, { - "id": 375, + "id": 383, "name": "offset", "kind": 1024, "kindString": "Property", @@ -58275,7 +58458,7 @@ } }, { - "id": 377, + "id": 385, "name": "search", "kind": 1024, "kindString": "Property", @@ -58298,7 +58481,7 @@ } }, { - "id": 376, + "id": 384, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -58317,7 +58500,7 @@ ], "type": { "type": "reference", - "id": 366, + "id": 374, "name": "SortBy" } } @@ -58326,7 +58509,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 375, 377, 376] + "children": [382, 383, 385, 384] } ], "sources": [ @@ -58338,14 +58521,14 @@ ] }, { - "id": 366, + "id": 374, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 367, + "id": 375, "name": "column", "kind": 1024, "kindString": "Property", @@ -58365,7 +58548,7 @@ } }, { - "id": 368, + "id": 376, "name": "order", "kind": 1024, "kindString": "Property", @@ -58389,7 +58572,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [375, 376] } ], "sources": [ @@ -58401,7 +58584,112 @@ ] }, { - "id": 382, + "id": 390, + "name": "TransformOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 392, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The height of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 393, + "name": "resize", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cover" + }, + { + "type": "literal", + "value": "contain" + }, + { + "type": "literal", + "value": "fill" + } + ] + } + }, + { + "id": 391, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The width of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [392, 393, 391] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 17 + } + ] + }, + { + "id": 394, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -58415,14 +58703,14 @@ ], "signatures": [ { - "id": 383, + "id": 395, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 384, + "id": 396, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -58439,7 +58727,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -58451,17 +58739,17 @@ { "title": "Classes", "kind": 128, - "children": [390, 258, 385, 403] + "children": [402, 266, 397, 415] }, { "title": "Interfaces", "kind": 256, - "children": [349, 378, 356, 369, 380, 373, 366] + "children": [357, 386, 364, 377, 388, 381, 374, 390] }, { "title": "Functions", "kind": 64, - "children": [382] + "children": [394] } ], "sources": [ @@ -58761,7 +59049,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -58844,7 +59132,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59043,7 +59331,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59242,7 +59530,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59335,7 +59623,7 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, @@ -59409,7 +59697,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59488,7 +59776,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } @@ -59563,7 +59851,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59809,7 +60097,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -59856,7 +60144,7 @@ "extendedBy": [ { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" } ] @@ -59900,7 +60188,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 27, + "line": 33, "character": 2 } ], @@ -60067,7 +60355,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 226, + "line": 232, "character": 8 } ], @@ -60135,7 +60423,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 8 } ], @@ -60157,7 +60445,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 16 } ], @@ -60186,7 +60474,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 232, + "line": 238, "character": 8 } ], @@ -60223,7 +60511,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 235, + "line": 241, "character": 8 } ], @@ -60241,13 +60529,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 236, + "line": 242, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -60280,7 +60568,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 263, + "line": 270, "character": 8 } ], @@ -60345,14 +60633,16 @@ "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 266, + "line": 273, "character": 16 } ], @@ -60369,13 +60659,37 @@ } ] } + }, + { + "id": 188, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 273, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [187] + "children": [187, 188] } ] } @@ -60391,14 +60705,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 190, "name": "data", "kind": 1024, "kindString": "Property", @@ -60406,21 +60720,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 191, + "id": 192, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -60428,7 +60742,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 16 } ], @@ -60442,14 +60756,14 @@ { "title": "Properties", "kind": 1024, - "children": [191] + "children": [192] } ] } } }, { - "id": 192, + "id": 193, "name": "error", "kind": 1024, "kindString": "Property", @@ -60457,7 +60771,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 270, + "line": 277, "character": 8 } ], @@ -60471,7 +60785,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 192] + "children": [190, 193] } ] } @@ -60479,14 +60793,14 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "data", "kind": 1024, "kindString": "Property", @@ -60494,7 +60808,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 273, + "line": 280, "character": 8 } ], @@ -60504,7 +60818,7 @@ } }, { - "id": 195, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -60512,13 +60826,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 274, + "line": 281, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -60527,7 +60841,7 @@ { "title": "Properties", "kind": 1024, - "children": [194, 195] + "children": [195, 196] } ] } @@ -60543,7 +60857,7 @@ ] }, { - "id": 196, + "id": 197, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -60551,13 +60865,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 307, + "line": 315, "character": 8 } ], "signatures": [ { - "id": 197, + "id": 198, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -60567,7 +60881,7 @@ }, "parameters": [ { - "id": 198, + "id": 199, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -60584,7 +60898,7 @@ } }, { - "id": 199, + "id": 200, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -60598,7 +60912,7 @@ } }, { - "id": 200, + "id": 201, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -60608,14 +60922,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 203, "name": "download", "kind": 1024, "kindString": "Property", @@ -60626,7 +60940,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 310, + "line": 318, "character": 16 } ], @@ -60649,7 +60963,7 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [203] } ] } @@ -60665,14 +60979,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 204, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 205, "name": "data", "kind": 1024, "kindString": "Property", @@ -60680,7 +60994,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 8 } ], @@ -60689,14 +61003,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 205, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 207, "name": "error", "kind": 1024, "kindString": "Property", @@ -60704,7 +61018,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 16 } ], @@ -60723,7 +61037,7 @@ } }, { - "id": 207, + "id": 208, "name": "path", "kind": 1024, "kindString": "Property", @@ -60731,7 +61045,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 38 } ], @@ -60750,7 +61064,7 @@ } }, { - "id": 208, + "id": 209, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -60758,7 +61072,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 59 } ], @@ -60772,7 +61086,7 @@ { "title": "Properties", "kind": 1024, - "children": [206, 207, 208] + "children": [207, 208, 209] } ] } @@ -60780,7 +61094,7 @@ } }, { - "id": 209, + "id": 210, "name": "error", "kind": 1024, "kindString": "Property", @@ -60788,7 +61102,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 314, + "line": 322, "character": 8 } ], @@ -60802,7 +61116,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 209] + "children": [205, 210] } ] } @@ -60810,14 +61124,14 @@ { "type": "reflection", "declaration": { - "id": 210, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 211, + "id": 212, "name": "data", "kind": 1024, "kindString": "Property", @@ -60825,7 +61139,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 325, "character": 8 } ], @@ -60835,7 +61149,7 @@ } }, { - "id": 212, + "id": 213, "name": "error", "kind": 1024, "kindString": "Property", @@ -60843,13 +61157,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 318, + "line": 326, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -60858,7 +61172,7 @@ { "title": "Properties", "kind": 1024, - "children": [211, 212] + "children": [212, 213] } ] } @@ -60874,7 +61188,7 @@ ] }, { - "id": 213, + "id": 214, "name": "download", "kind": 2048, "kindString": "Method", @@ -60882,13 +61196,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 355, + "line": 364, "character": 8 } ], "signatures": [ { - "id": 214, + "id": 215, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -60898,18 +61212,70 @@ }, "parameters": [ { - "id": 215, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n" + "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`." }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 217, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 219, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 366, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [219] + } + ] + } + } } ], "type": { @@ -60921,14 +61287,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -60936,7 +61302,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 359, + "line": 369, "character": 8 } ], @@ -60948,7 +61314,7 @@ } }, { - "id": 218, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -60956,7 +61322,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 360, + "line": 370, "character": 8 } ], @@ -60970,7 +61336,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 218] + "children": [221, 222] } ] } @@ -60978,14 +61344,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -60993,7 +61359,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 363, + "line": 373, "character": 8 } ], @@ -61003,7 +61369,7 @@ } }, { - "id": 221, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -61011,13 +61377,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 364, + "line": 374, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -61026,7 +61392,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 221] + "children": [224, 225] } ] } @@ -61042,7 +61408,7 @@ ] }, { - "id": 222, + "id": 226, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -61050,13 +61416,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 391, + "line": 407, "character": 2 } ], "signatures": [ { - "id": 223, + "id": 227, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -61066,7 +61432,7 @@ }, "parameters": [ { - "id": 224, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -61080,7 +61446,7 @@ } }, { - "id": 225, + "id": 229, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -61090,25 +61456,27 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 231, "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 393, + "line": 409, "character": 16 } ], @@ -61125,13 +61493,37 @@ } ] } + }, + { + "id": 232, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 409, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [231, 232] } ] } @@ -61141,14 +61533,14 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -61156,21 +61548,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 231, + "id": 236, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -61178,7 +61570,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 15 } ], @@ -61192,7 +61584,7 @@ { "title": "Properties", "kind": 1024, - "children": [231] + "children": [236] } ] } @@ -61203,7 +61595,7 @@ { "title": "Properties", "kind": 1024, - "children": [229] + "children": [234] } ] } @@ -61212,7 +61604,7 @@ ] }, { - "id": 241, + "id": 246, "name": "list", "kind": 2048, "kindString": "Method", @@ -61220,13 +61612,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 506, + "line": 541, "character": 8 } ], "signatures": [ { - "id": 242, + "id": 247, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -61236,7 +61628,7 @@ }, "parameters": [ { - "id": 243, + "id": 248, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -61252,7 +61644,7 @@ } }, { - "id": 244, + "id": 249, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -61261,17 +61653,17 @@ }, "type": { "type": "reference", - "id": 373, + "id": 381, "name": "SearchOptions", "dereferenced": { - "id": 373, + "id": 381, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 382, "name": "limit", "kind": 1024, "kindString": "Property", @@ -61294,7 +61686,7 @@ } }, { - "id": 375, + "id": 383, "name": "offset", "kind": 1024, "kindString": "Property", @@ -61317,7 +61709,7 @@ } }, { - "id": 377, + "id": 385, "name": "search", "kind": 1024, "kindString": "Property", @@ -61340,7 +61732,7 @@ } }, { - "id": 376, + "id": 384, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -61359,7 +61751,7 @@ ], "type": { "type": "reference", - "id": 366, + "id": 374, "name": "SortBy" } } @@ -61368,7 +61760,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 375, 377, 376] + "children": [382, 383, 385, 384] } ], "sources": [ @@ -61382,7 +61774,7 @@ } }, { - "id": 245, + "id": 250, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -61391,17 +61783,17 @@ }, "type": { "type": "reference", - "id": 378, + "id": 386, "name": "FetchParameters", "dereferenced": { - "id": 378, + "id": 386, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, + "id": 387, "name": "signal", "kind": 1024, "kindString": "Property", @@ -61430,7 +61822,7 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [387] } ], "sources": [ @@ -61453,14 +61845,14 @@ { "type": "reflection", "declaration": { - "id": 246, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 247, + "id": 252, "name": "data", "kind": 1024, "kindString": "Property", @@ -61468,7 +61860,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 512, + "line": 547, "character": 8 } ], @@ -61476,13 +61868,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 248, + "id": 253, "name": "error", "kind": 1024, "kindString": "Property", @@ -61490,7 +61882,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 548, "character": 8 } ], @@ -61504,7 +61896,7 @@ { "title": "Properties", "kind": 1024, - "children": [247, 248] + "children": [252, 253] } ] } @@ -61512,14 +61904,14 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 254, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 255, "name": "data", "kind": 1024, "kindString": "Property", @@ -61527,7 +61919,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 551, "character": 8 } ], @@ -61537,7 +61929,7 @@ } }, { - "id": 251, + "id": 256, "name": "error", "kind": 1024, "kindString": "Property", @@ -61545,13 +61937,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 552, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -61560,7 +61952,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251] + "children": [255, 256] } ] } @@ -61584,7 +61976,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 190, + "line": 196, "character": 8 } ], @@ -61652,7 +62044,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 8 } ], @@ -61674,7 +62066,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 16 } ], @@ -61703,7 +62095,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 196, + "line": 202, "character": 8 } ], @@ -61740,7 +62132,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 199, + "line": 205, "character": 8 } ], @@ -61758,13 +62150,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 200, + "line": 206, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -61789,7 +62181,7 @@ ] }, { - "id": 232, + "id": 237, "name": "remove", "kind": 2048, "kindString": "Method", @@ -61797,13 +62189,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 410, + "line": 445, "character": 8 } ], "signatures": [ { - "id": 233, + "id": 238, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -61813,7 +62205,7 @@ }, "parameters": [ { - "id": 234, + "id": 239, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -61839,14 +62231,14 @@ { "type": "reflection", "declaration": { - "id": 235, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 241, "name": "data", "kind": 1024, "kindString": "Property", @@ -61854,7 +62246,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 414, + "line": 449, "character": 8 } ], @@ -61862,13 +62254,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 237, + "id": 242, "name": "error", "kind": 1024, "kindString": "Property", @@ -61876,7 +62268,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 415, + "line": 450, "character": 8 } ], @@ -61890,7 +62282,7 @@ { "title": "Properties", "kind": 1024, - "children": [236, 237] + "children": [241, 242] } ] } @@ -61898,14 +62290,14 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 239, + "id": 244, "name": "data", "kind": 1024, "kindString": "Property", @@ -61913,7 +62305,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 418, + "line": 453, "character": 8 } ], @@ -61923,7 +62315,7 @@ } }, { - "id": 240, + "id": 245, "name": "error", "kind": 1024, "kindString": "Property", @@ -61931,13 +62323,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 419, + "line": 454, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -61946,7 +62338,7 @@ { "title": "Properties", "kind": 1024, - "children": [239, 240] + "children": [244, 245] } ] } @@ -61970,7 +62362,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 157, + "line": 163, "character": 8 } ], @@ -62090,17 +62482,17 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions", "dereferenced": { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -62123,7 +62515,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -62146,7 +62538,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -62173,7 +62565,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -62211,7 +62603,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 8 } ], @@ -62233,7 +62625,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 16 } ], @@ -62262,7 +62654,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 174, + "line": 180, "character": 8 } ], @@ -62299,7 +62691,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 183, "character": 8 } ], @@ -62317,13 +62709,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 178, + "line": 184, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -62356,7 +62748,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 124, + "line": 130, "character": 8 } ], @@ -62476,17 +62868,17 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions", "dereferenced": { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -62509,7 +62901,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -62532,7 +62924,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -62559,7 +62951,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -62597,7 +62989,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 8 } ], @@ -62619,7 +63011,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 16 } ], @@ -62648,7 +63040,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 141, + "line": 147, "character": 8 } ], @@ -62685,7 +63077,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 144, + "line": 150, "character": 8 } ], @@ -62703,13 +63095,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 145, + "line": 151, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -62743,13 +63135,13 @@ { "title": "Methods", "kind": 2048, - "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131] + "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131] } ], "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 21, + "line": 27, "character": 21 } ] diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json index 136c9963a19..6cf1e94f730 100644 --- a/spec/enrichments/tsdoc_v2/gotrue.json +++ b/spec/enrichments/tsdoc_v2/gotrue.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 727, + "id": 732, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 728, + "id": 733, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 729, + "id": 734, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 730, + "id": 735, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 731, + "id": 736, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -59,24 +59,24 @@ ], "type": { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 732, + "id": 737, "name": "status", "kind": 1024, "kindString": "Property", @@ -94,7 +94,7 @@ } }, { - "id": 733, + "id": 738, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -108,7 +108,7 @@ ], "signatures": [ { - "id": 734, + "id": 739, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -116,14 +116,14 @@ "type": { "type": "reflection", "declaration": { - "id": 735, + "id": 740, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 737, + "id": 742, "name": "message", "kind": 1024, "kindString": "Property", @@ -142,7 +142,7 @@ "defaultValue": "..." }, { - "id": 736, + "id": 741, "name": "name", "kind": 1024, "kindString": "Property", @@ -161,7 +161,7 @@ "defaultValue": "..." }, { - "id": 738, + "id": 743, "name": "status", "kind": 1024, "kindString": "Property", @@ -184,7 +184,7 @@ { "title": "Properties", "kind": 1024, - "children": [737, 736, 738] + "children": [742, 741, 743] } ] } @@ -197,17 +197,17 @@ { "title": "Constructors", "kind": 512, - "children": [728] + "children": [733] }, { "title": "Properties", "kind": 1024, - "children": [732] + "children": [737] }, { "title": "Methods", "kind": 2048, - "children": [733] + "children": [738] } ], "sources": [ @@ -220,20 +220,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 722, + "id": 727, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 723, + "id": 728, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -247,14 +247,14 @@ ], "signatures": [ { - "id": 724, + "id": 729, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 725, + "id": 730, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -267,7 +267,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, "overwrites": { @@ -286,7 +286,7 @@ { "title": "Constructors", "kind": 512, - "children": [723] + "children": [728] } ], "sources": [ @@ -307,30 +307,30 @@ "extendedBy": [ { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 788, + "id": 793, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -344,14 +344,14 @@ ], "signatures": [ { - "id": 789, + "id": 794, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 795, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -362,7 +362,7 @@ } }, { - "id": 791, + "id": 796, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -377,14 +377,14 @@ { "type": "reflection", "declaration": { - "id": 792, + "id": 797, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 794, + "id": 799, "name": "code", "kind": 1024, "kindString": "Property", @@ -402,7 +402,7 @@ } }, { - "id": 793, + "id": 798, "name": "error", "kind": 1024, "kindString": "Property", @@ -424,7 +424,7 @@ { "title": "Properties", "kind": 1024, - "children": [794, 793] + "children": [799, 798] } ] } @@ -436,24 +436,24 @@ ], "type": { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 795, + "id": 800, "name": "details", "kind": 1024, "kindString": "Property", @@ -475,14 +475,14 @@ { "type": "reflection", "declaration": { - "id": 796, + "id": 801, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 803, "name": "code", "kind": 1024, "kindString": "Property", @@ -500,7 +500,7 @@ } }, { - "id": 797, + "id": 802, "name": "error", "kind": 1024, "kindString": "Property", @@ -522,7 +522,7 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [803, 802] } ] } @@ -532,7 +532,7 @@ "defaultValue": "null" }, { - "id": 809, + "id": 814, "name": "name", "kind": 1024, "kindString": "Property", @@ -550,12 +550,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 810, + "id": 815, "name": "status", "kind": 1024, "kindString": "Property", @@ -573,12 +573,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 799, + "id": 804, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -592,7 +592,7 @@ ], "signatures": [ { - "id": 800, + "id": 805, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -600,14 +600,14 @@ "type": { "type": "reflection", "declaration": { - "id": 801, + "id": 806, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 805, + "id": 810, "name": "details", "kind": 1024, "kindString": "Property", @@ -629,14 +629,14 @@ { "type": "reflection", "declaration": { - "id": 806, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 813, "name": "code", "kind": 1024, "kindString": "Property", @@ -654,7 +654,7 @@ } }, { - "id": 807, + "id": 812, "name": "error", "kind": 1024, "kindString": "Property", @@ -676,7 +676,7 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807] + "children": [813, 812] } ] } @@ -686,7 +686,7 @@ "defaultValue": "..." }, { - "id": 803, + "id": 808, "name": "message", "kind": 1024, "kindString": "Property", @@ -705,7 +705,7 @@ "defaultValue": "..." }, { - "id": 802, + "id": 807, "name": "name", "kind": 1024, "kindString": "Property", @@ -724,7 +724,7 @@ "defaultValue": "..." }, { - "id": 804, + "id": 809, "name": "status", "kind": 1024, "kindString": "Property", @@ -747,21 +747,21 @@ { "title": "Properties", "kind": 1024, - "children": [805, 803, 802, 804] + "children": [810, 808, 807, 809] } ] } }, "overwrites": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -770,17 +770,17 @@ { "title": "Constructors", "kind": 512, - "children": [788] + "children": [793] }, { "title": "Properties", "kind": 1024, - "children": [795, 809, 810] + "children": [800, 814, 815] }, { "title": "Methods", "kind": 2048, - "children": [799] + "children": [804] } ], "sources": [ @@ -793,20 +793,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 775, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -820,14 +820,14 @@ ], "signatures": [ { - "id": 776, + "id": 781, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 777, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -840,24 +840,24 @@ ], "type": { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 778, + "id": 783, "name": "name", "kind": 1024, "kindString": "Property", @@ -875,12 +875,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 779, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -898,12 +898,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 780, + "id": 785, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -917,7 +917,7 @@ ], "signatures": [ { - "id": 781, + "id": 786, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -925,14 +925,14 @@ "type": { "type": "reflection", "declaration": { - "id": 782, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 789, "name": "message", "kind": 1024, "kindString": "Property", @@ -951,7 +951,7 @@ "defaultValue": "..." }, { - "id": 783, + "id": 788, "name": "name", "kind": 1024, "kindString": "Property", @@ -970,7 +970,7 @@ "defaultValue": "..." }, { - "id": 785, + "id": 790, "name": "status", "kind": 1024, "kindString": "Property", @@ -993,21 +993,21 @@ { "title": "Properties", "kind": 1024, - "children": [784, 783, 785] + "children": [789, 788, 790] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1016,17 +1016,17 @@ { "title": "Constructors", "kind": 512, - "children": [775] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [778, 779] + "children": [783, 784] }, { "title": "Methods", "kind": 2048, - "children": [780] + "children": [785] } ], "sources": [ @@ -1039,20 +1039,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 812, + "id": 817, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 813, + "id": 818, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1066,14 +1066,14 @@ ], "signatures": [ { - "id": 814, + "id": 819, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 815, + "id": 820, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1084,7 +1084,7 @@ } }, { - "id": 816, + "id": 821, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1097,24 +1097,24 @@ ], "type": { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 817, + "id": 822, "name": "name", "kind": 1024, "kindString": "Property", @@ -1132,12 +1132,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 818, + "id": 823, "name": "status", "kind": 1024, "kindString": "Property", @@ -1155,12 +1155,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 819, + "id": 824, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1174,7 +1174,7 @@ ], "signatures": [ { - "id": 820, + "id": 825, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1182,14 +1182,14 @@ "type": { "type": "reflection", "declaration": { - "id": 821, + "id": 826, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 823, + "id": 828, "name": "message", "kind": 1024, "kindString": "Property", @@ -1208,7 +1208,7 @@ "defaultValue": "..." }, { - "id": 822, + "id": 827, "name": "name", "kind": 1024, "kindString": "Property", @@ -1227,7 +1227,7 @@ "defaultValue": "..." }, { - "id": 824, + "id": 829, "name": "status", "kind": 1024, "kindString": "Property", @@ -1250,21 +1250,21 @@ { "title": "Properties", "kind": 1024, - "children": [823, 822, 824] + "children": [828, 827, 829] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1273,17 +1273,17 @@ { "title": "Constructors", "kind": 512, - "children": [813] + "children": [818] }, { "title": "Properties", "kind": 1024, - "children": [817, 818] + "children": [822, 823] }, { "title": "Methods", "kind": 2048, - "children": [819] + "children": [824] } ], "sources": [ @@ -1296,20 +1296,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 762, + "id": 767, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 763, + "id": 768, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1323,31 +1323,31 @@ ], "signatures": [ { - "id": 764, + "id": 769, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 765, + "id": 770, "name": "name", "kind": 1024, "kindString": "Property", @@ -1365,12 +1365,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 766, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -1388,12 +1388,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 767, + "id": 772, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1407,7 +1407,7 @@ ], "signatures": [ { - "id": 768, + "id": 773, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1415,14 +1415,14 @@ "type": { "type": "reflection", "declaration": { - "id": 769, + "id": 774, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 771, + "id": 776, "name": "message", "kind": 1024, "kindString": "Property", @@ -1441,7 +1441,7 @@ "defaultValue": "..." }, { - "id": 770, + "id": 775, "name": "name", "kind": 1024, "kindString": "Property", @@ -1460,7 +1460,7 @@ "defaultValue": "..." }, { - "id": 772, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -1483,21 +1483,21 @@ { "title": "Properties", "kind": 1024, - "children": [771, 770, 772] + "children": [776, 775, 777] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1506,17 +1506,17 @@ { "title": "Constructors", "kind": 512, - "children": [763] + "children": [768] }, { "title": "Properties", "kind": 1024, - "children": [765, 766] + "children": [770, 771] }, { "title": "Methods", "kind": 2048, - "children": [767] + "children": [772] } ], "sources": [ @@ -1529,20 +1529,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 740, + "id": 745, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 741, + "id": 746, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1556,14 +1556,14 @@ ], "signatures": [ { - "id": 742, + "id": 747, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 743, + "id": 748, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1574,7 +1574,7 @@ } }, { - "id": 744, + "id": 749, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1587,24 +1587,24 @@ ], "type": { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 745, + "id": 750, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1626,12 +1626,12 @@ { "title": "Constructors", "kind": 512, - "children": [741] + "children": [746] }, { "title": "Properties", "kind": 1024, - "children": [745] + "children": [750] } ], "sources": [ @@ -1644,20 +1644,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 747, + "id": 752, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 748, + "id": 753, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1671,14 +1671,14 @@ ], "signatures": [ { - "id": 749, + "id": 754, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 750, + "id": 755, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1689,7 +1689,7 @@ } }, { - "id": 751, + "id": 756, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -1700,7 +1700,7 @@ } }, { - "id": 752, + "id": 757, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1713,24 +1713,24 @@ ], "type": { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 753, + "id": 758, "name": "name", "kind": 1024, "kindString": "Property", @@ -1752,7 +1752,7 @@ } }, { - "id": 754, + "id": 759, "name": "status", "kind": 1024, "kindString": "Property", @@ -1770,7 +1770,7 @@ } }, { - "id": 755, + "id": 760, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1784,7 +1784,7 @@ ], "signatures": [ { - "id": 756, + "id": 761, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1792,14 +1792,14 @@ "type": { "type": "reflection", "declaration": { - "id": 757, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 764, "name": "message", "kind": 1024, "kindString": "Property", @@ -1818,7 +1818,7 @@ "defaultValue": "..." }, { - "id": 758, + "id": 763, "name": "name", "kind": 1024, "kindString": "Property", @@ -1837,7 +1837,7 @@ "defaultValue": "..." }, { - "id": 760, + "id": 765, "name": "status", "kind": 1024, "kindString": "Property", @@ -1860,7 +1860,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 760] + "children": [764, 763, 765] } ] } @@ -1873,17 +1873,17 @@ { "title": "Constructors", "kind": 512, - "children": [748] + "children": [753] }, { "title": "Properties", "kind": 1024, - "children": [753, 754] + "children": [758, 759] }, { "title": "Methods", "kind": 2048, - "children": [755] + "children": [760] } ], "sources": [ @@ -1896,29 +1896,29 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" } ] @@ -1939,7 +1939,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -1977,7 +1977,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 36, + "line": 37, "character": 4 } ], @@ -2067,7 +2067,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 33, + "line": 34, "character": 4 } ], @@ -2114,7 +2114,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 32, + "line": 33, "character": 4 } ], @@ -2155,13 +2155,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 19, + "line": 20, "character": 2 } ], "type": { "type": "reference", - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi" } }, @@ -2174,7 +2174,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 138, + "line": 139, "character": 8 } ], @@ -2197,7 +2197,7 @@ "flags": {}, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } } @@ -2207,7 +2207,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2219,7 +2219,7 @@ ] }, { - "id": 65, + "id": 66, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -2227,13 +2227,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 228, + "line": 234, "character": 8 } ], "signatures": [ { - "id": 66, + "id": 67, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -2243,7 +2243,7 @@ }, "parameters": [ { - "id": 67, + "id": 68, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2262,7 +2262,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2282,7 +2282,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 104, + "line": 105, "character": 8 } ], @@ -2305,7 +2305,7 @@ "flags": {}, "type": { "type": "reference", - "id": 542, + "id": 543, "name": "GenerateLinkParams" } } @@ -2315,7 +2315,7 @@ "typeArguments": [ { "type": "reference", - "id": 543, + "id": 544, "name": "GenerateLinkResponse" } ], @@ -2327,7 +2327,7 @@ ] }, { - "id": 58, + "id": 59, "name": "getUserById", "kind": 2048, "kindString": "Method", @@ -2335,13 +2335,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 183, + "line": 189, "character": 8 } ], "signatures": [ { - "id": 59, + "id": 60, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -2351,7 +2351,7 @@ }, "parameters": [ { - "id": 60, + "id": 61, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -2370,7 +2370,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2390,7 +2390,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 74, + "line": 75, "character": 8 } ], @@ -2448,7 +2448,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 78, + "line": 79, "character": 6 } ], @@ -2471,7 +2471,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 77, + "line": 78, "character": 6 } ], @@ -2498,7 +2498,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2518,7 +2518,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 159, + "line": 161, "character": 8 } ], @@ -2531,8 +2531,27 @@ "flags": {}, "comment": { "shortText": "Get a list of users.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "text": "This function should only be called on a server. Never expose your `service_role` key in the browser." }, + "parameters": [ + { + "id": 48, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object which supports `page` and `per_page` as numbers, to alter the paginated results.\n" + }, + "type": { + "type": "reference", + "id": 717, + "name": "PageParams" + } + } + ], "type": { "type": "reference", "typeArguments": [ @@ -2542,14 +2561,14 @@ { "type": "reflection", "declaration": { - "id": 48, + "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 49, + "id": 50, "name": "data", "kind": 1024, "kindString": "Property", @@ -2557,21 +2576,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 6 + "line": 163, + "character": 15 } ], "type": { "type": "reflection", "declaration": { - "id": 50, + "id": 51, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 51, + "id": 52, "name": "users", "kind": 1024, "kindString": "Property", @@ -2579,15 +2598,15 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 14 + "line": 163, + "character": 23 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -2597,14 +2616,14 @@ { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ] } } }, { - "id": 52, + "id": 53, "name": "error", "kind": 1024, "kindString": "Property", @@ -2612,8 +2631,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 31 + "line": 163, + "character": 40 } ], "type": { @@ -2626,7 +2645,7 @@ { "title": "Properties", "kind": 1024, - "children": [49, 52] + "children": [50, 53] } ] } @@ -2634,14 +2653,14 @@ { "type": "reflection", "declaration": { - "id": 53, + "id": 54, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 54, + "id": 55, "name": "data", "kind": 1024, "kindString": "Property", @@ -2649,21 +2668,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 49 + "line": 163, + "character": 58 } ], "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 56, + "id": 57, "name": "users", "kind": 1024, "kindString": "Property", @@ -2671,8 +2690,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 57 + "line": 163, + "character": 66 } ], "type": { @@ -2684,14 +2703,14 @@ { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ] } } }, { - "id": 57, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -2699,13 +2718,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 70 + "line": 163, + "character": 79 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -2714,7 +2733,7 @@ { "title": "Properties", "kind": 1024, - "children": [54, 57] + "children": [55, 58] } ] } @@ -2738,7 +2757,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 8 } ], @@ -2789,7 +2808,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 40 } ], @@ -2807,7 +2826,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 52 } ], @@ -2820,7 +2839,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -2845,7 +2864,7 @@ ] }, { - "id": 61, + "id": 62, "name": "updateUserById", "kind": 2048, "kindString": "Method", @@ -2853,13 +2872,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 205, + "line": 211, "character": 8 } ], "signatures": [ { - "id": 62, + "id": 63, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -2869,7 +2888,7 @@ }, "parameters": [ { - "id": 63, + "id": 64, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -2880,7 +2899,7 @@ } }, { - "id": 64, + "id": 65, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -2890,7 +2909,7 @@ }, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } } @@ -2900,7 +2919,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2926,26 +2945,26 @@ { "title": "Methods", "kind": 2048, - "children": [43, 65, 40, 58, 33, 46, 27, 61] + "children": [43, 66, 40, 59, 33, 46, 27, 62] } ], "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 17, + "line": 18, "character": 21 } ] }, { - "id": 74, + "id": 75, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 75, + "id": 76, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2959,7 +2978,7 @@ ], "signatures": [ { - "id": 76, + "id": 77, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -2969,28 +2988,28 @@ }, "parameters": [ { - "id": 77, + "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 287, + "id": 288, "name": "GoTrueClientOptions" } } ], "type": { "type": "reference", - "id": 74, + "id": 75, "name": "default" } } ] }, { - "id": 78, + "id": 79, "name": "admin", "kind": 1024, "kindString": "Property", @@ -3012,7 +3031,7 @@ } }, { - "id": 79, + "id": 80, "name": "mfa", "kind": 1024, "kindString": "Property", @@ -3029,12 +3048,12 @@ ], "type": { "type": "reference", - "id": 653, + "id": 654, "name": "GoTrueMFAApi" } }, { - "id": 123, + "id": 124, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -3048,7 +3067,7 @@ ], "signatures": [ { - "id": 124, + "id": 125, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -3065,14 +3084,14 @@ { "type": "reflection", "declaration": { - "id": 125, + "id": 126, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 126, + "id": 127, "name": "data", "kind": 1024, "kindString": "Property", @@ -3087,14 +3106,14 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 128, + "id": 129, "name": "session", "kind": 1024, "kindString": "Property", @@ -3108,7 +3127,7 @@ ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -3117,14 +3136,14 @@ { "title": "Properties", "kind": 1024, - "children": [128] + "children": [129] } ] } } }, { - "id": 129, + "id": 130, "name": "error", "kind": 1024, "kindString": "Property", @@ -3146,7 +3165,7 @@ { "title": "Properties", "kind": 1024, - "children": [126, 129] + "children": [127, 130] } ] } @@ -3154,14 +3173,14 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 132, "name": "data", "kind": 1024, "kindString": "Property", @@ -3176,14 +3195,14 @@ "type": { "type": "reflection", "declaration": { - "id": 132, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 133, + "id": 134, "name": "session", "kind": 1024, "kindString": "Property", @@ -3205,14 +3224,14 @@ { "title": "Properties", "kind": 1024, - "children": [133] + "children": [134] } ] } } }, { - "id": 134, + "id": 135, "name": "error", "kind": 1024, "kindString": "Property", @@ -3226,7 +3245,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -3235,7 +3254,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 134] + "children": [132, 135] } ] } @@ -3243,14 +3262,14 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 137, "name": "data", "kind": 1024, "kindString": "Property", @@ -3265,14 +3284,14 @@ "type": { "type": "reflection", "declaration": { - "id": 137, + "id": 138, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 138, + "id": 139, "name": "session", "kind": 1024, "kindString": "Property", @@ -3294,14 +3313,14 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [139] } ] } } }, { - "id": 139, + "id": 140, "name": "error", "kind": 1024, "kindString": "Property", @@ -3323,7 +3342,7 @@ { "title": "Properties", "kind": 1024, - "children": [136, 139] + "children": [137, 140] } ] } @@ -3339,7 +3358,7 @@ ] }, { - "id": 140, + "id": 141, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -3353,7 +3372,7 @@ ], "signatures": [ { - "id": 141, + "id": 142, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -3363,7 +3382,7 @@ }, "parameters": [ { - "id": 142, + "id": 143, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3384,7 +3403,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -3396,7 +3415,7 @@ ] }, { - "id": 101, + "id": 102, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -3410,7 +3429,7 @@ ], "signatures": [ { - "id": 102, + "id": 103, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -3423,7 +3442,7 @@ "typeArguments": [ { "type": "reference", - "id": 706, + "id": 707, "name": "InitializeResult" } ], @@ -3435,7 +3454,7 @@ ] }, { - "id": 184, + "id": 185, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -3449,7 +3468,7 @@ ], "signatures": [ { - "id": 185, + "id": 186, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -3459,7 +3478,7 @@ }, "parameters": [ { - "id": 186, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3470,33 +3489,33 @@ "type": { "type": "reflection", "declaration": { - "id": 187, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 188, + "id": 189, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 189, + "id": 190, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent" } }, { - "id": 190, + "id": 191, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -3510,7 +3529,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -3530,14 +3549,14 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 193, "name": "data", "kind": 1024, "kindString": "Property", @@ -3552,14 +3571,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -3573,7 +3592,7 @@ ], "type": { "type": "reference", - "id": 420, + "id": 421, "name": "Subscription" } } @@ -3582,7 +3601,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [195] } ] } @@ -3593,7 +3612,7 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [193] } ] } @@ -3602,7 +3621,7 @@ ] }, { - "id": 159, + "id": 160, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -3616,7 +3635,7 @@ ], "signatures": [ { - "id": 160, + "id": 161, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -3626,7 +3645,7 @@ }, "parameters": [ { - "id": 161, + "id": 162, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -3639,14 +3658,14 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 163, + "id": 164, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -3668,7 +3687,7 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [164] } ] } @@ -3680,7 +3699,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -3692,7 +3711,7 @@ ] }, { - "id": 195, + "id": 196, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -3706,7 +3725,7 @@ ], "signatures": [ { - "id": 196, + "id": 197, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -3716,7 +3735,7 @@ }, "parameters": [ { - "id": 197, + "id": 198, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -3730,7 +3749,7 @@ } }, { - "id": 198, + "id": 199, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3738,14 +3757,14 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 201, + "id": 202, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -3768,7 +3787,7 @@ } }, { - "id": 200, + "id": 201, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -3795,7 +3814,7 @@ { "title": "Properties", "kind": 1024, - "children": [201, 200] + "children": [202, 201] } ] } @@ -3812,14 +3831,14 @@ { "type": "reflection", "declaration": { - "id": 202, + "id": 203, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 204, "name": "data", "kind": 1024, "kindString": "Property", @@ -3834,7 +3853,7 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3843,7 +3862,7 @@ } }, { - "id": 205, + "id": 206, "name": "error", "kind": 1024, "kindString": "Property", @@ -3865,7 +3884,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 205] + "children": [204, 206] } ] } @@ -3873,14 +3892,14 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 207, + "id": 208, "name": "data", "kind": 1024, "kindString": "Property", @@ -3898,7 +3917,7 @@ } }, { - "id": 208, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -3912,7 +3931,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -3921,7 +3940,7 @@ { "title": "Properties", "kind": 1024, - "children": [207, 208] + "children": [208, 209] } ] } @@ -3937,7 +3956,7 @@ ] }, { - "id": 153, + "id": 154, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -3951,7 +3970,7 @@ ], "signatures": [ { - "id": 154, + "id": 155, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -3961,7 +3980,7 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -3972,14 +3991,14 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 157, + "id": 158, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -3997,7 +4016,7 @@ } }, { - "id": 158, + "id": 159, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -4019,7 +4038,7 @@ { "title": "Properties", "kind": 1024, - "children": [157, 158] + "children": [158, 159] } ] } @@ -4031,7 +4050,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4043,7 +4062,7 @@ ] }, { - "id": 111, + "id": 112, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -4057,7 +4076,7 @@ ], "signatures": [ { - "id": 112, + "id": 113, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -4067,14 +4086,14 @@ }, "parameters": [ { - "id": 113, + "id": 114, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials" } } @@ -4084,7 +4103,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 314, "name": "OAuthResponse" } ], @@ -4096,7 +4115,7 @@ ] }, { - "id": 114, + "id": 115, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -4110,7 +4129,7 @@ ], "signatures": [ { - "id": 115, + "id": 116, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -4120,14 +4139,14 @@ }, "parameters": [ { - "id": 116, + "id": 117, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials" } } @@ -4137,7 +4156,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4149,7 +4168,7 @@ ] }, { - "id": 108, + "id": 109, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -4163,7 +4182,7 @@ ], "signatures": [ { - "id": 109, + "id": 110, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -4173,14 +4192,14 @@ }, "parameters": [ { - "id": 110, + "id": 111, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials" } } @@ -4190,7 +4209,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4202,7 +4221,7 @@ ] }, { - "id": 120, + "id": 121, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -4216,7 +4235,7 @@ ], "signatures": [ { - "id": 121, + "id": 122, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -4233,14 +4252,14 @@ }, "parameters": [ { - "id": 122, + "id": 123, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 507, + "id": 508, "name": "SignInWithSSO" } } @@ -4250,7 +4269,7 @@ "typeArguments": [ { "type": "reference", - "id": 326, + "id": 327, "name": "SSOResponse" } ], @@ -4262,7 +4281,7 @@ ] }, { - "id": 180, + "id": 181, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -4276,7 +4295,7 @@ ], "signatures": [ { - "id": 181, + "id": 182, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -4291,14 +4310,14 @@ { "type": "reflection", "declaration": { - "id": 182, + "id": 183, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 183, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -4319,7 +4338,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -4330,7 +4349,7 @@ { "title": "Properties", "kind": 1024, - "children": [183] + "children": [184] } ] } @@ -4344,7 +4363,7 @@ ] }, { - "id": 105, + "id": 106, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -4358,7 +4377,7 @@ ], "signatures": [ { - "id": 106, + "id": 107, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -4369,14 +4388,14 @@ }, "parameters": [ { - "id": 107, + "id": 108, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials" } } @@ -4386,7 +4405,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4398,7 +4417,7 @@ ] }, { - "id": 143, + "id": 144, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -4412,7 +4431,7 @@ ], "signatures": [ { - "id": 144, + "id": 145, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -4422,14 +4441,14 @@ }, "parameters": [ { - "id": 145, + "id": 146, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } } @@ -4439,7 +4458,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -4451,7 +4470,7 @@ ] }, { - "id": 117, + "id": 118, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -4465,7 +4484,7 @@ ], "signatures": [ { - "id": 118, + "id": 119, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -4475,14 +4494,14 @@ }, "parameters": [ { - "id": 119, + "id": 120, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 488, + "id": 489, "name": "VerifyOtpParams" } } @@ -4492,7 +4511,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4508,17 +4527,17 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [76] }, { "title": "Properties", "kind": 1024, - "children": [78, 79] + "children": [79, 80] }, { "title": "Methods", "kind": 2048, - "children": [123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117] + "children": [124, 141, 102, 185, 160, 196, 154, 112, 115, 109, 121, 181, 106, 144, 118] } ], "sources": [ @@ -4530,7 +4549,7 @@ ] }, { - "id": 355, + "id": 356, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -4547,7 +4566,7 @@ }, "children": [ { - "id": 356, + "id": 357, "name": "method", "kind": 1024, "kindString": "Property", @@ -4568,7 +4587,7 @@ } }, { - "id": 357, + "id": 358, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -4593,7 +4612,7 @@ { "title": "Properties", "kind": 1024, - "children": [356, 357] + "children": [357, 358] } ], "sources": [ @@ -4605,14 +4624,14 @@ ] }, { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -4636,7 +4655,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -4660,7 +4679,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -4684,12 +4703,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -4712,12 +4731,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -4741,7 +4760,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -4764,12 +4783,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -4792,12 +4811,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -4821,7 +4840,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -4849,7 +4868,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -4862,13 +4881,13 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] }, { - "id": 369, + "id": 370, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -4892,7 +4911,7 @@ }, "children": [ { - "id": 374, + "id": 375, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -4910,7 +4929,7 @@ } }, { - "id": 372, + "id": 373, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -4931,7 +4950,7 @@ } }, { - "id": 371, + "id": 372, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -4954,7 +4973,7 @@ } }, { - "id": 370, + "id": 371, "name": "id", "kind": 1024, "kindString": "Property", @@ -4975,7 +4994,7 @@ } }, { - "id": 373, + "id": 374, "name": "status", "kind": 1024, "kindString": "Property", @@ -5005,7 +5024,7 @@ } }, { - "id": 375, + "id": 376, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -5027,7 +5046,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 372, 371, 370, 373, 375] + "children": [375, 373, 372, 371, 374, 376] } ], "sources": [ @@ -5039,14 +5058,14 @@ ] }, { - "id": 539, + "id": 540, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 540, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -5070,7 +5089,7 @@ } }, { - "id": 541, + "id": 542, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5097,7 +5116,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 541] + "children": [541, 542] } ], "sources": [ @@ -5109,7 +5128,7 @@ ] }, { - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -5125,20 +5144,20 @@ }, "children": [ { - "id": 702, + "id": 703, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 703, + "id": 704, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.", + "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.", "tags": [ { "tag": "see", @@ -5152,14 +5171,14 @@ }, "parameters": [ { - "id": 704, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams" } } @@ -5169,7 +5188,7 @@ "typeArguments": [ { "type": "reference", - "id": 673, + "id": 674, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -5181,31 +5200,31 @@ ] }, { - "id": 699, + "id": 700, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 700, + "id": 701, "name": "listFactors", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Lists all factors attached to a user." + "shortText": "Lists all factors associated to a user." }, "parameters": [ { - "id": 701, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 695, + "id": 696, "name": "AuthMFAAdminListFactorsParams" } } @@ -5215,7 +5234,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 687, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -5231,19 +5250,19 @@ { "title": "Methods", "kind": 2048, - "children": [702, 699] + "children": [703, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 876, "character": 17 } ] }, { - "id": 653, + "id": 654, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -5253,31 +5272,31 @@ }, "children": [ { - "id": 657, + "id": 658, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 658, + "id": 659, "name": "challenge", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}." + "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." }, "parameters": [ { - "id": 659, + "id": 660, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 577, + "id": 578, "name": "MFAChallengeParams" } } @@ -5287,7 +5306,7 @@ "typeArguments": [ { "type": "reference", - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse" } ], @@ -5299,37 +5318,31 @@ ] }, { - "id": 666, + "id": 667, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 667, + "id": 668, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n" - } - ] + "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 668, + "id": 669, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams" } } @@ -5339,7 +5352,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -5351,46 +5364,32 @@ ] }, { - "id": 654, + "id": 655, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 655, + "id": 656, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.", - "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#verify}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n" - } - ] + "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.", + "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n" }, "parameters": [ { - "id": 656, + "id": 657, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 564, + "id": 565, "name": "MFAEnrollParams" } } @@ -5400,7 +5399,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse" } ], @@ -5412,14 +5411,14 @@ ] }, { - "id": 671, + "id": 672, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 672, + "id": 673, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -5433,7 +5432,7 @@ "typeArguments": [ { "type": "reference", - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -5445,14 +5444,14 @@ ] }, { - "id": 669, + "id": 670, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 670, + "id": 671, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -5479,7 +5478,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse" } ], @@ -5491,31 +5490,31 @@ ] }, { - "id": 663, + "id": 664, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 664, + "id": 665, "name": "unenroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level." + "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor." }, "parameters": [ { - "id": 665, + "id": 666, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 570, "name": "MFAUnenrollParams" } } @@ -5525,7 +5524,7 @@ "typeArguments": [ { "type": "reference", - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse" } ], @@ -5537,37 +5536,31 @@ ] }, { - "id": 660, + "id": 661, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 661, + "id": 662, "name": "verify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n\n" - } - ] + "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 662, + "id": 663, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 572, + "id": 573, "name": "MFAVerifyParams" } } @@ -5577,7 +5570,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -5593,26 +5586,26 @@ { "title": "Methods", "kind": 2048, - "children": [657, 666, 654, 671, 669, 663, 660] + "children": [658, 667, 655, 672, 670, 664, 661] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 756, + "line": 759, "character": 17 } ] }, { - "id": 346, + "id": 347, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 349, + "id": 350, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -5633,7 +5626,7 @@ } }, { - "id": 352, + "id": 353, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -5656,7 +5649,7 @@ } }, { - "id": 351, + "id": 352, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -5677,7 +5670,7 @@ } }, { - "id": 348, + "id": 349, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -5709,7 +5702,7 @@ } }, { - "id": 347, + "id": 348, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -5741,7 +5734,7 @@ } }, { - "id": 350, + "id": 351, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5762,7 +5755,7 @@ } }, { - "id": 353, + "id": 354, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -5780,7 +5773,7 @@ } }, { - "id": 354, + "id": 355, "name": "user", "kind": 1024, "kindString": "Property", @@ -5794,7 +5787,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -5803,7 +5796,7 @@ { "title": "Properties", "kind": 1024, - "children": [349, 352, 351, 348, 347, 350, 353, 354] + "children": [350, 353, 352, 349, 348, 351, 354, 355] } ], "sources": [ @@ -5815,14 +5808,14 @@ ] }, { - "id": 420, + "id": 421, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 422, "name": "id", "kind": 1024, "kindString": "Property", @@ -5843,7 +5836,7 @@ } }, { - "id": 422, + "id": 423, "name": "callback", "kind": 2048, "kindString": "Method", @@ -5857,7 +5850,7 @@ ], "signatures": [ { - "id": 423, + "id": 424, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -5867,19 +5860,19 @@ }, "parameters": [ { - "id": 424, + "id": 425, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent" } }, { - "id": 425, + "id": 426, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5893,7 +5886,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -5908,7 +5901,7 @@ ] }, { - "id": 426, + "id": 427, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -5922,7 +5915,7 @@ ], "signatures": [ { - "id": 427, + "id": 428, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -5942,12 +5935,12 @@ { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] }, { "title": "Methods", "kind": 2048, - "children": [422, 426] + "children": [423, 427] } ], "sources": [ @@ -5959,14 +5952,14 @@ ] }, { - "id": 428, + "id": 429, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 429, + "id": 430, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -5988,7 +5981,7 @@ { "title": "Properties", "kind": 1024, - "children": [429] + "children": [430] } ], "sources": [ @@ -6000,14 +5993,14 @@ ] }, { - "id": 383, + "id": 384, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 393, + "id": 394, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -6027,7 +6020,7 @@ } }, { - "id": 385, + "id": 386, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -6041,12 +6034,12 @@ ], "type": { "type": "reference", - "id": 376, + "id": 377, "name": "UserAppMetadata" } }, { - "id": 387, + "id": 388, "name": "aud", "kind": 1024, "kindString": "Property", @@ -6064,7 +6057,7 @@ } }, { - "id": 388, + "id": 389, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -6084,7 +6077,7 @@ } }, { - "id": 397, + "id": 398, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -6104,7 +6097,7 @@ } }, { - "id": 396, + "id": 397, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -6122,7 +6115,7 @@ } }, { - "id": 394, + "id": 395, "name": "email", "kind": 1024, "kindString": "Property", @@ -6142,7 +6135,7 @@ } }, { - "id": 390, + "id": 391, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -6162,7 +6155,7 @@ } }, { - "id": 398, + "id": 399, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -6182,7 +6175,7 @@ } }, { - "id": 404, + "id": 405, "name": "factors", "kind": 1024, "kindString": "Property", @@ -6200,13 +6193,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } }, { - "id": 384, + "id": 385, "name": "id", "kind": 1024, "kindString": "Property", @@ -6224,7 +6217,7 @@ } }, { - "id": 403, + "id": 404, "name": "identities", "kind": 1024, "kindString": "Property", @@ -6242,13 +6235,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 358, + "id": 359, "name": "UserIdentity" } } }, { - "id": 392, + "id": 393, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -6268,7 +6261,7 @@ } }, { - "id": 400, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -6288,7 +6281,7 @@ } }, { - "id": 391, + "id": 392, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -6308,7 +6301,7 @@ } }, { - "id": 395, + "id": 396, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6328,7 +6321,7 @@ } }, { - "id": 399, + "id": 400, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -6348,7 +6341,7 @@ } }, { - "id": 389, + "id": 390, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -6368,7 +6361,7 @@ } }, { - "id": 401, + "id": 402, "name": "role", "kind": 1024, "kindString": "Property", @@ -6388,7 +6381,7 @@ } }, { - "id": 402, + "id": 403, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -6408,7 +6401,7 @@ } }, { - "id": 386, + "id": 387, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -6422,7 +6415,7 @@ ], "type": { "type": "reference", - "id": 380, + "id": 381, "name": "UserMetadata" } } @@ -6432,8 +6425,8 @@ "title": "Properties", "kind": 1024, "children": [ - 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399, - 389, 401, 402, 386 + 394, 386, 388, 389, 398, 397, 395, 391, 399, 405, 385, 404, 393, 401, 392, 396, 400, + 390, 402, 403, 387 ] } ], @@ -6446,14 +6439,14 @@ ] }, { - "id": 376, + "id": 377, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 377, + "id": 378, "name": "provider", "kind": 1024, "kindString": "Property", @@ -6477,7 +6470,7 @@ { "title": "Properties", "kind": 1024, - "children": [377] + "children": [378] } ], "sources": [ @@ -6488,14 +6481,14 @@ } ], "indexSignature": { - "id": 378, + "id": 379, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 379, + "id": 380, "name": "key", "kind": 32768, "flags": {}, @@ -6512,14 +6505,14 @@ } }, { - "id": 405, + "id": 406, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 409, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -6543,7 +6536,7 @@ } }, { - "id": 406, + "id": 407, "name": "email", "kind": 1024, "kindString": "Property", @@ -6566,7 +6559,7 @@ } }, { - "id": 408, + "id": 409, "name": "password", "kind": 1024, "kindString": "Property", @@ -6589,7 +6582,7 @@ } }, { - "id": 407, + "id": 408, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6616,7 +6609,7 @@ { "title": "Properties", "kind": 1024, - "children": [409, 406, 408, 407] + "children": [410, 407, 409, 408] } ], "sources": [ @@ -6629,20 +6622,20 @@ "extendedBy": [ { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } ] }, { - "id": 358, + "id": 359, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 366, + "id": 367, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -6660,7 +6653,7 @@ } }, { - "id": 359, + "id": 360, "name": "id", "kind": 1024, "kindString": "Property", @@ -6678,7 +6671,7 @@ } }, { - "id": 361, + "id": 362, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -6693,20 +6686,20 @@ "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 363, + "id": 364, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 364, + "id": 365, "name": "key", "kind": 32768, "flags": {}, @@ -6725,7 +6718,7 @@ } }, { - "id": 367, + "id": 368, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -6743,7 +6736,7 @@ } }, { - "id": 365, + "id": 366, "name": "provider", "kind": 1024, "kindString": "Property", @@ -6761,7 +6754,7 @@ } }, { - "id": 368, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -6781,7 +6774,7 @@ } }, { - "id": 360, + "id": 361, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -6803,7 +6796,7 @@ { "title": "Properties", "kind": 1024, - "children": [366, 359, 361, 367, 365, 368, 360] + "children": [367, 360, 362, 368, 366, 369, 361] } ], "sources": [ @@ -6815,7 +6808,7 @@ ] }, { - "id": 380, + "id": 381, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -6828,14 +6821,14 @@ } ], "indexSignature": { - "id": 381, + "id": 382, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 382, + "id": 383, "name": "key", "kind": 32768, "flags": {}, @@ -6852,14 +6845,14 @@ } }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -6880,7 +6873,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -6897,14 +6890,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -6927,7 +6920,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -6954,14 +6947,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -6982,7 +6975,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -6999,7 +6992,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -7008,7 +7001,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -7020,14 +7013,14 @@ ] }, { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -7044,14 +7037,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7080,7 +7073,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7107,14 +7100,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7135,7 +7128,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -7156,7 +7149,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -7173,7 +7166,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -7182,7 +7175,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -7194,7 +7187,7 @@ ] }, { - "id": 286, + "id": 287, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -7235,14 +7228,14 @@ }, { "type": "reference", - "id": 285, + "id": 286, "name": "AuthChangeEventMFA" } ] } }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -7260,7 +7253,7 @@ } }, { - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -7273,96 +7266,6 @@ } ] }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 683, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 684, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the MFA factor to delete." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 685, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user whose factor is being deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 860, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [684, 685] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 45 - } - ] - } - } - }, - { - "id": 673, - "name": "AuthMFAAdminDeleteFactorResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -7371,182 +7274,77 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "id", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 675, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 846, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 12 - } - ] - } - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 848, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675, 678] - } - ], + "comment": { + "shortText": "ID of the MFA factor to delete." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, - "character": 4 + "line": 844, + "character": 2 } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 679, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "userId", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 680, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 681, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 722, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [680, 681] - } - ], + "comment": { + "shortText": "ID of the user whose factor is being deleted." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 850, - "character": 4 + "line": 847, + "character": 2 } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 842, + "character": 45 + } + ] + } } }, { - "id": 695, - "name": "AuthMFAAdminListFactorsParams", + "id": 674, + "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -7561,61 +7359,187 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 829, "character": 12 } ], "type": { - "type": "reflection", - "declaration": { - "id": 696, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 697, - "name": "userId", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "comment": { - "shortText": "ID of the user for which to list all MFA factors." - }, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 678, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully deleted." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 833, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [678] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 835, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 679] + } + ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 881, - "character": 2 + "line": 830, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 727, + "name": "AuthError" + } } ], - "type": { - "type": "intrinsic", - "name": "string" - } + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 4 + } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 879, - "character": 44 - } - ] - } + } + ] } }, { - "id": 686, - "name": "AuthMFAAdminListFactorsResponse", + "id": 696, + "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -7634,20 +7558,89 @@ "character": 12 } ], + "type": { + "type": "reflection", + "declaration": { + "id": 697, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 698, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [698] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 866, + "character": 44 + } + ] + } + } + }, + { + "id": 687, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 853, + "character": 12 + } + ], "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { - "id": 687, + "id": 688, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 688, + "id": 689, "name": "data", "kind": 1024, "kindString": "Property", @@ -7655,21 +7648,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 689, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 690, + "id": 691, "name": "factors", "kind": 1024, "kindString": "Property", @@ -7680,7 +7673,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 870, + "line": 857, "character": 8 } ], @@ -7688,7 +7681,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } @@ -7698,13 +7691,13 @@ { "title": "Properties", "kind": 1024, - "children": [690] + "children": [691] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 12 } ] @@ -7712,7 +7705,7 @@ } }, { - "id": 691, + "id": 692, "name": "error", "kind": 1024, "kindString": "Property", @@ -7720,7 +7713,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 872, + "line": 859, "character": 6 } ], @@ -7734,13 +7727,13 @@ { "title": "Properties", "kind": 1024, - "children": [688, 691] + "children": [689, 692] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 854, "character": 4 } ] @@ -7749,14 +7742,14 @@ { "type": "reflection", "declaration": { - "id": 692, + "id": 693, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 694, "name": "data", "kind": 1024, "kindString": "Property", @@ -7764,7 +7757,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 6 } ], @@ -7774,7 +7767,7 @@ } }, { - "id": 694, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -7782,13 +7775,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -7797,13 +7790,13 @@ { "title": "Properties", "kind": 1024, - "children": [693, 694] + "children": [694, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 4 } ] @@ -7813,7 +7806,7 @@ } }, { - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -7821,7 +7814,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 702, "character": 12 } ], @@ -7831,14 +7824,14 @@ { "type": "reflection", "declaration": { - "id": 622, + "id": 623, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 623, + "id": 624, "name": "data", "kind": 1024, "kindString": "Property", @@ -7846,21 +7839,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 624, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 627, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -7871,7 +7864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 706, + "line": 709, "character": 8 } ], @@ -7881,7 +7874,7 @@ } }, { - "id": 625, + "id": 626, "name": "id", "kind": 1024, "kindString": "Property", @@ -7892,7 +7885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 706, "character": 8 } ], @@ -7906,13 +7899,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 625] + "children": [627, 626] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 12 } ] @@ -7920,7 +7913,7 @@ } }, { - "id": 627, + "id": 628, "name": "error", "kind": 1024, "kindString": "Property", @@ -7928,7 +7921,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 708, + "line": 711, "character": 6 } ], @@ -7942,13 +7935,13 @@ { "title": "Properties", "kind": 1024, - "children": [623, 627] + "children": [624, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 703, "character": 4 } ] @@ -7957,14 +7950,14 @@ { "type": "reflection", "declaration": { - "id": 628, + "id": 629, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 629, + "id": 630, "name": "data", "kind": 1024, "kindString": "Property", @@ -7972,7 +7965,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 6 } ], @@ -7982,7 +7975,7 @@ } }, { - "id": 630, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -7990,13 +7983,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -8005,13 +7998,13 @@ { "title": "Properties", "kind": 1024, - "children": [629, 630] + "children": [630, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 4 } ] @@ -8021,7 +8014,7 @@ } }, { - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -8029,7 +8022,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 659, "character": 12 } ], @@ -8039,14 +8032,14 @@ { "type": "reflection", "declaration": { - "id": 598, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 600, "name": "data", "kind": 1024, "kindString": "Property", @@ -8054,21 +8047,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 600, + "id": 601, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 601, + "id": 602, "name": "id", "kind": 1024, "kindString": "Property", @@ -8079,7 +8072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 663, "character": 8 } ], @@ -8089,7 +8082,7 @@ } }, { - "id": 603, + "id": 604, "name": "totp", "kind": 1024, "kindString": "Property", @@ -8100,21 +8093,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 604, + "id": 605, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 606, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -8125,28 +8118,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 606, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 675, + "line": 673, "character": 10 } ], @@ -8157,6 +8129,27 @@ }, { "id": 607, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, "name": "uri", "kind": 1024, "kindString": "Property", @@ -8167,7 +8160,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 682, "character": 10 } ], @@ -8181,13 +8174,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606, 607] + "children": [606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 14 } ] @@ -8195,7 +8188,7 @@ } }, { - "id": 602, + "id": 603, "name": "type", "kind": 1024, "kindString": "Property", @@ -8206,7 +8199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 666, "character": 8 } ], @@ -8220,13 +8213,13 @@ { "title": "Properties", "kind": 1024, - "children": [601, 603, 602] + "children": [602, 604, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 12 } ] @@ -8234,55 +8227,11 @@ } }, { - "id": 608, + "id": 609, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 682, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 657, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 609, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 610, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -8294,9 +8243,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [600, 609] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 660, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 610, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 611, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 612, "name": "error", "kind": 1024, "kindString": "Property", @@ -8304,13 +8297,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 689, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -8319,13 +8312,13 @@ { "title": "Properties", "kind": 1024, - "children": [610, 611] + "children": [611, 612] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 684, + "line": 687, "character": 4 } ] @@ -8335,7 +8328,7 @@ } }, { - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -8343,7 +8336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 730, "character": 12 } ], @@ -8353,14 +8346,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 645, "name": "data", "kind": 1024, "kindString": "Property", @@ -8368,21 +8361,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 649, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -8393,7 +8386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 746, + "line": 749, "character": 8 } ], @@ -8401,13 +8394,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 355, + "id": 356, "name": "AMREntry" } } }, { - "id": 646, + "id": 647, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -8418,7 +8411,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 734, "character": 8 } ], @@ -8427,7 +8420,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -8438,7 +8431,7 @@ } }, { - "id": 647, + "id": 648, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -8455,7 +8448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 742, "character": 8 } ], @@ -8464,7 +8457,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -8479,13 +8472,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 646, 647] + "children": [649, 647, 648] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 12 } ] @@ -8493,7 +8486,7 @@ } }, { - "id": 649, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -8501,7 +8494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 751, "character": 6 } ], @@ -8515,13 +8508,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 649] + "children": [645, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 731, "character": 4 } ] @@ -8530,14 +8523,14 @@ { "type": "reflection", "declaration": { - "id": 650, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 651, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -8545,7 +8538,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 6 } ], @@ -8555,7 +8548,7 @@ } }, { - "id": 652, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -8563,13 +8556,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -8578,13 +8571,13 @@ { "title": "Properties", "kind": 1024, - "children": [651, 652] + "children": [652, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 4 } ] @@ -8594,7 +8587,7 @@ } }, { - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -8602,7 +8595,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 715, "character": 12 } ], @@ -8612,14 +8605,14 @@ { "type": "reflection", "declaration": { - "id": 632, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 634, "name": "data", "kind": 1024, "kindString": "Property", @@ -8627,21 +8620,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 634, + "id": 635, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 635, + "id": 636, "name": "all", "kind": 1024, "kindString": "Property", @@ -8649,31 +8642,6 @@ "comment": { "shortText": "All available factors (verified and unverified)." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 716, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 369, - "name": "Factor" - } - } - }, - { - "id": 636, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -8685,7 +8653,32 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, + "name": "Factor" + } + } + }, + { + "id": 637, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 370, "name": "Factor" } } @@ -8695,13 +8688,13 @@ { "title": "Properties", "kind": 1024, - "children": [635, 636] + "children": [636, 637] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 12 } ] @@ -8709,7 +8702,7 @@ } }, { - "id": 637, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -8717,7 +8710,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 721, + "line": 724, "character": 6 } ], @@ -8731,13 +8724,13 @@ { "title": "Properties", "kind": 1024, - "children": [633, 637] + "children": [634, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 716, "character": 4 } ] @@ -8746,14 +8739,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 640, "name": "data", "kind": 1024, "kindString": "Property", @@ -8761,7 +8754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 6 } ], @@ -8771,7 +8764,7 @@ } }, { - "id": 640, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -8779,13 +8772,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -8794,13 +8787,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 640] + "children": [640, 641] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 4 } ] @@ -8810,7 +8803,7 @@ } }, { - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -8818,7 +8811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 689, + "line": 692, "character": 12 } ], @@ -8828,14 +8821,14 @@ { "type": "reflection", "declaration": { - "id": 613, + "id": 614, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 614, + "id": 615, "name": "data", "kind": 1024, "kindString": "Property", @@ -8843,21 +8836,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 615, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 616, + "id": 617, "name": "id", "kind": 1024, "kindString": "Property", @@ -8868,7 +8861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 693, + "line": 696, "character": 8 } ], @@ -8882,13 +8875,13 @@ { "title": "Properties", "kind": 1024, - "children": [616] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 12 } ] @@ -8896,7 +8889,7 @@ } }, { - "id": 617, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -8904,7 +8897,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 698, "character": 6 } ], @@ -8918,13 +8911,13 @@ { "title": "Properties", "kind": 1024, - "children": [614, 617] + "children": [615, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 693, "character": 4 } ] @@ -8933,14 +8926,14 @@ { "type": "reflection", "declaration": { - "id": 618, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -8948,7 +8941,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 6 } ], @@ -8958,7 +8951,7 @@ } }, { - "id": 620, + "id": 621, "name": "error", "kind": 1024, "kindString": "Property", @@ -8966,13 +8959,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -8981,13 +8974,13 @@ { "title": "Properties", "kind": 1024, - "children": [619, 620] + "children": [620, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 4 } ] @@ -8997,7 +8990,7 @@ } }, { - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -9005,7 +8998,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 634, "character": 12 } ], @@ -9015,14 +9008,14 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 586, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 586, + "id": 587, "name": "data", "kind": 1024, "kindString": "Property", @@ -9030,21 +9023,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 588, + "id": 589, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -9052,69 +9045,6 @@ "comment": { "shortText": "New access token (JWT) after successful verification." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 635, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 590, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Number of seconds in which the access token will expire." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 591, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Refresh token you can use to obtain new access tokens when expired." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 644, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of token, typically `Bearer`." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -9127,8 +9057,71 @@ "name": "string" } }, + { + "id": 591, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 644, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 592, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 647, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of token, typically `Bearer`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 593, "name": "user", "kind": 1024, "kindString": "Property", @@ -9139,13 +9132,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 650, "character": 8 } ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -9154,13 +9147,13 @@ { "title": "Properties", "kind": 1024, - "children": [588, 590, 591, 589, 592] + "children": [589, 591, 592, 590, 593] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 12 } ] @@ -9168,55 +9161,11 @@ } }, { - "id": 593, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [586, 593] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 632, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 594, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 595, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -9228,9 +9177,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [587, 594] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 635, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 596, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 655, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 597, "name": "error", "kind": 1024, "kindString": "Property", @@ -9238,13 +9231,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 653, + "line": 656, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -9253,13 +9246,13 @@ { "title": "Properties", "kind": 1024, - "children": [595, 596] + "children": [596, 597] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 654, "character": 4 } ] @@ -9269,7 +9262,7 @@ } }, { - "id": 300, + "id": 301, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -9287,14 +9280,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 303, "name": "data", "kind": 1024, "kindString": "Property", @@ -9309,14 +9302,14 @@ "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 306, "name": "session", "kind": 1024, "kindString": "Property", @@ -9333,7 +9326,7 @@ "types": [ { "type": "reference", - "id": 346, + "id": 347, "name": "Session" }, { @@ -9344,7 +9337,7 @@ } }, { - "id": 304, + "id": 305, "name": "user", "kind": 1024, "kindString": "Property", @@ -9361,7 +9354,7 @@ "types": [ { "type": "reference", - "id": 383, + "id": 384, "name": "User" }, { @@ -9376,7 +9369,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304] + "children": [306, 305] } ], "sources": [ @@ -9390,7 +9383,7 @@ } }, { - "id": 306, + "id": 307, "name": "error", "kind": 1024, "kindString": "Property", @@ -9412,7 +9405,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 306] + "children": [303, 307] } ], "sources": [ @@ -9427,14 +9420,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 309, "name": "data", "kind": 1024, "kindString": "Property", @@ -9449,14 +9442,14 @@ "type": { "type": "reflection", "declaration": { - "id": 309, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 312, "name": "session", "kind": 1024, "kindString": "Property", @@ -9474,7 +9467,7 @@ } }, { - "id": 310, + "id": 311, "name": "user", "kind": 1024, "kindString": "Property", @@ -9496,7 +9489,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 310] + "children": [312, 311] } ], "sources": [ @@ -9510,7 +9503,7 @@ } }, { - "id": 312, + "id": 313, "name": "error", "kind": 1024, "kindString": "Property", @@ -9524,7 +9517,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -9533,7 +9526,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 312] + "children": [309, 313] } ], "sources": [ @@ -9549,7 +9542,7 @@ } }, { - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -9557,7 +9550,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 728, "character": 12 } ], @@ -9576,7 +9569,7 @@ } }, { - "id": 709, + "id": 710, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -9584,7 +9577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 907, "character": 12 } ], @@ -9594,14 +9587,14 @@ { "type": "reflection", "declaration": { - "id": 710, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 712, + "id": 713, "name": "error", "kind": 1024, "kindString": "Property", @@ -9609,7 +9602,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 910, "character": 6 } ], @@ -9619,7 +9612,7 @@ } }, { - "id": 711, + "id": 712, "name": "session", "kind": 1024, "kindString": "Property", @@ -9627,13 +9620,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 923, + "line": 909, "character": 6 } ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -9642,13 +9635,13 @@ { "title": "Properties", "kind": 1024, - "children": [712, 711] + "children": [713, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 908, "character": 4 } ] @@ -9657,14 +9650,14 @@ { "type": "reflection", "declaration": { - "id": 713, + "id": 714, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 715, + "id": 716, "name": "error", "kind": 1024, "kindString": "Property", @@ -9672,18 +9665,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 914, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } }, { - "id": 714, + "id": 715, "name": "session", "kind": 1024, "kindString": "Property", @@ -9691,7 +9684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 913, "character": 6 } ], @@ -9705,13 +9698,13 @@ { "title": "Properties", "kind": 1024, - "children": [715, 714] + "children": [716, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 912, "character": 4 } ] @@ -9721,7 +9714,7 @@ } }, { - "id": 506, + "id": 507, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -9760,7 +9753,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9775,14 +9768,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -9803,7 +9796,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -9824,7 +9817,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -9843,7 +9836,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -9857,7 +9850,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -9888,7 +9881,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -9902,7 +9895,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9917,14 +9910,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -9945,7 +9938,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -9964,7 +9957,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -9987,7 +9980,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -10018,7 +10011,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -10032,7 +10025,7 @@ } }, { - "id": 542, + "id": 543, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10049,29 +10042,29 @@ "types": [ { "type": "reference", - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams" }, { "type": "reference", - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams" }, { "type": "reference", - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams" }, { "type": "reference", - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams" } ] } }, { - "id": 556, + "id": 557, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -10089,14 +10082,14 @@ "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 558, + "id": 559, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -10117,7 +10110,7 @@ } }, { - "id": 559, + "id": 560, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -10138,7 +10131,7 @@ } }, { - "id": 560, + "id": 561, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -10159,7 +10152,7 @@ } }, { - "id": 561, + "id": 562, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -10180,7 +10173,7 @@ } }, { - "id": 562, + "id": 563, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -10197,7 +10190,7 @@ ], "type": { "type": "reference", - "id": 563, + "id": 564, "name": "GenerateLinkType" } } @@ -10206,7 +10199,7 @@ { "title": "Properties", "kind": 1024, - "children": [558, 559, 560, 561, 562] + "children": [559, 560, 561, 562, 563] } ], "sources": [ @@ -10220,7 +10213,7 @@ } }, { - "id": 543, + "id": 544, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -10238,14 +10231,14 @@ { "type": "reflection", "declaration": { - "id": 544, + "id": 545, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 545, + "id": 546, "name": "data", "kind": 1024, "kindString": "Property", @@ -10260,14 +10253,14 @@ "type": { "type": "reflection", "declaration": { - "id": 546, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 548, "name": "properties", "kind": 1024, "kindString": "Property", @@ -10281,12 +10274,12 @@ ], "type": { "type": "reference", - "id": 556, + "id": 557, "name": "GenerateLinkProperties" } }, { - "id": 548, + "id": 549, "name": "user", "kind": 1024, "kindString": "Property", @@ -10300,7 +10293,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -10309,7 +10302,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 548] + "children": [548, 549] } ], "sources": [ @@ -10323,7 +10316,7 @@ } }, { - "id": 549, + "id": 550, "name": "error", "kind": 1024, "kindString": "Property", @@ -10345,7 +10338,7 @@ { "title": "Properties", "kind": 1024, - "children": [545, 549] + "children": [546, 550] } ], "sources": [ @@ -10360,14 +10353,14 @@ { "type": "reflection", "declaration": { - "id": 550, + "id": 551, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 551, + "id": 552, "name": "data", "kind": 1024, "kindString": "Property", @@ -10382,14 +10375,14 @@ "type": { "type": "reflection", "declaration": { - "id": 552, + "id": 553, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 554, "name": "properties", "kind": 1024, "kindString": "Property", @@ -10407,7 +10400,7 @@ } }, { - "id": 554, + "id": 555, "name": "user", "kind": 1024, "kindString": "Property", @@ -10429,7 +10422,7 @@ { "title": "Properties", "kind": 1024, - "children": [553, 554] + "children": [554, 555] } ], "sources": [ @@ -10443,7 +10436,7 @@ } }, { - "id": 555, + "id": 556, "name": "error", "kind": 1024, "kindString": "Property", @@ -10457,7 +10450,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -10466,7 +10459,7 @@ { "title": "Properties", "kind": 1024, - "children": [551, 555] + "children": [552, 556] } ], "sources": [ @@ -10482,7 +10475,7 @@ } }, { - "id": 563, + "id": 564, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -10525,7 +10518,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10540,14 +10533,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -10568,7 +10561,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -10587,7 +10580,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -10601,7 +10594,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -10623,7 +10616,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -10637,7 +10630,7 @@ } }, { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10652,14 +10645,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -10677,7 +10670,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -10696,7 +10689,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -10719,7 +10712,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -10737,7 +10730,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -10759,7 +10752,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -10773,7 +10766,7 @@ } }, { - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -10788,14 +10781,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 297, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -10815,7 +10808,7 @@ } }, { - "id": 295, + "id": 296, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -10835,7 +10828,7 @@ } }, { - "id": 299, + "id": 300, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -10855,7 +10848,7 @@ } }, { - "id": 290, + "id": 291, "name": "headers", "kind": 1024, "kindString": "Property", @@ -10872,7 +10865,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10885,14 +10878,14 @@ } ], "indexSignature": { - "id": 292, + "id": 293, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 293, + "id": 294, "name": "key", "kind": 32768, "flags": {}, @@ -10911,7 +10904,7 @@ } }, { - "id": 297, + "id": 298, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -10931,7 +10924,7 @@ } }, { - "id": 298, + "id": 299, "name": "storage", "kind": 1024, "kindString": "Property", @@ -10947,12 +10940,12 @@ ], "type": { "type": "reference", - "id": 705, + "id": 706, "name": "SupportedStorage" } }, { - "id": 294, + "id": 295, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -10972,7 +10965,7 @@ } }, { - "id": 289, + "id": 290, "name": "url", "kind": 1024, "kindString": "Property", @@ -10996,7 +10989,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 295, 299, 290, 297, 298, 294, 289] + "children": [297, 296, 300, 291, 298, 299, 295, 290] } ], "sources": [ @@ -11010,7 +11003,7 @@ } }, { - "id": 706, + "id": 707, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -11018,21 +11011,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 707, + "id": 708, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 708, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -11040,7 +11033,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 33 } ], @@ -11049,7 +11042,7 @@ "types": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, { @@ -11064,13 +11057,13 @@ { "title": "Properties", "kind": 1024, - "children": [708] + "children": [709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 31 } ] @@ -11078,7 +11071,7 @@ } }, { - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -11086,21 +11079,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 584, "name": "code", "kind": 1024, "kindString": "Property", @@ -11111,7 +11104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 628, + "line": 631, "character": 2 } ], @@ -11121,18 +11114,18 @@ } }, { - "id": 582, + "id": 583, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 629, "character": 2 } ], @@ -11146,13 +11139,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [584, 583] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 42 } ] @@ -11160,7 +11153,7 @@ } }, { - "id": 577, + "id": 578, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -11168,32 +11161,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 578, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 580, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor to be challenged." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 624, "character": 2 } ], @@ -11207,13 +11200,13 @@ { "title": "Properties", "kind": 1024, - "children": [579] + "children": [580] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 33 } ] @@ -11221,7 +11214,7 @@ } }, { - "id": 564, + "id": 565, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -11236,22 +11229,25 @@ "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 567, "name": "factorType", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 598, + "line": 599, "character": 2 } ], @@ -11261,17 +11257,20 @@ } }, { - "id": 568, + "id": 569, "name": "friendlyName", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Human readable name assigned to the factor." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 603, "character": 2 } ], @@ -11281,17 +11280,20 @@ } }, { - "id": 567, + "id": 568, "name": "issuer", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Domain which the user is enrolled with." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 2 } ], @@ -11305,7 +11307,7 @@ { "title": "Properties", "kind": 1024, - "children": [566, 568, 567] + "children": [567, 569, 568] } ], "sources": [ @@ -11319,7 +11321,7 @@ } }, { - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -11327,21 +11329,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 571, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 571, + "id": 572, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -11352,7 +11354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 608, "character": 2 } ], @@ -11366,13 +11368,13 @@ { "title": "Properties", "kind": 1024, - "children": [571] + "children": [572] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 32 } ] @@ -11380,7 +11382,7 @@ } }, { - "id": 572, + "id": 573, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -11388,48 +11390,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 575, + "id": 576, "name": "challengeId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the challenge being verified." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the challenge being verified. Returned in challenge()." }, "sources": [ { @@ -11444,18 +11425,39 @@ } }, { - "id": 574, + "id": 577, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 613, "character": 2 } ], @@ -11469,13 +11471,13 @@ { "title": "Properties", "kind": 1024, - "children": [575, 576, 574] + "children": [576, 577, 575] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 30 } ] @@ -11483,7 +11485,7 @@ } }, { - "id": 505, + "id": 506, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -11510,7 +11512,7 @@ } }, { - "id": 313, + "id": 314, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -11528,14 +11530,14 @@ { "type": "reflection", "declaration": { - "id": 314, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 315, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -11550,14 +11552,14 @@ "type": { "type": "reflection", "declaration": { - "id": 316, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 318, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11571,12 +11573,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 318, + "id": 319, "name": "url", "kind": 1024, "kindString": "Property", @@ -11598,7 +11600,7 @@ { "title": "Properties", "kind": 1024, - "children": [317, 318] + "children": [318, 319] } ], "sources": [ @@ -11612,7 +11614,7 @@ } }, { - "id": 319, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -11634,7 +11636,7 @@ { "title": "Properties", "kind": 1024, - "children": [315, 319] + "children": [316, 320] } ], "sources": [ @@ -11649,14 +11651,14 @@ { "type": "reflection", "declaration": { - "id": 320, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 321, + "id": 322, "name": "data", "kind": 1024, "kindString": "Property", @@ -11671,14 +11673,14 @@ "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 323, + "id": 324, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11692,12 +11694,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 324, + "id": 325, "name": "url", "kind": 1024, "kindString": "Property", @@ -11719,7 +11721,7 @@ { "title": "Properties", "kind": 1024, - "children": [323, 324] + "children": [324, 325] } ], "sources": [ @@ -11733,7 +11735,7 @@ } }, { - "id": 325, + "id": 326, "name": "error", "kind": 1024, "kindString": "Property", @@ -11747,7 +11749,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -11756,7 +11758,7 @@ { "title": "Properties", "kind": 1024, - "children": [321, 325] + "children": [322, 326] } ], "sources": [ @@ -11772,7 +11774,93 @@ } }, { - "id": 284, + "id": 717, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 718, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 919, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 720, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 921, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [719, 720] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 25 + } + ] + } + } + }, + { + "id": 285, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -11858,7 +11946,7 @@ } }, { - "id": 326, + "id": 327, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -11876,14 +11964,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 329, "name": "data", "kind": 1024, "kindString": "Property", @@ -11898,14 +11986,14 @@ "type": { "type": "reflection", "declaration": { - "id": 329, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 331, "name": "url", "kind": 1024, "kindString": "Property", @@ -11930,7 +12018,7 @@ { "title": "Properties", "kind": 1024, - "children": [330] + "children": [331] } ], "sources": [ @@ -11944,7 +12032,7 @@ } }, { - "id": 331, + "id": 332, "name": "error", "kind": 1024, "kindString": "Property", @@ -11966,7 +12054,7 @@ { "title": "Properties", "kind": 1024, - "children": [328, 331] + "children": [329, 332] } ], "sources": [ @@ -11981,14 +12069,14 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 334, "name": "data", "kind": 1024, "kindString": "Property", @@ -12006,7 +12094,7 @@ } }, { - "id": 334, + "id": 335, "name": "error", "kind": 1024, "kindString": "Property", @@ -12020,7 +12108,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -12029,7 +12117,7 @@ { "title": "Properties", "kind": 1024, - "children": [333, 334] + "children": [334, 335] } ], "sources": [ @@ -12045,7 +12133,7 @@ } }, { - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12060,14 +12148,14 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 480, + "id": 481, "name": "options", "kind": 1024, "kindString": "Property", @@ -12084,14 +12172,14 @@ "type": { "type": "reflection", "declaration": { - "id": 481, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 484, + "id": 485, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -12111,7 +12199,7 @@ "type": { "type": "reflection", "declaration": { - "id": 485, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12124,14 +12212,14 @@ } ], "indexSignature": { - "id": 486, + "id": 487, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 487, + "id": 488, "name": "key", "kind": 32768, "flags": {}, @@ -12150,7 +12238,7 @@ } }, { - "id": 482, + "id": 483, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12173,7 +12261,7 @@ } }, { - "id": 483, + "id": 484, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -12200,7 +12288,7 @@ { "title": "Properties", "kind": 1024, - "children": [484, 482, 483] + "children": [485, 483, 484] } ], "sources": [ @@ -12214,7 +12302,7 @@ } }, { - "id": 479, + "id": 480, "name": "provider", "kind": 1024, "kindString": "Property", @@ -12231,7 +12319,7 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } } @@ -12240,7 +12328,7 @@ { "title": "Properties", "kind": 1024, - "children": [480, 479] + "children": [481, 480] } ], "sources": [ @@ -12254,7 +12342,7 @@ } }, { - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12272,14 +12360,14 @@ { "type": "reflection", "declaration": { - "id": 447, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 448, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -12300,7 +12388,7 @@ } }, { - "id": 450, + "id": 451, "name": "options", "kind": 1024, "kindString": "Property", @@ -12317,14 +12405,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 453, + "id": 454, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12347,7 +12435,7 @@ } }, { - "id": 452, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -12375,7 +12463,7 @@ { "title": "Properties", "kind": 1024, - "children": [453, 452] + "children": [454, 453] } ], "sources": [ @@ -12389,7 +12477,7 @@ } }, { - "id": 449, + "id": 450, "name": "password", "kind": 1024, "kindString": "Property", @@ -12414,7 +12502,7 @@ { "title": "Properties", "kind": 1024, - "children": [448, 450, 449] + "children": [449, 451, 450] } ], "sources": [ @@ -12429,14 +12517,14 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 455, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 458, "name": "options", "kind": 1024, "kindString": "Property", @@ -12453,14 +12541,14 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 459, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 460, + "id": 461, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12483,7 +12571,7 @@ } }, { - "id": 459, + "id": 460, "name": "data", "kind": 1024, "kindString": "Property", @@ -12511,7 +12599,7 @@ { "title": "Properties", "kind": 1024, - "children": [460, 459] + "children": [461, 460] } ], "sources": [ @@ -12525,7 +12613,7 @@ } }, { - "id": 456, + "id": 457, "name": "password", "kind": 1024, "kindString": "Property", @@ -12546,7 +12634,7 @@ } }, { - "id": 455, + "id": 456, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12571,7 +12659,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 456, 455] + "children": [458, 457, 456] } ], "sources": [ @@ -12587,7 +12675,7 @@ } }, { - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12605,14 +12693,14 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 463, + "id": 464, "name": "email", "kind": 1024, "kindString": "Property", @@ -12633,7 +12721,7 @@ } }, { - "id": 464, + "id": 465, "name": "options", "kind": 1024, "kindString": "Property", @@ -12650,14 +12738,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 466, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 470, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12680,7 +12768,7 @@ } }, { - "id": 468, + "id": 469, "name": "data", "kind": 1024, "kindString": "Property", @@ -12704,7 +12792,7 @@ } }, { - "id": 466, + "id": 467, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12727,7 +12815,7 @@ } }, { - "id": 467, + "id": 468, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -12754,7 +12842,7 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468, 466, 467] + "children": [470, 469, 467, 468] } ], "sources": [ @@ -12772,7 +12860,7 @@ { "title": "Properties", "kind": 1024, - "children": [463, 464] + "children": [464, 465] } ], "sources": [ @@ -12787,14 +12875,14 @@ { "type": "reflection", "declaration": { - "id": 470, + "id": 471, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 473, "name": "options", "kind": 1024, "kindString": "Property", @@ -12811,14 +12899,14 @@ "type": { "type": "reflection", "declaration": { - "id": 473, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 476, + "id": 477, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12841,7 +12929,7 @@ } }, { - "id": 475, + "id": 476, "name": "data", "kind": 1024, "kindString": "Property", @@ -12865,7 +12953,7 @@ } }, { - "id": 474, + "id": 475, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -12892,7 +12980,7 @@ { "title": "Properties", "kind": 1024, - "children": [476, 475, 474] + "children": [477, 476, 475] } ], "sources": [ @@ -12906,7 +12994,7 @@ } }, { - "id": 471, + "id": 472, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12931,7 +13019,7 @@ { "title": "Properties", "kind": 1024, - "children": [472, 471] + "children": [473, 472] } ], "sources": [ @@ -12947,7 +13035,7 @@ } }, { - "id": 507, + "id": 508, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -12965,14 +13053,14 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 510, "name": "options", "kind": 1024, "kindString": "Property", @@ -12989,14 +13077,14 @@ "type": { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13019,7 +13107,7 @@ } }, { - "id": 511, + "id": 512, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13046,7 +13134,7 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [513, 512] } ], "sources": [ @@ -13064,7 +13152,7 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [510] } ], "sources": [ @@ -13082,14 +13170,14 @@ { "type": "reflection", "declaration": { - "id": 513, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 515, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -13114,7 +13202,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [515] } ], "sources": [ @@ -13129,14 +13217,14 @@ { "type": "reflection", "declaration": { - "id": 515, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 517, "name": "domain", "kind": 1024, "kindString": "Property", @@ -13161,7 +13249,7 @@ { "title": "Properties", "kind": 1024, - "children": [516] + "children": [517] } ], "sources": [ @@ -13179,7 +13267,7 @@ } }, { - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13197,14 +13285,14 @@ { "type": "reflection", "declaration": { - "id": 431, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 432, + "id": 433, "name": "email", "kind": 1024, "kindString": "Property", @@ -13225,7 +13313,7 @@ } }, { - "id": 434, + "id": 435, "name": "options", "kind": 1024, "kindString": "Property", @@ -13242,14 +13330,14 @@ "type": { "type": "reflection", "declaration": { - "id": 435, + "id": 436, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 439, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13272,7 +13360,7 @@ } }, { - "id": 437, + "id": 438, "name": "data", "kind": 1024, "kindString": "Property", @@ -13296,7 +13384,7 @@ } }, { - "id": 436, + "id": 437, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -13323,7 +13411,7 @@ { "title": "Properties", "kind": 1024, - "children": [438, 437, 436] + "children": [439, 438, 437] } ], "sources": [ @@ -13337,7 +13425,7 @@ } }, { - "id": 433, + "id": 434, "name": "password", "kind": 1024, "kindString": "Property", @@ -13362,7 +13450,7 @@ { "title": "Properties", "kind": 1024, - "children": [432, 434, 433] + "children": [433, 435, 434] } ], "sources": [ @@ -13377,14 +13465,14 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 442, + "id": 443, "name": "options", "kind": 1024, "kindString": "Property", @@ -13401,14 +13489,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 444, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 445, + "id": 446, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13431,7 +13519,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "kind": 1024, "kindString": "Property", @@ -13459,7 +13547,7 @@ { "title": "Properties", "kind": 1024, - "children": [445, 444] + "children": [446, 445] } ], "sources": [ @@ -13473,7 +13561,7 @@ } }, { - "id": 441, + "id": 442, "name": "password", "kind": 1024, "kindString": "Property", @@ -13494,7 +13582,7 @@ } }, { - "id": 440, + "id": 441, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13519,7 +13607,7 @@ { "title": "Properties", "kind": 1024, - "children": [442, 441, 440] + "children": [443, 442, 441] } ], "sources": [ @@ -13535,7 +13623,7 @@ } }, { - "id": 705, + "id": 706, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13543,7 +13631,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 903, "character": 12 } ], @@ -13586,7 +13674,7 @@ } }, { - "id": 335, + "id": 336, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -13604,14 +13692,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -13626,14 +13714,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 340, "name": "user", "kind": 1024, "kindString": "Property", @@ -13647,7 +13735,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -13656,7 +13744,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [340] } ], "sources": [ @@ -13670,7 +13758,7 @@ } }, { - "id": 340, + "id": 341, "name": "error", "kind": 1024, "kindString": "Property", @@ -13692,7 +13780,7 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [338, 341] } ], "sources": [ @@ -13707,14 +13795,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 342, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 343, "name": "data", "kind": 1024, "kindString": "Property", @@ -13729,14 +13817,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 345, "name": "user", "kind": 1024, "kindString": "Property", @@ -13758,7 +13846,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [345] } ], "sources": [ @@ -13772,7 +13860,7 @@ } }, { - "id": 345, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -13786,7 +13874,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -13795,7 +13883,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [343, 346] } ], "sources": [ @@ -13811,7 +13899,7 @@ } }, { - "id": 488, + "id": 489, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -13828,19 +13916,19 @@ "types": [ { "type": "reference", - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams" } ] } }, { - "id": 719, + "id": 724, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -13854,14 +13942,60 @@ ], "signatures": [ { - "id": 720, + "id": 725, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 721, + "id": 726, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 732, + "name": "AuthApiError" + } + } + } + ] + }, + { + "id": 721, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 722, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 723, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -13879,52 +14013,6 @@ "targetType": { "type": "reference", "id": 727, - "name": "AuthApiError" - } - } - } - ] - }, - { - "id": 716, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 717, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 718, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 722, "name": "AuthError" } } @@ -13936,26 +14024,26 @@ { "title": "Classes", "kind": 128, - "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74] + "children": [732, 727, 792, 779, 817, 767, 745, 752, 1, 75] }, { "title": "Interfaces", "kind": 256, - "children": [355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489] + "children": [356, 411, 370, 540, 699, 654, 347, 421, 429, 384, 377, 406, 359, 381, 498, 490] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533, 523, - 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284, 326, 477, - 446, 461, 507, 430, 705, 335, 488 + 287, 286, 683, 674, 696, 687, 622, 598, 643, 632, 613, 585, 301, 642, 710, 507, 534, 524, + 543, 557, 544, 564, 529, 518, 288, 707, 581, 578, 565, 570, 573, 506, 314, 717, 285, 327, + 478, 447, 462, 508, 431, 706, 336, 489 ] }, { "title": "Functions", "kind": 64, - "children": [719, 716] + "children": [724, 721] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 1a4fcae7163..e1e43bc04ec 100644 --- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 727, + "id": 732, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 728, + "id": 733, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 729, + "id": 734, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 730, + "id": 735, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 731, + "id": 736, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -59,24 +59,24 @@ ], "type": { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 732, + "id": 737, "name": "status", "kind": 1024, "kindString": "Property", @@ -94,7 +94,7 @@ } }, { - "id": 733, + "id": 738, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -108,7 +108,7 @@ ], "signatures": [ { - "id": 734, + "id": 739, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -116,14 +116,14 @@ "type": { "type": "reflection", "declaration": { - "id": 735, + "id": 740, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 737, + "id": 742, "name": "message", "kind": 1024, "kindString": "Property", @@ -142,7 +142,7 @@ "defaultValue": "..." }, { - "id": 736, + "id": 741, "name": "name", "kind": 1024, "kindString": "Property", @@ -161,7 +161,7 @@ "defaultValue": "..." }, { - "id": 738, + "id": 743, "name": "status", "kind": 1024, "kindString": "Property", @@ -184,7 +184,7 @@ { "title": "Properties", "kind": 1024, - "children": [737, 736, 738] + "children": [742, 741, 743] } ] } @@ -197,17 +197,17 @@ { "title": "Constructors", "kind": 512, - "children": [728] + "children": [733] }, { "title": "Properties", "kind": 1024, - "children": [732] + "children": [737] }, { "title": "Methods", "kind": 2048, - "children": [733] + "children": [738] } ], "sources": [ @@ -220,20 +220,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 722, + "id": 727, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 723, + "id": 728, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -247,14 +247,14 @@ ], "signatures": [ { - "id": 724, + "id": 729, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 725, + "id": 730, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -267,7 +267,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, "overwrites": { @@ -286,7 +286,7 @@ { "title": "Constructors", "kind": 512, - "children": [723] + "children": [728] } ], "sources": [ @@ -307,30 +307,30 @@ "extendedBy": [ { "type": "reference", - "id": 727, + "id": 732, "name": "AuthApiError" }, { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 788, + "id": 793, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -344,14 +344,14 @@ ], "signatures": [ { - "id": 789, + "id": 794, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 790, + "id": 795, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -362,7 +362,7 @@ } }, { - "id": 791, + "id": 796, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -377,14 +377,14 @@ { "type": "reflection", "declaration": { - "id": 792, + "id": 797, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 794, + "id": 799, "name": "code", "kind": 1024, "kindString": "Property", @@ -402,7 +402,7 @@ } }, { - "id": 793, + "id": 798, "name": "error", "kind": 1024, "kindString": "Property", @@ -424,7 +424,7 @@ { "title": "Properties", "kind": 1024, - "children": [794, 793] + "children": [799, 798] } ] } @@ -436,24 +436,24 @@ ], "type": { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 795, + "id": 800, "name": "details", "kind": 1024, "kindString": "Property", @@ -475,14 +475,14 @@ { "type": "reflection", "declaration": { - "id": 796, + "id": 801, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 803, "name": "code", "kind": 1024, "kindString": "Property", @@ -500,7 +500,7 @@ } }, { - "id": 797, + "id": 802, "name": "error", "kind": 1024, "kindString": "Property", @@ -522,7 +522,7 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [803, 802] } ] } @@ -532,7 +532,7 @@ "defaultValue": "null" }, { - "id": 809, + "id": 814, "name": "name", "kind": 1024, "kindString": "Property", @@ -550,12 +550,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 810, + "id": 815, "name": "status", "kind": 1024, "kindString": "Property", @@ -573,12 +573,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 799, + "id": 804, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -592,7 +592,7 @@ ], "signatures": [ { - "id": 800, + "id": 805, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -600,14 +600,14 @@ "type": { "type": "reflection", "declaration": { - "id": 801, + "id": 806, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 805, + "id": 810, "name": "details", "kind": 1024, "kindString": "Property", @@ -629,14 +629,14 @@ { "type": "reflection", "declaration": { - "id": 806, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 813, "name": "code", "kind": 1024, "kindString": "Property", @@ -654,7 +654,7 @@ } }, { - "id": 807, + "id": 812, "name": "error", "kind": 1024, "kindString": "Property", @@ -676,7 +676,7 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807] + "children": [813, 812] } ] } @@ -686,7 +686,7 @@ "defaultValue": "..." }, { - "id": 803, + "id": 808, "name": "message", "kind": 1024, "kindString": "Property", @@ -705,7 +705,7 @@ "defaultValue": "..." }, { - "id": 802, + "id": 807, "name": "name", "kind": 1024, "kindString": "Property", @@ -724,7 +724,7 @@ "defaultValue": "..." }, { - "id": 804, + "id": 809, "name": "status", "kind": 1024, "kindString": "Property", @@ -747,21 +747,21 @@ { "title": "Properties", "kind": 1024, - "children": [805, 803, 802, 804] + "children": [810, 808, 807, 809] } ] } }, "overwrites": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -770,17 +770,17 @@ { "title": "Constructors", "kind": 512, - "children": [788] + "children": [793] }, { "title": "Properties", "kind": 1024, - "children": [795, 809, 810] + "children": [800, 814, 815] }, { "title": "Methods", "kind": 2048, - "children": [799] + "children": [804] } ], "sources": [ @@ -793,20 +793,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 775, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -820,14 +820,14 @@ ], "signatures": [ { - "id": 776, + "id": 781, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 777, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -840,24 +840,24 @@ ], "type": { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 778, + "id": 783, "name": "name", "kind": 1024, "kindString": "Property", @@ -875,12 +875,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 779, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -898,12 +898,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 780, + "id": 785, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -917,7 +917,7 @@ ], "signatures": [ { - "id": 781, + "id": 786, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -925,14 +925,14 @@ "type": { "type": "reflection", "declaration": { - "id": 782, + "id": 787, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 784, + "id": 789, "name": "message", "kind": 1024, "kindString": "Property", @@ -951,7 +951,7 @@ "defaultValue": "..." }, { - "id": 783, + "id": 788, "name": "name", "kind": 1024, "kindString": "Property", @@ -970,7 +970,7 @@ "defaultValue": "..." }, { - "id": 785, + "id": 790, "name": "status", "kind": 1024, "kindString": "Property", @@ -993,21 +993,21 @@ { "title": "Properties", "kind": 1024, - "children": [784, 783, 785] + "children": [789, 788, 790] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1016,17 +1016,17 @@ { "title": "Constructors", "kind": 512, - "children": [775] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [778, 779] + "children": [783, 784] }, { "title": "Methods", "kind": 2048, - "children": [780] + "children": [785] } ], "sources": [ @@ -1039,20 +1039,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 812, + "id": 817, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 813, + "id": 818, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1066,14 +1066,14 @@ ], "signatures": [ { - "id": 814, + "id": 819, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 815, + "id": 820, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1084,7 +1084,7 @@ } }, { - "id": 816, + "id": 821, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1097,24 +1097,24 @@ ], "type": { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 817, + "id": 822, "name": "name", "kind": 1024, "kindString": "Property", @@ -1132,12 +1132,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 818, + "id": 823, "name": "status", "kind": 1024, "kindString": "Property", @@ -1155,12 +1155,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 819, + "id": 824, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1174,7 +1174,7 @@ ], "signatures": [ { - "id": 820, + "id": 825, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1182,14 +1182,14 @@ "type": { "type": "reflection", "declaration": { - "id": 821, + "id": 826, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 823, + "id": 828, "name": "message", "kind": 1024, "kindString": "Property", @@ -1208,7 +1208,7 @@ "defaultValue": "..." }, { - "id": 822, + "id": 827, "name": "name", "kind": 1024, "kindString": "Property", @@ -1227,7 +1227,7 @@ "defaultValue": "..." }, { - "id": 824, + "id": 829, "name": "status", "kind": 1024, "kindString": "Property", @@ -1250,21 +1250,21 @@ { "title": "Properties", "kind": 1024, - "children": [823, 822, 824] + "children": [828, 827, 829] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1273,17 +1273,17 @@ { "title": "Constructors", "kind": 512, - "children": [813] + "children": [818] }, { "title": "Properties", "kind": 1024, - "children": [817, 818] + "children": [822, 823] }, { "title": "Methods", "kind": 2048, - "children": [819] + "children": [824] } ], "sources": [ @@ -1296,20 +1296,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 762, + "id": 767, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 763, + "id": 768, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1323,31 +1323,31 @@ ], "signatures": [ { - "id": 764, + "id": 769, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 749, + "id": 754, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 748, + "id": 753, "name": "CustomAuthError.constructor" } }, { - "id": 765, + "id": 770, "name": "name", "kind": 1024, "kindString": "Property", @@ -1365,12 +1365,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 753, + "id": 758, "name": "CustomAuthError.name" } }, { - "id": 766, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -1388,12 +1388,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 754, + "id": 759, "name": "CustomAuthError.status" } }, { - "id": 767, + "id": 772, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1407,7 +1407,7 @@ ], "signatures": [ { - "id": 768, + "id": 773, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1415,14 +1415,14 @@ "type": { "type": "reflection", "declaration": { - "id": 769, + "id": 774, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 771, + "id": 776, "name": "message", "kind": 1024, "kindString": "Property", @@ -1441,7 +1441,7 @@ "defaultValue": "..." }, { - "id": 770, + "id": 775, "name": "name", "kind": 1024, "kindString": "Property", @@ -1460,7 +1460,7 @@ "defaultValue": "..." }, { - "id": 772, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -1483,21 +1483,21 @@ { "title": "Properties", "kind": 1024, - "children": [771, 770, 772] + "children": [776, 775, 777] } ] } }, "inheritedFrom": { "type": "reference", - "id": 756, + "id": 761, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 755, + "id": 760, "name": "CustomAuthError.toJSON" } } @@ -1506,17 +1506,17 @@ { "title": "Constructors", "kind": 512, - "children": [763] + "children": [768] }, { "title": "Properties", "kind": 1024, - "children": [765, 766] + "children": [770, 771] }, { "title": "Methods", "kind": 2048, - "children": [767] + "children": [772] } ], "sources": [ @@ -1529,20 +1529,20 @@ "extendedTypes": [ { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" } ] }, { - "id": 740, + "id": 745, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 741, + "id": 746, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1556,14 +1556,14 @@ ], "signatures": [ { - "id": 742, + "id": 747, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 743, + "id": 748, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1574,7 +1574,7 @@ } }, { - "id": 744, + "id": 749, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1587,24 +1587,24 @@ ], "type": { "type": "reference", - "id": 740, + "id": 745, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 745, + "id": 750, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1626,12 +1626,12 @@ { "title": "Constructors", "kind": 512, - "children": [741] + "children": [746] }, { "title": "Properties", "kind": 1024, - "children": [745] + "children": [750] } ], "sources": [ @@ -1644,20 +1644,20 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] }, { - "id": 747, + "id": 752, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 748, + "id": 753, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1671,14 +1671,14 @@ ], "signatures": [ { - "id": 749, + "id": 754, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 750, + "id": 755, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1689,7 +1689,7 @@ } }, { - "id": 751, + "id": 756, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -1700,7 +1700,7 @@ } }, { - "id": 752, + "id": 757, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1713,24 +1713,24 @@ ], "type": { "type": "reference", - "id": 747, + "id": 752, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 724, + "id": 729, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 723, + "id": 728, "name": "AuthError.constructor" } }, { - "id": 753, + "id": 758, "name": "name", "kind": 1024, "kindString": "Property", @@ -1752,7 +1752,7 @@ } }, { - "id": 754, + "id": 759, "name": "status", "kind": 1024, "kindString": "Property", @@ -1770,7 +1770,7 @@ } }, { - "id": 755, + "id": 760, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1784,7 +1784,7 @@ ], "signatures": [ { - "id": 756, + "id": 761, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1792,14 +1792,14 @@ "type": { "type": "reflection", "declaration": { - "id": 757, + "id": 762, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 759, + "id": 764, "name": "message", "kind": 1024, "kindString": "Property", @@ -1818,7 +1818,7 @@ "defaultValue": "..." }, { - "id": 758, + "id": 763, "name": "name", "kind": 1024, "kindString": "Property", @@ -1837,7 +1837,7 @@ "defaultValue": "..." }, { - "id": 760, + "id": 765, "name": "status", "kind": 1024, "kindString": "Property", @@ -1860,7 +1860,7 @@ { "title": "Properties", "kind": 1024, - "children": [759, 758, 760] + "children": [764, 763, 765] } ] } @@ -1873,17 +1873,17 @@ { "title": "Constructors", "kind": 512, - "children": [748] + "children": [753] }, { "title": "Properties", "kind": 1024, - "children": [753, 754] + "children": [758, 759] }, { "title": "Methods", "kind": 2048, - "children": [755] + "children": [760] } ], "sources": [ @@ -1896,29 +1896,29 @@ "extendedTypes": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 762, + "id": 767, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 774, + "id": 779, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 787, + "id": 792, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 812, + "id": 817, "name": "AuthRetryableFetchError" } ] @@ -1939,7 +1939,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -1977,7 +1977,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 36, + "line": 37, "character": 4 } ], @@ -2067,7 +2067,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 33, + "line": 34, "character": 4 } ], @@ -2114,7 +2114,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 32, + "line": 33, "character": 4 } ], @@ -2155,13 +2155,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 19, + "line": 20, "character": 2 } ], "type": { "type": "reference", - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi" } }, @@ -2174,7 +2174,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 138, + "line": 139, "character": 8 } ], @@ -2197,17 +2197,17 @@ "flags": {}, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes", "dereferenced": { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -2231,7 +2231,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -2255,7 +2255,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -2279,12 +2279,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -2307,12 +2307,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -2336,7 +2336,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -2359,12 +2359,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -2387,12 +2387,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -2416,7 +2416,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -2444,7 +2444,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -2457,7 +2457,7 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] @@ -2470,7 +2470,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2482,7 +2482,7 @@ ] }, { - "id": 65, + "id": 66, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -2490,13 +2490,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 228, + "line": 234, "character": 8 } ], "signatures": [ { - "id": 66, + "id": 67, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -2506,7 +2506,7 @@ }, "parameters": [ { - "id": 67, + "id": 68, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2525,7 +2525,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -2545,7 +2545,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 104, + "line": 105, "character": 8 } ], @@ -2568,10 +2568,10 @@ "flags": {}, "type": { "type": "reference", - "id": 542, + "id": 543, "name": "GenerateLinkParams", "dereferenced": { - "id": 542, + "id": 543, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2587,7 +2587,7 @@ "type": "union", "types": [ { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2602,14 +2602,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -2627,7 +2627,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -2646,7 +2646,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -2669,7 +2669,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -2687,7 +2687,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -2709,7 +2709,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -2723,7 +2723,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2738,14 +2738,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -2766,7 +2766,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -2785,7 +2785,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -2808,7 +2808,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -2839,7 +2839,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -2853,7 +2853,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2868,14 +2868,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -2896,7 +2896,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -2915,7 +2915,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -2929,7 +2929,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -2951,7 +2951,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -2965,7 +2965,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2980,14 +2980,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -3008,7 +3008,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -3029,7 +3029,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -3048,7 +3048,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -3062,7 +3062,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -3093,7 +3093,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -3117,7 +3117,7 @@ "typeArguments": [ { "type": "reference", - "id": 543, + "id": 544, "name": "GenerateLinkResponse" } ], @@ -3129,7 +3129,7 @@ ] }, { - "id": 58, + "id": 59, "name": "getUserById", "kind": 2048, "kindString": "Method", @@ -3137,13 +3137,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 183, + "line": 189, "character": 8 } ], "signatures": [ { - "id": 59, + "id": 60, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -3153,7 +3153,7 @@ }, "parameters": [ { - "id": 60, + "id": 61, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -3172,7 +3172,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -3192,7 +3192,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 74, + "line": 75, "character": 8 } ], @@ -3250,7 +3250,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 78, + "line": 79, "character": 6 } ], @@ -3273,7 +3273,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 77, + "line": 78, "character": 6 } ], @@ -3300,7 +3300,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -3320,7 +3320,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 159, + "line": 161, "character": 8 } ], @@ -3333,8 +3333,113 @@ "flags": {}, "comment": { "shortText": "Get a list of users.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "text": "This function should only be called on a server. Never expose your `service_role` key in the browser." }, + "parameters": [ + { + "id": 48, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object which supports `page` and `per_page` as numbers, to alter the paginated results.\n" + }, + "type": { + "type": "reference", + "id": 717, + "name": "PageParams", + "dereferenced": { + "id": 717, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 718, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 919, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 720, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 921, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [719, 720] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 25 + } + ] + } + } + } + } + } + ], "type": { "type": "reference", "typeArguments": [ @@ -3344,14 +3449,14 @@ { "type": "reflection", "declaration": { - "id": 48, + "id": 49, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 49, + "id": 50, "name": "data", "kind": 1024, "kindString": "Property", @@ -3359,21 +3464,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 6 + "line": 163, + "character": 15 } ], "type": { "type": "reflection", "declaration": { - "id": 50, + "id": 51, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 51, + "id": 52, "name": "users", "kind": 1024, "kindString": "Property", @@ -3381,15 +3486,15 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 14 + "line": 163, + "character": 23 } ], "type": { "type": "array", "elementType": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -3399,14 +3504,14 @@ { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ] } } }, { - "id": 52, + "id": 53, "name": "error", "kind": 1024, "kindString": "Property", @@ -3414,8 +3519,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 31 + "line": 163, + "character": 40 } ], "type": { @@ -3428,7 +3533,7 @@ { "title": "Properties", "kind": 1024, - "children": [49, 52] + "children": [50, 53] } ] } @@ -3436,14 +3541,14 @@ { "type": "reflection", "declaration": { - "id": 53, + "id": 54, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 54, + "id": 55, "name": "data", "kind": 1024, "kindString": "Property", @@ -3451,21 +3556,21 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 49 + "line": 163, + "character": 58 } ], "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 56, + "id": 57, "name": "users", "kind": 1024, "kindString": "Property", @@ -3473,8 +3578,8 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 57 + "line": 163, + "character": 66 } ], "type": { @@ -3486,14 +3591,14 @@ { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ] } } }, { - "id": 57, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -3501,13 +3606,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 160, - "character": 70 + "line": 163, + "character": 79 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -3516,7 +3621,7 @@ { "title": "Properties", "kind": 1024, - "children": [54, 57] + "children": [55, 58] } ] } @@ -3540,7 +3645,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 8 } ], @@ -3591,7 +3696,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 40 } ], @@ -3609,7 +3714,7 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 51, + "line": 52, "character": 52 } ], @@ -3622,7 +3727,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -3647,7 +3752,7 @@ ] }, { - "id": 61, + "id": 62, "name": "updateUserById", "kind": 2048, "kindString": "Method", @@ -3655,13 +3760,13 @@ "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 205, + "line": 211, "character": 8 } ], "signatures": [ { - "id": 62, + "id": 63, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -3671,7 +3776,7 @@ }, "parameters": [ { - "id": 63, + "id": 64, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -3682,7 +3787,7 @@ } }, { - "id": 64, + "id": 65, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3692,17 +3797,17 @@ }, "type": { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes", "dereferenced": { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -3726,7 +3831,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -3750,7 +3855,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -3774,12 +3879,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -3802,12 +3907,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -3831,7 +3936,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -3854,12 +3959,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -3882,12 +3987,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -3911,7 +4016,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -3939,7 +4044,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -3952,7 +4057,7 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] @@ -3965,7 +4070,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -3991,26 +4096,26 @@ { "title": "Methods", "kind": 2048, - "children": [43, 65, 40, 58, 33, 46, 27, 61] + "children": [43, 66, 40, 59, 33, 46, 27, 62] } ], "sources": [ { "fileName": "src/GoTrueAdminApi.ts", - "line": 17, + "line": 18, "character": 21 } ] }, { - "id": 74, + "id": 75, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 75, + "id": 76, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4024,7 +4129,7 @@ ], "signatures": [ { - "id": 76, + "id": 77, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -4034,17 +4139,17 @@ }, "parameters": [ { - "id": 77, + "id": 78, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "dereferenced": { - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -4059,14 +4164,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 297, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4086,7 +4191,7 @@ } }, { - "id": 295, + "id": 296, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -4106,7 +4211,7 @@ } }, { - "id": 299, + "id": 300, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -4126,7 +4231,7 @@ } }, { - "id": 290, + "id": 291, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4143,7 +4248,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4156,14 +4261,14 @@ } ], "indexSignature": { - "id": 292, + "id": 293, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 293, + "id": 294, "name": "key", "kind": 32768, "flags": {}, @@ -4182,7 +4287,7 @@ } }, { - "id": 297, + "id": 298, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4202,7 +4307,7 @@ } }, { - "id": 298, + "id": 299, "name": "storage", "kind": 1024, "kindString": "Property", @@ -4218,12 +4323,12 @@ ], "type": { "type": "reference", - "id": 705, + "id": 706, "name": "SupportedStorage" } }, { - "id": 294, + "id": 295, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -4243,7 +4348,7 @@ } }, { - "id": 289, + "id": 290, "name": "url", "kind": 1024, "kindString": "Property", @@ -4267,7 +4372,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 295, 299, 290, 297, 298, 294, 289] + "children": [297, 296, 300, 291, 298, 299, 295, 290] } ], "sources": [ @@ -4285,14 +4390,14 @@ ], "type": { "type": "reference", - "id": 74, + "id": 75, "name": "default" } } ] }, { - "id": 78, + "id": 79, "name": "admin", "kind": 1024, "kindString": "Property", @@ -4314,7 +4419,7 @@ } }, { - "id": 79, + "id": 80, "name": "mfa", "kind": 1024, "kindString": "Property", @@ -4331,12 +4436,12 @@ ], "type": { "type": "reference", - "id": 653, + "id": 654, "name": "GoTrueMFAApi" } }, { - "id": 123, + "id": 124, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -4350,7 +4455,7 @@ ], "signatures": [ { - "id": 124, + "id": 125, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -4367,14 +4472,14 @@ { "type": "reflection", "declaration": { - "id": 125, + "id": 126, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 126, + "id": 127, "name": "data", "kind": 1024, "kindString": "Property", @@ -4389,14 +4494,14 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 128, + "id": 129, "name": "session", "kind": 1024, "kindString": "Property", @@ -4410,7 +4515,7 @@ ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -4419,14 +4524,14 @@ { "title": "Properties", "kind": 1024, - "children": [128] + "children": [129] } ] } } }, { - "id": 129, + "id": 130, "name": "error", "kind": 1024, "kindString": "Property", @@ -4448,7 +4553,7 @@ { "title": "Properties", "kind": 1024, - "children": [126, 129] + "children": [127, 130] } ] } @@ -4456,14 +4561,14 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 132, "name": "data", "kind": 1024, "kindString": "Property", @@ -4478,14 +4583,14 @@ "type": { "type": "reflection", "declaration": { - "id": 132, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 133, + "id": 134, "name": "session", "kind": 1024, "kindString": "Property", @@ -4507,14 +4612,14 @@ { "title": "Properties", "kind": 1024, - "children": [133] + "children": [134] } ] } } }, { - "id": 134, + "id": 135, "name": "error", "kind": 1024, "kindString": "Property", @@ -4528,7 +4633,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -4537,7 +4642,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 134] + "children": [132, 135] } ] } @@ -4545,14 +4650,14 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 137, "name": "data", "kind": 1024, "kindString": "Property", @@ -4567,14 +4672,14 @@ "type": { "type": "reflection", "declaration": { - "id": 137, + "id": 138, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 138, + "id": 139, "name": "session", "kind": 1024, "kindString": "Property", @@ -4596,14 +4701,14 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [139] } ] } } }, { - "id": 139, + "id": 140, "name": "error", "kind": 1024, "kindString": "Property", @@ -4625,7 +4730,7 @@ { "title": "Properties", "kind": 1024, - "children": [136, 139] + "children": [137, 140] } ] } @@ -4641,7 +4746,7 @@ ] }, { - "id": 140, + "id": 141, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -4655,7 +4760,7 @@ ], "signatures": [ { - "id": 141, + "id": 142, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -4665,7 +4770,7 @@ }, "parameters": [ { - "id": 142, + "id": 143, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -4686,7 +4791,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -4698,7 +4803,7 @@ ] }, { - "id": 101, + "id": 102, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -4712,7 +4817,7 @@ ], "signatures": [ { - "id": 102, + "id": 103, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -4725,7 +4830,7 @@ "typeArguments": [ { "type": "reference", - "id": 706, + "id": 707, "name": "InitializeResult" } ], @@ -4737,7 +4842,7 @@ ] }, { - "id": 184, + "id": 185, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -4751,7 +4856,7 @@ ], "signatures": [ { - "id": 185, + "id": 186, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -4761,7 +4866,7 @@ }, "parameters": [ { - "id": 186, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -4772,33 +4877,33 @@ "type": { "type": "reflection", "declaration": { - "id": 187, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 188, + "id": 189, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 189, + "id": 190, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent" } }, { - "id": 190, + "id": 191, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -4812,7 +4917,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -4832,14 +4937,14 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 192, + "id": 193, "name": "data", "kind": 1024, "kindString": "Property", @@ -4854,14 +4959,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -4875,7 +4980,7 @@ ], "type": { "type": "reference", - "id": 420, + "id": 421, "name": "Subscription" } } @@ -4884,7 +4989,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [195] } ] } @@ -4895,7 +5000,7 @@ { "title": "Properties", "kind": 1024, - "children": [192] + "children": [193] } ] } @@ -4904,7 +5009,7 @@ ] }, { - "id": 159, + "id": 160, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -4918,7 +5023,7 @@ ], "signatures": [ { - "id": 160, + "id": 161, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -4928,7 +5033,7 @@ }, "parameters": [ { - "id": 161, + "id": 162, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -4941,14 +5046,14 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 163, + "id": 164, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -4970,7 +5075,7 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [164] } ] } @@ -4982,7 +5087,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -4994,7 +5099,7 @@ ] }, { - "id": 195, + "id": 196, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -5008,7 +5113,7 @@ ], "signatures": [ { - "id": 196, + "id": 197, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -5018,7 +5123,7 @@ }, "parameters": [ { - "id": 197, + "id": 198, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -5032,7 +5137,7 @@ } }, { - "id": 198, + "id": 199, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5040,14 +5145,14 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 201, + "id": 202, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5070,7 +5175,7 @@ } }, { - "id": 200, + "id": 201, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5097,7 +5202,7 @@ { "title": "Properties", "kind": 1024, - "children": [201, 200] + "children": [202, 201] } ] } @@ -5114,14 +5219,14 @@ { "type": "reflection", "declaration": { - "id": 202, + "id": 203, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 204, "name": "data", "kind": 1024, "kindString": "Property", @@ -5136,7 +5241,7 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5145,7 +5250,7 @@ } }, { - "id": 205, + "id": 206, "name": "error", "kind": 1024, "kindString": "Property", @@ -5167,7 +5272,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 205] + "children": [204, 206] } ] } @@ -5175,14 +5280,14 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 207, + "id": 208, "name": "data", "kind": 1024, "kindString": "Property", @@ -5200,7 +5305,7 @@ } }, { - "id": 208, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -5214,7 +5319,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -5223,7 +5328,7 @@ { "title": "Properties", "kind": 1024, - "children": [207, 208] + "children": [208, 209] } ] } @@ -5239,7 +5344,7 @@ ] }, { - "id": 153, + "id": 154, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -5253,7 +5358,7 @@ ], "signatures": [ { - "id": 154, + "id": 155, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -5263,7 +5368,7 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5274,14 +5379,14 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 157, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 157, + "id": 158, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -5299,7 +5404,7 @@ } }, { - "id": 158, + "id": 159, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5321,7 +5426,7 @@ { "title": "Properties", "kind": 1024, - "children": [157, 158] + "children": [158, 159] } ] } @@ -5333,7 +5438,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -5345,7 +5450,7 @@ ] }, { - "id": 111, + "id": 112, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -5359,7 +5464,7 @@ ], "signatures": [ { - "id": 112, + "id": 113, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -5369,17 +5474,17 @@ }, "parameters": [ { - "id": 113, + "id": 114, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -5394,14 +5499,14 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 480, + "id": 481, "name": "options", "kind": 1024, "kindString": "Property", @@ -5418,14 +5523,14 @@ "type": { "type": "reflection", "declaration": { - "id": 481, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 484, + "id": 485, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -5445,7 +5550,7 @@ "type": { "type": "reflection", "declaration": { - "id": 485, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5458,14 +5563,14 @@ } ], "indexSignature": { - "id": 486, + "id": 487, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 487, + "id": 488, "name": "key", "kind": 32768, "flags": {}, @@ -5484,7 +5589,7 @@ } }, { - "id": 482, + "id": 483, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5507,7 +5612,7 @@ } }, { - "id": 483, + "id": 484, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -5534,7 +5639,7 @@ { "title": "Properties", "kind": 1024, - "children": [484, 482, 483] + "children": [485, 483, 484] } ], "sources": [ @@ -5548,7 +5653,7 @@ } }, { - "id": 479, + "id": 480, "name": "provider", "kind": 1024, "kindString": "Property", @@ -5565,7 +5670,7 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } } @@ -5574,7 +5679,7 @@ { "title": "Properties", "kind": 1024, - "children": [480, 479] + "children": [481, 480] } ], "sources": [ @@ -5595,7 +5700,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 314, "name": "OAuthResponse" } ], @@ -5607,7 +5712,7 @@ ] }, { - "id": 114, + "id": 115, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -5621,7 +5726,7 @@ ], "signatures": [ { - "id": 115, + "id": 116, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -5631,17 +5736,17 @@ }, "parameters": [ { - "id": 116, + "id": 117, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -5659,14 +5764,14 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 463, + "id": 464, "name": "email", "kind": 1024, "kindString": "Property", @@ -5687,7 +5792,7 @@ } }, { - "id": 464, + "id": 465, "name": "options", "kind": 1024, "kindString": "Property", @@ -5704,14 +5809,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 466, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 470, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5734,7 +5839,7 @@ } }, { - "id": 468, + "id": 469, "name": "data", "kind": 1024, "kindString": "Property", @@ -5758,7 +5863,7 @@ } }, { - "id": 466, + "id": 467, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -5781,7 +5886,7 @@ } }, { - "id": 467, + "id": 468, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -5808,7 +5913,7 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468, 466, 467] + "children": [470, 469, 467, 468] } ], "sources": [ @@ -5826,7 +5931,7 @@ { "title": "Properties", "kind": 1024, - "children": [463, 464] + "children": [464, 465] } ], "sources": [ @@ -5841,14 +5946,14 @@ { "type": "reflection", "declaration": { - "id": 470, + "id": 471, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 473, "name": "options", "kind": 1024, "kindString": "Property", @@ -5865,14 +5970,14 @@ "type": { "type": "reflection", "declaration": { - "id": 473, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 476, + "id": 477, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5895,7 +6000,7 @@ } }, { - "id": 475, + "id": 476, "name": "data", "kind": 1024, "kindString": "Property", @@ -5919,7 +6024,7 @@ } }, { - "id": 474, + "id": 475, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -5946,7 +6051,7 @@ { "title": "Properties", "kind": 1024, - "children": [476, 475, 474] + "children": [477, 476, 475] } ], "sources": [ @@ -5960,7 +6065,7 @@ } }, { - "id": 471, + "id": 472, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5985,7 +6090,7 @@ { "title": "Properties", "kind": 1024, - "children": [472, 471] + "children": [473, 472] } ], "sources": [ @@ -6008,7 +6113,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -6020,7 +6125,7 @@ ] }, { - "id": 108, + "id": 109, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -6034,7 +6139,7 @@ ], "signatures": [ { - "id": 109, + "id": 110, "name": "signInWithPassword", "kind": 4096, "kindString": "Call signature", @@ -6044,17 +6149,17 @@ }, "parameters": [ { - "id": 110, + "id": 111, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -6072,14 +6177,14 @@ { "type": "reflection", "declaration": { - "id": 447, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 448, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -6100,7 +6205,7 @@ } }, { - "id": 450, + "id": 451, "name": "options", "kind": 1024, "kindString": "Property", @@ -6117,14 +6222,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 453, + "id": 454, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -6147,7 +6252,7 @@ } }, { - "id": 452, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -6175,7 +6280,7 @@ { "title": "Properties", "kind": 1024, - "children": [453, 452] + "children": [454, 453] } ], "sources": [ @@ -6189,7 +6294,7 @@ } }, { - "id": 449, + "id": 450, "name": "password", "kind": 1024, "kindString": "Property", @@ -6214,7 +6319,7 @@ { "title": "Properties", "kind": 1024, - "children": [448, 450, 449] + "children": [449, 451, 450] } ], "sources": [ @@ -6229,14 +6334,14 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 455, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 458, "name": "options", "kind": 1024, "kindString": "Property", @@ -6253,14 +6358,14 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 459, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 460, + "id": 461, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -6283,7 +6388,7 @@ } }, { - "id": 459, + "id": 460, "name": "data", "kind": 1024, "kindString": "Property", @@ -6311,7 +6416,7 @@ { "title": "Properties", "kind": 1024, - "children": [460, 459] + "children": [461, 460] } ], "sources": [ @@ -6325,7 +6430,7 @@ } }, { - "id": 456, + "id": 457, "name": "password", "kind": 1024, "kindString": "Property", @@ -6346,7 +6451,7 @@ } }, { - "id": 455, + "id": 456, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6371,7 +6476,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 456, 455] + "children": [458, 457, 456] } ], "sources": [ @@ -6394,7 +6499,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -6406,7 +6511,7 @@ ] }, { - "id": 120, + "id": 121, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -6420,7 +6525,7 @@ ], "signatures": [ { - "id": 121, + "id": 122, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -6437,17 +6542,17 @@ }, "parameters": [ { - "id": 122, + "id": 123, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 507, + "id": 508, "name": "SignInWithSSO", "dereferenced": { - "id": 507, + "id": 508, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -6465,14 +6570,14 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 510, "name": "options", "kind": 1024, "kindString": "Property", @@ -6489,14 +6594,14 @@ "type": { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -6519,7 +6624,7 @@ } }, { - "id": 511, + "id": 512, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -6546,7 +6651,7 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [513, 512] } ], "sources": [ @@ -6564,7 +6669,7 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [510] } ], "sources": [ @@ -6582,14 +6687,14 @@ { "type": "reflection", "declaration": { - "id": 513, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 515, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -6614,7 +6719,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [515] } ], "sources": [ @@ -6629,14 +6734,14 @@ { "type": "reflection", "declaration": { - "id": 515, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 517, "name": "domain", "kind": 1024, "kindString": "Property", @@ -6661,7 +6766,7 @@ { "title": "Properties", "kind": 1024, - "children": [516] + "children": [517] } ], "sources": [ @@ -6686,7 +6791,7 @@ "typeArguments": [ { "type": "reference", - "id": 326, + "id": 327, "name": "SSOResponse" } ], @@ -6698,7 +6803,7 @@ ] }, { - "id": 180, + "id": 181, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -6712,7 +6817,7 @@ ], "signatures": [ { - "id": 181, + "id": 182, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -6727,14 +6832,14 @@ { "type": "reflection", "declaration": { - "id": 182, + "id": 183, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 183, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -6755,7 +6860,7 @@ }, { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } ] @@ -6766,7 +6871,7 @@ { "title": "Properties", "kind": 1024, - "children": [183] + "children": [184] } ] } @@ -6780,7 +6885,7 @@ ] }, { - "id": 105, + "id": 106, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -6794,7 +6899,7 @@ ], "signatures": [ { - "id": 106, + "id": 107, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -6805,17 +6910,17 @@ }, "parameters": [ { - "id": 107, + "id": 108, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -6833,14 +6938,14 @@ { "type": "reflection", "declaration": { - "id": 431, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 432, + "id": 433, "name": "email", "kind": 1024, "kindString": "Property", @@ -6861,7 +6966,7 @@ } }, { - "id": 434, + "id": 435, "name": "options", "kind": 1024, "kindString": "Property", @@ -6878,14 +6983,14 @@ "type": { "type": "reflection", "declaration": { - "id": 435, + "id": 436, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 439, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -6908,7 +7013,7 @@ } }, { - "id": 437, + "id": 438, "name": "data", "kind": 1024, "kindString": "Property", @@ -6932,7 +7037,7 @@ } }, { - "id": 436, + "id": 437, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -6959,7 +7064,7 @@ { "title": "Properties", "kind": 1024, - "children": [438, 437, 436] + "children": [439, 438, 437] } ], "sources": [ @@ -6973,7 +7078,7 @@ } }, { - "id": 433, + "id": 434, "name": "password", "kind": 1024, "kindString": "Property", @@ -6998,7 +7103,7 @@ { "title": "Properties", "kind": 1024, - "children": [432, 434, 433] + "children": [433, 435, 434] } ], "sources": [ @@ -7013,14 +7118,14 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 442, + "id": 443, "name": "options", "kind": 1024, "kindString": "Property", @@ -7037,14 +7142,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 444, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 445, + "id": 446, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7067,7 +7172,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "kind": 1024, "kindString": "Property", @@ -7095,7 +7200,7 @@ { "title": "Properties", "kind": 1024, - "children": [445, 444] + "children": [446, 445] } ], "sources": [ @@ -7109,7 +7214,7 @@ } }, { - "id": 441, + "id": 442, "name": "password", "kind": 1024, "kindString": "Property", @@ -7130,7 +7235,7 @@ } }, { - "id": 440, + "id": 441, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7155,7 +7260,7 @@ { "title": "Properties", "kind": 1024, - "children": [442, 441, 440] + "children": [443, 442, 441] } ], "sources": [ @@ -7178,7 +7283,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -7190,7 +7295,7 @@ ] }, { - "id": 143, + "id": 144, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -7204,7 +7309,7 @@ ], "signatures": [ { - "id": 144, + "id": 145, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -7214,24 +7319,24 @@ }, "parameters": [ { - "id": 145, + "id": 146, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes", "dereferenced": { - "id": 405, + "id": 406, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 409, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -7255,7 +7360,7 @@ } }, { - "id": 406, + "id": 407, "name": "email", "kind": 1024, "kindString": "Property", @@ -7278,7 +7383,7 @@ } }, { - "id": 408, + "id": 409, "name": "password", "kind": 1024, "kindString": "Property", @@ -7301,7 +7406,7 @@ } }, { - "id": 407, + "id": 408, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7328,7 +7433,7 @@ { "title": "Properties", "kind": 1024, - "children": [409, 406, 408, 407] + "children": [410, 407, 409, 408] } ], "sources": [ @@ -7341,7 +7446,7 @@ "extendedBy": [ { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } ] @@ -7354,7 +7459,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 336, "name": "UserResponse" } ], @@ -7366,7 +7471,7 @@ ] }, { - "id": 117, + "id": 118, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -7380,7 +7485,7 @@ ], "signatures": [ { - "id": 118, + "id": 119, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -7390,17 +7495,17 @@ }, "parameters": [ { - "id": 119, + "id": 120, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 488, + "id": 489, "name": "VerifyOtpParams", "dereferenced": { - "id": 488, + "id": 489, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -7416,14 +7521,14 @@ "type": "union", "types": [ { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -7440,14 +7545,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7476,7 +7581,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7503,14 +7608,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7531,7 +7636,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -7552,7 +7657,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -7569,7 +7674,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -7578,7 +7683,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -7590,14 +7695,14 @@ ] }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -7618,7 +7723,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -7635,14 +7740,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7665,7 +7770,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7692,14 +7797,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -7720,7 +7825,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -7737,7 +7842,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -7746,7 +7851,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -7768,7 +7873,7 @@ "typeArguments": [ { "type": "reference", - "id": 300, + "id": 301, "name": "AuthResponse" } ], @@ -7784,17 +7889,17 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [76] }, { "title": "Properties", "kind": 1024, - "children": [78, 79] + "children": [79, 80] }, { "title": "Methods", "kind": 2048, - "children": [123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117] + "children": [124, 141, 102, 185, 160, 196, 154, 112, 115, 109, 121, 181, 106, 144, 118] } ], "sources": [ @@ -7806,7 +7911,7 @@ ] }, { - "id": 355, + "id": 356, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -7823,7 +7928,7 @@ }, "children": [ { - "id": 356, + "id": 357, "name": "method", "kind": 1024, "kindString": "Property", @@ -7844,7 +7949,7 @@ } }, { - "id": 357, + "id": 358, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -7869,7 +7974,7 @@ { "title": "Properties", "kind": 1024, - "children": [356, 357] + "children": [357, 358] } ], "sources": [ @@ -7881,14 +7986,14 @@ ] }, { - "id": 410, + "id": 411, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 412, + "id": 413, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7912,7 +8017,7 @@ } }, { - "id": 415, + "id": 416, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7936,7 +8041,7 @@ } }, { - "id": 419, + "id": 420, "name": "data", "kind": 1024, "kindString": "Property", @@ -7960,12 +8065,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 410, "name": "UserAttributes.data" } }, { - "id": 416, + "id": 417, "name": "email", "kind": 1024, "kindString": "Property", @@ -7988,12 +8093,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 406, + "id": 407, "name": "UserAttributes.email" } }, { - "id": 413, + "id": 414, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8017,7 +8122,7 @@ } }, { - "id": 418, + "id": 419, "name": "password", "kind": 1024, "kindString": "Property", @@ -8040,12 +8145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 408, + "id": 409, "name": "UserAttributes.password" } }, { - "id": 417, + "id": 418, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8068,12 +8173,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 407, + "id": 408, "name": "UserAttributes.phone" } }, { - "id": 414, + "id": 415, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -8097,7 +8202,7 @@ } }, { - "id": 411, + "id": 412, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -8125,7 +8230,7 @@ { "title": "Properties", "kind": 1024, - "children": [412, 415, 419, 416, 413, 418, 417, 414, 411] + "children": [413, 416, 420, 417, 414, 419, 418, 415, 412] } ], "sources": [ @@ -8138,13 +8243,13 @@ "extendedTypes": [ { "type": "reference", - "id": 405, + "id": 406, "name": "UserAttributes" } ] }, { - "id": 369, + "id": 370, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -8168,7 +8273,7 @@ }, "children": [ { - "id": 374, + "id": 375, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -8186,7 +8291,7 @@ } }, { - "id": 372, + "id": 373, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -8207,7 +8312,7 @@ } }, { - "id": 371, + "id": 372, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -8230,7 +8335,7 @@ } }, { - "id": 370, + "id": 371, "name": "id", "kind": 1024, "kindString": "Property", @@ -8251,7 +8356,7 @@ } }, { - "id": 373, + "id": 374, "name": "status", "kind": 1024, "kindString": "Property", @@ -8281,7 +8386,7 @@ } }, { - "id": 375, + "id": 376, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -8303,7 +8408,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 372, 371, 370, 373, 375] + "children": [375, 373, 372, 371, 374, 376] } ], "sources": [ @@ -8315,14 +8420,14 @@ ] }, { - "id": 539, + "id": 540, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 540, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -8346,7 +8451,7 @@ } }, { - "id": 541, + "id": 542, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -8373,7 +8478,7 @@ { "title": "Properties", "kind": 1024, - "children": [540, 541] + "children": [541, 542] } ], "sources": [ @@ -8385,7 +8490,7 @@ ] }, { - "id": 698, + "id": 699, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -8401,20 +8506,20 @@ }, "children": [ { - "id": 702, + "id": 703, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 703, + "id": 704, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.", + "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.", "tags": [ { "tag": "see", @@ -8428,17 +8533,17 @@ }, "parameters": [ { - "id": 704, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -8454,21 +8559,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 855, + "line": 842, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 684, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 685, "name": "id", "kind": 1024, "kindString": "Property", @@ -8479,7 +8584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 857, + "line": 844, "character": 2 } ], @@ -8489,7 +8594,7 @@ } }, { - "id": 685, + "id": 686, "name": "userId", "kind": 1024, "kindString": "Property", @@ -8500,7 +8605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 860, + "line": 847, "character": 2 } ], @@ -8514,13 +8619,13 @@ { "title": "Properties", "kind": 1024, - "children": [684, 685] + "children": [685, 686] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 855, + "line": 842, "character": 45 } ] @@ -8535,7 +8640,7 @@ "typeArguments": [ { "type": "reference", - "id": 673, + "id": 674, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -8547,34 +8652,34 @@ ] }, { - "id": 699, + "id": 700, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 700, + "id": 701, "name": "listFactors", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Lists all factors attached to a user." + "shortText": "Lists all factors associated to a user." }, "parameters": [ { - "id": 701, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 695, + "id": 696, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 695, + "id": 696, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -8590,32 +8695,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 866, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 696, + "id": 697, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 697, + "id": 698, "name": "userId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the user for which to list all MFA factors." + "shortText": "ID of the user." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 881, + "line": 868, "character": 2 } ], @@ -8629,13 +8734,13 @@ { "title": "Properties", "kind": 1024, - "children": [697] + "children": [698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 866, "character": 44 } ] @@ -8650,7 +8755,7 @@ "typeArguments": [ { "type": "reference", - "id": 686, + "id": 687, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -8666,19 +8771,19 @@ { "title": "Methods", "kind": 2048, - "children": [702, 699] + "children": [703, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 876, "character": 17 } ] }, { - "id": 653, + "id": 654, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -8688,34 +8793,34 @@ }, "children": [ { - "id": 657, + "id": 658, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 658, + "id": 659, "name": "challenge", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}." + "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor." }, "parameters": [ { - "id": 659, + "id": 660, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 577, + "id": 578, "name": "MFAChallengeParams", "dereferenced": { - "id": 577, + "id": 578, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -8723,32 +8828,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 578, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 580, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor to be challenged." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 624, "character": 2 } ], @@ -8762,13 +8867,13 @@ { "title": "Properties", "kind": 1024, - "children": [579] + "children": [580] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 33 } ] @@ -8783,7 +8888,7 @@ "typeArguments": [ { "type": "reference", - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse" } ], @@ -8795,40 +8900,34 @@ ] }, { - "id": 666, + "id": 667, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 667, + "id": 668, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n" - } - ] + "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 668, + "id": 669, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -8836,21 +8935,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 584, "name": "code", "kind": 1024, "kindString": "Property", @@ -8861,7 +8960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 628, + "line": 631, "character": 2 } ], @@ -8871,18 +8970,18 @@ } }, { - "id": 582, + "id": 583, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 629, "character": 2 } ], @@ -8896,13 +8995,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [584, 583] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 42 } ] @@ -8917,7 +9016,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -8929,49 +9028,35 @@ ] }, { - "id": 654, + "id": 655, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 655, + "id": 656, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.", - "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#verify}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n" - } - ] + "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.", + "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n" }, "parameters": [ { - "id": 656, + "id": 657, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 564, + "id": 565, "name": "MFAEnrollParams", "dereferenced": { - "id": 564, + "id": 565, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -8986,22 +9071,25 @@ "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 567, "name": "factorType", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 598, + "line": 599, "character": 2 } ], @@ -9011,17 +9099,20 @@ } }, { - "id": 568, + "id": 569, "name": "friendlyName", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Human readable name assigned to the factor." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 603, "character": 2 } ], @@ -9031,17 +9122,20 @@ } }, { - "id": 567, + "id": 568, "name": "issuer", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Domain which the user is enrolled with." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 2 } ], @@ -9055,7 +9149,7 @@ { "title": "Properties", "kind": 1024, - "children": [566, 568, 567] + "children": [567, 569, 568] } ], "sources": [ @@ -9076,7 +9170,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse" } ], @@ -9088,14 +9182,14 @@ ] }, { - "id": 671, + "id": 672, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 672, + "id": 673, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -9109,7 +9203,7 @@ "typeArguments": [ { "type": "reference", - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -9121,14 +9215,14 @@ ] }, { - "id": 669, + "id": 670, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 670, + "id": 671, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -9155,7 +9249,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse" } ], @@ -9167,34 +9261,34 @@ ] }, { - "id": 663, + "id": 664, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 664, + "id": 665, "name": "unenroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level." + "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor." }, "parameters": [ { - "id": 665, + "id": 666, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "dereferenced": { - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -9202,21 +9296,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 571, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 571, + "id": 572, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9227,7 +9321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 608, "character": 2 } ], @@ -9241,13 +9335,13 @@ { "title": "Properties", "kind": 1024, - "children": [571] + "children": [572] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 32 } ] @@ -9262,7 +9356,7 @@ "typeArguments": [ { "type": "reference", - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse" } ], @@ -9274,40 +9368,34 @@ ] }, { - "id": 660, + "id": 661, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 661, + "id": 662, "name": "verify", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n\n" - } - ] + "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app." }, "parameters": [ { - "id": 662, + "id": 663, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 572, + "id": 573, "name": "MFAVerifyParams", "dereferenced": { - "id": 572, + "id": 573, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -9315,48 +9403,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 575, + "id": 576, "name": "challengeId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the challenge being verified." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the challenge being verified. Returned in challenge()." }, "sources": [ { @@ -9371,18 +9438,39 @@ } }, { - "id": 574, + "id": 577, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 613, "character": 2 } ], @@ -9396,13 +9484,13 @@ { "title": "Properties", "kind": 1024, - "children": [575, 576, 574] + "children": [576, 577, 575] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 30 } ] @@ -9417,7 +9505,7 @@ "typeArguments": [ { "type": "reference", - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse" } ], @@ -9433,26 +9521,26 @@ { "title": "Methods", "kind": 2048, - "children": [657, 666, 654, 671, 669, 663, 660] + "children": [658, 667, 655, 672, 670, 664, 661] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 756, + "line": 759, "character": 17 } ] }, { - "id": 346, + "id": 347, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 349, + "id": 350, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -9473,7 +9561,7 @@ } }, { - "id": 352, + "id": 353, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -9496,7 +9584,7 @@ } }, { - "id": 351, + "id": 352, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -9517,7 +9605,7 @@ } }, { - "id": 348, + "id": 349, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -9549,7 +9637,7 @@ } }, { - "id": 347, + "id": 348, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -9581,7 +9669,7 @@ } }, { - "id": 350, + "id": 351, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -9602,7 +9690,7 @@ } }, { - "id": 353, + "id": 354, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -9620,7 +9708,7 @@ } }, { - "id": 354, + "id": 355, "name": "user", "kind": 1024, "kindString": "Property", @@ -9634,7 +9722,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -9643,7 +9731,7 @@ { "title": "Properties", "kind": 1024, - "children": [349, 352, 351, 348, 347, 350, 353, 354] + "children": [350, 353, 352, 349, 348, 351, 354, 355] } ], "sources": [ @@ -9655,14 +9743,14 @@ ] }, { - "id": 420, + "id": 421, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 422, "name": "id", "kind": 1024, "kindString": "Property", @@ -9683,7 +9771,7 @@ } }, { - "id": 422, + "id": 423, "name": "callback", "kind": 2048, "kindString": "Method", @@ -9697,7 +9785,7 @@ ], "signatures": [ { - "id": 423, + "id": 424, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -9707,17 +9795,17 @@ }, "parameters": [ { - "id": 424, + "id": 425, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 286, + "id": 287, "name": "AuthChangeEvent", "dereferenced": { - "id": 286, + "id": 287, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -9757,7 +9845,7 @@ "value": "USER_DELETED" }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -9780,7 +9868,7 @@ } }, { - "id": 425, + "id": 426, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9794,7 +9882,7 @@ }, { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } ] @@ -9809,7 +9897,7 @@ ] }, { - "id": 426, + "id": 427, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -9823,7 +9911,7 @@ ], "signatures": [ { - "id": 427, + "id": 428, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -9843,12 +9931,12 @@ { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] }, { "title": "Methods", "kind": 2048, - "children": [422, 426] + "children": [423, 427] } ], "sources": [ @@ -9860,14 +9948,14 @@ ] }, { - "id": 428, + "id": 429, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 429, + "id": 430, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9889,7 +9977,7 @@ { "title": "Properties", "kind": 1024, - "children": [429] + "children": [430] } ], "sources": [ @@ -9901,14 +9989,14 @@ ] }, { - "id": 383, + "id": 384, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 393, + "id": 394, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -9928,7 +10016,7 @@ } }, { - "id": 385, + "id": 386, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9942,12 +10030,12 @@ ], "type": { "type": "reference", - "id": 376, + "id": 377, "name": "UserAppMetadata" } }, { - "id": 387, + "id": 388, "name": "aud", "kind": 1024, "kindString": "Property", @@ -9965,7 +10053,7 @@ } }, { - "id": 388, + "id": 389, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -9985,7 +10073,7 @@ } }, { - "id": 397, + "id": 398, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -10005,7 +10093,7 @@ } }, { - "id": 396, + "id": 397, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -10023,7 +10111,7 @@ } }, { - "id": 394, + "id": 395, "name": "email", "kind": 1024, "kindString": "Property", @@ -10043,7 +10131,7 @@ } }, { - "id": 390, + "id": 391, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -10063,7 +10151,7 @@ } }, { - "id": 398, + "id": 399, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -10083,7 +10171,7 @@ } }, { - "id": 404, + "id": 405, "name": "factors", "kind": 1024, "kindString": "Property", @@ -10101,13 +10189,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } }, { - "id": 384, + "id": 385, "name": "id", "kind": 1024, "kindString": "Property", @@ -10125,7 +10213,7 @@ } }, { - "id": 403, + "id": 404, "name": "identities", "kind": 1024, "kindString": "Property", @@ -10143,13 +10231,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 358, + "id": 359, "name": "UserIdentity" } } }, { - "id": 392, + "id": 393, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -10169,7 +10257,7 @@ } }, { - "id": 400, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -10189,7 +10277,7 @@ } }, { - "id": 391, + "id": 392, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -10209,7 +10297,7 @@ } }, { - "id": 395, + "id": 396, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10229,7 +10317,7 @@ } }, { - "id": 399, + "id": 400, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -10249,7 +10337,7 @@ } }, { - "id": 389, + "id": 390, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -10269,7 +10357,7 @@ } }, { - "id": 401, + "id": 402, "name": "role", "kind": 1024, "kindString": "Property", @@ -10289,7 +10377,7 @@ } }, { - "id": 402, + "id": 403, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -10309,7 +10397,7 @@ } }, { - "id": 386, + "id": 387, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -10323,7 +10411,7 @@ ], "type": { "type": "reference", - "id": 380, + "id": 381, "name": "UserMetadata" } } @@ -10333,8 +10421,8 @@ "title": "Properties", "kind": 1024, "children": [ - 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399, - 389, 401, 402, 386 + 394, 386, 388, 389, 398, 397, 395, 391, 399, 405, 385, 404, 393, 401, 392, 396, 400, + 390, 402, 403, 387 ] } ], @@ -10347,14 +10435,14 @@ ] }, { - "id": 376, + "id": 377, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 377, + "id": 378, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10378,7 +10466,7 @@ { "title": "Properties", "kind": 1024, - "children": [377] + "children": [378] } ], "sources": [ @@ -10389,14 +10477,14 @@ } ], "indexSignature": { - "id": 378, + "id": 379, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 379, + "id": 380, "name": "key", "kind": 32768, "flags": {}, @@ -10413,14 +10501,14 @@ } }, { - "id": 405, + "id": 406, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 409, + "id": 410, "name": "data", "kind": 1024, "kindString": "Property", @@ -10444,7 +10532,7 @@ } }, { - "id": 406, + "id": 407, "name": "email", "kind": 1024, "kindString": "Property", @@ -10467,7 +10555,7 @@ } }, { - "id": 408, + "id": 409, "name": "password", "kind": 1024, "kindString": "Property", @@ -10490,7 +10578,7 @@ } }, { - "id": 407, + "id": 408, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10517,7 +10605,7 @@ { "title": "Properties", "kind": 1024, - "children": [409, 406, 408, 407] + "children": [410, 407, 409, 408] } ], "sources": [ @@ -10530,20 +10618,20 @@ "extendedBy": [ { "type": "reference", - "id": 410, + "id": 411, "name": "AdminUserAttributes" } ] }, { - "id": 358, + "id": 359, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 366, + "id": 367, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -10561,7 +10649,7 @@ } }, { - "id": 359, + "id": 360, "name": "id", "kind": 1024, "kindString": "Property", @@ -10579,7 +10667,7 @@ } }, { - "id": 361, + "id": 362, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -10594,20 +10682,20 @@ "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 363, + "id": 364, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 364, + "id": 365, "name": "key", "kind": 32768, "flags": {}, @@ -10626,7 +10714,7 @@ } }, { - "id": 367, + "id": 368, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -10644,7 +10732,7 @@ } }, { - "id": 365, + "id": 366, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10662,7 +10750,7 @@ } }, { - "id": 368, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -10682,7 +10770,7 @@ } }, { - "id": 360, + "id": 361, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -10704,7 +10792,7 @@ { "title": "Properties", "kind": 1024, - "children": [366, 359, 361, 367, 365, 368, 360] + "children": [367, 360, 362, 368, 366, 369, 361] } ], "sources": [ @@ -10716,7 +10804,7 @@ ] }, { - "id": 380, + "id": 381, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -10729,14 +10817,14 @@ } ], "indexSignature": { - "id": 381, + "id": 382, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 382, + "id": 383, "name": "key", "kind": 32768, "flags": {}, @@ -10753,14 +10841,14 @@ } }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -10781,7 +10869,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -10798,14 +10886,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10828,7 +10916,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10855,14 +10943,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -10883,7 +10971,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -10900,7 +10988,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -10909,7 +10997,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -10921,14 +11009,14 @@ ] }, { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -10945,14 +11033,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10981,7 +11069,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11008,14 +11096,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11036,7 +11124,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -11057,7 +11145,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -11074,7 +11162,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -11083,7 +11171,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -11095,7 +11183,7 @@ ] }, { - "id": 286, + "id": 287, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -11135,7 +11223,7 @@ "value": "USER_DELETED" }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -11156,7 +11244,7 @@ } }, { - "id": 285, + "id": 286, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -11174,7 +11262,7 @@ } }, { - "id": 682, + "id": 683, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -11187,96 +11275,6 @@ } ] }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 683, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 684, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the MFA factor to delete." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 685, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user whose factor is being deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 860, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [684, 685] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 45 - } - ] - } - } - }, - { - "id": 673, - "name": "AuthMFAAdminDeleteFactorResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -11285,182 +11283,77 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "id", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 675, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 846, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 844, - "character": 12 - } - ] - } - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 848, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675, 678] - } - ], + "comment": { + "shortText": "ID of the MFA factor to delete." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, - "character": 4 + "line": 844, + "character": 2 } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 679, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "userId", + "kind": 1024, + "kindString": "Property", "flags": {}, - "children": [ - { - "id": 680, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 681, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 850, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 722, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [680, 681] - } - ], + "comment": { + "shortText": "ID of the user whose factor is being deleted." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 850, - "character": 4 + "line": 847, + "character": 2 } - ] + ], + "type": { + "type": "intrinsic", + "name": "string" + } } - } - ] + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 842, + "character": 45 + } + ] + } } }, { - "id": 695, - "name": "AuthMFAAdminListFactorsParams", + "id": 674, + "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -11475,61 +11368,187 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 829, "character": 12 } ], "type": { - "type": "reflection", - "declaration": { - "id": 696, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 697, - "name": "userId", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "comment": { - "shortText": "ID of the user for which to list all MFA factors." - }, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 678, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully deleted." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 833, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [678] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 831, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 835, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 679] + } + ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 881, - "character": 2 + "line": 830, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 727, + "name": "AuthError" + } } ], - "type": { - "type": "intrinsic", - "name": "string" - } + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 837, + "character": 4 + } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 879, - "character": 44 - } - ] - } + } + ] } }, { - "id": 686, - "name": "AuthMFAAdminListFactorsResponse", + "id": 696, + "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, @@ -11548,20 +11567,89 @@ "character": 12 } ], + "type": { + "type": "reflection", + "declaration": { + "id": 697, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 698, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [698] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 866, + "character": 44 + } + ] + } + } + }, + { + "id": 687, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 853, + "character": 12 + } + ], "type": { "type": "union", "types": [ { "type": "reflection", "declaration": { - "id": 687, + "id": 688, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 688, + "id": 689, "name": "data", "kind": 1024, "kindString": "Property", @@ -11569,21 +11657,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 689, + "id": 690, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 690, + "id": 691, "name": "factors", "kind": 1024, "kindString": "Property", @@ -11594,7 +11682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 870, + "line": 857, "character": 8 } ], @@ -11602,7 +11690,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, "name": "Factor" } } @@ -11612,13 +11700,13 @@ { "title": "Properties", "kind": 1024, - "children": [690] + "children": [691] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 868, + "line": 855, "character": 12 } ] @@ -11626,7 +11714,7 @@ } }, { - "id": 691, + "id": 692, "name": "error", "kind": 1024, "kindString": "Property", @@ -11634,7 +11722,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 872, + "line": 859, "character": 6 } ], @@ -11648,13 +11736,13 @@ { "title": "Properties", "kind": 1024, - "children": [688, 691] + "children": [689, 692] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 854, "character": 4 } ] @@ -11663,14 +11751,14 @@ { "type": "reflection", "declaration": { - "id": 692, + "id": 693, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 694, "name": "data", "kind": 1024, "kindString": "Property", @@ -11678,7 +11766,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 6 } ], @@ -11688,7 +11776,7 @@ } }, { - "id": 694, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -11696,13 +11784,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -11711,13 +11799,13 @@ { "title": "Properties", "kind": 1024, - "children": [693, 694] + "children": [694, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 861, "character": 4 } ] @@ -11727,7 +11815,7 @@ } }, { - "id": 621, + "id": 622, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -11735,7 +11823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 702, "character": 12 } ], @@ -11745,14 +11833,14 @@ { "type": "reflection", "declaration": { - "id": 622, + "id": 623, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 623, + "id": 624, "name": "data", "kind": 1024, "kindString": "Property", @@ -11760,21 +11848,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 624, + "id": 625, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 626, + "id": 627, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -11785,7 +11873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 706, + "line": 709, "character": 8 } ], @@ -11795,7 +11883,7 @@ } }, { - "id": 625, + "id": 626, "name": "id", "kind": 1024, "kindString": "Property", @@ -11806,7 +11894,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 706, "character": 8 } ], @@ -11820,13 +11908,13 @@ { "title": "Properties", "kind": 1024, - "children": [626, 625] + "children": [627, 626] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 704, "character": 12 } ] @@ -11834,7 +11922,7 @@ } }, { - "id": 627, + "id": 628, "name": "error", "kind": 1024, "kindString": "Property", @@ -11842,7 +11930,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 708, + "line": 711, "character": 6 } ], @@ -11856,13 +11944,13 @@ { "title": "Properties", "kind": 1024, - "children": [623, 627] + "children": [624, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 703, "character": 4 } ] @@ -11871,14 +11959,14 @@ { "type": "reflection", "declaration": { - "id": 628, + "id": 629, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 629, + "id": 630, "name": "data", "kind": 1024, "kindString": "Property", @@ -11886,7 +11974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 6 } ], @@ -11896,7 +11984,7 @@ } }, { - "id": 630, + "id": 631, "name": "error", "kind": 1024, "kindString": "Property", @@ -11904,13 +11992,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -11919,13 +12007,13 @@ { "title": "Properties", "kind": 1024, - "children": [629, 630] + "children": [630, 631] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 713, "character": 4 } ] @@ -11935,7 +12023,7 @@ } }, { - "id": 597, + "id": 598, "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -11943,7 +12031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 659, "character": 12 } ], @@ -11953,14 +12041,14 @@ { "type": "reflection", "declaration": { - "id": 598, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 599, + "id": 600, "name": "data", "kind": 1024, "kindString": "Property", @@ -11968,21 +12056,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 600, + "id": 601, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 601, + "id": 602, "name": "id", "kind": 1024, "kindString": "Property", @@ -11993,7 +12081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 663, "character": 8 } ], @@ -12003,7 +12091,7 @@ } }, { - "id": 603, + "id": 604, "name": "totp", "kind": 1024, "kindString": "Property", @@ -12014,21 +12102,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 604, + "id": 605, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 606, "name": "qr_code", "kind": 1024, "kindString": "Property", @@ -12039,28 +12127,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 606, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 675, + "line": 673, "character": 10 } ], @@ -12071,6 +12138,27 @@ }, { "id": 607, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, "name": "uri", "kind": 1024, "kindString": "Property", @@ -12081,7 +12169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 682, "character": 10 } ], @@ -12095,13 +12183,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606, 607] + "children": [606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 666, + "line": 669, "character": 14 } ] @@ -12109,7 +12197,7 @@ } }, { - "id": 602, + "id": 603, "name": "type", "kind": 1024, "kindString": "Property", @@ -12120,7 +12208,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 663, + "line": 666, "character": 8 } ], @@ -12134,13 +12222,13 @@ { "title": "Properties", "kind": 1024, - "children": [601, 603, 602] + "children": [602, 604, 603] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 661, "character": 12 } ] @@ -12148,55 +12236,11 @@ } }, { - "id": 608, + "id": 609, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 682, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 657, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 609, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 610, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -12208,9 +12252,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [600, 609] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 660, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 610, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 611, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 612, "name": "error", "kind": 1024, "kindString": "Property", @@ -12218,13 +12306,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 689, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -12233,13 +12321,13 @@ { "title": "Properties", "kind": 1024, - "children": [610, 611] + "children": [611, 612] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 684, + "line": 687, "character": 4 } ] @@ -12249,7 +12337,7 @@ } }, { - "id": 642, + "id": 643, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", "kind": 4194304, "kindString": "Type alias", @@ -12257,7 +12345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 727, + "line": 730, "character": 12 } ], @@ -12267,14 +12355,14 @@ { "type": "reflection", "declaration": { - "id": 643, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 644, + "id": 645, "name": "data", "kind": 1024, "kindString": "Property", @@ -12282,21 +12370,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 646, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 648, + "id": 649, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -12307,7 +12395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 746, + "line": 749, "character": 8 } ], @@ -12315,13 +12403,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 355, + "id": 356, "name": "AMREntry" } } }, { - "id": 646, + "id": 647, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -12332,7 +12420,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 734, "character": 8 } ], @@ -12341,7 +12429,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -12352,7 +12440,7 @@ } }, { - "id": 647, + "id": 648, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -12369,7 +12457,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 742, "character": 8 } ], @@ -12378,7 +12466,7 @@ "types": [ { "type": "reference", - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels" }, { @@ -12393,13 +12481,13 @@ { "title": "Properties", "kind": 1024, - "children": [648, 646, 647] + "children": [649, 647, 648] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 732, "character": 12 } ] @@ -12407,7 +12495,7 @@ } }, { - "id": 649, + "id": 650, "name": "error", "kind": 1024, "kindString": "Property", @@ -12415,7 +12503,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 751, "character": 6 } ], @@ -12429,13 +12517,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 649] + "children": [645, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 731, "character": 4 } ] @@ -12444,14 +12532,14 @@ { "type": "reflection", "declaration": { - "id": 650, + "id": 651, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 651, + "id": 652, "name": "data", "kind": 1024, "kindString": "Property", @@ -12459,7 +12547,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 6 } ], @@ -12469,7 +12557,7 @@ } }, { - "id": 652, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -12477,13 +12565,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -12492,13 +12580,13 @@ { "title": "Properties", "kind": 1024, - "children": [651, 652] + "children": [652, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 750, + "line": 753, "character": 4 } ] @@ -12508,7 +12596,7 @@ } }, { - "id": 631, + "id": 632, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -12516,7 +12604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 715, "character": 12 } ], @@ -12526,14 +12614,14 @@ { "type": "reflection", "declaration": { - "id": 632, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 634, "name": "data", "kind": 1024, "kindString": "Property", @@ -12541,21 +12629,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 634, + "id": 635, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 635, + "id": 636, "name": "all", "kind": 1024, "kindString": "Property", @@ -12563,31 +12651,6 @@ "comment": { "shortText": "All available factors (verified and unverified)." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 716, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 369, - "name": "Factor" - } - } - }, - { - "id": 636, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -12599,7 +12662,32 @@ "type": "array", "elementType": { "type": "reference", - "id": 369, + "id": 370, + "name": "Factor" + } + } + }, + { + "id": 637, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 370, "name": "Factor" } } @@ -12609,13 +12697,13 @@ { "title": "Properties", "kind": 1024, - "children": [635, 636] + "children": [636, 637] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 714, + "line": 717, "character": 12 } ] @@ -12623,7 +12711,7 @@ } }, { - "id": 637, + "id": 638, "name": "error", "kind": 1024, "kindString": "Property", @@ -12631,7 +12719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 721, + "line": 724, "character": 6 } ], @@ -12645,13 +12733,13 @@ { "title": "Properties", "kind": 1024, - "children": [633, 637] + "children": [634, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 716, "character": 4 } ] @@ -12660,14 +12748,14 @@ { "type": "reflection", "declaration": { - "id": 638, + "id": 639, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 639, + "id": 640, "name": "data", "kind": 1024, "kindString": "Property", @@ -12675,7 +12763,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 6 } ], @@ -12685,7 +12773,7 @@ } }, { - "id": 640, + "id": 641, "name": "error", "kind": 1024, "kindString": "Property", @@ -12693,13 +12781,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -12708,13 +12796,13 @@ { "title": "Properties", "kind": 1024, - "children": [639, 640] + "children": [640, 641] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 723, + "line": 726, "character": 4 } ] @@ -12724,7 +12812,7 @@ } }, { - "id": 612, + "id": 613, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -12732,7 +12820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 689, + "line": 692, "character": 12 } ], @@ -12742,14 +12830,14 @@ { "type": "reflection", "declaration": { - "id": 613, + "id": 614, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 614, + "id": 615, "name": "data", "kind": 1024, "kindString": "Property", @@ -12757,21 +12845,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 615, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 616, + "id": 617, "name": "id", "kind": 1024, "kindString": "Property", @@ -12782,7 +12870,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 693, + "line": 696, "character": 8 } ], @@ -12796,13 +12884,13 @@ { "title": "Properties", "kind": 1024, - "children": [616] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 691, + "line": 694, "character": 12 } ] @@ -12810,7 +12898,7 @@ } }, { - "id": 617, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -12818,7 +12906,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 698, "character": 6 } ], @@ -12832,13 +12920,13 @@ { "title": "Properties", "kind": 1024, - "children": [614, 617] + "children": [615, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 693, "character": 4 } ] @@ -12847,14 +12935,14 @@ { "type": "reflection", "declaration": { - "id": 618, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 619, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -12862,7 +12950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 6 } ], @@ -12872,7 +12960,7 @@ } }, { - "id": 620, + "id": 621, "name": "error", "kind": 1024, "kindString": "Property", @@ -12880,13 +12968,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 18 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -12895,13 +12983,13 @@ { "title": "Properties", "kind": 1024, - "children": [619, 620] + "children": [620, 621] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 697, + "line": 700, "character": 4 } ] @@ -12911,7 +12999,7 @@ } }, { - "id": 584, + "id": 585, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -12919,7 +13007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 634, "character": 12 } ], @@ -12929,14 +13017,14 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 586, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 586, + "id": 587, "name": "data", "kind": 1024, "kindString": "Property", @@ -12944,21 +13032,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 588, + "id": 589, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -12966,69 +13054,6 @@ "comment": { "shortText": "New access token (JWT) after successful verification." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 635, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 590, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Number of seconds in which the access token will expire." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 591, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Refresh token you can use to obtain new access tokens when expired." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 644, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of token, typically `Bearer`." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -13041,8 +13066,71 @@ "name": "string" } }, + { + "id": 591, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of seconds in which the access token will expire." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 644, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 592, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Refresh token you can use to obtain new access tokens when expired." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 647, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of token, typically `Bearer`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 593, "name": "user", "kind": 1024, "kindString": "Property", @@ -13053,13 +13141,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 650, "character": 8 } ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -13068,13 +13156,13 @@ { "title": "Properties", "kind": 1024, - "children": [588, 590, 591, 589, 592] + "children": [589, 591, 592, 590, 593] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 636, "character": 12 } ] @@ -13082,55 +13170,11 @@ } }, { - "id": 593, + "id": 594, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [586, 593] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 632, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 594, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 595, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -13142,9 +13186,53 @@ "type": "literal", "value": null } - }, + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [587, 594] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 635, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { "id": 596, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 655, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 597, "name": "error", "kind": 1024, "kindString": "Property", @@ -13152,13 +13240,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 653, + "line": 656, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -13167,13 +13255,13 @@ { "title": "Properties", "kind": 1024, - "children": [595, 596] + "children": [596, 597] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 654, "character": 4 } ] @@ -13183,7 +13271,7 @@ } }, { - "id": 300, + "id": 301, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -13201,14 +13289,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 303, "name": "data", "kind": 1024, "kindString": "Property", @@ -13223,14 +13311,14 @@ "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 306, "name": "session", "kind": 1024, "kindString": "Property", @@ -13247,7 +13335,7 @@ "types": [ { "type": "reference", - "id": 346, + "id": 347, "name": "Session" }, { @@ -13258,7 +13346,7 @@ } }, { - "id": 304, + "id": 305, "name": "user", "kind": 1024, "kindString": "Property", @@ -13275,7 +13363,7 @@ "types": [ { "type": "reference", - "id": 383, + "id": 384, "name": "User" }, { @@ -13290,7 +13378,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304] + "children": [306, 305] } ], "sources": [ @@ -13304,7 +13392,7 @@ } }, { - "id": 306, + "id": 307, "name": "error", "kind": 1024, "kindString": "Property", @@ -13326,7 +13414,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 306] + "children": [303, 307] } ], "sources": [ @@ -13341,14 +13429,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 309, "name": "data", "kind": 1024, "kindString": "Property", @@ -13363,14 +13451,14 @@ "type": { "type": "reflection", "declaration": { - "id": 309, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 312, "name": "session", "kind": 1024, "kindString": "Property", @@ -13388,7 +13476,7 @@ } }, { - "id": 310, + "id": 311, "name": "user", "kind": 1024, "kindString": "Property", @@ -13410,7 +13498,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 310] + "children": [312, 311] } ], "sources": [ @@ -13424,7 +13512,7 @@ } }, { - "id": 312, + "id": 313, "name": "error", "kind": 1024, "kindString": "Property", @@ -13438,7 +13526,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -13447,7 +13535,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 312] + "children": [309, 313] } ], "sources": [ @@ -13463,7 +13551,7 @@ } }, { - "id": 641, + "id": 642, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -13471,7 +13559,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 728, "character": 12 } ], @@ -13490,7 +13578,7 @@ } }, { - "id": 709, + "id": 710, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -13498,7 +13586,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 907, "character": 12 } ], @@ -13508,14 +13596,14 @@ { "type": "reflection", "declaration": { - "id": 710, + "id": 711, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 712, + "id": 713, "name": "error", "kind": 1024, "kindString": "Property", @@ -13523,7 +13611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 910, "character": 6 } ], @@ -13533,7 +13621,7 @@ } }, { - "id": 711, + "id": 712, "name": "session", "kind": 1024, "kindString": "Property", @@ -13541,13 +13629,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 923, + "line": 909, "character": 6 } ], "type": { "type": "reference", - "id": 346, + "id": 347, "name": "Session" } } @@ -13556,13 +13644,13 @@ { "title": "Properties", "kind": 1024, - "children": [712, 711] + "children": [713, 712] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 908, "character": 4 } ] @@ -13571,14 +13659,14 @@ { "type": "reflection", "declaration": { - "id": 713, + "id": 714, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 715, + "id": 716, "name": "error", "kind": 1024, "kindString": "Property", @@ -13586,18 +13674,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 914, "character": 6 } ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } }, { - "id": 714, + "id": 715, "name": "session", "kind": 1024, "kindString": "Property", @@ -13605,7 +13693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 913, "character": 6 } ], @@ -13619,13 +13707,13 @@ { "title": "Properties", "kind": 1024, - "children": [715, 714] + "children": [716, 715] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 912, "character": 4 } ] @@ -13635,7 +13723,7 @@ } }, { - "id": 506, + "id": 507, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -13674,7 +13762,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13689,14 +13777,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -13717,7 +13805,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -13738,7 +13826,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -13757,7 +13845,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -13771,7 +13859,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -13802,7 +13890,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -13816,7 +13904,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13831,14 +13919,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -13859,7 +13947,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -13878,7 +13966,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -13901,7 +13989,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -13932,7 +14020,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -13946,7 +14034,7 @@ } }, { - "id": 542, + "id": 543, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13962,7 +14050,7 @@ "type": "union", "types": [ { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -13977,14 +14065,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -14002,7 +14090,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -14021,7 +14109,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -14044,7 +14132,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -14062,7 +14150,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -14084,7 +14172,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -14098,7 +14186,7 @@ } }, { - "id": 523, + "id": 524, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14113,14 +14201,14 @@ "type": { "type": "reflection", "declaration": { - "id": 524, + "id": 525, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 527, "name": "email", "kind": 1024, "kindString": "Property", @@ -14141,7 +14229,7 @@ } }, { - "id": 527, + "id": 528, "name": "options", "kind": 1024, "kindString": "Property", @@ -14160,7 +14248,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -14183,7 +14271,7 @@ } }, { - "id": 525, + "id": 526, "name": "type", "kind": 1024, "kindString": "Property", @@ -14214,7 +14302,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 525] + "children": [527, 528, 526] } ], "sources": [ @@ -14228,7 +14316,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14243,14 +14331,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -14271,7 +14359,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -14290,7 +14378,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -14304,7 +14392,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -14326,7 +14414,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -14340,7 +14428,7 @@ } }, { - "id": 533, + "id": 534, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14355,14 +14443,14 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 537, "name": "email", "kind": 1024, "kindString": "Property", @@ -14383,7 +14471,7 @@ } }, { - "id": 537, + "id": 538, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -14404,7 +14492,7 @@ } }, { - "id": 538, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -14423,7 +14511,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -14437,7 +14525,7 @@ } }, { - "id": 535, + "id": 536, "name": "type", "kind": 1024, "kindString": "Property", @@ -14468,7 +14556,7 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 538, 535] + "children": [537, 538, 539, 536] } ], "sources": [ @@ -14485,7 +14573,7 @@ } }, { - "id": 556, + "id": 557, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -14503,14 +14591,14 @@ "type": { "type": "reflection", "declaration": { - "id": 557, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 558, + "id": 559, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -14531,7 +14619,7 @@ } }, { - "id": 559, + "id": 560, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -14552,7 +14640,7 @@ } }, { - "id": 560, + "id": 561, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -14573,7 +14661,7 @@ } }, { - "id": 561, + "id": 562, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -14594,7 +14682,7 @@ } }, { - "id": 562, + "id": 563, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -14611,7 +14699,7 @@ ], "type": { "type": "reference", - "id": 563, + "id": 564, "name": "GenerateLinkType" } } @@ -14620,7 +14708,7 @@ { "title": "Properties", "kind": 1024, - "children": [558, 559, 560, 561, 562] + "children": [559, 560, 561, 562, 563] } ], "sources": [ @@ -14634,7 +14722,7 @@ } }, { - "id": 543, + "id": 544, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -14652,14 +14740,14 @@ { "type": "reflection", "declaration": { - "id": 544, + "id": 545, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 545, + "id": 546, "name": "data", "kind": 1024, "kindString": "Property", @@ -14674,14 +14762,14 @@ "type": { "type": "reflection", "declaration": { - "id": 546, + "id": 547, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 548, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14695,12 +14783,12 @@ ], "type": { "type": "reference", - "id": 556, + "id": 557, "name": "GenerateLinkProperties" } }, { - "id": 548, + "id": 549, "name": "user", "kind": 1024, "kindString": "Property", @@ -14714,7 +14802,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -14723,7 +14811,7 @@ { "title": "Properties", "kind": 1024, - "children": [547, 548] + "children": [548, 549] } ], "sources": [ @@ -14737,7 +14825,7 @@ } }, { - "id": 549, + "id": 550, "name": "error", "kind": 1024, "kindString": "Property", @@ -14759,7 +14847,7 @@ { "title": "Properties", "kind": 1024, - "children": [545, 549] + "children": [546, 550] } ], "sources": [ @@ -14774,14 +14862,14 @@ { "type": "reflection", "declaration": { - "id": 550, + "id": 551, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 551, + "id": 552, "name": "data", "kind": 1024, "kindString": "Property", @@ -14796,14 +14884,14 @@ "type": { "type": "reflection", "declaration": { - "id": 552, + "id": 553, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 553, + "id": 554, "name": "properties", "kind": 1024, "kindString": "Property", @@ -14821,7 +14909,7 @@ } }, { - "id": 554, + "id": 555, "name": "user", "kind": 1024, "kindString": "Property", @@ -14843,7 +14931,7 @@ { "title": "Properties", "kind": 1024, - "children": [553, 554] + "children": [554, 555] } ], "sources": [ @@ -14857,7 +14945,7 @@ } }, { - "id": 555, + "id": 556, "name": "error", "kind": 1024, "kindString": "Property", @@ -14871,7 +14959,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -14880,7 +14968,7 @@ { "title": "Properties", "kind": 1024, - "children": [551, 555] + "children": [552, 556] } ], "sources": [ @@ -14896,7 +14984,7 @@ } }, { - "id": 563, + "id": 564, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -14939,7 +15027,7 @@ } }, { - "id": 528, + "id": 529, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14954,14 +15042,14 @@ "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 530, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 531, + "id": 532, "name": "email", "kind": 1024, "kindString": "Property", @@ -14982,7 +15070,7 @@ } }, { - "id": 532, + "id": 533, "name": "options", "kind": 1024, "kindString": "Property", @@ -15001,7 +15089,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -15015,7 +15103,7 @@ } }, { - "id": 530, + "id": 531, "name": "type", "kind": 1024, "kindString": "Property", @@ -15037,7 +15125,7 @@ { "title": "Properties", "kind": 1024, - "children": [531, 532, 530] + "children": [532, 533, 531] } ], "sources": [ @@ -15051,7 +15139,7 @@ } }, { - "id": 517, + "id": 518, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15066,14 +15154,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 520, + "id": 521, "name": "email", "kind": 1024, "kindString": "Property", @@ -15091,7 +15179,7 @@ } }, { - "id": 522, + "id": 523, "name": "options", "kind": 1024, "kindString": "Property", @@ -15110,7 +15198,7 @@ "typeArguments": [ { "type": "reference", - "id": 539, + "id": 540, "name": "GenerateLinkOptions" }, { @@ -15133,7 +15221,7 @@ } }, { - "id": 521, + "id": 522, "name": "password", "kind": 1024, "kindString": "Property", @@ -15151,7 +15239,7 @@ } }, { - "id": 519, + "id": 520, "name": "type", "kind": 1024, "kindString": "Property", @@ -15173,7 +15261,7 @@ { "title": "Properties", "kind": 1024, - "children": [520, 522, 521, 519] + "children": [521, 523, 522, 520] } ], "sources": [ @@ -15187,7 +15275,7 @@ } }, { - "id": 287, + "id": 288, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -15202,14 +15290,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 297, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -15229,7 +15317,7 @@ } }, { - "id": 295, + "id": 296, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -15249,7 +15337,7 @@ } }, { - "id": 299, + "id": 300, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -15269,7 +15357,7 @@ } }, { - "id": 290, + "id": 291, "name": "headers", "kind": 1024, "kindString": "Property", @@ -15286,7 +15374,7 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 292, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15299,14 +15387,14 @@ } ], "indexSignature": { - "id": 292, + "id": 293, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 293, + "id": 294, "name": "key", "kind": 32768, "flags": {}, @@ -15325,7 +15413,7 @@ } }, { - "id": 297, + "id": 298, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -15345,7 +15433,7 @@ } }, { - "id": 298, + "id": 299, "name": "storage", "kind": 1024, "kindString": "Property", @@ -15361,12 +15449,12 @@ ], "type": { "type": "reference", - "id": 705, + "id": 706, "name": "SupportedStorage" } }, { - "id": 294, + "id": 295, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -15386,7 +15474,7 @@ } }, { - "id": 289, + "id": 290, "name": "url", "kind": 1024, "kindString": "Property", @@ -15410,7 +15498,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 295, 299, 290, 297, 298, 294, 289] + "children": [297, 296, 300, 291, 298, 299, 295, 290] } ], "sources": [ @@ -15424,7 +15512,7 @@ } }, { - "id": 706, + "id": 707, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -15432,21 +15520,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 707, + "id": 708, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 708, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -15454,7 +15542,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 33 } ], @@ -15463,7 +15551,7 @@ "types": [ { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" }, { @@ -15478,13 +15566,13 @@ { "title": "Properties", "kind": 1024, - "children": [708] + "children": [709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 905, "character": 31 } ] @@ -15492,7 +15580,7 @@ } }, { - "id": 580, + "id": 581, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -15500,21 +15588,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 584, "name": "code", "kind": 1024, "kindString": "Property", @@ -15525,7 +15613,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 628, + "line": 631, "character": 2 } ], @@ -15535,18 +15623,18 @@ } }, { - "id": 582, + "id": 583, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 629, "character": 2 } ], @@ -15560,13 +15648,13 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [584, 583] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 627, "character": 42 } ] @@ -15574,7 +15662,7 @@ } }, { - "id": 577, + "id": 578, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -15582,32 +15670,32 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 578, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 580, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor to be challenged." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 624, "character": 2 } ], @@ -15621,13 +15709,13 @@ { "title": "Properties", "kind": 1024, - "children": [579] + "children": [580] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 622, "character": 33 } ] @@ -15635,7 +15723,7 @@ } }, { - "id": 564, + "id": 565, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -15650,22 +15738,25 @@ "type": { "type": "reflection", "declaration": { - "id": 565, + "id": 566, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 566, + "id": 567, "name": "factorType", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 598, + "line": 599, "character": 2 } ], @@ -15675,17 +15766,20 @@ } }, { - "id": 568, + "id": 569, "name": "friendlyName", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Human readable name assigned to the factor." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 603, "character": 2 } ], @@ -15695,17 +15789,20 @@ } }, { - "id": 567, + "id": 568, "name": "issuer", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Domain which the user is enrolled with." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 2 } ], @@ -15719,7 +15816,7 @@ { "title": "Properties", "kind": 1024, - "children": [566, 568, 567] + "children": [567, 569, 568] } ], "sources": [ @@ -15733,7 +15830,7 @@ } }, { - "id": 569, + "id": 570, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -15741,21 +15838,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 571, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 571, + "id": 572, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -15766,7 +15863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 608, "character": 2 } ], @@ -15780,13 +15877,13 @@ { "title": "Properties", "kind": 1024, - "children": [571] + "children": [572] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 606, "character": 32 } ] @@ -15794,7 +15891,7 @@ } }, { - "id": 572, + "id": 573, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -15802,48 +15899,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 574, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 575, + "id": 576, "name": "challengeId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the challenge being verified." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the challenge being verified. Returned in challenge()." }, "sources": [ { @@ -15858,18 +15934,39 @@ } }, { - "id": 574, + "id": 577, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified." + "shortText": "ID of the factor being verified. Returned in enroll()." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 613, "character": 2 } ], @@ -15883,13 +15980,13 @@ { "title": "Properties", "kind": 1024, - "children": [575, 576, 574] + "children": [576, 577, 575] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 611, "character": 30 } ] @@ -15897,7 +15994,7 @@ } }, { - "id": 505, + "id": 506, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -15924,7 +16021,7 @@ } }, { - "id": 313, + "id": 314, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -15942,14 +16039,14 @@ { "type": "reflection", "declaration": { - "id": 314, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 315, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -15964,14 +16061,14 @@ "type": { "type": "reflection", "declaration": { - "id": 316, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 318, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15985,12 +16082,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 318, + "id": 319, "name": "url", "kind": 1024, "kindString": "Property", @@ -16012,7 +16109,7 @@ { "title": "Properties", "kind": 1024, - "children": [317, 318] + "children": [318, 319] } ], "sources": [ @@ -16026,7 +16123,7 @@ } }, { - "id": 319, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -16048,7 +16145,7 @@ { "title": "Properties", "kind": 1024, - "children": [315, 319] + "children": [316, 320] } ], "sources": [ @@ -16063,14 +16160,14 @@ { "type": "reflection", "declaration": { - "id": 320, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 321, + "id": 322, "name": "data", "kind": 1024, "kindString": "Property", @@ -16085,14 +16182,14 @@ "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 323, + "id": 324, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16106,12 +16203,12 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } }, { - "id": 324, + "id": 325, "name": "url", "kind": 1024, "kindString": "Property", @@ -16133,7 +16230,7 @@ { "title": "Properties", "kind": 1024, - "children": [323, 324] + "children": [324, 325] } ], "sources": [ @@ -16147,7 +16244,7 @@ } }, { - "id": 325, + "id": 326, "name": "error", "kind": 1024, "kindString": "Property", @@ -16161,7 +16258,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -16170,7 +16267,7 @@ { "title": "Properties", "kind": 1024, - "children": [321, 325] + "children": [322, 326] } ], "sources": [ @@ -16186,7 +16283,93 @@ } }, { - "id": 284, + "id": 717, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 718, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 919, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 720, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 921, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [719, 720] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 917, + "character": 25 + } + ] + } + } + }, + { + "id": 285, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -16272,7 +16455,7 @@ } }, { - "id": 326, + "id": 327, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -16290,14 +16473,14 @@ { "type": "reflection", "declaration": { - "id": 327, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 328, + "id": 329, "name": "data", "kind": 1024, "kindString": "Property", @@ -16312,14 +16495,14 @@ "type": { "type": "reflection", "declaration": { - "id": 329, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 331, "name": "url", "kind": 1024, "kindString": "Property", @@ -16344,7 +16527,7 @@ { "title": "Properties", "kind": 1024, - "children": [330] + "children": [331] } ], "sources": [ @@ -16358,7 +16541,7 @@ } }, { - "id": 331, + "id": 332, "name": "error", "kind": 1024, "kindString": "Property", @@ -16380,7 +16563,7 @@ { "title": "Properties", "kind": 1024, - "children": [328, 331] + "children": [329, 332] } ], "sources": [ @@ -16395,14 +16578,14 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 334, "name": "data", "kind": 1024, "kindString": "Property", @@ -16420,7 +16603,7 @@ } }, { - "id": 334, + "id": 335, "name": "error", "kind": 1024, "kindString": "Property", @@ -16434,7 +16617,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -16443,7 +16626,7 @@ { "title": "Properties", "kind": 1024, - "children": [333, 334] + "children": [334, 335] } ], "sources": [ @@ -16459,7 +16642,7 @@ } }, { - "id": 477, + "id": 478, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16474,14 +16657,14 @@ "type": { "type": "reflection", "declaration": { - "id": 478, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 480, + "id": 481, "name": "options", "kind": 1024, "kindString": "Property", @@ -16498,14 +16681,14 @@ "type": { "type": "reflection", "declaration": { - "id": 481, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 484, + "id": 485, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -16525,7 +16708,7 @@ "type": { "type": "reflection", "declaration": { - "id": 485, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16538,14 +16721,14 @@ } ], "indexSignature": { - "id": 486, + "id": 487, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 487, + "id": 488, "name": "key", "kind": 32768, "flags": {}, @@ -16564,7 +16747,7 @@ } }, { - "id": 482, + "id": 483, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16587,7 +16770,7 @@ } }, { - "id": 483, + "id": 484, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -16614,7 +16797,7 @@ { "title": "Properties", "kind": 1024, - "children": [484, 482, 483] + "children": [485, 483, 484] } ], "sources": [ @@ -16628,7 +16811,7 @@ } }, { - "id": 479, + "id": 480, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16645,7 +16828,7 @@ ], "type": { "type": "reference", - "id": 284, + "id": 285, "name": "Provider" } } @@ -16654,7 +16837,7 @@ { "title": "Properties", "kind": 1024, - "children": [480, 479] + "children": [481, 480] } ], "sources": [ @@ -16668,7 +16851,7 @@ } }, { - "id": 446, + "id": 447, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16686,14 +16869,14 @@ { "type": "reflection", "declaration": { - "id": 447, + "id": 448, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 448, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -16714,7 +16897,7 @@ } }, { - "id": 450, + "id": 451, "name": "options", "kind": 1024, "kindString": "Property", @@ -16731,14 +16914,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 453, + "id": 454, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16761,7 +16944,7 @@ } }, { - "id": 452, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -16789,7 +16972,7 @@ { "title": "Properties", "kind": 1024, - "children": [453, 452] + "children": [454, 453] } ], "sources": [ @@ -16803,7 +16986,7 @@ } }, { - "id": 449, + "id": 450, "name": "password", "kind": 1024, "kindString": "Property", @@ -16828,7 +17011,7 @@ { "title": "Properties", "kind": 1024, - "children": [448, 450, 449] + "children": [449, 451, 450] } ], "sources": [ @@ -16843,14 +17026,14 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 455, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 458, "name": "options", "kind": 1024, "kindString": "Property", @@ -16867,14 +17050,14 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 459, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 460, + "id": 461, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16897,7 +17080,7 @@ } }, { - "id": 459, + "id": 460, "name": "data", "kind": 1024, "kindString": "Property", @@ -16925,7 +17108,7 @@ { "title": "Properties", "kind": 1024, - "children": [460, 459] + "children": [461, 460] } ], "sources": [ @@ -16939,7 +17122,7 @@ } }, { - "id": 456, + "id": 457, "name": "password", "kind": 1024, "kindString": "Property", @@ -16960,7 +17143,7 @@ } }, { - "id": 455, + "id": 456, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16985,7 +17168,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 456, 455] + "children": [458, 457, 456] } ], "sources": [ @@ -17001,7 +17184,7 @@ } }, { - "id": 461, + "id": 462, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17019,14 +17202,14 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 463, + "id": 464, "name": "email", "kind": 1024, "kindString": "Property", @@ -17047,7 +17230,7 @@ } }, { - "id": 464, + "id": 465, "name": "options", "kind": 1024, "kindString": "Property", @@ -17064,14 +17247,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 466, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 470, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17094,7 +17277,7 @@ } }, { - "id": 468, + "id": 469, "name": "data", "kind": 1024, "kindString": "Property", @@ -17118,7 +17301,7 @@ } }, { - "id": 466, + "id": 467, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17141,7 +17324,7 @@ } }, { - "id": 467, + "id": 468, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -17168,7 +17351,7 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468, 466, 467] + "children": [470, 469, 467, 468] } ], "sources": [ @@ -17186,7 +17369,7 @@ { "title": "Properties", "kind": 1024, - "children": [463, 464] + "children": [464, 465] } ], "sources": [ @@ -17201,14 +17384,14 @@ { "type": "reflection", "declaration": { - "id": 470, + "id": 471, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 473, "name": "options", "kind": 1024, "kindString": "Property", @@ -17225,14 +17408,14 @@ "type": { "type": "reflection", "declaration": { - "id": 473, + "id": 474, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 476, + "id": 477, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17255,7 +17438,7 @@ } }, { - "id": 475, + "id": 476, "name": "data", "kind": 1024, "kindString": "Property", @@ -17279,7 +17462,7 @@ } }, { - "id": 474, + "id": 475, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -17306,7 +17489,7 @@ { "title": "Properties", "kind": 1024, - "children": [476, 475, 474] + "children": [477, 476, 475] } ], "sources": [ @@ -17320,7 +17503,7 @@ } }, { - "id": 471, + "id": 472, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17345,7 +17528,7 @@ { "title": "Properties", "kind": 1024, - "children": [472, 471] + "children": [473, 472] } ], "sources": [ @@ -17361,7 +17544,7 @@ } }, { - "id": 507, + "id": 508, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -17379,14 +17562,14 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 510, "name": "options", "kind": 1024, "kindString": "Property", @@ -17403,14 +17586,14 @@ "type": { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17433,7 +17616,7 @@ } }, { - "id": 511, + "id": 512, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17460,7 +17643,7 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [513, 512] } ], "sources": [ @@ -17478,7 +17661,7 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [510] } ], "sources": [ @@ -17496,14 +17679,14 @@ { "type": "reflection", "declaration": { - "id": 513, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 515, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -17528,7 +17711,7 @@ { "title": "Properties", "kind": 1024, - "children": [514] + "children": [515] } ], "sources": [ @@ -17543,14 +17726,14 @@ { "type": "reflection", "declaration": { - "id": 515, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 517, "name": "domain", "kind": 1024, "kindString": "Property", @@ -17575,7 +17758,7 @@ { "title": "Properties", "kind": 1024, - "children": [516] + "children": [517] } ], "sources": [ @@ -17593,7 +17776,7 @@ } }, { - "id": 430, + "id": 431, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17611,14 +17794,14 @@ { "type": "reflection", "declaration": { - "id": 431, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 432, + "id": 433, "name": "email", "kind": 1024, "kindString": "Property", @@ -17639,7 +17822,7 @@ } }, { - "id": 434, + "id": 435, "name": "options", "kind": 1024, "kindString": "Property", @@ -17656,14 +17839,14 @@ "type": { "type": "reflection", "declaration": { - "id": 435, + "id": 436, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 438, + "id": 439, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17686,7 +17869,7 @@ } }, { - "id": 437, + "id": 438, "name": "data", "kind": 1024, "kindString": "Property", @@ -17710,7 +17893,7 @@ } }, { - "id": 436, + "id": 437, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17737,7 +17920,7 @@ { "title": "Properties", "kind": 1024, - "children": [438, 437, 436] + "children": [439, 438, 437] } ], "sources": [ @@ -17751,7 +17934,7 @@ } }, { - "id": 433, + "id": 434, "name": "password", "kind": 1024, "kindString": "Property", @@ -17776,7 +17959,7 @@ { "title": "Properties", "kind": 1024, - "children": [432, 434, 433] + "children": [433, 435, 434] } ], "sources": [ @@ -17791,14 +17974,14 @@ { "type": "reflection", "declaration": { - "id": 439, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 442, + "id": 443, "name": "options", "kind": 1024, "kindString": "Property", @@ -17815,14 +17998,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 444, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 445, + "id": 446, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17845,7 +18028,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "kind": 1024, "kindString": "Property", @@ -17873,7 +18056,7 @@ { "title": "Properties", "kind": 1024, - "children": [445, 444] + "children": [446, 445] } ], "sources": [ @@ -17887,7 +18070,7 @@ } }, { - "id": 441, + "id": 442, "name": "password", "kind": 1024, "kindString": "Property", @@ -17908,7 +18091,7 @@ } }, { - "id": 440, + "id": 441, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17933,7 +18116,7 @@ { "title": "Properties", "kind": 1024, - "children": [442, 441, 440] + "children": [443, 442, 441] } ], "sources": [ @@ -17949,7 +18132,7 @@ } }, { - "id": 705, + "id": 706, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -17957,7 +18140,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 903, "character": 12 } ], @@ -18000,7 +18183,7 @@ } }, { - "id": 335, + "id": 336, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -18018,14 +18201,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 338, "name": "data", "kind": 1024, "kindString": "Property", @@ -18040,14 +18223,14 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 340, "name": "user", "kind": 1024, "kindString": "Property", @@ -18061,7 +18244,7 @@ ], "type": { "type": "reference", - "id": 383, + "id": 384, "name": "User" } } @@ -18070,7 +18253,7 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [340] } ], "sources": [ @@ -18084,7 +18267,7 @@ } }, { - "id": 340, + "id": 341, "name": "error", "kind": 1024, "kindString": "Property", @@ -18106,7 +18289,7 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [338, 341] } ], "sources": [ @@ -18121,14 +18304,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 342, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 343, "name": "data", "kind": 1024, "kindString": "Property", @@ -18143,14 +18326,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 345, "name": "user", "kind": 1024, "kindString": "Property", @@ -18172,7 +18355,7 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [345] } ], "sources": [ @@ -18186,7 +18369,7 @@ } }, { - "id": 345, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -18200,7 +18383,7 @@ ], "type": { "type": "reference", - "id": 722, + "id": 727, "name": "AuthError" } } @@ -18209,7 +18392,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [343, 346] } ], "sources": [ @@ -18225,7 +18408,7 @@ } }, { - "id": 488, + "id": 489, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -18241,14 +18424,14 @@ "type": "union", "types": [ { - "id": 489, + "id": 490, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 493, + "id": 494, "name": "options", "kind": 1024, "kindString": "Property", @@ -18265,14 +18448,14 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 496, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18301,7 +18484,7 @@ } }, { - "id": 495, + "id": 496, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18328,14 +18511,14 @@ { "title": "Properties", "kind": 1024, - "children": [496, 495] + "children": [497, 496] } ] } } }, { - "id": 490, + "id": 491, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18356,7 +18539,7 @@ } }, { - "id": 491, + "id": 492, "name": "token", "kind": 1024, "kindString": "Property", @@ -18377,7 +18560,7 @@ } }, { - "id": 492, + "id": 493, "name": "type", "kind": 1024, "kindString": "Property", @@ -18394,7 +18577,7 @@ ], "type": { "type": "reference", - "id": 505, + "id": 506, "name": "MobileOtpType" } } @@ -18403,7 +18586,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 490, 491, 492] + "children": [494, 491, 492, 493] } ], "sources": [ @@ -18415,14 +18598,14 @@ ] }, { - "id": 497, + "id": 498, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 499, "name": "email", "kind": 1024, "kindString": "Property", @@ -18443,7 +18626,7 @@ } }, { - "id": 501, + "id": 502, "name": "options", "kind": 1024, "kindString": "Property", @@ -18460,14 +18643,14 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 504, + "id": 505, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18490,7 +18673,7 @@ } }, { - "id": 503, + "id": 504, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18517,14 +18700,14 @@ { "title": "Properties", "kind": 1024, - "children": [504, 503] + "children": [505, 504] } ] } } }, { - "id": 499, + "id": 500, "name": "token", "kind": 1024, "kindString": "Property", @@ -18545,7 +18728,7 @@ } }, { - "id": 500, + "id": 501, "name": "type", "kind": 1024, "kindString": "Property", @@ -18562,7 +18745,7 @@ ], "type": { "type": "reference", - "id": 506, + "id": 507, "name": "EmailOtpType" } } @@ -18571,7 +18754,7 @@ { "title": "Properties", "kind": 1024, - "children": [498, 501, 499, 500] + "children": [499, 502, 500, 501] } ], "sources": [ @@ -18586,7 +18769,7 @@ } }, { - "id": 719, + "id": 724, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -18600,14 +18783,60 @@ ], "signatures": [ { - "id": 720, + "id": 725, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 721, + "id": 726, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 732, + "name": "AuthApiError" + } + } + } + ] + }, + { + "id": 721, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 722, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 723, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -18625,52 +18854,6 @@ "targetType": { "type": "reference", "id": 727, - "name": "AuthApiError" - } - } - } - ] - }, - { - "id": 716, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 717, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 718, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 722, "name": "AuthError" } } @@ -18682,26 +18865,26 @@ { "title": "Classes", "kind": 128, - "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74] + "children": [732, 727, 792, 779, 817, 767, 745, 752, 1, 75] }, { "title": "Interfaces", "kind": 256, - "children": [355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489] + "children": [356, 411, 370, 540, 699, 654, 347, 421, 429, 384, 377, 406, 359, 381, 498, 490] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533, 523, - 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284, 326, 477, - 446, 461, 507, 430, 705, 335, 488 + 287, 286, 683, 674, 696, 687, 622, 598, 643, 632, 613, 585, 301, 642, 710, 507, 534, 524, + 543, 557, 544, 564, 529, 518, 288, 707, 581, 578, 565, 570, 573, 506, 314, 717, 285, 327, + 478, 447, 462, 508, 431, 706, 336, 489 ] }, { "title": "Functions", "kind": 64, - "children": [719, 716] + "children": [724, 721] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json index 989b1a8b754..d94d2aadde8 100644 --- a/spec/enrichments/tsdoc_v2/storage.json +++ b/spec/enrichments/tsdoc_v2/storage.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 390, + "id": 402, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 391, + "id": 403, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,14 +34,14 @@ ], "signatures": [ { - "id": 392, + "id": 404, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 405, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 394, + "id": 406, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -65,24 +65,24 @@ ], "type": { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 395, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +100,7 @@ } }, { - "id": 396, + "id": 408, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -114,7 +114,7 @@ ], "signatures": [ { - "id": 397, + "id": 409, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +122,14 @@ "type": { "type": "reflection", "declaration": { - "id": 398, + "id": 410, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 400, + "id": 412, "name": "message", "kind": 1024, "kindString": "Property", @@ -148,7 +148,7 @@ "defaultValue": "..." }, { - "id": 399, + "id": 411, "name": "name", "kind": 1024, "kindString": "Property", @@ -167,7 +167,7 @@ "defaultValue": "..." }, { - "id": 401, + "id": 413, "name": "status", "kind": 1024, "kindString": "Property", @@ -190,7 +190,7 @@ { "title": "Properties", "kind": 1024, - "children": [400, 399, 401] + "children": [412, 411, 413] } ] } @@ -203,17 +203,17 @@ { "title": "Constructors", "kind": 512, - "children": [391] + "children": [403] }, { "title": "Properties", "kind": 1024, - "children": [395] + "children": [407] }, { "title": "Methods", "kind": 2048, - "children": [396] + "children": [408] } ], "sources": [ @@ -226,20 +226,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 258, + "id": 266, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 259, + "id": 267, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -253,14 +253,14 @@ ], "signatures": [ { - "id": 260, + "id": 268, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 261, + "id": 269, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ } }, { - "id": 262, + "id": 270, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -279,20 +279,20 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 264, + "id": 272, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 265, + "id": 273, "name": "key", "kind": 32768, "flags": {}, @@ -312,7 +312,7 @@ "defaultValue": "{}" }, { - "id": 266, + "id": 274, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -322,21 +322,21 @@ "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 268, + "id": 276, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 269, + "id": 277, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -349,7 +349,7 @@ } }, { - "id": 270, + "id": 278, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -386,7 +386,7 @@ ], "type": { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" }, "overwrites": { @@ -403,7 +403,7 @@ } }, { - "id": 301, + "id": 309, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -417,7 +417,7 @@ ], "signatures": [ { - "id": 302, + "id": 310, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 303, + "id": 311, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -442,7 +442,7 @@ } }, { - "id": 304, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -450,14 +450,14 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 314, "name": "public", "kind": 1024, "kindString": "Property", @@ -482,7 +482,7 @@ { "title": "Properties", "kind": 1024, - "children": [306] + "children": [314] } ] } @@ -499,14 +499,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -523,7 +523,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -537,7 +537,7 @@ } }, { - "id": 309, + "id": 317, "name": "error", "kind": 1024, "kindString": "Property", @@ -559,7 +559,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 309] + "children": [316, 317] } ] } @@ -567,14 +567,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 319, "name": "data", "kind": 1024, "kindString": "Property", @@ -592,7 +592,7 @@ } }, { - "id": 312, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -606,7 +606,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -615,7 +615,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 312] + "children": [319, 320] } ] } @@ -641,7 +641,7 @@ } }, { - "id": 338, + "id": 346, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -655,7 +655,7 @@ ], "signatures": [ { - "id": 339, + "id": 347, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -665,7 +665,7 @@ }, "parameters": [ { - "id": 340, + "id": 348, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -688,14 +688,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 350, "name": "data", "kind": 1024, "kindString": "Property", @@ -710,14 +710,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 352, "name": "message", "kind": 1024, "kindString": "Property", @@ -739,14 +739,14 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [352] } ] } } }, { - "id": 345, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -768,7 +768,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [350, 353] } ] } @@ -776,14 +776,14 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -801,7 +801,7 @@ } }, { - "id": 348, + "id": 356, "name": "error", "kind": 1024, "kindString": "Property", @@ -815,7 +815,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -824,7 +824,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348] + "children": [355, 356] } ] } @@ -850,7 +850,7 @@ } }, { - "id": 327, + "id": 335, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -864,7 +864,7 @@ ], "signatures": [ { - "id": 328, + "id": 336, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -874,7 +874,7 @@ }, "parameters": [ { - "id": 329, + "id": 337, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -897,14 +897,14 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 338, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 331, + "id": 339, "name": "data", "kind": 1024, "kindString": "Property", @@ -919,14 +919,14 @@ "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 341, "name": "message", "kind": 1024, "kindString": "Property", @@ -948,14 +948,14 @@ { "title": "Properties", "kind": 1024, - "children": [333] + "children": [341] } ] } } }, { - "id": 334, + "id": 342, "name": "error", "kind": 1024, "kindString": "Property", @@ -977,7 +977,7 @@ { "title": "Properties", "kind": 1024, - "children": [331, 334] + "children": [339, 342] } ] } @@ -985,14 +985,14 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 344, "name": "data", "kind": 1024, "kindString": "Property", @@ -1010,7 +1010,7 @@ } }, { - "id": 337, + "id": 345, "name": "error", "kind": 1024, "kindString": "Property", @@ -1024,7 +1024,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1033,7 +1033,7 @@ { "title": "Properties", "kind": 1024, - "children": [336, 337] + "children": [344, 345] } ] } @@ -1059,7 +1059,7 @@ } }, { - "id": 271, + "id": 279, "name": "from", "kind": 2048, "kindString": "Method", @@ -1073,7 +1073,7 @@ ], "signatures": [ { - "id": 272, + "id": 280, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1083,7 +1083,7 @@ }, "parameters": [ { - "id": 273, + "id": 281, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1106,7 +1106,7 @@ ] }, { - "id": 292, + "id": 300, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -1120,7 +1120,7 @@ ], "signatures": [ { - "id": 293, + "id": 301, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -1130,7 +1130,7 @@ }, "parameters": [ { - "id": 294, + "id": 302, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1153,14 +1153,14 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -1174,12 +1174,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 297, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -1201,7 +1201,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 297] + "children": [304, 305] } ] } @@ -1209,14 +1209,14 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -1234,7 +1234,7 @@ } }, { - "id": 300, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -1248,7 +1248,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1257,7 +1257,7 @@ { "title": "Properties", "kind": 1024, - "children": [299, 300] + "children": [307, 308] } ] } @@ -1283,7 +1283,7 @@ } }, { - "id": 284, + "id": 292, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -1297,7 +1297,7 @@ ], "signatures": [ { - "id": 285, + "id": 293, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -1314,14 +1314,14 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 295, "name": "data", "kind": 1024, "kindString": "Property", @@ -1337,13 +1337,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } }, { - "id": 288, + "id": 296, "name": "error", "kind": 1024, "kindString": "Property", @@ -1365,7 +1365,7 @@ { "title": "Properties", "kind": 1024, - "children": [287, 288] + "children": [295, 296] } ] } @@ -1373,14 +1373,14 @@ { "type": "reflection", "declaration": { - "id": 289, + "id": 297, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 290, + "id": 298, "name": "data", "kind": 1024, "kindString": "Property", @@ -1398,7 +1398,7 @@ } }, { - "id": 291, + "id": 299, "name": "error", "kind": 1024, "kindString": "Property", @@ -1412,7 +1412,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1421,7 +1421,7 @@ { "title": "Properties", "kind": 1024, - "children": [290, 291] + "children": [298, 299] } ] } @@ -1447,7 +1447,7 @@ } }, { - "id": 313, + "id": 321, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1461,7 +1461,7 @@ ], "signatures": [ { - "id": 314, + "id": 322, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1471,7 +1471,7 @@ }, "parameters": [ { - "id": 315, + "id": 323, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1485,7 +1485,7 @@ } }, { - "id": 316, + "id": 324, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1493,14 +1493,14 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, + "id": 326, "name": "public", "kind": 1024, "kindString": "Property", @@ -1525,7 +1525,7 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [326] } ] } @@ -1541,14 +1541,14 @@ { "type": "reflection", "declaration": { - "id": 319, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 328, "name": "data", "kind": 1024, "kindString": "Property", @@ -1563,14 +1563,14 @@ "type": { "type": "reflection", "declaration": { - "id": 321, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 322, + "id": 330, "name": "message", "kind": 1024, "kindString": "Property", @@ -1592,14 +1592,14 @@ { "title": "Properties", "kind": 1024, - "children": [322] + "children": [330] } ] } } }, { - "id": 323, + "id": 331, "name": "error", "kind": 1024, "kindString": "Property", @@ -1621,7 +1621,7 @@ { "title": "Properties", "kind": 1024, - "children": [320, 323] + "children": [328, 331] } ] } @@ -1629,14 +1629,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 333, "name": "data", "kind": 1024, "kindString": "Property", @@ -1654,7 +1654,7 @@ } }, { - "id": 326, + "id": 334, "name": "error", "kind": 1024, "kindString": "Property", @@ -1668,7 +1668,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1677,7 +1677,7 @@ { "title": "Properties", "kind": 1024, - "children": [325, 326] + "children": [333, 334] } ] } @@ -1707,12 +1707,12 @@ { "title": "Constructors", "kind": 512, - "children": [259] + "children": [267] }, { "title": "Methods", "kind": 2048, - "children": [301, 338, 327, 271, 292, 284, 313] + "children": [309, 346, 335, 279, 300, 292, 321] } ], "sources": [ @@ -1731,14 +1731,14 @@ ] }, { - "id": 385, + "id": 397, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 386, + "id": 398, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1752,14 +1752,14 @@ ], "signatures": [ { - "id": 387, + "id": 399, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 400, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1772,7 +1772,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" }, "overwrites": { @@ -1791,7 +1791,7 @@ { "title": "Constructors", "kind": 512, - "children": [386] + "children": [398] } ], "sources": [ @@ -1812,25 +1812,25 @@ "extendedBy": [ { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" } ] }, { - "id": 403, + "id": 415, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 416, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1844,14 +1844,14 @@ ], "signatures": [ { - "id": 405, + "id": 417, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 418, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1862,7 +1862,7 @@ } }, { - "id": 407, + "id": 419, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1875,24 +1875,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 420, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1914,12 +1914,12 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [416] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [420] } ], "sources": [ @@ -1932,20 +1932,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 349, + "id": 357, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 353, + "id": 361, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -1963,7 +1963,7 @@ } }, { - "id": 350, + "id": 358, "name": "id", "kind": 1024, "kindString": "Property", @@ -1981,7 +1981,7 @@ } }, { - "id": 351, + "id": 359, "name": "name", "kind": 1024, "kindString": "Property", @@ -1999,7 +1999,7 @@ } }, { - "id": 352, + "id": 360, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2017,7 +2017,7 @@ } }, { - "id": 355, + "id": 363, "name": "public", "kind": 1024, "kindString": "Property", @@ -2035,7 +2035,7 @@ } }, { - "id": 354, + "id": 362, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2057,7 +2057,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 350, 351, 352, 355, 354] + "children": [361, 358, 359, 360, 363, 362] } ], "sources": [ @@ -2069,14 +2069,14 @@ ] }, { - "id": 378, + "id": 386, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, + "id": 387, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2105,7 +2105,7 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [387] } ], "sources": [ @@ -2117,14 +2117,14 @@ ] }, { - "id": 356, + "id": 364, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 366, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -2142,7 +2142,7 @@ } }, { - "id": 365, + "id": 373, "name": "buckets", "kind": 1024, "kindString": "Property", @@ -2156,12 +2156,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 362, + "id": 370, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2179,7 +2179,7 @@ } }, { - "id": 360, + "id": 368, "name": "id", "kind": 1024, "kindString": "Property", @@ -2197,7 +2197,7 @@ } }, { - "id": 363, + "id": 371, "name": "last_accessed_at", "kind": 1024, "kindString": "Property", @@ -2215,7 +2215,7 @@ } }, { - "id": 364, + "id": 372, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -2245,7 +2245,7 @@ } }, { - "id": 357, + "id": 365, "name": "name", "kind": 1024, "kindString": "Property", @@ -2263,7 +2263,7 @@ } }, { - "id": 359, + "id": 367, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2281,7 +2281,7 @@ } }, { - "id": 361, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2303,7 +2303,7 @@ { "title": "Properties", "kind": 1024, - "children": [358, 365, 362, 360, 363, 364, 357, 359, 361] + "children": [366, 373, 370, 368, 371, 372, 365, 367, 369] } ], "sources": [ @@ -2315,14 +2315,14 @@ ] }, { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -2345,7 +2345,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -2368,7 +2368,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -2395,7 +2395,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -2407,14 +2407,14 @@ ] }, { - "id": 380, + "id": 388, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 381, + "id": 389, "name": "name", "kind": 1024, "kindString": "Property", @@ -2436,7 +2436,7 @@ { "title": "Properties", "kind": 1024, - "children": [381] + "children": [389] } ], "sources": [ @@ -2448,14 +2448,14 @@ ] }, { - "id": 373, + "id": 381, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 382, "name": "limit", "kind": 1024, "kindString": "Property", @@ -2478,7 +2478,7 @@ } }, { - "id": 375, + "id": 383, "name": "offset", "kind": 1024, "kindString": "Property", @@ -2501,7 +2501,7 @@ } }, { - "id": 377, + "id": 385, "name": "search", "kind": 1024, "kindString": "Property", @@ -2524,7 +2524,7 @@ } }, { - "id": 376, + "id": 384, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -2543,7 +2543,7 @@ ], "type": { "type": "reference", - "id": 366, + "id": 374, "name": "SortBy" } } @@ -2552,7 +2552,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 375, 377, 376] + "children": [382, 383, 385, 384] } ], "sources": [ @@ -2564,14 +2564,14 @@ ] }, { - "id": 366, + "id": 374, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 367, + "id": 375, "name": "column", "kind": 1024, "kindString": "Property", @@ -2591,7 +2591,7 @@ } }, { - "id": 368, + "id": 376, "name": "order", "kind": 1024, "kindString": "Property", @@ -2615,7 +2615,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [375, 376] } ], "sources": [ @@ -2627,7 +2627,112 @@ ] }, { - "id": 382, + "id": 390, + "name": "TransformOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 392, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The height of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 393, + "name": "resize", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cover" + }, + { + "type": "literal", + "value": "contain" + }, + { + "type": "literal", + "value": "fill" + } + ] + } + }, + { + "id": 391, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The width of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [392, 393, 391] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 17 + } + ] + }, + { + "id": 394, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -2641,14 +2746,14 @@ ], "signatures": [ { - "id": 383, + "id": 395, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 384, + "id": 396, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -2665,7 +2770,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -2677,17 +2782,17 @@ { "title": "Classes", "kind": 128, - "children": [390, 258, 385, 403] + "children": [402, 266, 397, 415] }, { "title": "Interfaces", "kind": 256, - "children": [349, 378, 356, 369, 380, 373, 366] + "children": [357, 386, 364, 377, 388, 381, 374, 390] }, { "title": "Functions", "kind": 64, - "children": [382] + "children": [394] } ], "sources": [ @@ -2987,7 +3092,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -3070,7 +3175,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3269,7 +3374,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3468,7 +3573,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3561,7 +3666,7 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, @@ -3635,7 +3740,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3714,7 +3819,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } @@ -3789,7 +3894,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4035,7 +4140,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4082,7 +4187,7 @@ "extendedBy": [ { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" } ] @@ -4126,7 +4231,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 27, + "line": 33, "character": 2 } ], @@ -4293,7 +4398,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 226, + "line": 232, "character": 8 } ], @@ -4361,7 +4466,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 8 } ], @@ -4383,7 +4488,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 16 } ], @@ -4412,7 +4517,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 232, + "line": 238, "character": 8 } ], @@ -4449,7 +4554,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 235, + "line": 241, "character": 8 } ], @@ -4467,13 +4572,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 236, + "line": 242, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4506,7 +4611,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 263, + "line": 270, "character": 8 } ], @@ -4571,14 +4676,16 @@ "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 266, + "line": 273, "character": 16 } ], @@ -4595,13 +4702,37 @@ } ] } + }, + { + "id": 188, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 273, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [187] + "children": [187, 188] } ] } @@ -4617,14 +4748,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 190, "name": "data", "kind": 1024, "kindString": "Property", @@ -4632,21 +4763,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 191, + "id": 192, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -4654,7 +4785,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 16 } ], @@ -4668,14 +4799,14 @@ { "title": "Properties", "kind": 1024, - "children": [191] + "children": [192] } ] } } }, { - "id": 192, + "id": 193, "name": "error", "kind": 1024, "kindString": "Property", @@ -4683,7 +4814,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 270, + "line": 277, "character": 8 } ], @@ -4697,7 +4828,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 192] + "children": [190, 193] } ] } @@ -4705,14 +4836,14 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "data", "kind": 1024, "kindString": "Property", @@ -4720,7 +4851,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 273, + "line": 280, "character": 8 } ], @@ -4730,7 +4861,7 @@ } }, { - "id": 195, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -4738,13 +4869,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 274, + "line": 281, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4753,7 +4884,7 @@ { "title": "Properties", "kind": 1024, - "children": [194, 195] + "children": [195, 196] } ] } @@ -4769,7 +4900,7 @@ ] }, { - "id": 196, + "id": 197, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -4777,13 +4908,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 307, + "line": 315, "character": 8 } ], "signatures": [ { - "id": 197, + "id": 198, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -4793,7 +4924,7 @@ }, "parameters": [ { - "id": 198, + "id": 199, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -4810,7 +4941,7 @@ } }, { - "id": 199, + "id": 200, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -4824,7 +4955,7 @@ } }, { - "id": 200, + "id": 201, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4834,14 +4965,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 203, "name": "download", "kind": 1024, "kindString": "Property", @@ -4852,7 +4983,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 310, + "line": 318, "character": 16 } ], @@ -4875,7 +5006,7 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [203] } ] } @@ -4891,14 +5022,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 204, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 205, "name": "data", "kind": 1024, "kindString": "Property", @@ -4906,7 +5037,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 8 } ], @@ -4915,14 +5046,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 205, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 207, "name": "error", "kind": 1024, "kindString": "Property", @@ -4930,7 +5061,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 16 } ], @@ -4949,7 +5080,7 @@ } }, { - "id": 207, + "id": 208, "name": "path", "kind": 1024, "kindString": "Property", @@ -4957,7 +5088,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 38 } ], @@ -4976,7 +5107,7 @@ } }, { - "id": 208, + "id": 209, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -4984,7 +5115,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 59 } ], @@ -4998,7 +5129,7 @@ { "title": "Properties", "kind": 1024, - "children": [206, 207, 208] + "children": [207, 208, 209] } ] } @@ -5006,7 +5137,7 @@ } }, { - "id": 209, + "id": 210, "name": "error", "kind": 1024, "kindString": "Property", @@ -5014,7 +5145,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 314, + "line": 322, "character": 8 } ], @@ -5028,7 +5159,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 209] + "children": [205, 210] } ] } @@ -5036,14 +5167,14 @@ { "type": "reflection", "declaration": { - "id": 210, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 211, + "id": 212, "name": "data", "kind": 1024, "kindString": "Property", @@ -5051,7 +5182,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 325, "character": 8 } ], @@ -5061,7 +5192,7 @@ } }, { - "id": 212, + "id": 213, "name": "error", "kind": 1024, "kindString": "Property", @@ -5069,13 +5200,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 318, + "line": 326, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5084,7 +5215,7 @@ { "title": "Properties", "kind": 1024, - "children": [211, 212] + "children": [212, 213] } ] } @@ -5100,7 +5231,7 @@ ] }, { - "id": 213, + "id": 214, "name": "download", "kind": 2048, "kindString": "Method", @@ -5108,13 +5239,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 355, + "line": 364, "character": 8 } ], "signatures": [ { - "id": 214, + "id": 215, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -5124,18 +5255,70 @@ }, "parameters": [ { - "id": 215, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n" + "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`." }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 217, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 219, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 366, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [219] + } + ] + } + } } ], "type": { @@ -5147,14 +5330,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -5162,7 +5345,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 359, + "line": 369, "character": 8 } ], @@ -5174,7 +5357,7 @@ } }, { - "id": 218, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -5182,7 +5365,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 360, + "line": 370, "character": 8 } ], @@ -5196,7 +5379,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 218] + "children": [221, 222] } ] } @@ -5204,14 +5387,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -5219,7 +5402,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 363, + "line": 373, "character": 8 } ], @@ -5229,7 +5412,7 @@ } }, { - "id": 221, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -5237,13 +5420,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 364, + "line": 374, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5252,7 +5435,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 221] + "children": [224, 225] } ] } @@ -5268,7 +5451,7 @@ ] }, { - "id": 222, + "id": 226, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -5276,13 +5459,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 391, + "line": 407, "character": 2 } ], "signatures": [ { - "id": 223, + "id": 227, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -5292,7 +5475,7 @@ }, "parameters": [ { - "id": 224, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5306,7 +5489,7 @@ } }, { - "id": 225, + "id": 229, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5316,25 +5499,27 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 231, "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 393, + "line": 409, "character": 16 } ], @@ -5351,13 +5536,37 @@ } ] } + }, + { + "id": 232, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 409, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [231, 232] } ] } @@ -5367,14 +5576,14 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -5382,21 +5591,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 231, + "id": 236, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -5404,7 +5613,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 15 } ], @@ -5418,7 +5627,7 @@ { "title": "Properties", "kind": 1024, - "children": [231] + "children": [236] } ] } @@ -5429,7 +5638,7 @@ { "title": "Properties", "kind": 1024, - "children": [229] + "children": [234] } ] } @@ -5438,7 +5647,7 @@ ] }, { - "id": 241, + "id": 246, "name": "list", "kind": 2048, "kindString": "Method", @@ -5446,13 +5655,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 506, + "line": 541, "character": 8 } ], "signatures": [ { - "id": 242, + "id": 247, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -5462,7 +5671,7 @@ }, "parameters": [ { - "id": 243, + "id": 248, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5478,7 +5687,7 @@ } }, { - "id": 244, + "id": 249, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5487,12 +5696,12 @@ }, "type": { "type": "reference", - "id": 373, + "id": 381, "name": "SearchOptions" } }, { - "id": 245, + "id": 250, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -5501,7 +5710,7 @@ }, "type": { "type": "reference", - "id": 378, + "id": 386, "name": "FetchParameters" } } @@ -5515,14 +5724,14 @@ { "type": "reflection", "declaration": { - "id": 246, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 247, + "id": 252, "name": "data", "kind": 1024, "kindString": "Property", @@ -5530,7 +5739,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 512, + "line": 547, "character": 8 } ], @@ -5538,13 +5747,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 248, + "id": 253, "name": "error", "kind": 1024, "kindString": "Property", @@ -5552,7 +5761,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 548, "character": 8 } ], @@ -5566,7 +5775,7 @@ { "title": "Properties", "kind": 1024, - "children": [247, 248] + "children": [252, 253] } ] } @@ -5574,14 +5783,14 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 254, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 255, "name": "data", "kind": 1024, "kindString": "Property", @@ -5589,7 +5798,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 551, "character": 8 } ], @@ -5599,7 +5808,7 @@ } }, { - "id": 251, + "id": 256, "name": "error", "kind": 1024, "kindString": "Property", @@ -5607,13 +5816,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 552, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5622,7 +5831,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251] + "children": [255, 256] } ] } @@ -5646,7 +5855,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 190, + "line": 196, "character": 8 } ], @@ -5714,7 +5923,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 8 } ], @@ -5736,7 +5945,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 16 } ], @@ -5765,7 +5974,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 196, + "line": 202, "character": 8 } ], @@ -5802,7 +6011,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 199, + "line": 205, "character": 8 } ], @@ -5820,13 +6029,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 200, + "line": 206, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5851,7 +6060,7 @@ ] }, { - "id": 232, + "id": 237, "name": "remove", "kind": 2048, "kindString": "Method", @@ -5859,13 +6068,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 410, + "line": 445, "character": 8 } ], "signatures": [ { - "id": 233, + "id": 238, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -5875,7 +6084,7 @@ }, "parameters": [ { - "id": 234, + "id": 239, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -5901,14 +6110,14 @@ { "type": "reflection", "declaration": { - "id": 235, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 241, "name": "data", "kind": 1024, "kindString": "Property", @@ -5916,7 +6125,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 414, + "line": 449, "character": 8 } ], @@ -5924,13 +6133,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 237, + "id": 242, "name": "error", "kind": 1024, "kindString": "Property", @@ -5938,7 +6147,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 415, + "line": 450, "character": 8 } ], @@ -5952,7 +6161,7 @@ { "title": "Properties", "kind": 1024, - "children": [236, 237] + "children": [241, 242] } ] } @@ -5960,14 +6169,14 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 239, + "id": 244, "name": "data", "kind": 1024, "kindString": "Property", @@ -5975,7 +6184,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 418, + "line": 453, "character": 8 } ], @@ -5985,7 +6194,7 @@ } }, { - "id": 240, + "id": 245, "name": "error", "kind": 1024, "kindString": "Property", @@ -5993,13 +6202,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 419, + "line": 454, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6008,7 +6217,7 @@ { "title": "Properties", "kind": 1024, - "children": [239, 240] + "children": [244, 245] } ] } @@ -6032,7 +6241,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 157, + "line": 163, "character": 8 } ], @@ -6152,7 +6361,7 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions" } } @@ -6181,7 +6390,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 8 } ], @@ -6203,7 +6412,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 16 } ], @@ -6232,7 +6441,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 174, + "line": 180, "character": 8 } ], @@ -6269,7 +6478,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 183, "character": 8 } ], @@ -6287,13 +6496,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 178, + "line": 184, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6326,7 +6535,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 124, + "line": 130, "character": 8 } ], @@ -6446,7 +6655,7 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions" } } @@ -6475,7 +6684,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 8 } ], @@ -6497,7 +6706,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 16 } ], @@ -6526,7 +6735,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 141, + "line": 147, "character": 8 } ], @@ -6563,7 +6772,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 144, + "line": 150, "character": 8 } ], @@ -6581,13 +6790,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 145, + "line": 151, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6621,13 +6830,13 @@ { "title": "Methods", "kind": 2048, - "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131] + "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131] } ], "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 21, + "line": 27, "character": 21 } ] diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json index fe03bc12964..d85e05b52d8 100644 --- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 390, + "id": 402, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 391, + "id": 403, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,14 +34,14 @@ ], "signatures": [ { - "id": 392, + "id": 404, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 405, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 394, + "id": 406, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -65,24 +65,24 @@ ], "type": { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 395, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +100,7 @@ } }, { - "id": 396, + "id": 408, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -114,7 +114,7 @@ ], "signatures": [ { - "id": 397, + "id": 409, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +122,14 @@ "type": { "type": "reflection", "declaration": { - "id": 398, + "id": 410, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 400, + "id": 412, "name": "message", "kind": 1024, "kindString": "Property", @@ -148,7 +148,7 @@ "defaultValue": "..." }, { - "id": 399, + "id": 411, "name": "name", "kind": 1024, "kindString": "Property", @@ -167,7 +167,7 @@ "defaultValue": "..." }, { - "id": 401, + "id": 413, "name": "status", "kind": 1024, "kindString": "Property", @@ -190,7 +190,7 @@ { "title": "Properties", "kind": 1024, - "children": [400, 399, 401] + "children": [412, 411, 413] } ] } @@ -203,17 +203,17 @@ { "title": "Constructors", "kind": 512, - "children": [391] + "children": [403] }, { "title": "Properties", "kind": 1024, - "children": [395] + "children": [407] }, { "title": "Methods", "kind": 2048, - "children": [396] + "children": [408] } ], "sources": [ @@ -226,20 +226,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 258, + "id": 266, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 259, + "id": 267, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -253,14 +253,14 @@ ], "signatures": [ { - "id": 260, + "id": 268, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 261, + "id": 269, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ } }, { - "id": 262, + "id": 270, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -279,20 +279,20 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 271, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 264, + "id": 272, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 265, + "id": 273, "name": "key", "kind": 32768, "flags": {}, @@ -312,7 +312,7 @@ "defaultValue": "{}" }, { - "id": 266, + "id": 274, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -322,21 +322,21 @@ "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 268, + "id": 276, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 269, + "id": 277, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -349,7 +349,7 @@ } }, { - "id": 270, + "id": 278, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -386,7 +386,7 @@ ], "type": { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" }, "overwrites": { @@ -403,7 +403,7 @@ } }, { - "id": 301, + "id": 309, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -417,7 +417,7 @@ ], "signatures": [ { - "id": 302, + "id": 310, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 303, + "id": 311, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -442,7 +442,7 @@ } }, { - "id": 304, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -450,14 +450,14 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 314, "name": "public", "kind": 1024, "kindString": "Property", @@ -482,7 +482,7 @@ { "title": "Properties", "kind": 1024, - "children": [306] + "children": [314] } ] } @@ -499,14 +499,14 @@ { "type": "reflection", "declaration": { - "id": 307, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 308, + "id": 316, "name": "data", "kind": 1024, "kindString": "Property", @@ -523,7 +523,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -537,7 +537,7 @@ } }, { - "id": 309, + "id": 317, "name": "error", "kind": 1024, "kindString": "Property", @@ -559,7 +559,7 @@ { "title": "Properties", "kind": 1024, - "children": [308, 309] + "children": [316, 317] } ] } @@ -567,14 +567,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 319, "name": "data", "kind": 1024, "kindString": "Property", @@ -592,7 +592,7 @@ } }, { - "id": 312, + "id": 320, "name": "error", "kind": 1024, "kindString": "Property", @@ -606,7 +606,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -615,7 +615,7 @@ { "title": "Properties", "kind": 1024, - "children": [311, 312] + "children": [319, 320] } ] } @@ -641,7 +641,7 @@ } }, { - "id": 338, + "id": 346, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -655,7 +655,7 @@ ], "signatures": [ { - "id": 339, + "id": 347, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -665,7 +665,7 @@ }, "parameters": [ { - "id": 340, + "id": 348, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -688,14 +688,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 350, "name": "data", "kind": 1024, "kindString": "Property", @@ -710,14 +710,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 344, + "id": 352, "name": "message", "kind": 1024, "kindString": "Property", @@ -739,14 +739,14 @@ { "title": "Properties", "kind": 1024, - "children": [344] + "children": [352] } ] } } }, { - "id": 345, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -768,7 +768,7 @@ { "title": "Properties", "kind": 1024, - "children": [342, 345] + "children": [350, 353] } ] } @@ -776,14 +776,14 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -801,7 +801,7 @@ } }, { - "id": 348, + "id": 356, "name": "error", "kind": 1024, "kindString": "Property", @@ -815,7 +815,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -824,7 +824,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348] + "children": [355, 356] } ] } @@ -850,7 +850,7 @@ } }, { - "id": 327, + "id": 335, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -864,7 +864,7 @@ ], "signatures": [ { - "id": 328, + "id": 336, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -874,7 +874,7 @@ }, "parameters": [ { - "id": 329, + "id": 337, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -897,14 +897,14 @@ { "type": "reflection", "declaration": { - "id": 330, + "id": 338, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 331, + "id": 339, "name": "data", "kind": 1024, "kindString": "Property", @@ -919,14 +919,14 @@ "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 333, + "id": 341, "name": "message", "kind": 1024, "kindString": "Property", @@ -948,14 +948,14 @@ { "title": "Properties", "kind": 1024, - "children": [333] + "children": [341] } ] } } }, { - "id": 334, + "id": 342, "name": "error", "kind": 1024, "kindString": "Property", @@ -977,7 +977,7 @@ { "title": "Properties", "kind": 1024, - "children": [331, 334] + "children": [339, 342] } ] } @@ -985,14 +985,14 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 344, "name": "data", "kind": 1024, "kindString": "Property", @@ -1010,7 +1010,7 @@ } }, { - "id": 337, + "id": 345, "name": "error", "kind": 1024, "kindString": "Property", @@ -1024,7 +1024,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1033,7 +1033,7 @@ { "title": "Properties", "kind": 1024, - "children": [336, 337] + "children": [344, 345] } ] } @@ -1059,7 +1059,7 @@ } }, { - "id": 271, + "id": 279, "name": "from", "kind": 2048, "kindString": "Method", @@ -1073,7 +1073,7 @@ ], "signatures": [ { - "id": 272, + "id": 280, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1083,7 +1083,7 @@ }, "parameters": [ { - "id": 273, + "id": 281, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1106,7 +1106,7 @@ ] }, { - "id": 292, + "id": 300, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -1120,7 +1120,7 @@ ], "signatures": [ { - "id": 293, + "id": 301, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -1130,7 +1130,7 @@ }, "parameters": [ { - "id": 294, + "id": 302, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1153,14 +1153,14 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -1174,12 +1174,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 297, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -1201,7 +1201,7 @@ { "title": "Properties", "kind": 1024, - "children": [296, 297] + "children": [304, 305] } ] } @@ -1209,14 +1209,14 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -1234,7 +1234,7 @@ } }, { - "id": 300, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -1248,7 +1248,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1257,7 +1257,7 @@ { "title": "Properties", "kind": 1024, - "children": [299, 300] + "children": [307, 308] } ] } @@ -1283,7 +1283,7 @@ } }, { - "id": 284, + "id": 292, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -1297,7 +1297,7 @@ ], "signatures": [ { - "id": 285, + "id": 293, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -1314,14 +1314,14 @@ { "type": "reflection", "declaration": { - "id": 286, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 295, "name": "data", "kind": 1024, "kindString": "Property", @@ -1337,13 +1337,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } }, { - "id": 288, + "id": 296, "name": "error", "kind": 1024, "kindString": "Property", @@ -1365,7 +1365,7 @@ { "title": "Properties", "kind": 1024, - "children": [287, 288] + "children": [295, 296] } ] } @@ -1373,14 +1373,14 @@ { "type": "reflection", "declaration": { - "id": 289, + "id": 297, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 290, + "id": 298, "name": "data", "kind": 1024, "kindString": "Property", @@ -1398,7 +1398,7 @@ } }, { - "id": 291, + "id": 299, "name": "error", "kind": 1024, "kindString": "Property", @@ -1412,7 +1412,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1421,7 +1421,7 @@ { "title": "Properties", "kind": 1024, - "children": [290, 291] + "children": [298, 299] } ] } @@ -1447,7 +1447,7 @@ } }, { - "id": 313, + "id": 321, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1461,7 +1461,7 @@ ], "signatures": [ { - "id": 314, + "id": 322, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1471,7 +1471,7 @@ }, "parameters": [ { - "id": 315, + "id": 323, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1485,7 +1485,7 @@ } }, { - "id": 316, + "id": 324, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1493,14 +1493,14 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, + "id": 326, "name": "public", "kind": 1024, "kindString": "Property", @@ -1525,7 +1525,7 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [326] } ] } @@ -1541,14 +1541,14 @@ { "type": "reflection", "declaration": { - "id": 319, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 328, "name": "data", "kind": 1024, "kindString": "Property", @@ -1563,14 +1563,14 @@ "type": { "type": "reflection", "declaration": { - "id": 321, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 322, + "id": 330, "name": "message", "kind": 1024, "kindString": "Property", @@ -1592,14 +1592,14 @@ { "title": "Properties", "kind": 1024, - "children": [322] + "children": [330] } ] } } }, { - "id": 323, + "id": 331, "name": "error", "kind": 1024, "kindString": "Property", @@ -1621,7 +1621,7 @@ { "title": "Properties", "kind": 1024, - "children": [320, 323] + "children": [328, 331] } ] } @@ -1629,14 +1629,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 325, + "id": 333, "name": "data", "kind": 1024, "kindString": "Property", @@ -1654,7 +1654,7 @@ } }, { - "id": 326, + "id": 334, "name": "error", "kind": 1024, "kindString": "Property", @@ -1668,7 +1668,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -1677,7 +1677,7 @@ { "title": "Properties", "kind": 1024, - "children": [325, 326] + "children": [333, 334] } ] } @@ -1707,12 +1707,12 @@ { "title": "Constructors", "kind": 512, - "children": [259] + "children": [267] }, { "title": "Methods", "kind": 2048, - "children": [301, 338, 327, 271, 292, 284, 313] + "children": [309, 346, 335, 279, 300, 292, 321] } ], "sources": [ @@ -1731,14 +1731,14 @@ ] }, { - "id": 385, + "id": 397, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 386, + "id": 398, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1752,14 +1752,14 @@ ], "signatures": [ { - "id": 387, + "id": 399, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 400, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1772,7 +1772,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" }, "overwrites": { @@ -1791,7 +1791,7 @@ { "title": "Constructors", "kind": 512, - "children": [386] + "children": [398] } ], "sources": [ @@ -1812,25 +1812,25 @@ "extendedBy": [ { "type": "reference", - "id": 390, + "id": 402, "name": "StorageApiError" }, { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" } ] }, { - "id": 403, + "id": 415, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 416, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1844,14 +1844,14 @@ ], "signatures": [ { - "id": 405, + "id": 417, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 418, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1862,7 +1862,7 @@ } }, { - "id": 407, + "id": 419, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1875,24 +1875,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 415, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 387, + "id": 399, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 386, + "id": 398, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 420, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1914,12 +1914,12 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [416] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [420] } ], "sources": [ @@ -1932,20 +1932,20 @@ "extendedTypes": [ { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } ] }, { - "id": 349, + "id": 357, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 353, + "id": 361, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -1963,7 +1963,7 @@ } }, { - "id": 350, + "id": 358, "name": "id", "kind": 1024, "kindString": "Property", @@ -1981,7 +1981,7 @@ } }, { - "id": 351, + "id": 359, "name": "name", "kind": 1024, "kindString": "Property", @@ -1999,7 +1999,7 @@ } }, { - "id": 352, + "id": 360, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2017,7 +2017,7 @@ } }, { - "id": 355, + "id": 363, "name": "public", "kind": 1024, "kindString": "Property", @@ -2035,7 +2035,7 @@ } }, { - "id": 354, + "id": 362, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2057,7 +2057,7 @@ { "title": "Properties", "kind": 1024, - "children": [353, 350, 351, 352, 355, 354] + "children": [361, 358, 359, 360, 363, 362] } ], "sources": [ @@ -2069,14 +2069,14 @@ ] }, { - "id": 378, + "id": 386, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, + "id": 387, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2105,7 +2105,7 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [387] } ], "sources": [ @@ -2117,14 +2117,14 @@ ] }, { - "id": 356, + "id": 364, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 366, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -2142,7 +2142,7 @@ } }, { - "id": 365, + "id": 373, "name": "buckets", "kind": 1024, "kindString": "Property", @@ -2156,12 +2156,12 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, { - "id": 362, + "id": 370, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2179,7 +2179,7 @@ } }, { - "id": 360, + "id": 368, "name": "id", "kind": 1024, "kindString": "Property", @@ -2197,7 +2197,7 @@ } }, { - "id": 363, + "id": 371, "name": "last_accessed_at", "kind": 1024, "kindString": "Property", @@ -2215,7 +2215,7 @@ } }, { - "id": 364, + "id": 372, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -2245,7 +2245,7 @@ } }, { - "id": 357, + "id": 365, "name": "name", "kind": 1024, "kindString": "Property", @@ -2263,7 +2263,7 @@ } }, { - "id": 359, + "id": 367, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2281,7 +2281,7 @@ } }, { - "id": 361, + "id": 369, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2303,7 +2303,7 @@ { "title": "Properties", "kind": 1024, - "children": [358, 365, 362, 360, 363, 364, 357, 359, 361] + "children": [366, 373, 370, 368, 371, 372, 365, 367, 369] } ], "sources": [ @@ -2315,14 +2315,14 @@ ] }, { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -2345,7 +2345,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -2368,7 +2368,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -2395,7 +2395,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -2407,14 +2407,14 @@ ] }, { - "id": 380, + "id": 388, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 381, + "id": 389, "name": "name", "kind": 1024, "kindString": "Property", @@ -2436,7 +2436,7 @@ { "title": "Properties", "kind": 1024, - "children": [381] + "children": [389] } ], "sources": [ @@ -2448,14 +2448,14 @@ ] }, { - "id": 373, + "id": 381, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 382, "name": "limit", "kind": 1024, "kindString": "Property", @@ -2478,7 +2478,7 @@ } }, { - "id": 375, + "id": 383, "name": "offset", "kind": 1024, "kindString": "Property", @@ -2501,7 +2501,7 @@ } }, { - "id": 377, + "id": 385, "name": "search", "kind": 1024, "kindString": "Property", @@ -2524,7 +2524,7 @@ } }, { - "id": 376, + "id": 384, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -2543,7 +2543,7 @@ ], "type": { "type": "reference", - "id": 366, + "id": 374, "name": "SortBy" } } @@ -2552,7 +2552,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 375, 377, 376] + "children": [382, 383, 385, 384] } ], "sources": [ @@ -2564,14 +2564,14 @@ ] }, { - "id": 366, + "id": 374, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 367, + "id": 375, "name": "column", "kind": 1024, "kindString": "Property", @@ -2591,7 +2591,7 @@ } }, { - "id": 368, + "id": 376, "name": "order", "kind": 1024, "kindString": "Property", @@ -2615,7 +2615,7 @@ { "title": "Properties", "kind": 1024, - "children": [367, 368] + "children": [375, 376] } ], "sources": [ @@ -2627,7 +2627,112 @@ ] }, { - "id": 382, + "id": 390, + "name": "TransformOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 392, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The height of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 393, + "name": "resize", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cover" + }, + { + "type": "literal", + "value": "contain" + }, + { + "type": "literal", + "value": "fill" + } + ] + } + }, + { + "id": 391, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The width of the image in pixels." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [392, 393, 391] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 17 + } + ] + }, + { + "id": 394, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -2641,14 +2746,14 @@ ], "signatures": [ { - "id": 383, + "id": 395, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 384, + "id": 396, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -2665,7 +2770,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -2677,17 +2782,17 @@ { "title": "Classes", "kind": 128, - "children": [390, 258, 385, 403] + "children": [402, 266, 397, 415] }, { "title": "Interfaces", "kind": 256, - "children": [349, 378, 356, 369, 380, 373, 366] + "children": [357, 386, 364, 377, 388, 381, 374, 390] }, { "title": "Functions", "kind": 64, - "children": [382] + "children": [394] } ], "sources": [ @@ -2987,7 +3092,7 @@ "typeArguments": [ { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" }, { @@ -3070,7 +3175,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3269,7 +3374,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3468,7 +3573,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3561,7 +3666,7 @@ ], "type": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } }, @@ -3635,7 +3740,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -3714,7 +3819,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 349, + "id": 357, "name": "Bucket" } } @@ -3789,7 +3894,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4035,7 +4140,7 @@ ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4082,7 +4187,7 @@ "extendedBy": [ { "type": "reference", - "id": 258, + "id": 266, "name": "StorageClient" } ] @@ -4126,7 +4231,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 27, + "line": 33, "character": 2 } ], @@ -4293,7 +4398,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 226, + "line": 232, "character": 8 } ], @@ -4361,7 +4466,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 8 } ], @@ -4383,7 +4488,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 231, + "line": 237, "character": 16 } ], @@ -4412,7 +4517,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 232, + "line": 238, "character": 8 } ], @@ -4449,7 +4554,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 235, + "line": 241, "character": 8 } ], @@ -4467,13 +4572,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 236, + "line": 242, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4506,7 +4611,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 263, + "line": 270, "character": 8 } ], @@ -4571,14 +4676,16 @@ "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 266, + "line": 273, "character": 16 } ], @@ -4595,13 +4702,37 @@ } ] } + }, + { + "id": 188, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 273, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [187] + "children": [187, 188] } ] } @@ -4617,14 +4748,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 190, "name": "data", "kind": 1024, "kindString": "Property", @@ -4632,21 +4763,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 191, + "id": 192, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -4654,7 +4785,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 269, + "line": 276, "character": 16 } ], @@ -4668,14 +4799,14 @@ { "title": "Properties", "kind": 1024, - "children": [191] + "children": [192] } ] } } }, { - "id": 192, + "id": 193, "name": "error", "kind": 1024, "kindString": "Property", @@ -4683,7 +4814,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 270, + "line": 277, "character": 8 } ], @@ -4697,7 +4828,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 192] + "children": [190, 193] } ] } @@ -4705,14 +4836,14 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 195, "name": "data", "kind": 1024, "kindString": "Property", @@ -4720,7 +4851,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 273, + "line": 280, "character": 8 } ], @@ -4730,7 +4861,7 @@ } }, { - "id": 195, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -4738,13 +4869,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 274, + "line": 281, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -4753,7 +4884,7 @@ { "title": "Properties", "kind": 1024, - "children": [194, 195] + "children": [195, 196] } ] } @@ -4769,7 +4900,7 @@ ] }, { - "id": 196, + "id": 197, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -4777,13 +4908,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 307, + "line": 315, "character": 8 } ], "signatures": [ { - "id": 197, + "id": 198, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -4793,7 +4924,7 @@ }, "parameters": [ { - "id": 198, + "id": 199, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -4810,7 +4941,7 @@ } }, { - "id": 199, + "id": 200, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -4824,7 +4955,7 @@ } }, { - "id": 200, + "id": 201, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4834,14 +4965,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 203, "name": "download", "kind": 1024, "kindString": "Property", @@ -4852,7 +4983,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 310, + "line": 318, "character": 16 } ], @@ -4875,7 +5006,7 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [203] } ] } @@ -4891,14 +5022,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 204, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 205, "name": "data", "kind": 1024, "kindString": "Property", @@ -4906,7 +5037,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 8 } ], @@ -4915,14 +5046,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 205, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 207, "name": "error", "kind": 1024, "kindString": "Property", @@ -4930,7 +5061,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 16 } ], @@ -4949,7 +5080,7 @@ } }, { - "id": 207, + "id": 208, "name": "path", "kind": 1024, "kindString": "Property", @@ -4957,7 +5088,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 38 } ], @@ -4976,7 +5107,7 @@ } }, { - "id": 208, + "id": 209, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -4984,7 +5115,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 321, "character": 59 } ], @@ -4998,7 +5129,7 @@ { "title": "Properties", "kind": 1024, - "children": [206, 207, 208] + "children": [207, 208, 209] } ] } @@ -5006,7 +5137,7 @@ } }, { - "id": 209, + "id": 210, "name": "error", "kind": 1024, "kindString": "Property", @@ -5014,7 +5145,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 314, + "line": 322, "character": 8 } ], @@ -5028,7 +5159,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 209] + "children": [205, 210] } ] } @@ -5036,14 +5167,14 @@ { "type": "reflection", "declaration": { - "id": 210, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 211, + "id": 212, "name": "data", "kind": 1024, "kindString": "Property", @@ -5051,7 +5182,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 325, "character": 8 } ], @@ -5061,7 +5192,7 @@ } }, { - "id": 212, + "id": 213, "name": "error", "kind": 1024, "kindString": "Property", @@ -5069,13 +5200,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 318, + "line": 326, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5084,7 +5215,7 @@ { "title": "Properties", "kind": 1024, - "children": [211, 212] + "children": [212, 213] } ] } @@ -5100,7 +5231,7 @@ ] }, { - "id": 213, + "id": 214, "name": "download", "kind": 2048, "kindString": "Method", @@ -5108,13 +5239,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 355, + "line": 364, "character": 8 } ], "signatures": [ { - "id": 214, + "id": 215, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -5124,18 +5255,70 @@ }, "parameters": [ { - "id": 215, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n" + "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`." }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 217, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 219, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 366, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [219] + } + ] + } + } } ], "type": { @@ -5147,14 +5330,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -5162,7 +5345,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 359, + "line": 369, "character": 8 } ], @@ -5174,7 +5357,7 @@ } }, { - "id": 218, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -5182,7 +5365,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 360, + "line": 370, "character": 8 } ], @@ -5196,7 +5379,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 218] + "children": [221, 222] } ] } @@ -5204,14 +5387,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -5219,7 +5402,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 363, + "line": 373, "character": 8 } ], @@ -5229,7 +5412,7 @@ } }, { - "id": 221, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -5237,13 +5420,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 364, + "line": 374, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5252,7 +5435,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 221] + "children": [224, 225] } ] } @@ -5268,7 +5451,7 @@ ] }, { - "id": 222, + "id": 226, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -5276,13 +5459,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 391, + "line": 407, "character": 2 } ], "signatures": [ { - "id": 223, + "id": 227, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -5292,7 +5475,7 @@ }, "parameters": [ { - "id": 224, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5306,7 +5489,7 @@ } }, { - "id": 225, + "id": 229, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5316,25 +5499,27 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 231, "name": "download", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { - "shortText": "triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.\n" + "shortText": "Triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename." }, "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 393, + "line": 409, "character": 16 } ], @@ -5351,13 +5536,37 @@ } ] } + }, + { + "id": 232, + "name": "transform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Transform the asset before serving it to the client.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 409, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 390, + "name": "TransformOptions" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [231, 232] } ] } @@ -5367,14 +5576,14 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -5382,21 +5591,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 231, + "id": 236, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -5404,7 +5613,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 394, + "line": 410, "character": 15 } ], @@ -5418,7 +5627,7 @@ { "title": "Properties", "kind": 1024, - "children": [231] + "children": [236] } ] } @@ -5429,7 +5638,7 @@ { "title": "Properties", "kind": 1024, - "children": [229] + "children": [234] } ] } @@ -5438,7 +5647,7 @@ ] }, { - "id": 241, + "id": 246, "name": "list", "kind": 2048, "kindString": "Method", @@ -5446,13 +5655,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 506, + "line": 541, "character": 8 } ], "signatures": [ { - "id": 242, + "id": 247, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -5462,7 +5671,7 @@ }, "parameters": [ { - "id": 243, + "id": 248, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5478,7 +5687,7 @@ } }, { - "id": 244, + "id": 249, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5487,17 +5696,17 @@ }, "type": { "type": "reference", - "id": 373, + "id": 381, "name": "SearchOptions", "dereferenced": { - "id": 373, + "id": 381, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 374, + "id": 382, "name": "limit", "kind": 1024, "kindString": "Property", @@ -5520,7 +5729,7 @@ } }, { - "id": 375, + "id": 383, "name": "offset", "kind": 1024, "kindString": "Property", @@ -5543,7 +5752,7 @@ } }, { - "id": 377, + "id": 385, "name": "search", "kind": 1024, "kindString": "Property", @@ -5566,7 +5775,7 @@ } }, { - "id": 376, + "id": 384, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -5585,7 +5794,7 @@ ], "type": { "type": "reference", - "id": 366, + "id": 374, "name": "SortBy" } } @@ -5594,7 +5803,7 @@ { "title": "Properties", "kind": 1024, - "children": [374, 375, 377, 376] + "children": [382, 383, 385, 384] } ], "sources": [ @@ -5608,7 +5817,7 @@ } }, { - "id": 245, + "id": 250, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -5617,17 +5826,17 @@ }, "type": { "type": "reference", - "id": 378, + "id": 386, "name": "FetchParameters", "dereferenced": { - "id": 378, + "id": 386, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 379, + "id": 387, "name": "signal", "kind": 1024, "kindString": "Property", @@ -5656,7 +5865,7 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [387] } ], "sources": [ @@ -5679,14 +5888,14 @@ { "type": "reflection", "declaration": { - "id": 246, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 247, + "id": 252, "name": "data", "kind": 1024, "kindString": "Property", @@ -5694,7 +5903,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 512, + "line": 547, "character": 8 } ], @@ -5702,13 +5911,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 248, + "id": 253, "name": "error", "kind": 1024, "kindString": "Property", @@ -5716,7 +5925,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 548, "character": 8 } ], @@ -5730,7 +5939,7 @@ { "title": "Properties", "kind": 1024, - "children": [247, 248] + "children": [252, 253] } ] } @@ -5738,14 +5947,14 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 254, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 255, "name": "data", "kind": 1024, "kindString": "Property", @@ -5753,7 +5962,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 551, "character": 8 } ], @@ -5763,7 +5972,7 @@ } }, { - "id": 251, + "id": 256, "name": "error", "kind": 1024, "kindString": "Property", @@ -5771,13 +5980,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 552, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -5786,7 +5995,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251] + "children": [255, 256] } ] } @@ -5810,7 +6019,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 190, + "line": 196, "character": 8 } ], @@ -5878,7 +6087,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 8 } ], @@ -5900,7 +6109,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 195, + "line": 201, "character": 16 } ], @@ -5929,7 +6138,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 196, + "line": 202, "character": 8 } ], @@ -5966,7 +6175,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 199, + "line": 205, "character": 8 } ], @@ -5984,13 +6193,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 200, + "line": 206, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6015,7 +6224,7 @@ ] }, { - "id": 232, + "id": 237, "name": "remove", "kind": 2048, "kindString": "Method", @@ -6023,13 +6232,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 410, + "line": 445, "character": 8 } ], "signatures": [ { - "id": 233, + "id": 238, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -6039,7 +6248,7 @@ }, "parameters": [ { - "id": 234, + "id": 239, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -6065,14 +6274,14 @@ { "type": "reflection", "declaration": { - "id": 235, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 241, "name": "data", "kind": 1024, "kindString": "Property", @@ -6080,7 +6289,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 414, + "line": 449, "character": 8 } ], @@ -6088,13 +6297,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 356, + "id": 364, "name": "FileObject" } } }, { - "id": 237, + "id": 242, "name": "error", "kind": 1024, "kindString": "Property", @@ -6102,7 +6311,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 415, + "line": 450, "character": 8 } ], @@ -6116,7 +6325,7 @@ { "title": "Properties", "kind": 1024, - "children": [236, 237] + "children": [241, 242] } ] } @@ -6124,14 +6333,14 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 239, + "id": 244, "name": "data", "kind": 1024, "kindString": "Property", @@ -6139,7 +6348,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 418, + "line": 453, "character": 8 } ], @@ -6149,7 +6358,7 @@ } }, { - "id": 240, + "id": 245, "name": "error", "kind": 1024, "kindString": "Property", @@ -6157,13 +6366,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 419, + "line": 454, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6172,7 +6381,7 @@ { "title": "Properties", "kind": 1024, - "children": [239, 240] + "children": [244, 245] } ] } @@ -6196,7 +6405,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 157, + "line": 163, "character": 8 } ], @@ -6316,17 +6525,17 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions", "dereferenced": { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -6349,7 +6558,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -6372,7 +6581,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -6399,7 +6608,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -6437,7 +6646,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 8 } ], @@ -6459,7 +6668,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 173, + "line": 179, "character": 16 } ], @@ -6488,7 +6697,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 174, + "line": 180, "character": 8 } ], @@ -6525,7 +6734,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 183, "character": 8 } ], @@ -6543,13 +6752,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 178, + "line": 184, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6582,7 +6791,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 124, + "line": 130, "character": 8 } ], @@ -6702,17 +6911,17 @@ }, "type": { "type": "reference", - "id": 369, + "id": 377, "name": "FileOptions", "dereferenced": { - "id": 369, + "id": 377, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 370, + "id": 378, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -6735,7 +6944,7 @@ } }, { - "id": 371, + "id": 379, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -6758,7 +6967,7 @@ } }, { - "id": 372, + "id": 380, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -6785,7 +6994,7 @@ { "title": "Properties", "kind": 1024, - "children": [370, 371, 372] + "children": [378, 379, 380] } ], "sources": [ @@ -6823,7 +7032,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 8 } ], @@ -6845,7 +7054,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 140, + "line": 146, "character": 16 } ], @@ -6874,7 +7083,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 141, + "line": 147, "character": 8 } ], @@ -6911,7 +7120,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 144, + "line": 150, "character": 8 } ], @@ -6929,13 +7138,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 145, + "line": 151, "character": 8 } ], "type": { "type": "reference", - "id": 385, + "id": 397, "name": "StorageError" } } @@ -6969,13 +7178,13 @@ { "title": "Methods", "kind": 2048, - "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131] + "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131] } ], "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 21, + "line": 27, "character": 21 } ] diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml index b130c4a00fb..bf7098ad9ea 100644 --- a/spec/supabase_js_v2.yml +++ b/spec/supabase_js_v2.yml @@ -103,6 +103,35 @@ functions: ``` For React Native we recommend using `AsyncStorage` as the storage implementation for Supabase Auth. + - id: auth-api + title: 'Overview' + notes: | + - The auth methods can be accessed via the `supabase.auth` namespace. + examples: + - id: create-auth-client + name: Create auth client + isSpotlight: true + code: | + ```js + import { createClient } from '@supabase/supabase-js' + + const supabase = createClient(supabase_url, anon_key) + ``` + - id: create-auth-client-server-side + name: Create auth client (server-side) + isSpotlight: false + code: | + ```js + import { createClient } from '@supabase/supabase-js' + + const supabase = createClient(supabase_url, anon_key, { + auth: { + autoRefreshToken: false, + persistSession: false, + detectSessionInUrl: false + } + }) + ``` - id: sign-up title: 'signUp()' $ref: '@supabase/gotrue-js.GoTrueClient.signUp' @@ -118,7 +147,7 @@ functions: - To fetch the currently logged-in user, refer to [`getUser()`](/docs/reference/javascript/auth-getuser). examples: - id: sign-up - name: Sign up. + name: Sign up isSpotlight: true code: | ```js @@ -128,7 +157,7 @@ functions: }) ``` - id: sign-up-with-additional-user-metadata. - name: Sign up with additional user metadata. + name: Sign up with additional user metadata isSpotlight: false code: | ```js @@ -188,7 +217,7 @@ functions: - The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings). examples: - id: sign-in-with-email - name: Sign in with email. + name: Sign in with email isSpotlight: true description: The user will be sent an email which contains either a magiclink or a OTP or both. By default, a given user can only request a OTP once every 60 seconds. code: | @@ -198,7 +227,7 @@ functions: }) ``` - id: sign-in-with-sms-otp - name: Sign in with SMS OTP. + name: Sign in with SMS OTP isSpotlight: false description: The user will be sent a SMS which contains a OTP. By default, a given user can only request a OTP once every 60 seconds. code: | @@ -314,7 +343,7 @@ functions: const { data: { user } } = await supabase.auth.getUser() ``` - id: get-the-logged-in-user-with-a-custom-access-token-jwt - name: Get the logged in user with a custom access token jwt. + name: Get the logged in user with a custom access token jwt isSpotlight: false code: | ```js @@ -367,34 +396,41 @@ functions: isSpotlight: true code: | ```js - const { data, error } = supabase.auth.setSession(refresh_token) + const { data, error } = supabase.auth.setSession({ + access_token, + refresh_token + ) ``` - id: refresh-session title: 'refreshSession()' $ref: '@supabase/gotrue-js.GoTrueClient.refreshSession' notes: | - This method will refresh the session whether the current one is expired or not. - - Both examples destructure `user` and `session` from `data`. This is not required; so `const { data, error } =` is also valid. examples: - id: refresh-session-using-the-current-session name: Refresh session using the current session isSpotlight: true code: | ```js - const { data: { user, session }, error } = await supabase.auth.refreshSession() + const { data, error } = await supabase.auth.refreshSession() + const { session, user } = data ``` - id: refresh-session-using-a-passed-in-session - name: Refresh session using a passed-in session - isSpotlight: true + name: Refresh session using a refresh token + isSpotlight: false code: | ```js - const { data: { user, session }, error } = await supabase.auth.refreshSession({ refresh_token }) + const { data, error } = await supabase.auth.refreshSession({ refresh_token }) + const { session, user } = data ``` - id: on-auth-state-change title: 'onAuthStateChange()' $ref: '@supabase/gotrue-js.GoTrueClient.onAuthStateChange' notes: | - - Types of auth events: `SIGNED_IN`, `SIGNED_OUT`, `TOKEN_REFRESHED`, `USER_UPDATED`, `USER_DELETED`, `PASSWORD_RECOVERY` + - Types of auth events: `SIGNED_IN`, `SIGNED_OUT`, `TOKEN_REFRESHED`, `USER_UPDATED`, `PASSWORD_RECOVERY` + - Currently, `onAuthStateChange()` does not work across tabs. + For instance, in the case of a password reset flow, the original tab which requested for the password reset link will not receive the `SIGNED_IN` and `PASSWORD_RECOVERY` event when the user clicks on the link. + examples: - id: listen-to-auth-changes name: Listen to auth changes @@ -405,6 +441,19 @@ functions: console.log(event, session) }) ``` + - id: listen-to-password-recovery-events + name: Listen to password recovery events + code: | + ```js + supabase.auth.onAuthStateChange((event, session) => { + if (event == 'PASSWORD_RECOVERY') { + console.log('PASSWORD_RECOVERY', session) + + // show screen to update user's password + showPasswordResetScreen(true) + } + }) + ``` - id: listen-to-sign-in name: Listen to sign in code: | @@ -437,27 +486,136 @@ functions: if (event == 'USER_UPDATED') console.log('USER_UPDATED', session) }) ``` - - id: listen-to-user-deleted - name: Listen to user deleted + - id: mfa-enroll + title: 'mfa.enroll()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.enroll' + notes: | + - Currently, `totp` is the only supported `factorType`. The returned `id` should be used to create a challenge. + - To create a challenge, see [`mfa.challenge()`](/docs/reference/javascript/auth-mfa-challenge). + - To verify a challenge, see [`mfa.verify()`](/docs/reference/javascript/auth-mfa-verify). + - To create and verify a challenge in a single step, see [`mfa.challengeAndVerify()`](/docs/reference/javascript/auth-mfa-challengeandverify). + - To generate a QR code for the `totp` secret in nextjs, you can do the following: + ```html + {data.totp.uri} + ``` + examples: + - id: enroll-totp-factor + name: Enroll a time-based, one-time password (TOTP) factor + isSpotlight: true code: | ```js - supabase.auth.onAuthStateChange((event, session) => { - if (event == 'USER_DELETED') console.log('USER_DELETED', session) + const { data, error } = await supabase.auth.mfa.enroll({ + factorType: 'totp' + }) + + // Use the id to create a challenge. + // The challenge can be verified by entering the code generated from the authenticator app. + // The code will be generated upon scanning the qr_code or entering the secret into the authenticator app. + const { id, type, totp: { qr_code, secret, uri } } = data + ``` + - id: mfa-challenge + title: 'mfa.challenge()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.challenge' + notes: | + - An [enrolled factor](/docs/reference/javascript/auth-mfa-enroll) is required before creating a challenge. + - To verify a challenge, see [`mfa.verify()`](/docs/reference/javascript/auth-mfa-verify). + examples: + - id: create-mfa-challenge + name: Create a challenge for a factor + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.mfa.challenge({ + factorId: '34e770dd-9ff9-416c-87fa-43b31d7ef225' }) ``` - - id: listen-to-password-recovery-events - name: Listen to password recovery events + - id: mfa-verify + title: 'mfa.verify()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.verify' + notes: | + - To verify a challenge, please [create a challenge](/docs/reference/javascript/auth-mfa-challenge) first. + examples: + - id: verify-challenge + name: Verify a challenge for a factor + isSpotlight: true code: | ```js - supabase.auth.onAuthStateChange((event, session) => { - if (event == 'PASSWORD_RECOVERY') console.log('PASSWORD_RECOVERY', session) + const { data, error } = await supabase.auth.mfa.verify({ + factorId: '34e770dd-9ff9-416c-87fa-43b31d7ef225', + challengeId: '4034ae6f-a8ce-4fb5-8ee5-69a5863a7c15', + code: '123456' }) ``` + - id: mfa-challenge-and-verify + title: 'mfa.challengeAndVerify()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.challengeAndVerify' + notes: | + - An [enrolled factor](/docs/reference/javascript/auth-mfa-enroll) is required before invoking `challengeAndVerify()`. + - Executes [`mfa.challenge()`](/docs/reference/javascript/auth-mfa-challenge) and [`mfa.verify()`](/docs/reference/javascript/auth-mfa-verify) in a single step. + examples: + - id: challenge-and-verify + name: Create and verify a challenge for a factor + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.mfa.challengeAndVerify({ + factorId: '34e770dd-9ff9-416c-87fa-43b31d7ef225', + challengeId: '4034ae6f-a8ce-4fb5-8ee5-69a5863a7c15', + code: '123456' + }) + ``` + - id: mfa-unenroll + title: 'mfa.unenroll()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.unenroll' + examples: + - id: unenroll-a-factor + name: Unenroll a factor + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.mfa.unenroll({ + factorId: '34e770dd-9ff9-416c-87fa-43b31d7ef225', + }) + ``` + - id: mfa-get-authenticator-assurance-level + title: 'mfa.getAuthenticatorAssuranceLevel()' + $ref: '@supabase/gotrue-js.GoTrueMFAApi.getAuthenticatorAssuranceLevel' + notes: | + - Authenticator Assurance Level (AAL) is the measure of the strength of an authentication mechanism. + - In Supabase, having an AAL of `aal1` refers to having the 1st factor of authentication such as an email and password or OAuth sign-in while `aal2` refers to the 2nd factor of authentication such as a time-based, one-time-password (TOTP). + - If the user has a verified factor, the `nextLevel` field will return `aal2`, else, it will return `aal1`. + examples: + - id: get-aal + name: Get the AAL details of a session + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.mfa.getAuthenticatorAssuranceLevel() + const { currentLevel, nextLevel, currentAuthenticationMethods } = data + ``` - id: admin-api title: 'Overview' notes: | - Any method under the `supabase.auth.admin` namespace requires a `service_role` key. - These methods are considered admin methods and should be called on a trusted server. Never expose your `service_role` key in the browser. + examples: + - id: create-auth-admin-client + name: Create server-side auth client + isSpotlight: true + code: | + ```js + import { createClient } from '@supabase/supabase-js' + + const supabase = createClient(supabase_url, service_role_key, { + auth: { + autoRefreshToken: false, + persistSession: false + } + }) + + // Access auth admin api + const adminAuthClient = supabase.auth.admin + ``` - id: get-user-by-id title: 'getUserById()' @@ -467,7 +625,7 @@ functions: - The `getUserById()` method requires the user's id which maps to the `auth.users.id` column. examples: - id: fetch-the-user-object-using-the-access-token-jwt - name: Fetch the user object using the access_token jwt. + name: Fetch the user object using the access_token jwt isSpotlight: true code: | ```js @@ -477,14 +635,26 @@ functions: - id: list-users title: 'listUsers()' $ref: '@supabase/gotrue-js.GoTrueAdminApi.listUsers' + notes: | + - Defaults to return 50 users per page. examples: - id: get-a-full-list-of-users - name: Get a full list of users. + name: Get a full list of users isSpotlight: true code: | ```js const { data: { users }, error } = await supabase.auth.admin.listUsers() ``` + - id: get-paginated-list-of-users + name: Paginated list of users + isSpotlight: false + code: | + ```js + const { data: { users }, error } = await supabase.auth.admin.listUsers({ + page: 1, + perPage: 1000 + }) + ``` - id: create-user title: 'createUser()' $ref: '@supabase/gotrue-js.GoTrueAdminApi.createUser' @@ -492,7 +662,7 @@ functions: - To confirm the user's email address or phone number, set `email_confirm` or `phone_confirm` to true. Both arguments default to false. examples: - id: create-a-new-user-with-custom-user-metadata - name: Create a new user with custom user metadata + name: With custom user metadata isSpotlight: true code: | ```js @@ -554,12 +724,17 @@ functions: title: 'resetPasswordForEmail()' $ref: '@supabase/gotrue-js.GoTrueClient.resetPasswordForEmail' notes: | - Sends a password reset request to an email address. - When the user clicks the reset link in the email they are redirected back to your application. - Prompt the user for a new password and call `auth.updateUser()`: + - The password reset flow consist of 2 broad steps: (i) Allow the user to login via the password reset link; (ii) Update the user's password. + - The `resetPasswordForEmail()` only sends a password reset link to the user's email. + To update the user's password, see [`updateUser()`](/docs/reference/javascript/auth-updateuser). + - A `SIGNED_IN` and `PASSWORD_RECOVERY` event will be emitted when the password recovery link is clicked. + You can use [`onAuthStateChange()`](/docs/reference/javascript/auth-onauthstatechange) to listen and invoke a callback function on these events. + - When the user clicks the reset link in the email they are redirected back to your application. + Prompt the user for a new password and call `updateUser()`: ```js - const { data, error } = await supabase.auth - .updateUser({ password: new_password }) + const { data, error } = await supabase.auth.updateUser({ + password: new_password + }) ``` examples: - id: reset-password @@ -673,7 +848,7 @@ functions: $ref: '@supabase/gotrue-js.GoTrueAdminApi.updateUserById' examples: - id: updates-a-users-email - name: Updates a user's email. + name: Updates a user's email isSpotlight: false code: | ```js @@ -683,7 +858,7 @@ functions: ) ``` - id: updates-a-users-password - name: Updates a user's password. + name: Updates a user's password isSpotlight: false code: | ```js @@ -693,7 +868,7 @@ functions: ) ``` - id: updates-a-users-metadata - name: Updates a user's metadata. + name: Updates a user's metadata isSpotlight: true code: | ```js @@ -703,7 +878,7 @@ functions: ) ``` - id: updates-a-users-app-metadata - name: Updates a user's app_metadata. + name: Updates a user's app_metadata isSpotlight: false code: | ```js @@ -713,7 +888,7 @@ functions: ) ``` - id: confirms-a-users-email-address - name: Confirms a user's email address. + name: Confirms a user's email address isSpotlight: false code: | ```js @@ -723,7 +898,7 @@ functions: ) ``` - id: confirms-a-users-phone-number - name: Confirms a user's phone number. + name: Confirms a user's phone number isSpotlight: false code: | ```js @@ -732,7 +907,31 @@ functions: { phone_confirm: true } ) ``` - + - id: mfa-list-factors + title: 'mfa.listFactors()' + $ref: '@supabase/gotrue-js.GoTrueAdminMFAApi.listFactors' + examples: + - id: list-factors + name: List all factors for a user + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.admin.mfa.listFactors() + ``` + - id: mfa-delete-factor + title: 'mfa.deleteFactor()' + $ref: '@supabase/gotrue-js.GoTrueAdminMFAApi.deleteFactor' + examples: + - id: delete-factor + name: Delete a factor for a user + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.admin.mfa.deleteFactor({ + id: '34e770dd-9ff9-416c-87fa-43b31d7ef225', + userId: 'a89baba7-b1b7-440f-b4bb-91026967f66b', + }) + ``` - id: select title: 'Fetch data: select()' $ref: '@supabase/postgrest-js.PostgrestQueryBuilder.select' @@ -6765,7 +6964,7 @@ functions: - Responses are automatically parsed as `json`, `blob` and `form-data` depending on the `Content-Type` header sent by your function. Responses are parsed as `text` by default. examples: - id: basic-invocation - name: Basic invocation. + name: Basic invocation description: isSpotlight: true code: | @@ -6775,7 +6974,7 @@ functions: }) ``` - id: error-handling - name: Error handling. + name: Error handling description: | A `FunctionsHttpError` error is returned if your function throws an error, `FunctionsRelayError` if the Supabase Relay has an error processing your function and `FunctionsFetchError` if there is a network error in calling your function. isSpotlight: true @@ -6799,7 +6998,7 @@ functions: } ``` - id: passing-custom-headers - name: Passing custom headers. + name: Passing custom headers description: | You can pass custom headers to your function. Note: supabase-js automatically passes the `Authorization` header with the signed in user's JWT. isSpotlight: true diff --git a/spec/transforms/api_v0_openapi_deparsed.json b/spec/transforms/api_v0_openapi_deparsed.json index c402f198446..ab82667dca0 100644 --- a/spec/transforms/api_v0_openapi_deparsed.json +++ b/spec/transforms/api_v0_openapi_deparsed.json @@ -1078,17 +1078,17 @@ "schema": { "type": "object", "properties": { + "max_rows": { + "type": "integer" + }, "db_schema": { "type": "string" }, - "max_rows": { - "type": "number" - }, "db_extra_search_path": { "type": "string" } }, - "required": ["db_schema", "max_rows", "db_extra_search_path"] + "required": ["max_rows", "db_schema", "db_extra_search_path"] } } } @@ -1130,15 +1130,16 @@ "schema": { "type": "object", "properties": { + "max_rows": { + "type": "integer", + "minimum": 0, + "maximum": 1000000 + }, "db_extra_search_path": { "type": "string" }, "db_schema": { "type": "string" - }, - "max_rows": { - "type": "number", - "maximum": 1000000 } } } @@ -1153,17 +1154,17 @@ "schema": { "type": "object", "properties": { + "max_rows": { + "type": "integer" + }, "db_schema": { "type": "string" }, - "max_rows": { - "type": "number" - }, "db_extra_search_path": { "type": "string" } }, - "required": ["db_schema", "max_rows", "db_extra_search_path"] + "required": ["max_rows", "db_schema", "db_extra_search_path"] } } } @@ -2396,30 +2397,31 @@ "PostgrestConfigResponse": { "type": "object", "properties": { + "max_rows": { + "type": "integer" + }, "db_schema": { "type": "string" }, - "max_rows": { - "type": "number" - }, "db_extra_search_path": { "type": "string" } }, - "required": ["db_schema", "max_rows", "db_extra_search_path"] + "required": ["max_rows", "db_schema", "db_extra_search_path"] }, "UpdatePostgrestConfigBody": { "type": "object", "properties": { + "max_rows": { + "type": "integer", + "minimum": 0, + "maximum": 1000000 + }, "db_extra_search_path": { "type": "string" }, "db_schema": { "type": "string" - }, - "max_rows": { - "type": "number", - "maximum": 1000000 } } },