diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json index d90b37c39bf..d3b7525192c 100644 --- a/spec/common-client-libs-sections.json +++ b/spec/common-client-libs-sections.json @@ -457,6 +457,13 @@ "product": "auth", "type": "function" }, + { + "id": "reset-password-for-email", + "title": "Send a password reset request", + "slug": "auth-resetpasswordforemail", + "product": "auth", + "type": "function" + }, { "id": "session", "title": "Retrieve a session", @@ -541,6 +548,20 @@ "product": "auth", "type": "function" }, + { + "id": "send-password-reauthentication", + "title": "Send a password reauthentication nonce", + "slug": "auth-reauthentication", + "product": "auth", + "type": "function" + }, + { + "id": "resend-email-or-phone-otps", + "title": "Resend an OTP", + "slug": "auth-resend", + "product": "auth", + "type": "function" + }, { "id": "set-session", "title": "Set the session data", @@ -563,46 +584,54 @@ "type": "function" }, { - "id": "mfa-enroll", - "title": "Enroll a factor", - "slug": "auth-mfa-enroll", - "product": "auth", - "type": "function" - }, - { - "id": "mfa-challenge", - "title": "Create a challenge", - "slug": "auth-mfa-challenge", - "product": "auth", - "type": "function" - }, - { - "id": "mfa-verify", - "title": "Verify a challenge", - "slug": "auth-mfa-verify", - "product": "auth", - "type": "function" - }, - { - "id": "mfa-challenge-and-verify", - "title": "Create and verify a challenge", - "slug": "auth-mfa-challengeandverify", - "product": "auth", - "type": "function" - }, - { - "id": "mfa-unenroll", - "title": "Unenroll a factor", - "slug": "auth-mfa-unenroll", - "product": "auth", - "type": "function" - }, - { - "id": "mfa-get-authenticator-assurance-level", - "title": "Get Authenticator Assurance Level", - "slug": "auth-mfa-getauthenticatorassurancelevel", - "product": "auth", - "type": "function" + "id": "auth-mfa-api", + "title": "Auth MFA", + "slug": "auth-mfa-api", + "type": "function", + "items": [ + { + "id": "mfa-enroll", + "title": "Enroll a factor", + "slug": "auth-mfa-enroll", + "product": "auth", + "type": "function" + }, + { + "id": "mfa-challenge", + "title": "Create a challenge", + "slug": "auth-mfa-challenge", + "product": "auth", + "type": "function" + }, + { + "id": "mfa-verify", + "title": "Verify a challenge", + "slug": "auth-mfa-verify", + "product": "auth", + "type": "function" + }, + { + "id": "mfa-challenge-and-verify", + "title": "Create and verify a challenge", + "slug": "auth-mfa-challengeandverify", + "product": "auth", + "type": "function" + }, + { + "id": "mfa-unenroll", + "title": "Unenroll a factor", + "slug": "auth-mfa-unenroll", + "product": "auth", + "type": "function" + }, + { + "id": "mfa-get-authenticator-assurance-level", + "title": "Get Authenticator Assurance Level", + "slug": "auth-mfa-getauthenticatorassurancelevel", + "product": "auth", + "type": "function" + } + ] }, { "id": "admin-api", @@ -645,13 +674,6 @@ "product": "auth-admin", "type": "function" }, - { - "id": "reset-password-for-email", - "title": "Send a password reset request", - "slug": "auth-admin-resetpasswordforemail", - "product": "auth-admin", - "type": "function" - }, { "id": "generate-link", "title": "Generate an email link", diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json index c242a803803..f1c8db966ee 100644 --- a/spec/enrichments/tsdoc_v2/combined.json +++ b/spec/enrichments/tsdoc_v2/combined.json @@ -436,7 +436,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -503,7 +510,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -628,7 +637,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -671,7 +683,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -2143,7 +2160,10 @@ { "title": "Properties", "kind": 1024, - "children": [158, 157] + "children": [ + 158, + 157 + ] } ] } @@ -2261,22 +2281,53 @@ { "title": "Constructors", "kind": 512, - "children": [106] + "children": [ + 106 + ] }, { "title": "Properties", "kind": 1024, - "children": [114, 117, 127, 122, 119, 128, 115, 116, 120, 121, 118, 133, 132] + "children": [ + 114, + 117, + 127, + 122, + 119, + 128, + 115, + 116, + 120, + 121, + 118, + 133, + 132 + ] }, { "title": "Accessors", "kind": 262144, - "children": [134, 136] + "children": [ + 134, + 136 + ] }, { "title": "Methods", "kind": 2048, - "children": [170, 187, 181, 172, 184, 159, 138, 163, 168, 165, 149] + "children": [ + 170, + 187, + 181, + 172, + 184, + 159, + 138, + 163, + 168, + 165, + 149 + ] } ], "sources": [ @@ -2802,7 +2853,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -2869,7 +2927,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -2994,7 +3054,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -3037,7 +3100,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -3083,17 +3151,23 @@ { "title": "References", "kind": 16777216, - "children": [195] + "children": [ + 195 + ] }, { "title": "Classes", "kind": 128, - "children": [105] + "children": [ + 105 + ] }, { "title": "Functions", "kind": 64, - "children": [2] + "children": [ + 2 + ] } ], "sources": [ @@ -3159,7 +3233,9 @@ { "title": "Properties", "kind": 1024, - "children": [13] + "children": [ + 13 + ] } ] } @@ -3171,7 +3247,9 @@ { "title": "Variables", "kind": 32, - "children": [11] + "children": [ + 11 + ] } ], "sources": [ @@ -3649,7 +3727,11 @@ { "title": "Functions", "kind": 64, - "children": [29, 15, 26] + "children": [ + 29, + 15, + 26 + ] } ], "sources": [ @@ -3981,7 +4063,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -4048,7 +4137,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -4173,7 +4264,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -4216,7 +4310,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -4461,7 +4560,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -4528,7 +4634,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -4653,7 +4761,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -4696,7 +4807,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -4826,7 +4942,12 @@ { "title": "Functions", "kind": 64, - "children": [50, 56, 47, 45] + "children": [ + 50, + 56, + 47, + 45 + ] } ], "sources": [ @@ -4963,7 +5084,10 @@ { "title": "Properties", "kind": 1024, - "children": [96, 97] + "children": [ + 96, + 97 + ] } ], "sources": [ @@ -5033,7 +5157,9 @@ { "title": "Properties", "kind": 1024, - "children": [92] + "children": [ + 92 + ] } ], "sources": [ @@ -5166,7 +5292,11 @@ { "title": "Properties", "kind": 1024, - "children": [102, 100, 101] + "children": [ + 102, + 100, + 101 + ] } ], "sources": [ @@ -5296,7 +5426,11 @@ { "title": "Properties", "kind": 1024, - "children": [83, 82, 84] + "children": [ + 83, + 82, + 84 + ] } ], "sources": [ @@ -5426,7 +5560,11 @@ { "title": "Properties", "kind": 1024, - "children": [88, 87, 89] + "children": [ + 88, + 87, + 89 + ] } ], "sources": [ @@ -5572,7 +5710,11 @@ { "title": "Properties", "kind": 1024, - "children": [88, 87, 89] + "children": [ + 88, + 87, + 89 + ] } ], "sources": [ @@ -5642,7 +5784,9 @@ { "title": "Properties", "kind": 1024, - "children": [92] + "children": [ + 92 + ] } ], "sources": [ @@ -5872,7 +6016,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -5939,7 +6090,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -6064,7 +6217,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -6107,7 +6263,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -6125,12 +6286,23 @@ { "title": "Interfaces", "kind": 256, - "children": [59] + "children": [ + 59 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [60, 94, 90, 98, 80, 85, 93, 61] + "children": [ + 60, + 94, + 90, + 98, + 80, + 85, + 93, + 61 + ] } ], "sources": [ @@ -6174,7 +6346,9 @@ { "title": "Variables", "kind": 32, - "children": [104] + "children": [ + 104 + ] } ], "sources": [ @@ -6190,7 +6364,14 @@ { "title": "Modules", "kind": 2, - "children": [1, 10, 14, 44, 58, 103] + "children": [ + 1, + 10, + 14, + 44, + 58, + 103 + ] } ] }, @@ -6203,14 +6384,14 @@ "originalName": "", "children": [ { - "id": 807, + "id": 811, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 808, + "id": 812, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6224,14 +6405,14 @@ ], "signatures": [ { - "id": 809, + "id": 813, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 810, + "id": 814, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6242,7 +6423,7 @@ } }, { - "id": 811, + "id": 815, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6255,24 +6436,24 @@ ], "type": { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 812, + "id": 816, "name": "status", "kind": 1024, "kindString": "Property", @@ -6290,12 +6471,12 @@ }, "overwrites": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } }, { - "id": 813, + "id": 817, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6309,7 +6490,7 @@ ], "signatures": [ { - "id": 814, + "id": 818, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6317,14 +6498,14 @@ "type": { "type": "reflection", "declaration": { - "id": 815, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 817, + "id": 821, "name": "message", "kind": 1024, "kindString": "Property", @@ -6343,7 +6524,7 @@ "defaultValue": "..." }, { - "id": 816, + "id": 820, "name": "name", "kind": 1024, "kindString": "Property", @@ -6362,7 +6543,7 @@ "defaultValue": "..." }, { - "id": 818, + "id": 822, "name": "status", "kind": 1024, "kindString": "Property", @@ -6385,7 +6566,11 @@ { "title": "Properties", "kind": 1024, - "children": [817, 816, 818] + "children": [ + 821, + 820, + 822 + ] } ] } @@ -6398,17 +6583,23 @@ { "title": "Constructors", "kind": 512, - "children": [808] + "children": [ + 812 + ] }, { "title": "Properties", "kind": 1024, - "children": [812] + "children": [ + 816 + ] }, { "title": "Methods", "kind": 2048, - "children": [813] + "children": [ + 817 + ] } ], "sources": [ @@ -6421,20 +6612,20 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] }, { - "id": 800, + "id": 804, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 801, + "id": 805, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6448,14 +6639,14 @@ ], "signatures": [ { - "id": 802, + "id": 806, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 803, + "id": 807, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6466,7 +6657,7 @@ } }, { - "id": 804, + "id": 808, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6481,7 +6672,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" }, "overwrites": { @@ -6496,7 +6687,7 @@ } }, { - "id": 805, + "id": 809, "name": "status", "kind": 1024, "kindString": "Property", @@ -6527,12 +6718,16 @@ { "title": "Constructors", "kind": 512, - "children": [801] + "children": [ + 805 + ] }, { "title": "Properties", "kind": 1024, - "children": [805] + "children": [ + 809 + ] } ], "sources": [ @@ -6553,30 +6748,30 @@ "extendedBy": [ { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" }, { "type": "reference", - "id": 820, + "id": 824, "name": "AuthUnknownError" }, { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 869, + "id": 873, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6590,14 +6785,14 @@ ], "signatures": [ { - "id": 870, + "id": 874, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 871, + "id": 875, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6608,7 +6803,7 @@ } }, { - "id": 872, + "id": 876, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -6623,14 +6818,14 @@ { "type": "reflection", "declaration": { - "id": 873, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 875, + "id": 879, "name": "code", "kind": 1024, "kindString": "Property", @@ -6648,7 +6843,7 @@ } }, { - "id": 874, + "id": 878, "name": "error", "kind": 1024, "kindString": "Property", @@ -6670,7 +6865,10 @@ { "title": "Properties", "kind": 1024, - "children": [875, 874] + "children": [ + 879, + 878 + ] } ] } @@ -6682,24 +6880,24 @@ ], "type": { "type": "reference", - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 876, + "id": 880, "name": "details", "kind": 1024, "kindString": "Property", @@ -6721,14 +6919,14 @@ { "type": "reflection", "declaration": { - "id": 877, + "id": 881, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 879, + "id": 883, "name": "code", "kind": 1024, "kindString": "Property", @@ -6746,7 +6944,7 @@ } }, { - "id": 878, + "id": 882, "name": "error", "kind": 1024, "kindString": "Property", @@ -6768,7 +6966,10 @@ { "title": "Properties", "kind": 1024, - "children": [879, 878] + "children": [ + 883, + 882 + ] } ] } @@ -6778,7 +6979,7 @@ "defaultValue": "null" }, { - "id": 890, + "id": 894, "name": "name", "kind": 1024, "kindString": "Property", @@ -6796,12 +6997,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 891, + "id": 895, "name": "status", "kind": 1024, "kindString": "Property", @@ -6819,12 +7020,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 880, + "id": 884, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6838,7 +7039,7 @@ ], "signatures": [ { - "id": 881, + "id": 885, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6846,14 +7047,14 @@ "type": { "type": "reflection", "declaration": { - "id": 882, + "id": 886, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 886, + "id": 890, "name": "details", "kind": 1024, "kindString": "Property", @@ -6875,14 +7076,14 @@ { "type": "reflection", "declaration": { - "id": 887, + "id": 891, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 889, + "id": 893, "name": "code", "kind": 1024, "kindString": "Property", @@ -6900,7 +7101,7 @@ } }, { - "id": 888, + "id": 892, "name": "error", "kind": 1024, "kindString": "Property", @@ -6922,7 +7123,10 @@ { "title": "Properties", "kind": 1024, - "children": [889, 888] + "children": [ + 893, + 892 + ] } ] } @@ -6932,7 +7136,7 @@ "defaultValue": "..." }, { - "id": 884, + "id": 888, "name": "message", "kind": 1024, "kindString": "Property", @@ -6951,7 +7155,7 @@ "defaultValue": "..." }, { - "id": 883, + "id": 887, "name": "name", "kind": 1024, "kindString": "Property", @@ -6970,7 +7174,7 @@ "defaultValue": "..." }, { - "id": 885, + "id": 889, "name": "status", "kind": 1024, "kindString": "Property", @@ -6993,21 +7197,26 @@ { "title": "Properties", "kind": 1024, - "children": [886, 884, 883, 885] + "children": [ + 890, + 888, + 887, + 889 + ] } ] } }, "overwrites": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -7016,17 +7225,25 @@ { "title": "Constructors", "kind": 512, - "children": [869] + "children": [ + 873 + ] }, { "title": "Properties", "kind": 1024, - "children": [876, 890, 891] + "children": [ + 880, + 894, + 895 + ] }, { "title": "Methods", "kind": 2048, - "children": [880] + "children": [ + 884 + ] } ], "sources": [ @@ -7039,20 +7256,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 856, + "id": 860, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7066,14 +7283,14 @@ ], "signatures": [ { - "id": 857, + "id": 861, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 858, + "id": 862, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7086,24 +7303,24 @@ ], "type": { "type": "reference", - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 859, + "id": 863, "name": "name", "kind": 1024, "kindString": "Property", @@ -7121,12 +7338,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 860, + "id": 864, "name": "status", "kind": 1024, "kindString": "Property", @@ -7144,12 +7361,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 861, + "id": 865, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7163,7 +7380,7 @@ ], "signatures": [ { - "id": 862, + "id": 866, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7171,14 +7388,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 869, "name": "message", "kind": 1024, "kindString": "Property", @@ -7197,7 +7414,7 @@ "defaultValue": "..." }, { - "id": 864, + "id": 868, "name": "name", "kind": 1024, "kindString": "Property", @@ -7216,7 +7433,7 @@ "defaultValue": "..." }, { - "id": 866, + "id": 870, "name": "status", "kind": 1024, "kindString": "Property", @@ -7239,21 +7456,25 @@ { "title": "Properties", "kind": 1024, - "children": [865, 864, 866] + "children": [ + 869, + 868, + 870 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -7262,17 +7483,24 @@ { "title": "Constructors", "kind": 512, - "children": [856] + "children": [ + 860 + ] }, { "title": "Properties", "kind": 1024, - "children": [859, 860] + "children": [ + 863, + 864 + ] }, { "title": "Methods", "kind": 2048, - "children": [861] + "children": [ + 865 + ] } ], "sources": [ @@ -7285,20 +7513,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 894, + "id": 898, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7312,14 +7540,14 @@ ], "signatures": [ { - "id": 895, + "id": 899, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 896, + "id": 900, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7330,7 +7558,7 @@ } }, { - "id": 897, + "id": 901, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -7345,14 +7573,14 @@ { "type": "reflection", "declaration": { - "id": 898, + "id": 902, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 900, + "id": 904, "name": "code", "kind": 1024, "kindString": "Property", @@ -7370,7 +7598,7 @@ } }, { - "id": 899, + "id": 903, "name": "error", "kind": 1024, "kindString": "Property", @@ -7392,7 +7620,10 @@ { "title": "Properties", "kind": 1024, - "children": [900, 899] + "children": [ + 904, + 903 + ] } ] } @@ -7404,24 +7635,24 @@ ], "type": { "type": "reference", - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 901, + "id": 905, "name": "details", "kind": 1024, "kindString": "Property", @@ -7443,14 +7674,14 @@ { "type": "reflection", "declaration": { - "id": 902, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 908, "name": "code", "kind": 1024, "kindString": "Property", @@ -7468,7 +7699,7 @@ } }, { - "id": 903, + "id": 907, "name": "error", "kind": 1024, "kindString": "Property", @@ -7490,7 +7721,10 @@ { "title": "Properties", "kind": 1024, - "children": [904, 903] + "children": [ + 908, + 907 + ] } ] } @@ -7500,7 +7734,7 @@ "defaultValue": "null" }, { - "id": 915, + "id": 919, "name": "name", "kind": 1024, "kindString": "Property", @@ -7518,12 +7752,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 916, + "id": 920, "name": "status", "kind": 1024, "kindString": "Property", @@ -7541,12 +7775,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 905, + "id": 909, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7560,7 +7794,7 @@ ], "signatures": [ { - "id": 906, + "id": 910, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7568,14 +7802,14 @@ "type": { "type": "reflection", "declaration": { - "id": 907, + "id": 911, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 911, + "id": 915, "name": "details", "kind": 1024, "kindString": "Property", @@ -7597,14 +7831,14 @@ { "type": "reflection", "declaration": { - "id": 912, + "id": 916, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 918, "name": "code", "kind": 1024, "kindString": "Property", @@ -7622,7 +7856,7 @@ } }, { - "id": 913, + "id": 917, "name": "error", "kind": 1024, "kindString": "Property", @@ -7644,7 +7878,10 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [ + 918, + 917 + ] } ] } @@ -7654,7 +7891,7 @@ "defaultValue": "..." }, { - "id": 909, + "id": 913, "name": "message", "kind": 1024, "kindString": "Property", @@ -7673,7 +7910,7 @@ "defaultValue": "..." }, { - "id": 908, + "id": 912, "name": "name", "kind": 1024, "kindString": "Property", @@ -7692,7 +7929,7 @@ "defaultValue": "..." }, { - "id": 910, + "id": 914, "name": "status", "kind": 1024, "kindString": "Property", @@ -7715,21 +7952,26 @@ { "title": "Properties", "kind": 1024, - "children": [911, 909, 908, 910] + "children": [ + 915, + 913, + 912, + 914 + ] } ] } }, "overwrites": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -7738,17 +7980,25 @@ { "title": "Constructors", "kind": 512, - "children": [894] + "children": [ + 898 + ] }, { "title": "Properties", "kind": 1024, - "children": [901, 915, 916] + "children": [ + 905, + 919, + 920 + ] }, { "title": "Methods", "kind": 2048, - "children": [905] + "children": [ + 909 + ] } ], "sources": [ @@ -7761,20 +8011,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 918, + "id": 922, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 919, + "id": 923, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7788,14 +8038,14 @@ ], "signatures": [ { - "id": 920, + "id": 924, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 921, + "id": 925, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7806,7 +8056,7 @@ } }, { - "id": 922, + "id": 926, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7819,24 +8069,24 @@ ], "type": { "type": "reference", - "id": 918, + "id": 922, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 923, + "id": 927, "name": "name", "kind": 1024, "kindString": "Property", @@ -7854,12 +8104,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 924, + "id": 928, "name": "status", "kind": 1024, "kindString": "Property", @@ -7877,12 +8127,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 925, + "id": 929, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7896,7 +8146,7 @@ ], "signatures": [ { - "id": 926, + "id": 930, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7904,14 +8154,14 @@ "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 931, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 933, "name": "message", "kind": 1024, "kindString": "Property", @@ -7930,7 +8180,7 @@ "defaultValue": "..." }, { - "id": 928, + "id": 932, "name": "name", "kind": 1024, "kindString": "Property", @@ -7949,7 +8199,7 @@ "defaultValue": "..." }, { - "id": 930, + "id": 934, "name": "status", "kind": 1024, "kindString": "Property", @@ -7972,21 +8222,25 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928, 930] + "children": [ + 933, + 932, + 934 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -7995,17 +8249,24 @@ { "title": "Constructors", "kind": 512, - "children": [919] + "children": [ + 923 + ] }, { "title": "Properties", "kind": 1024, - "children": [923, 924] + "children": [ + 927, + 928 + ] }, { "title": "Methods", "kind": 2048, - "children": [925] + "children": [ + 929 + ] } ], "sources": [ @@ -8018,20 +8279,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 843, + "id": 847, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 844, + "id": 848, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8045,31 +8306,31 @@ ], "signatures": [ { - "id": 845, + "id": 849, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 843, + "id": 847, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 846, + "id": 850, "name": "name", "kind": 1024, "kindString": "Property", @@ -8087,12 +8348,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 847, + "id": 851, "name": "status", "kind": 1024, "kindString": "Property", @@ -8110,12 +8371,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 848, + "id": 852, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -8129,7 +8390,7 @@ ], "signatures": [ { - "id": 849, + "id": 853, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -8137,14 +8398,14 @@ "type": { "type": "reflection", "declaration": { - "id": 850, + "id": 854, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 852, + "id": 856, "name": "message", "kind": 1024, "kindString": "Property", @@ -8163,7 +8424,7 @@ "defaultValue": "..." }, { - "id": 851, + "id": 855, "name": "name", "kind": 1024, "kindString": "Property", @@ -8182,7 +8443,7 @@ "defaultValue": "..." }, { - "id": 853, + "id": 857, "name": "status", "kind": 1024, "kindString": "Property", @@ -8205,21 +8466,25 @@ { "title": "Properties", "kind": 1024, - "children": [852, 851, 853] + "children": [ + 856, + 855, + 857 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -8228,17 +8493,24 @@ { "title": "Constructors", "kind": 512, - "children": [844] + "children": [ + 848 + ] }, { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [ + 850, + 851 + ] }, { "title": "Methods", "kind": 2048, - "children": [848] + "children": [ + 852 + ] } ], "sources": [ @@ -8251,20 +8523,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 820, + "id": 824, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 821, + "id": 825, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8278,14 +8550,14 @@ ], "signatures": [ { - "id": 822, + "id": 826, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 823, + "id": 827, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8296,7 +8568,7 @@ } }, { - "id": 824, + "id": 828, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -8309,24 +8581,24 @@ ], "type": { "type": "reference", - "id": 820, + "id": 824, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 825, + "id": 829, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -8344,7 +8616,7 @@ } }, { - "id": 826, + "id": 830, "name": "status", "kind": 1024, "kindString": "Property", @@ -8371,7 +8643,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } } @@ -8380,12 +8652,17 @@ { "title": "Constructors", "kind": 512, - "children": [821] + "children": [ + 825 + ] }, { "title": "Properties", "kind": 1024, - "children": [825, 826] + "children": [ + 829, + 830 + ] } ], "sources": [ @@ -8398,20 +8675,20 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] }, { - "id": 828, + "id": 832, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 829, + "id": 833, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8425,14 +8702,14 @@ ], "signatures": [ { - "id": 830, + "id": 834, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 831, + "id": 835, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8443,7 +8720,7 @@ } }, { - "id": 832, + "id": 836, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -8454,7 +8731,7 @@ } }, { - "id": 833, + "id": 837, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -8467,24 +8744,24 @@ ], "type": { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 834, + "id": 838, "name": "name", "kind": 1024, "kindString": "Property", @@ -8506,7 +8783,7 @@ } }, { - "id": 835, + "id": 839, "name": "status", "kind": 1024, "kindString": "Property", @@ -8524,12 +8801,12 @@ }, "overwrites": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } }, { - "id": 836, + "id": 840, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -8543,7 +8820,7 @@ ], "signatures": [ { - "id": 837, + "id": 841, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -8551,14 +8828,14 @@ "type": { "type": "reflection", "declaration": { - "id": 838, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 840, + "id": 844, "name": "message", "kind": 1024, "kindString": "Property", @@ -8577,7 +8854,7 @@ "defaultValue": "..." }, { - "id": 839, + "id": 843, "name": "name", "kind": 1024, "kindString": "Property", @@ -8596,7 +8873,7 @@ "defaultValue": "..." }, { - "id": 841, + "id": 845, "name": "status", "kind": 1024, "kindString": "Property", @@ -8619,7 +8896,11 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839, 841] + "children": [ + 844, + 843, + 845 + ] } ] } @@ -8632,17 +8913,24 @@ { "title": "Constructors", "kind": 512, - "children": [829] + "children": [ + 833 + ] }, { "title": "Properties", "kind": 1024, - "children": [834, 835] + "children": [ + 838, + 839 + ] }, { "title": "Methods", "kind": 2048, - "children": [836] + "children": [ + 840 + ] } ], "sources": [ @@ -8655,34 +8943,34 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 843, + "id": 847, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 918, + "id": 922, "name": "AuthRetryableFetchError" } ] @@ -8892,7 +9180,11 @@ { "title": "Properties", "kind": 1024, - "children": [11, 7, 6] + "children": [ + 11, + 7, + 6 + ] } ] } @@ -8925,10 +9217,10 @@ ], "type": { "type": "reference", - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -8944,14 +9236,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -8971,17 +9263,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -8997,21 +9289,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -9022,7 +9314,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -9032,7 +9324,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -9043,7 +9335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -9057,13 +9349,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -9078,7 +9373,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -9090,14 +9385,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -9107,17 +9402,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -9133,21 +9428,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -9158,7 +9453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -9172,13 +9467,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -9193,7 +9490,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -9209,13 +9506,16 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] @@ -9254,17 +9554,17 @@ "flags": {}, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9278,7 +9578,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -9288,7 +9588,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -9302,7 +9602,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -9312,7 +9612,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -9339,7 +9639,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -9353,7 +9653,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -9363,7 +9663,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -9390,7 +9718,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9417,7 +9745,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -9431,7 +9759,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -9441,7 +9769,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9455,7 +9783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -9469,13 +9797,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -9485,7 +9823,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -9507,7 +9845,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -9577,7 +9915,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -9620,10 +9958,10 @@ "flags": {}, "type": { "type": "reference", - "id": 609, + "id": 613, "name": "GenerateLinkParams", "dereferenced": { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9631,7 +9969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -9639,147 +9977,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -9790,25 +9992,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -9818,7 +10017,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -9837,7 +10036,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -9861,6 +10060,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -9872,6 +10089,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -9891,13 +10234,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -9905,123 +10252,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -10032,14 +10267,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -10060,28 +10295,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -10091,7 +10305,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -10100,7 +10314,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -10114,7 +10328,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -10126,6 +10340,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -10145,13 +10496,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -10169,7 +10525,7 @@ "typeArguments": [ { "type": "reference", - "id": 610, + "id": 614, "name": "GenerateLinkResponse" } ], @@ -10224,7 +10580,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -10342,7 +10698,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -10355,7 +10714,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -10404,10 +10763,10 @@ }, "type": { "type": "reference", - "id": 790, + "id": 794, "name": "PageParams", "dereferenced": { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -10415,21 +10774,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -10442,7 +10801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -10452,7 +10811,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -10465,7 +10824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -10479,13 +10838,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -10570,7 +10932,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -10580,14 +10942,17 @@ { "title": "Properties", "kind": 1024, - "children": [53, 52] + "children": [ + 53, + 52 + ] } ] } }, { "type": "reference", - "id": 783, + "id": 787, "name": "Pagination" } ] @@ -10616,7 +10981,10 @@ { "title": "Properties", "kind": 1024, - "children": [50, 54] + "children": [ + 50, + 54 + ] } ] } @@ -10674,7 +11042,9 @@ { "title": "Properties", "kind": 1024, - "children": [58] + "children": [ + 58 + ] } ] } @@ -10695,7 +11065,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -10704,7 +11074,10 @@ { "title": "Properties", "kind": 1024, - "children": [56, 59] + "children": [ + 56, + 59 + ] } ] } @@ -10810,7 +11183,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -10821,7 +11194,10 @@ { "title": "Properties", "kind": 1024, - "children": [31, 32] + "children": [ + 31, + 32 + ] } ] } @@ -10880,17 +11256,17 @@ }, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -10904,7 +11280,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -10914,7 +11290,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -10928,7 +11304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -10938,7 +11314,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -10965,7 +11341,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -10979,7 +11355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -10989,7 +11365,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -11016,7 +11420,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11043,7 +11447,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -11057,7 +11461,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -11067,7 +11471,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -11081,7 +11485,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -11095,13 +11499,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -11111,7 +11525,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -11133,7 +11547,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -11149,17 +11563,30 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [16] + "children": [ + 16 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 67, 40, 60, 33, 46, 27, 63] + "children": [ + 43, + 67, + 40, + 60, + 33, + 46, + 27, + 63 + ] } ], "sources": [ @@ -11209,10 +11636,10 @@ "flags": {}, "type": { "type": "reference", - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "dereferenced": { - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -11227,14 +11654,14 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 335, + "id": 337, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -11254,7 +11681,7 @@ } }, { - "id": 334, + "id": 336, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -11274,7 +11701,7 @@ } }, { - "id": 338, + "id": 340, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -11294,7 +11721,7 @@ } }, { - "id": 339, + "id": 341, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -11310,10 +11737,10 @@ ], "type": { "type": "reference", - "id": 518, + "id": 522, "name": "AuthFlowType", "dereferenced": { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -11321,7 +11748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -11342,7 +11769,7 @@ } }, { - "id": 329, + "id": 331, "name": "headers", "kind": 1024, "kindString": "Property", @@ -11359,7 +11786,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11372,14 +11799,14 @@ } ], "indexSignature": { - "id": 331, + "id": 333, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 332, + "id": 334, "name": "key", "kind": 32768, "flags": {}, @@ -11398,7 +11825,7 @@ } }, { - "id": 336, + "id": 338, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -11418,7 +11845,7 @@ } }, { - "id": 337, + "id": 339, "name": "storage", "kind": 1024, "kindString": "Property", @@ -11434,10 +11861,10 @@ ], "type": { "type": "reference", - "id": 772, + "id": 776, "name": "SupportedStorage", "dereferenced": { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -11445,7 +11872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -11490,7 +11917,7 @@ } }, { - "id": 333, + "id": 335, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -11510,7 +11937,7 @@ } }, { - "id": 328, + "id": 330, "name": "url", "kind": 1024, "kindString": "Property", @@ -11534,7 +11961,17 @@ { "title": "Properties", "kind": 1024, - "children": [335, 334, 338, 339, 329, 336, 337, 333, 328] + "children": [ + 337, + 336, + 340, + 341, + 331, + 338, + 339, + 335, + 330 + ] } ], "sources": [ @@ -11783,7 +12220,11 @@ { "title": "Properties", "kind": 1024, - "children": [11, 7, 6] + "children": [ + 11, + 7, + 6 + ] } ] } @@ -11816,10 +12257,10 @@ ], "type": { "type": "reference", - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -11835,14 +12276,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -11862,17 +12303,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -11888,21 +12329,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -11913,7 +12354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -11923,7 +12364,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -11934,7 +12375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -11948,13 +12389,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -11969,7 +12413,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -11981,14 +12425,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -11998,17 +12442,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -12024,21 +12468,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -12049,7 +12493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -12063,13 +12507,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -12084,7 +12530,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -12100,13 +12546,16 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] @@ -12145,17 +12594,17 @@ "flags": {}, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -12169,7 +12618,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -12179,7 +12628,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -12193,7 +12642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -12203,7 +12652,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -12230,7 +12679,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -12244,7 +12693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -12254,7 +12703,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -12281,7 +12758,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12308,7 +12785,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -12322,7 +12799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -12332,7 +12809,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -12346,7 +12823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -12360,13 +12837,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -12376,7 +12863,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -12398,7 +12885,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -12468,7 +12955,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -12511,10 +12998,10 @@ "flags": {}, "type": { "type": "reference", - "id": 609, + "id": 613, "name": "GenerateLinkParams", "dereferenced": { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -12522,7 +13009,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -12530,147 +13017,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -12681,25 +13032,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -12709,7 +13057,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -12728,7 +13076,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -12752,6 +13100,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -12763,6 +13129,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -12782,13 +13274,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -12796,123 +13292,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -12923,14 +13307,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -12951,28 +13335,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -12982,7 +13345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -12991,7 +13354,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -13005,7 +13368,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -13017,6 +13380,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -13036,13 +13536,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -13060,7 +13565,7 @@ "typeArguments": [ { "type": "reference", - "id": 610, + "id": 614, "name": "GenerateLinkResponse" } ], @@ -13115,7 +13620,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -13233,7 +13738,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -13246,7 +13754,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -13295,10 +13803,10 @@ }, "type": { "type": "reference", - "id": 790, + "id": 794, "name": "PageParams", "dereferenced": { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -13306,21 +13814,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -13333,7 +13841,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -13343,7 +13851,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -13356,7 +13864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -13370,13 +13878,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -13461,7 +13972,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -13471,14 +13982,17 @@ { "title": "Properties", "kind": 1024, - "children": [53, 52] + "children": [ + 53, + 52 + ] } ] } }, { "type": "reference", - "id": 783, + "id": 787, "name": "Pagination" } ] @@ -13507,7 +14021,10 @@ { "title": "Properties", "kind": 1024, - "children": [50, 54] + "children": [ + 50, + 54 + ] } ] } @@ -13565,7 +14082,9 @@ { "title": "Properties", "kind": 1024, - "children": [58] + "children": [ + 58 + ] } ] } @@ -13586,7 +14105,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -13595,7 +14114,10 @@ { "title": "Properties", "kind": 1024, - "children": [56, 59] + "children": [ + 56, + 59 + ] } ] } @@ -13701,7 +14223,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -13712,7 +14234,10 @@ { "title": "Properties", "kind": 1024, - "children": [31, 32] + "children": [ + 31, + 32 + ] } ] } @@ -13771,17 +14296,17 @@ }, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -13795,7 +14320,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -13805,7 +14330,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -13819,7 +14344,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -13829,7 +14354,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -13856,7 +14381,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -13870,7 +14395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -13880,7 +14405,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -13907,7 +14460,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13934,7 +14487,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13948,7 +14501,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -13958,7 +14511,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13972,7 +14525,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -13986,13 +14539,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -14002,7 +14565,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -14024,7 +14587,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -14040,17 +14603,30 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [16] + "children": [ + 16 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 67, 40, 60, 33, 46, 27, 63] + "children": [ + 43, + 67, + 40, + 60, + 33, + 46, + 27, + 63 + ] } ], "sources": [ @@ -14081,10 +14657,10 @@ ], "type": { "type": "reference", - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "dereferenced": { - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -14094,14 +14670,14 @@ }, "children": [ { - "id": 724, + "id": 728, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 725, + "id": 729, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -14111,17 +14687,17 @@ }, "parameters": [ { - "id": 726, + "id": 730, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 644, + "id": 648, "name": "MFAChallengeParams", "dereferenced": { - "id": 644, + "id": 648, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -14129,21 +14705,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 646, + "id": 650, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14154,7 +14730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 680, "character": 2 } ], @@ -14168,13 +14744,15 @@ { "title": "Properties", "kind": 1024, - "children": [646] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -14189,7 +14767,7 @@ "typeArguments": [ { "type": "reference", - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse" } ], @@ -14201,14 +14779,14 @@ ] }, { - "id": 733, + "id": 737, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 734, + "id": 738, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -14218,17 +14796,17 @@ }, "parameters": [ { - "id": 735, + "id": 739, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14236,21 +14814,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 654, "name": "code", "kind": 1024, "kindString": "Property", @@ -14261,7 +14839,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 680, + "line": 687, "character": 2 } ], @@ -14271,7 +14849,7 @@ } }, { - "id": 649, + "id": 653, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14282,7 +14860,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 685, "character": 2 } ], @@ -14296,13 +14874,16 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 654, + 653 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 42 } ] @@ -14317,7 +14898,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -14329,14 +14910,14 @@ ] }, { - "id": 721, + "id": 725, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 722, + "id": 726, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -14347,17 +14928,17 @@ }, "parameters": [ { - "id": 723, + "id": 727, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 631, + "id": 635, "name": "MFAEnrollParams", "dereferenced": { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -14365,21 +14946,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -14390,7 +14971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -14400,7 +14981,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -14413,7 +14994,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -14423,7 +15004,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -14436,7 +15017,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 657, "character": 2 } ], @@ -14450,13 +15031,17 @@ { "title": "Properties", "kind": 1024, - "children": [633, 635, 634] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 30 } ] @@ -14471,7 +15056,7 @@ "typeArguments": [ { "type": "reference", - "id": 664, + "id": 668, "name": "AuthMFAEnrollResponse" } ], @@ -14483,14 +15068,14 @@ ] }, { - "id": 738, + "id": 742, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 739, + "id": 743, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -14504,7 +15089,7 @@ "typeArguments": [ { "type": "reference", - "id": 709, + "id": 713, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -14516,14 +15101,14 @@ ] }, { - "id": 736, + "id": 740, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 737, + "id": 741, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14550,7 +15135,7 @@ "typeArguments": [ { "type": "reference", - "id": 698, + "id": 702, "name": "AuthMFAListFactorsResponse" } ], @@ -14562,14 +15147,14 @@ ] }, { - "id": 730, + "id": 734, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 731, + "id": 735, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -14579,17 +15164,17 @@ }, "parameters": [ { - "id": 732, + "id": 736, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "dereferenced": { - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -14597,21 +15182,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 637, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 638, + "id": 642, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14622,7 +15207,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 664, "character": 2 } ], @@ -14636,13 +15221,15 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 32 } ] @@ -14657,7 +15244,7 @@ "typeArguments": [ { "type": "reference", - "id": 679, + "id": 683, "name": "AuthMFAUnenrollResponse" } ], @@ -14669,14 +15256,14 @@ ] }, { - "id": 727, + "id": 731, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 728, + "id": 732, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -14686,17 +15273,17 @@ }, "parameters": [ { - "id": 729, + "id": 733, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 639, + "id": 643, "name": "MFAVerifyParams", "dereferenced": { - "id": 639, + "id": 643, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14704,21 +15291,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 642, + "id": 646, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -14729,7 +15316,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 672, "character": 2 } ], @@ -14739,7 +15326,7 @@ } }, { - "id": 643, + "id": 647, "name": "code", "kind": 1024, "kindString": "Property", @@ -14750,7 +15337,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 675, "character": 2 } ], @@ -14760,7 +15347,7 @@ } }, { - "id": 641, + "id": 645, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14771,7 +15358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 669, "character": 2 } ], @@ -14785,13 +15372,17 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 646, + 647, + 645 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 30 } ] @@ -14806,7 +15397,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -14822,13 +15413,21 @@ { "title": "Methods", "kind": 2048, - "children": [724, 733, 721, 738, 736, 730, 727] + "children": [ + 728, + 737, + 725, + 742, + 740, + 734, + 731 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 815, "character": 17 } ] @@ -14876,7 +15475,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -14888,7 +15487,7 @@ ] }, { - "id": 139, + "id": 141, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -14896,13 +15495,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 667, + "line": 693, "character": 8 } ], "signatures": [ { - "id": 140, + "id": 142, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -14919,14 +15518,14 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 142, + "id": 144, "name": "data", "kind": 1024, "kindString": "Property", @@ -14934,21 +15533,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 669, + "line": 695, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 143, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 146, "name": "session", "kind": 1024, "kindString": "Property", @@ -14956,13 +15555,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 670, + "line": 696, "character": 10 } ], "type": { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } } @@ -14971,14 +15570,16 @@ { "title": "Properties", "kind": 1024, - "children": [144] + "children": [ + 146 + ] } ] } } }, { - "id": 145, + "id": 147, "name": "error", "kind": 1024, "kindString": "Property", @@ -14986,7 +15587,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 672, + "line": 698, "character": 8 } ], @@ -15000,7 +15601,10 @@ { "title": "Properties", "kind": 1024, - "children": [142, 145] + "children": [ + 144, + 147 + ] } ] } @@ -15008,14 +15612,14 @@ { "type": "reflection", "declaration": { - "id": 146, + "id": 148, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 149, "name": "data", "kind": 1024, "kindString": "Property", @@ -15023,21 +15627,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 675, + "line": 701, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 151, "name": "session", "kind": 1024, "kindString": "Property", @@ -15045,7 +15649,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 676, + "line": 702, "character": 10 } ], @@ -15059,14 +15663,16 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [ + 151 + ] } ] } } }, { - "id": 150, + "id": 152, "name": "error", "kind": 1024, "kindString": "Property", @@ -15074,13 +15680,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 678, + "line": 704, "character": 8 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -15089,7 +15695,10 @@ { "title": "Properties", "kind": 1024, - "children": [147, 150] + "children": [ + 149, + 152 + ] } ] } @@ -15097,14 +15706,14 @@ { "type": "reflection", "declaration": { - "id": 151, + "id": 153, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 152, + "id": 154, "name": "data", "kind": 1024, "kindString": "Property", @@ -15112,21 +15721,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 681, + "line": 707, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 154, + "id": 156, "name": "session", "kind": 1024, "kindString": "Property", @@ -15134,7 +15743,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 682, + "line": 708, "character": 10 } ], @@ -15148,14 +15757,16 @@ { "title": "Properties", "kind": 1024, - "children": [154] + "children": [ + 156 + ] } ] } } }, { - "id": 155, + "id": 157, "name": "error", "kind": 1024, "kindString": "Property", @@ -15163,7 +15774,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 684, + "line": 710, "character": 8 } ], @@ -15177,7 +15788,10 @@ { "title": "Properties", "kind": 1024, - "children": [152, 155] + "children": [ + 154, + 157 + ] } ] } @@ -15193,7 +15807,7 @@ ] }, { - "id": 156, + "id": 158, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -15201,13 +15815,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 730, + "line": 756, "character": 8 } ], "signatures": [ { - "id": 157, + "id": 159, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -15217,7 +15831,7 @@ }, "parameters": [ { - "id": 158, + "id": 160, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -15238,7 +15852,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -15277,7 +15891,7 @@ "typeArguments": [ { "type": "reference", - "id": 773, + "id": 777, "name": "InitializeResult" } ], @@ -15289,7 +15903,7 @@ ] }, { - "id": 206, + "id": 208, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -15297,13 +15911,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1045, + "line": 1071, "character": 2 } ], "signatures": [ { - "id": 207, + "id": 209, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -15313,7 +15927,7 @@ }, "parameters": [ { - "id": 208, + "id": 210, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -15324,33 +15938,33 @@ "type": { "type": "reflection", "declaration": { - "id": 209, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 210, + "id": 212, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 213, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent" } }, { - "id": 212, + "id": 214, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15364,7 +15978,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -15384,14 +15998,14 @@ "type": { "type": "reflection", "declaration": { - "id": 213, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 214, + "id": 216, "name": "data", "kind": 1024, "kindString": "Property", @@ -15399,21 +16013,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1072, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 217, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 218, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -15421,23 +16035,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1072, "character": 12 } ], "type": { "type": "reference", - "id": 460, + "id": 464, "name": "Subscription", "dereferenced": { - "id": 460, + "id": 464, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 461, + "id": 465, "name": "id", "kind": 1024, "kindString": "Property", @@ -15448,7 +16062,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 322, + "line": 329, "character": 2 } ], @@ -15458,7 +16072,7 @@ } }, { - "id": 462, + "id": 466, "name": "callback", "kind": 2048, "kindString": "Method", @@ -15466,13 +16080,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 333, "character": 2 } ], "signatures": [ { - "id": 463, + "id": 467, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -15482,17 +16096,17 @@ }, "parameters": [ { - "id": 464, + "id": 468, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent", "dereferenced": { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -15532,7 +16146,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -15555,7 +16169,7 @@ } }, { - "id": 465, + "id": 469, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15569,7 +16183,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -15584,7 +16198,7 @@ ] }, { - "id": 466, + "id": 470, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -15592,13 +16206,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 337, "character": 2 } ], "signatures": [ { - "id": 467, + "id": 471, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -15618,18 +16232,23 @@ { "title": "Properties", "kind": 1024, - "children": [461] + "children": [ + 465 + ] }, { "title": "Methods", "kind": 2048, - "children": [462, 466] + "children": [ + 466, + 470 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 318, + "line": 325, "character": 17 } ] @@ -15641,7 +16260,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 218 + ] } ] } @@ -15652,7 +16273,9 @@ { "title": "Properties", "kind": 1024, - "children": [214] + "children": [ + 216 + ] } ] } @@ -15661,7 +16284,46 @@ ] }, { - "id": 178, + "id": 136, + "name": "reauthenticate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 626, + "character": 8 + } + ], + "signatures": [ + { + "id": 137, + "name": "reauthenticate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 180, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -15669,13 +16331,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 876, + "line": 902, "character": 8 } ], "signatures": [ { - "id": 179, + "id": 181, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -15685,7 +16347,7 @@ }, "parameters": [ { - "id": 180, + "id": 182, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -15698,14 +16360,14 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 183, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 182, + "id": 184, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -15713,7 +16375,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 876, + "line": 902, "character": 42 } ], @@ -15727,7 +16389,9 @@ { "title": "Properties", "kind": 1024, - "children": [182] + "children": [ + 184 + ] } ] } @@ -15739,7 +16403,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -15751,7 +16415,7 @@ ] }, { - "id": 136, + "id": 138, "name": "resend", "kind": 2048, "kindString": "Method", @@ -15759,13 +16423,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 625, + "line": 651, "character": 8 } ], "signatures": [ { - "id": 137, + "id": 139, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -15775,17 +16439,17 @@ }, "parameters": [ { - "id": 138, + "id": 140, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 558, + "id": 562, "name": "ResendParams", "dereferenced": { - "id": 558, + "id": 562, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -15793,7 +16457,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 516, "character": 12 } ], @@ -15803,14 +16467,14 @@ { "type": "reflection", "declaration": { - "id": 559, + "id": 563, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 565, "name": "email", "kind": 1024, "kindString": "Property", @@ -15818,7 +16482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 519, "character": 6 } ], @@ -15828,7 +16492,7 @@ } }, { - "id": 562, + "id": 566, "name": "options", "kind": 1024, "kindString": "Property", @@ -15838,21 +16502,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 563, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 564, + "id": 568, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15865,7 +16529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 522, "character": 8 } ], @@ -15879,13 +16543,15 @@ { "title": "Properties", "kind": 1024, - "children": [564] + "children": [ + 568 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 16 } ] @@ -15893,7 +16559,7 @@ } }, { - "id": 560, + "id": 564, "name": "type", "kind": 1024, "kindString": "Property", @@ -15901,7 +16567,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 518, "character": 6 } ], @@ -15910,7 +16576,7 @@ "typeArguments": [ { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType" }, { @@ -15937,13 +16603,17 @@ { "title": "Properties", "kind": 1024, - "children": [561, 562, 560] + "children": [ + 565, + 566, + 564 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 517, "character": 4 } ] @@ -15952,14 +16622,14 @@ { "type": "reflection", "declaration": { - "id": 565, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 572, "name": "options", "kind": 1024, "kindString": "Property", @@ -15969,21 +16639,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 570, + "id": 574, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15996,7 +16666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 523, + "line": 530, "character": 8 } ], @@ -16010,13 +16680,15 @@ { "title": "Properties", "kind": 1024, - "children": [570] + "children": [ + 574 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 16 } ] @@ -16024,7 +16696,7 @@ } }, { - "id": 567, + "id": 571, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16032,7 +16704,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 527, "character": 6 } ], @@ -16042,7 +16714,7 @@ } }, { - "id": 566, + "id": 570, "name": "type", "kind": 1024, "kindString": "Property", @@ -16050,7 +16722,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 526, "character": 6 } ], @@ -16059,7 +16731,7 @@ "typeArguments": [ { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType" }, { @@ -16071,7 +16743,7 @@ }, { "type": "literal", - "value": "phone" + "value": "phone_change" } ] } @@ -16086,13 +16758,17 @@ { "title": "Properties", "kind": 1024, - "children": [568, 567, 566] + "children": [ + 572, + 571, + 570 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 525, "character": 4 } ] @@ -16109,7 +16785,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -16121,7 +16797,7 @@ ] }, { - "id": 220, + "id": 222, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -16129,13 +16805,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1085, + "line": 1111, "character": 8 } ], "signatures": [ { - "id": 221, + "id": 223, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -16145,7 +16821,7 @@ }, "parameters": [ { - "id": 222, + "id": 224, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -16159,7 +16835,7 @@ } }, { - "id": 223, + "id": 225, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16167,14 +16843,14 @@ "type": { "type": "reflection", "declaration": { - "id": 224, + "id": 226, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 226, + "id": 228, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16187,7 +16863,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1089, + "line": 1115, "character": 6 } ], @@ -16197,7 +16873,7 @@ } }, { - "id": 225, + "id": 227, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16210,7 +16886,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1088, + "line": 1114, "character": 6 } ], @@ -16224,7 +16900,10 @@ { "title": "Properties", "kind": 1024, - "children": [226, 225] + "children": [ + 228, + 227 + ] } ] } @@ -16241,14 +16920,14 @@ { "type": "reflection", "declaration": { - "id": 227, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 228, + "id": 230, "name": "data", "kind": 1024, "kindString": "Property", @@ -16256,14 +16935,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1093, + "line": 1119, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16272,7 +16951,7 @@ } }, { - "id": 230, + "id": 232, "name": "error", "kind": 1024, "kindString": "Property", @@ -16280,7 +16959,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1094, + "line": 1120, "character": 8 } ], @@ -16294,7 +16973,10 @@ { "title": "Properties", "kind": 1024, - "children": [228, 230] + "children": [ + 230, + 232 + ] } ] } @@ -16302,14 +16984,14 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 232, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -16317,7 +16999,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1096, + "line": 1122, "character": 8 } ], @@ -16327,7 +17009,7 @@ } }, { - "id": 233, + "id": 235, "name": "error", "kind": 1024, "kindString": "Property", @@ -16335,13 +17017,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1096, + "line": 1122, "character": 20 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -16350,7 +17032,10 @@ { "title": "Properties", "kind": 1024, - "children": [232, 233] + "children": [ + 234, + 235 + ] } ] } @@ -16366,7 +17051,7 @@ ] }, { - "id": 172, + "id": 174, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -16374,13 +17059,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 812, + "line": 838, "character": 8 } ], "signatures": [ { - "id": 173, + "id": 175, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -16390,7 +17075,7 @@ }, "parameters": [ { - "id": 174, + "id": 176, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -16401,14 +17086,14 @@ "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 176, + "id": 178, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -16416,7 +17101,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 813, + "line": 839, "character": 4 } ], @@ -16426,7 +17111,7 @@ } }, { - "id": 177, + "id": 179, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -16434,7 +17119,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 814, + "line": 840, "character": 4 } ], @@ -16448,7 +17133,10 @@ { "title": "Properties", "kind": 1024, - "children": [176, 177] + "children": [ + 178, + 179 + ] } ] } @@ -16460,7 +17148,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -16509,10 +17197,10 @@ "flags": {}, "type": { "type": "reference", - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16520,21 +17208,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 535, + "id": 539, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16547,7 +17235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 464, + "line": 471, "character": 2 } ], @@ -16557,7 +17245,7 @@ } }, { - "id": 536, + "id": 540, "name": "options", "kind": 1024, "kindString": "Property", @@ -16567,21 +17255,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 537, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 538, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16594,7 +17282,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 474, "character": 4 } ], @@ -16608,13 +17296,15 @@ { "title": "Properties", "kind": 1024, - "children": [538] + "children": [ + 542 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 12 } ] @@ -16622,7 +17312,7 @@ } }, { - "id": 533, + "id": 537, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16633,7 +17323,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 460, + "line": 467, "character": 2 } ], @@ -16652,7 +17342,7 @@ } }, { - "id": 534, + "id": 538, "name": "token", "kind": 1024, "kindString": "Property", @@ -16663,7 +17353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 462, + "line": 469, "character": 2 } ], @@ -16677,13 +17367,18 @@ { "title": "Properties", "kind": 1024, - "children": [535, 536, 533, 534] + "children": [ + 539, + 540, + 537, + 538 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 43 } ] @@ -16698,7 +17393,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -16741,10 +17436,10 @@ "flags": {}, "type": { "type": "reference", - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16752,21 +17447,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 526, "name": "options", "kind": 1024, "kindString": "Property", @@ -16776,21 +17471,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 523, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 530, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -16803,14 +17498,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 527, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16818,19 +17513,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 18 } ], "indexSignature": { - "id": 528, + "id": 532, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 529, + "id": 533, "name": "key", "kind": 32768, "flags": {}, @@ -16849,7 +17544,7 @@ } }, { - "id": 524, + "id": 528, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16862,7 +17557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 446, + "line": 453, "character": 4 } ], @@ -16872,7 +17567,7 @@ } }, { - "id": 525, + "id": 529, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -16885,7 +17580,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 455, "character": 4 } ], @@ -16895,7 +17590,7 @@ } }, { - "id": 530, + "id": 534, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -16908,7 +17603,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 452, + "line": 459, "character": 4 } ], @@ -16922,13 +17617,18 @@ { "title": "Properties", "kind": 1024, - "children": [526, 524, 525, 530] + "children": [ + 530, + 528, + 529, + 534 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 12 } ] @@ -16936,7 +17636,7 @@ } }, { - "id": 521, + "id": 525, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16947,16 +17647,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 443, + "line": 450, "character": 2 } ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider", "dereferenced": { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -17052,13 +17752,16 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [ + 526, + 525 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 41 } ] @@ -17073,7 +17776,7 @@ "typeArguments": [ { "type": "reference", - "id": 353, + "id": 355, "name": "OAuthResponse" } ], @@ -17117,10 +17820,10 @@ "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 505, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 501, + "id": 505, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17128,7 +17831,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 402, + "line": 409, "character": 12 } ], @@ -17138,14 +17841,14 @@ { "type": "reflection", "declaration": { - "id": 502, + "id": 506, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 503, + "id": 507, "name": "email", "kind": 1024, "kindString": "Property", @@ -17156,7 +17859,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 412, "character": 6 } ], @@ -17166,7 +17869,7 @@ } }, { - "id": 504, + "id": 508, "name": "options", "kind": 1024, "kindString": "Property", @@ -17176,21 +17879,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17203,7 +17906,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 425, "character": 8 } ], @@ -17213,7 +17916,7 @@ } }, { - "id": 508, + "id": 512, "name": "data", "kind": 1024, "kindString": "Property", @@ -17227,7 +17930,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 423, "character": 8 } ], @@ -17237,7 +17940,7 @@ } }, { - "id": 506, + "id": 510, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17250,7 +17953,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 408, + "line": 415, "character": 8 } ], @@ -17260,7 +17963,7 @@ } }, { - "id": 507, + "id": 511, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -17273,7 +17976,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 410, + "line": 417, "character": 8 } ], @@ -17287,13 +17990,18 @@ { "title": "Properties", "kind": 1024, - "children": [509, 508, 506, 507] + "children": [ + 513, + 512, + 510, + 511 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 16 } ] @@ -17305,13 +18013,16 @@ { "title": "Properties", "kind": 1024, - "children": [503, 504] + "children": [ + 507, + 508 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 410, "character": 4 } ] @@ -17320,14 +18031,14 @@ { "type": "reflection", "declaration": { - "id": 510, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -17337,21 +18048,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 520, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17364,7 +18075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 434, + "line": 441, "character": 8 } ], @@ -17374,7 +18085,7 @@ } }, { - "id": 517, + "id": 521, "name": "channel", "kind": 1024, "kindString": "Property", @@ -17387,7 +18098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 436, + "line": 443, "character": 8 } ], @@ -17406,7 +18117,7 @@ } }, { - "id": 515, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -17420,7 +18131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 432, + "line": 439, "character": 8 } ], @@ -17430,7 +18141,7 @@ } }, { - "id": 514, + "id": 518, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -17443,7 +18154,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 433, "character": 8 } ], @@ -17457,13 +18168,18 @@ { "title": "Properties", "kind": 1024, - "children": [516, 517, 515, 514] + "children": [ + 520, + 521, + 519, + 518 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 16 } ] @@ -17471,7 +18187,7 @@ } }, { - "id": 511, + "id": 515, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17482,7 +18198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 423, + "line": 430, "character": 6 } ], @@ -17496,13 +18212,16 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [ + 516, + 515 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 428, "character": 4 } ] @@ -17519,7 +18238,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -17563,10 +18282,10 @@ "flags": {}, "type": { "type": "reference", - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -17574,7 +18293,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 374, + "line": 381, "character": 12 } ], @@ -17584,14 +18303,14 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 492, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 493, "name": "email", "kind": 1024, "kindString": "Property", @@ -17602,7 +18321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 384, "character": 6 } ], @@ -17612,7 +18331,7 @@ } }, { - "id": 491, + "id": 495, "name": "options", "kind": 1024, "kindString": "Property", @@ -17622,21 +18341,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 387, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17649,7 +18368,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 389, "character": 8 } ], @@ -17663,13 +18382,15 @@ { "title": "Properties", "kind": 1024, - "children": [493] + "children": [ + 497 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 387, "character": 16 } ] @@ -17677,7 +18398,7 @@ } }, { - "id": 490, + "id": 494, "name": "password", "kind": 1024, "kindString": "Property", @@ -17688,7 +18409,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 379, + "line": 386, "character": 6 } ], @@ -17702,13 +18423,17 @@ { "title": "Properties", "kind": 1024, - "children": [489, 491, 490] + "children": [ + 493, + 495, + 494 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 382, "character": 4 } ] @@ -17717,14 +18442,14 @@ { "type": "reflection", "declaration": { - "id": 494, + "id": 498, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 497, + "id": 501, "name": "options", "kind": 1024, "kindString": "Property", @@ -17734,21 +18459,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 390, + "line": 397, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 498, + "id": 502, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 500, + "id": 504, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17761,7 +18486,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 405, "character": 8 } ], @@ -17771,7 +18496,7 @@ } }, { - "id": 499, + "id": 503, "name": "data", "kind": 1024, "kindString": "Property", @@ -17785,7 +18510,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 396, + "line": 403, "character": 8 } ], @@ -17799,13 +18524,16 @@ { "title": "Properties", "kind": 1024, - "children": [500, 499] + "children": [ + 504, + 503 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 390, + "line": 397, "character": 16 } ] @@ -17813,7 +18541,7 @@ } }, { - "id": 496, + "id": 500, "name": "password", "kind": 1024, "kindString": "Property", @@ -17824,7 +18552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 389, + "line": 396, "character": 6 } ], @@ -17834,7 +18562,7 @@ } }, { - "id": 495, + "id": 499, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17845,7 +18573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 394, "character": 6 } ], @@ -17859,13 +18587,17 @@ { "title": "Properties", "kind": 1024, - "children": [497, 496, 495] + "children": [ + 501, + 500, + 499 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 392, "character": 4 } ] @@ -17882,7 +18614,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -17926,10 +18658,10 @@ "flags": {}, "type": { "type": "reference", - "id": 571, + "id": 575, "name": "SignInWithSSO", "dereferenced": { - "id": 571, + "id": 575, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -17937,7 +18669,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 534, "character": 12 } ], @@ -17947,14 +18679,14 @@ { "type": "reflection", "declaration": { - "id": 572, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 574, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -17964,21 +18696,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 577, + "id": 581, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17991,7 +18723,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 543, "character": 8 } ], @@ -18001,7 +18733,7 @@ } }, { - "id": 576, + "id": 580, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18014,7 +18746,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 534, + "line": 541, "character": 8 } ], @@ -18028,13 +18760,16 @@ { "title": "Properties", "kind": 1024, - "children": [577, 576] + "children": [ + 581, + 580 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 16 } ] @@ -18042,7 +18777,7 @@ } }, { - "id": 573, + "id": 577, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -18053,7 +18788,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 537, "character": 6 } ], @@ -18067,13 +18802,16 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573] + "children": [ + 578, + 577 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 535, "character": 4 } ] @@ -18082,14 +18820,14 @@ { "type": "reflection", "declaration": { - "id": 578, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 583, "name": "domain", "kind": 1024, "kindString": "Property", @@ -18100,7 +18838,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 541, + "line": 548, "character": 6 } ], @@ -18110,7 +18848,7 @@ } }, { - "id": 580, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -18120,21 +18858,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 587, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18147,7 +18885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 554, "character": 8 } ], @@ -18157,7 +18895,7 @@ } }, { - "id": 582, + "id": 586, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18170,7 +18908,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 545, + "line": 552, "character": 8 } ], @@ -18184,13 +18922,16 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [ + 587, + 586 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 16 } ] @@ -18202,13 +18943,16 @@ { "title": "Properties", "kind": 1024, - "children": [579, 580] + "children": [ + 583, + 584 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 546, "character": 4 } ] @@ -18225,7 +18969,7 @@ "typeArguments": [ { "type": "reference", - "id": 366, + "id": 368, "name": "SSOResponse" } ], @@ -18237,7 +18981,7 @@ ] }, { - "id": 202, + "id": 204, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -18245,13 +18989,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1019, + "line": 1045, "character": 8 } ], "signatures": [ { - "id": 203, + "id": 205, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -18266,14 +19010,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 205, + "id": 207, "name": "error", "kind": 1024, "kindString": "Property", @@ -18281,7 +19025,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1019, + "line": 1045, "character": 29 } ], @@ -18294,7 +19038,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -18305,7 +19049,9 @@ { "title": "Properties", "kind": 1024, - "children": [205] + "children": [ + 207 + ] } ] } @@ -18352,10 +19098,10 @@ "flags": {}, "type": { "type": "reference", - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18363,7 +19109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 337, + "line": 344, "character": 12 } ], @@ -18373,14 +19119,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 475, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 476, "name": "email", "kind": 1024, "kindString": "Property", @@ -18391,7 +19137,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 340, + "line": 347, "character": 6 } ], @@ -18401,7 +19147,7 @@ } }, { - "id": 474, + "id": 478, "name": "options", "kind": 1024, "kindString": "Property", @@ -18411,21 +19157,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 475, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 482, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18438,7 +19184,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 353, + "line": 360, "character": 8 } ], @@ -18448,7 +19194,7 @@ } }, { - "id": 477, + "id": 481, "name": "data", "kind": 1024, "kindString": "Property", @@ -18462,7 +19208,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 358, "character": 8 } ], @@ -18472,7 +19218,7 @@ } }, { - "id": 476, + "id": 480, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -18485,7 +19231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 345, + "line": 352, "character": 8 } ], @@ -18499,13 +19245,17 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 476] + "children": [ + 482, + 481, + 480 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 16 } ] @@ -18513,7 +19263,7 @@ } }, { - "id": 473, + "id": 477, "name": "password", "kind": 1024, "kindString": "Property", @@ -18524,7 +19274,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 349, "character": 6 } ], @@ -18538,13 +19288,17 @@ { "title": "Properties", "kind": 1024, - "children": [472, 474, 473] + "children": [ + 476, + 478, + 477 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 345, "character": 4 } ] @@ -18553,14 +19307,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 483, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 482, + "id": 486, "name": "options", "kind": 1024, "kindString": "Property", @@ -18570,21 +19324,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 489, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18597,7 +19351,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 376, "character": 8 } ], @@ -18607,7 +19361,7 @@ } }, { - "id": 486, + "id": 490, "name": "channel", "kind": 1024, "kindString": "Property", @@ -18620,7 +19374,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 371, + "line": 378, "character": 8 } ], @@ -18639,7 +19393,7 @@ } }, { - "id": 484, + "id": 488, "name": "data", "kind": 1024, "kindString": "Property", @@ -18653,7 +19407,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 367, + "line": 374, "character": 8 } ], @@ -18667,13 +19421,17 @@ { "title": "Properties", "kind": 1024, - "children": [485, 486, 484] + "children": [ + 489, + 490, + 488 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 16 } ] @@ -18681,7 +19439,7 @@ } }, { - "id": 481, + "id": 485, "name": "password", "kind": 1024, "kindString": "Property", @@ -18692,7 +19450,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 367, "character": 6 } ], @@ -18702,7 +19460,7 @@ } }, { - "id": 480, + "id": 484, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18713,7 +19471,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 365, "character": 6 } ], @@ -18727,13 +19485,17 @@ { "title": "Properties", "kind": 1024, - "children": [482, 481, 480] + "children": [ + 486, + 485, + 484 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 363, "character": 4 } ] @@ -18750,7 +19512,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -18762,7 +19524,7 @@ ] }, { - "id": 282, + "id": 284, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -18770,20 +19532,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1389, + "line": 1415, "character": 8 } ], "signatures": [ { - "id": 283, + "id": 285, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.", - "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" + "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" }, "type": { "type": "reference", @@ -18801,7 +19563,7 @@ ] }, { - "id": 284, + "id": 286, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -18809,13 +19571,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1402, + "line": 1428, "character": 8 } ], "signatures": [ { - "id": 285, + "id": 287, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -18840,7 +19602,7 @@ ] }, { - "id": 159, + "id": 161, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -18848,13 +19610,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 759, + "line": 785, "character": 8 } ], "signatures": [ { - "id": 160, + "id": 162, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -18864,24 +19626,24 @@ }, "parameters": [ { - "id": 161, + "id": 163, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes", "dereferenced": { - "id": 446, + "id": 448, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 450, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -18895,7 +19657,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 265, + "line": 272, "character": 2 } ], @@ -18905,7 +19667,7 @@ } }, { - "id": 447, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -18928,7 +19690,31 @@ } }, { - "id": 449, + "id": 452, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -18951,7 +19737,7 @@ } }, { - "id": 448, + "id": 450, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18978,7 +19764,13 @@ { "title": "Properties", "kind": 1024, - "children": [450, 447, 449, 448] + "children": [ + 453, + 449, + 452, + 451, + 450 + ] } ], "sources": [ @@ -18992,7 +19784,7 @@ } }, { - "id": 162, + "id": 164, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -19000,14 +19792,14 @@ "type": { "type": "reflection", "declaration": { - "id": 163, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 164, + "id": 166, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -19017,7 +19809,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 762, + "line": 788, "character": 6 } ], @@ -19031,7 +19823,9 @@ { "title": "Properties", "kind": 1024, - "children": [164] + "children": [ + 166 + ] } ] } @@ -19044,7 +19838,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -19087,10 +19881,10 @@ "flags": {}, "type": { "type": "reference", - "id": 539, + "id": 543, "name": "VerifyOtpParams", "dereferenced": { - "id": 539, + "id": 543, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -19098,7 +19892,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 478, "character": 12 } ], @@ -19106,14 +19900,14 @@ "type": "union", "types": [ { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -19123,21 +19917,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19156,7 +19950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -19166,7 +19960,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19179,7 +19973,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -19193,14 +19987,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19211,7 +20008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -19221,7 +20018,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -19232,7 +20029,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -19242,7 +20039,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -19253,16 +20050,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -19270,7 +20067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -19295,26 +20092,31 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -19325,7 +20127,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -19335,7 +20137,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -19345,21 +20147,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19372,7 +20174,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -19382,7 +20184,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19395,7 +20197,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -19409,14 +20211,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -19427,7 +20232,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -19437,7 +20242,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -19448,16 +20253,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -19465,7 +20270,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -19506,13 +20311,18 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] @@ -19528,7 +20338,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -19544,19 +20354,43 @@ { "title": "Constructors", "kind": 512, - "children": [78] + "children": [ + 78 + ] }, { "title": "Properties", "kind": 1024, - "children": [81, 82] + "children": [ + 81, + 82 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 121, 139, 156, 108, 206, 178, 136, 220, 172, 124, 118, 127, 115, 133, 202, 112, 282, - 284, 159, 130 + 121, + 141, + 158, + 108, + 208, + 136, + 180, + 138, + 222, + 174, + 124, + 118, + 127, + 115, + 133, + 204, + 112, + 284, + 286, + 161, + 130 ] } ], @@ -19569,7 +20403,7 @@ ] }, { - "id": 395, + "id": 397, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -19586,7 +20420,7 @@ }, "children": [ { - "id": 396, + "id": 398, "name": "method", "kind": 1024, "kindString": "Property", @@ -19607,7 +20441,7 @@ } }, { - "id": 397, + "id": 399, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -19632,7 +20466,10 @@ { "title": "Properties", "kind": 1024, - "children": [396, 397] + "children": [ + 398, + 399 + ] } ], "sources": [ @@ -19644,14 +20481,14 @@ ] }, { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -19665,7 +20502,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -19675,7 +20512,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -19689,7 +20526,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -19699,7 +20536,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -19726,7 +20563,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -19740,7 +20577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -19750,7 +20587,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -19777,7 +20642,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19804,7 +20669,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -19818,7 +20683,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -19828,7 +20693,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -19842,7 +20707,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -19856,13 +20721,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -19872,7 +20747,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -19887,7 +20762,7 @@ ] }, { - "id": 409, + "id": 411, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -19911,7 +20786,7 @@ }, "children": [ { - "id": 414, + "id": 416, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -19929,7 +20804,7 @@ } }, { - "id": 412, + "id": 414, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -19950,7 +20825,7 @@ } }, { - "id": 411, + "id": 413, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -19973,7 +20848,7 @@ } }, { - "id": 410, + "id": 412, "name": "id", "kind": 1024, "kindString": "Property", @@ -19994,7 +20869,7 @@ } }, { - "id": 413, + "id": 415, "name": "status", "kind": 1024, "kindString": "Property", @@ -20024,7 +20899,7 @@ } }, { - "id": 415, + "id": 417, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -20046,7 +20921,14 @@ { "title": "Properties", "kind": 1024, - "children": [414, 412, 411, 410, 413, 415] + "children": [ + 416, + 414, + 413, + 412, + 415, + 417 + ] } ], "sources": [ @@ -20058,14 +20940,14 @@ ] }, { - "id": 606, + "id": 610, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 607, + "id": 611, "name": "data", "kind": 1024, "kindString": "Property", @@ -20079,7 +20961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 589, + "line": 596, "character": 2 } ], @@ -20089,7 +20971,7 @@ } }, { - "id": 608, + "id": 612, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20102,7 +20984,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 598, "character": 2 } ], @@ -20116,19 +20998,22 @@ { "title": "Properties", "kind": 1024, - "children": [607, 608] + "children": [ + 611, + 612 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 590, "character": 17 } ] }, { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -20144,14 +21029,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -20171,17 +21056,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -20197,21 +21082,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -20222,7 +21107,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -20232,7 +21117,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -20243,7 +21128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -20257,13 +21142,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -20278,7 +21166,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -20290,14 +21178,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -20307,17 +21195,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -20333,21 +21221,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -20358,7 +21246,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -20372,13 +21260,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -20393,7 +21283,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -20409,19 +21299,22 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] }, { - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -20431,14 +21324,14 @@ }, "children": [ { - "id": 724, + "id": 728, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 725, + "id": 729, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -20448,17 +21341,17 @@ }, "parameters": [ { - "id": 726, + "id": 730, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 644, + "id": 648, "name": "MFAChallengeParams", "dereferenced": { - "id": 644, + "id": 648, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -20466,21 +21359,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 646, + "id": 650, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20491,7 +21384,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 680, "character": 2 } ], @@ -20505,13 +21398,15 @@ { "title": "Properties", "kind": 1024, - "children": [646] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -20526,7 +21421,7 @@ "typeArguments": [ { "type": "reference", - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse" } ], @@ -20538,14 +21433,14 @@ ] }, { - "id": 733, + "id": 737, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 734, + "id": 738, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -20555,17 +21450,17 @@ }, "parameters": [ { - "id": 735, + "id": 739, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -20573,21 +21468,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 654, "name": "code", "kind": 1024, "kindString": "Property", @@ -20598,7 +21493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 680, + "line": 687, "character": 2 } ], @@ -20608,7 +21503,7 @@ } }, { - "id": 649, + "id": 653, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20619,7 +21514,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 685, "character": 2 } ], @@ -20633,13 +21528,16 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 654, + 653 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 42 } ] @@ -20654,7 +21552,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -20666,14 +21564,14 @@ ] }, { - "id": 721, + "id": 725, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 722, + "id": 726, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -20684,17 +21582,17 @@ }, "parameters": [ { - "id": 723, + "id": 727, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 631, + "id": 635, "name": "MFAEnrollParams", "dereferenced": { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -20702,21 +21600,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -20727,7 +21625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -20737,7 +21635,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -20750,7 +21648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -20760,7 +21658,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -20773,7 +21671,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 657, "character": 2 } ], @@ -20787,13 +21685,17 @@ { "title": "Properties", "kind": 1024, - "children": [633, 635, 634] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 30 } ] @@ -20808,7 +21710,7 @@ "typeArguments": [ { "type": "reference", - "id": 664, + "id": 668, "name": "AuthMFAEnrollResponse" } ], @@ -20820,14 +21722,14 @@ ] }, { - "id": 738, + "id": 742, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 739, + "id": 743, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -20841,7 +21743,7 @@ "typeArguments": [ { "type": "reference", - "id": 709, + "id": 713, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -20853,14 +21755,14 @@ ] }, { - "id": 736, + "id": 740, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 737, + "id": 741, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -20887,7 +21789,7 @@ "typeArguments": [ { "type": "reference", - "id": 698, + "id": 702, "name": "AuthMFAListFactorsResponse" } ], @@ -20899,14 +21801,14 @@ ] }, { - "id": 730, + "id": 734, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 731, + "id": 735, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -20916,17 +21818,17 @@ }, "parameters": [ { - "id": 732, + "id": 736, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "dereferenced": { - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -20934,21 +21836,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 637, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 638, + "id": 642, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20959,7 +21861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 664, "character": 2 } ], @@ -20973,13 +21875,15 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 32 } ] @@ -20994,7 +21898,7 @@ "typeArguments": [ { "type": "reference", - "id": 679, + "id": 683, "name": "AuthMFAUnenrollResponse" } ], @@ -21006,14 +21910,14 @@ ] }, { - "id": 727, + "id": 731, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 728, + "id": 732, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -21023,17 +21927,17 @@ }, "parameters": [ { - "id": 729, + "id": 733, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 639, + "id": 643, "name": "MFAVerifyParams", "dereferenced": { - "id": 639, + "id": 643, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -21041,21 +21945,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 642, + "id": 646, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -21066,7 +21970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 672, "character": 2 } ], @@ -21076,7 +21980,7 @@ } }, { - "id": 643, + "id": 647, "name": "code", "kind": 1024, "kindString": "Property", @@ -21087,7 +21991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 675, "character": 2 } ], @@ -21097,7 +22001,7 @@ } }, { - "id": 641, + "id": 645, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -21108,7 +22012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 669, "character": 2 } ], @@ -21122,13 +22026,17 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 646, + 647, + 645 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 30 } ] @@ -21143,7 +22051,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -21159,26 +22067,34 @@ { "title": "Methods", "kind": 2048, - "children": [724, 733, 721, 738, 736, 730, 727] + "children": [ + 728, + 737, + 725, + 742, + 740, + 734, + 731 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 815, "character": 17 } ] }, { - "id": 386, + "id": 388, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 389, + "id": 391, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -21199,7 +22115,7 @@ } }, { - "id": 392, + "id": 394, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -21222,7 +22138,7 @@ } }, { - "id": 391, + "id": 393, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -21243,7 +22159,7 @@ } }, { - "id": 388, + "id": 390, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -21275,7 +22191,7 @@ } }, { - "id": 387, + "id": 389, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -21307,7 +22223,7 @@ } }, { - "id": 390, + "id": 392, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -21328,7 +22244,7 @@ } }, { - "id": 393, + "id": 395, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -21346,7 +22262,7 @@ } }, { - "id": 394, + "id": 396, "name": "user", "kind": 1024, "kindString": "Property", @@ -21360,17 +22276,17 @@ ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User", "dereferenced": { - "id": 423, + "id": 425, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -21390,7 +22306,7 @@ } }, { - "id": 425, + "id": 427, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -21404,17 +22320,17 @@ ], "type": { "type": "reference", - "id": 416, + "id": 418, "name": "UserAppMetadata", "dereferenced": { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21438,7 +22354,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -21449,14 +22367,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -21475,7 +22393,7 @@ } }, { - "id": 427, + "id": 429, "name": "aud", "kind": 1024, "kindString": "Property", @@ -21493,7 +22411,7 @@ } }, { - "id": 428, + "id": 430, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -21513,7 +22431,7 @@ } }, { - "id": 438, + "id": 440, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -21533,7 +22451,7 @@ } }, { - "id": 437, + "id": 439, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -21551,7 +22469,7 @@ } }, { - "id": 435, + "id": 437, "name": "email", "kind": 1024, "kindString": "Property", @@ -21571,7 +22489,7 @@ } }, { - "id": 430, + "id": 432, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -21591,7 +22509,7 @@ } }, { - "id": 439, + "id": 441, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -21611,7 +22529,7 @@ } }, { - "id": 445, + "id": 447, "name": "factors", "kind": 1024, "kindString": "Property", @@ -21629,13 +22547,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } }, { - "id": 424, + "id": 426, "name": "id", "kind": 1024, "kindString": "Property", @@ -21653,7 +22571,7 @@ } }, { - "id": 444, + "id": 446, "name": "identities", "kind": 1024, "kindString": "Property", @@ -21671,13 +22589,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 398, + "id": 400, "name": "UserIdentity" } } }, { - "id": 433, + "id": 435, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -21697,7 +22615,7 @@ } }, { - "id": 441, + "id": 443, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -21717,7 +22635,7 @@ } }, { - "id": 431, + "id": 433, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -21737,7 +22655,7 @@ } }, { - "id": 432, + "id": 434, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -21757,7 +22675,7 @@ } }, { - "id": 436, + "id": 438, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21777,7 +22695,7 @@ } }, { - "id": 440, + "id": 442, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -21797,7 +22715,7 @@ } }, { - "id": 429, + "id": 431, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -21817,7 +22735,7 @@ } }, { - "id": 442, + "id": 444, "name": "role", "kind": 1024, "kindString": "Property", @@ -21837,7 +22755,7 @@ } }, { - "id": 443, + "id": 445, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -21857,7 +22775,7 @@ } }, { - "id": 426, + "id": 428, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -21871,10 +22789,10 @@ ], "type": { "type": "reference", - "id": 420, + "id": 422, "name": "UserMetadata", "dereferenced": { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21887,14 +22805,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -21918,8 +22836,28 @@ "title": "Properties", "kind": 1024, "children": [ - 434, 425, 427, 428, 438, 437, 435, 430, 439, 445, 424, 444, 433, 441, 431, - 432, 436, 440, 429, 442, 443, 426 + 436, + 427, + 429, + 430, + 440, + 439, + 437, + 432, + 441, + 447, + 426, + 446, + 435, + 443, + 433, + 434, + 438, + 442, + 431, + 444, + 445, + 428 ] } ], @@ -21938,7 +22876,16 @@ { "title": "Properties", "kind": 1024, - "children": [389, 392, 391, 388, 387, 390, 393, 394] + "children": [ + 391, + 394, + 393, + 390, + 389, + 392, + 395, + 396 + ] } ], "sources": [ @@ -21950,14 +22897,14 @@ ] }, { - "id": 460, + "id": 464, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 461, + "id": 465, "name": "id", "kind": 1024, "kindString": "Property", @@ -21968,7 +22915,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 322, + "line": 329, "character": 2 } ], @@ -21978,7 +22925,7 @@ } }, { - "id": 462, + "id": 466, "name": "callback", "kind": 2048, "kindString": "Method", @@ -21986,13 +22933,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 333, "character": 2 } ], "signatures": [ { - "id": 463, + "id": 467, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -22002,17 +22949,17 @@ }, "parameters": [ { - "id": 464, + "id": 468, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent", "dereferenced": { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -22052,7 +22999,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -22075,7 +23022,7 @@ } }, { - "id": 465, + "id": 469, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -22089,7 +23036,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -22104,7 +23051,7 @@ ] }, { - "id": 466, + "id": 470, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -22112,13 +23059,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 337, "character": 2 } ], "signatures": [ { - "id": 467, + "id": 471, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -22138,31 +23085,36 @@ { "title": "Properties", "kind": 1024, - "children": [461] + "children": [ + 465 + ] }, { "title": "Methods", "kind": 2048, - "children": [462, 466] + "children": [ + 466, + 470 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 318, + "line": 325, "character": 17 } ] }, { - "id": 468, + "id": 472, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 469, + "id": 473, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -22170,7 +23122,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 341, "character": 2 } ], @@ -22184,26 +23136,28 @@ { "title": "Properties", "kind": 1024, - "children": [469] + "children": [ + 473 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 340, "character": 17 } ] }, { - "id": 423, + "id": 425, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -22223,7 +23177,7 @@ } }, { - "id": 425, + "id": 427, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -22237,17 +23191,17 @@ ], "type": { "type": "reference", - "id": 416, + "id": 418, "name": "UserAppMetadata", "dereferenced": { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22271,7 +23225,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -22282,14 +23238,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -22308,7 +23264,7 @@ } }, { - "id": 427, + "id": 429, "name": "aud", "kind": 1024, "kindString": "Property", @@ -22326,7 +23282,7 @@ } }, { - "id": 428, + "id": 430, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -22346,7 +23302,7 @@ } }, { - "id": 438, + "id": 440, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -22366,7 +23322,7 @@ } }, { - "id": 437, + "id": 439, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -22384,7 +23340,7 @@ } }, { - "id": 435, + "id": 437, "name": "email", "kind": 1024, "kindString": "Property", @@ -22404,7 +23360,7 @@ } }, { - "id": 430, + "id": 432, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -22424,7 +23380,7 @@ } }, { - "id": 439, + "id": 441, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -22444,7 +23400,7 @@ } }, { - "id": 445, + "id": 447, "name": "factors", "kind": 1024, "kindString": "Property", @@ -22462,13 +23418,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } }, { - "id": 424, + "id": 426, "name": "id", "kind": 1024, "kindString": "Property", @@ -22486,7 +23442,7 @@ } }, { - "id": 444, + "id": 446, "name": "identities", "kind": 1024, "kindString": "Property", @@ -22504,13 +23460,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 398, + "id": 400, "name": "UserIdentity" } } }, { - "id": 433, + "id": 435, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -22530,7 +23486,7 @@ } }, { - "id": 441, + "id": 443, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -22550,7 +23506,7 @@ } }, { - "id": 431, + "id": 433, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -22570,7 +23526,7 @@ } }, { - "id": 432, + "id": 434, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -22590,7 +23546,7 @@ } }, { - "id": 436, + "id": 438, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22610,7 +23566,7 @@ } }, { - "id": 440, + "id": 442, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -22630,7 +23586,7 @@ } }, { - "id": 429, + "id": 431, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -22650,7 +23606,7 @@ } }, { - "id": 442, + "id": 444, "name": "role", "kind": 1024, "kindString": "Property", @@ -22670,7 +23626,7 @@ } }, { - "id": 443, + "id": 445, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -22690,7 +23646,7 @@ } }, { - "id": 426, + "id": 428, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -22704,10 +23660,10 @@ ], "type": { "type": "reference", - "id": 420, + "id": 422, "name": "UserMetadata", "dereferenced": { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -22720,14 +23676,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -22751,8 +23707,28 @@ "title": "Properties", "kind": 1024, "children": [ - 434, 425, 427, 428, 438, 437, 435, 430, 439, 445, 424, 444, 433, 441, 431, 432, 436, - 440, 429, 442, 443, 426 + 436, + 427, + 429, + 430, + 440, + 439, + 437, + 432, + 441, + 447, + 426, + 446, + 435, + 443, + 433, + 434, + 438, + 442, + 431, + 444, + 445, + 428 ] } ], @@ -22765,14 +23741,14 @@ ] }, { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22796,7 +23772,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -22807,14 +23785,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -22831,14 +23809,14 @@ } }, { - "id": 446, + "id": 448, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 450, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -22852,7 +23830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 265, + "line": 272, "character": 2 } ], @@ -22862,7 +23840,7 @@ } }, { - "id": 447, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -22885,7 +23863,31 @@ } }, { - "id": 449, + "id": 452, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -22908,7 +23910,7 @@ } }, { - "id": 448, + "id": 450, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22935,7 +23937,13 @@ { "title": "Properties", "kind": 1024, - "children": [450, 447, 449, 448] + "children": [ + 453, + 449, + 452, + 451, + 450 + ] } ], "sources": [ @@ -22947,14 +23955,14 @@ ] }, { - "id": 398, + "id": 400, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 406, + "id": 408, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -22974,7 +23982,7 @@ } }, { - "id": 399, + "id": 401, "name": "id", "kind": 1024, "kindString": "Property", @@ -22992,7 +24000,7 @@ } }, { - "id": 401, + "id": 403, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -23009,20 +24017,20 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 403, + "id": 405, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 404, + "id": 406, "name": "key", "kind": 32768, "flags": {}, @@ -23041,7 +24049,7 @@ } }, { - "id": 407, + "id": 409, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -23061,7 +24069,7 @@ } }, { - "id": 405, + "id": 407, "name": "provider", "kind": 1024, "kindString": "Property", @@ -23079,7 +24087,7 @@ } }, { - "id": 408, + "id": 410, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -23099,7 +24107,7 @@ } }, { - "id": 400, + "id": 402, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -23121,7 +24129,15 @@ { "title": "Properties", "kind": 1024, - "children": [406, 399, 401, 407, 405, 408, 400] + "children": [ + 408, + 401, + 403, + 409, + 407, + 410, + 402 + ] } ], "sources": [ @@ -23133,7 +24149,7 @@ ] }, { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -23146,14 +24162,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -23170,14 +24186,14 @@ } }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -23188,7 +24204,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -23198,7 +24214,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -23208,21 +24224,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23235,7 +24251,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -23245,7 +24261,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23258,7 +24274,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -23272,14 +24288,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -23290,7 +24309,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -23300,7 +24319,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -23311,16 +24330,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23328,7 +24347,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -23369,26 +24388,31 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] }, { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -23398,21 +24422,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23431,7 +24455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -23441,7 +24465,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23454,7 +24478,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -23468,14 +24492,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23486,7 +24513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -23496,7 +24523,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -23507,7 +24534,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -23517,7 +24544,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -23528,16 +24555,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23545,7 +24572,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -23570,19 +24597,24 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -23622,7 +24654,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -23643,7 +24675,7 @@ } }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -23661,7 +24693,7 @@ } }, { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -23669,7 +24701,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -23688,7 +24720,7 @@ } }, { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -23704,21 +24736,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -23729,7 +24761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -23739,7 +24771,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -23750,7 +24782,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -23764,13 +24796,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -23778,7 +24813,7 @@ } }, { - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -23794,7 +24829,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 881, "character": 12 } ], @@ -23804,14 +24839,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 745, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 742, + "id": 746, "name": "data", "kind": 1024, "kindString": "Property", @@ -23819,21 +24854,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 883, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 743, + "id": 747, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 748, "name": "id", "kind": 1024, "kindString": "Property", @@ -23844,7 +24879,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 878, + "line": 885, "character": 8 } ], @@ -23858,13 +24893,15 @@ { "title": "Properties", "kind": 1024, - "children": [744] + "children": [ + 748 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 883, "character": 12 } ] @@ -23872,7 +24909,7 @@ } }, { - "id": 745, + "id": 749, "name": "error", "kind": 1024, "kindString": "Property", @@ -23880,7 +24917,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 880, + "line": 887, "character": 6 } ], @@ -23894,70 +24931,10 @@ { "title": "Properties", "kind": 1024, - "children": [742, 745] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 746, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 747, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 748, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [747, 748] + "children": [ + 746, + 749 + ] } ], "sources": [ @@ -23968,12 +24945,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 750, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 751, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 752, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 751, + 752 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 4 + } + ] + } } ] } }, { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -23989,21 +25032,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -24014,7 +25057,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -24028,13 +25071,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -24042,7 +25087,7 @@ } }, { - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -24058,7 +25103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 898, + "line": 905, "character": 12 } ], @@ -24068,14 +25113,14 @@ { "type": "reflection", "declaration": { - "id": 754, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 759, "name": "data", "kind": 1024, "kindString": "Property", @@ -24083,21 +25128,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 907, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 756, + "id": 760, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 761, "name": "factors", "kind": 1024, "kindString": "Property", @@ -24108,7 +25153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 909, "character": 8 } ], @@ -24116,7 +25161,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } @@ -24126,13 +25171,15 @@ { "title": "Properties", "kind": 1024, - "children": [757] + "children": [ + 761 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 907, "character": 12 } ] @@ -24140,7 +25187,7 @@ } }, { - "id": 758, + "id": 762, "name": "error", "kind": 1024, "kindString": "Property", @@ -24148,7 +25195,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 911, "character": 6 } ], @@ -24162,70 +25209,10 @@ { "title": "Properties", "kind": 1024, - "children": [755, 758] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 899, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 759, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 760, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 761, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [760, 761] + "children": [ + 759, + 762 + ] } ], "sources": [ @@ -24236,12 +25223,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 763, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 764, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 765, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 764, + 765 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 4 + } + ] + } } ] } }, { - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -24249,7 +25302,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 758, "character": 12 } ], @@ -24259,97 +25312,15 @@ { "type": "reflection", "declaration": { - "id": 689, + "id": 693, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 690, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 691, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 693, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 692, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 755, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [693, 692] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 12 - } - ] - } - } - }, { "id": 694, - "name": "error", + "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, @@ -24360,154 +25331,49 @@ "character": 6 } ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 694] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 752, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 695, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 696, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 697, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [696, 697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 666, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 710, - "character": 6 - } - ], "type": { "type": "reflection", "declaration": { - "id": 667, + "id": 695, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 668, + "id": 697, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 765, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 696, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." + "shortText": "ID of the newly created challenge." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 762, "character": 8 } ], @@ -24515,146 +25381,22 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 670, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 671, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 672, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 673, - "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": 727, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 674, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 731, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [672, 673, 674] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 14 - } - ] - } - } - }, - { - "id": 669, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor. Only `totp` supported for now." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [668, 670, 669] + "children": [ + 697, + 696 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 760, "character": 12 } ] @@ -24662,7 +25404,7 @@ } }, { - "id": 675, + "id": 698, "name": "error", "kind": 1024, "kindString": "Property", @@ -24670,7 +25412,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 767, "character": 6 } ], @@ -24684,359 +25426,21 @@ { "title": "Properties", "kind": 1024, - "children": [666, 675] + "children": [ + 694, + 698 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 759, "character": 4 } ] } }, - { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 737, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 738, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677, 678] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 709, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 779, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 710, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 711, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 712, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 715, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 798, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 395, - "name": "AMREntry" - } - } - }, - { - "id": 713, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 783, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 714, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 791, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [715, 713, 714] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 12 - } - ] - } - } - }, - { - "id": 716, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 800, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [711, 716] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 780, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 718, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 719, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [718, 719] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 698, - "name": "AuthMFAListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 764, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ { "type": "reflection", "declaration": { @@ -25055,141 +25459,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 701, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 702, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 768, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - }, - { - "id": 703, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 771, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [702, 703] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12 - } - ] - } - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 773, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 765, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 705, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 706, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 6 } ], @@ -25199,7 +25469,7 @@ } }, { - "id": 707, + "id": 701, "name": "error", "kind": 1024, "kindString": "Property", @@ -25207,13 +25477,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 18 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -25222,13 +25492,16 @@ { "title": "Properties", "kind": 1024, - "children": [706, 707] + "children": [ + 700, + 701 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 4 } ] @@ -25238,21 +25511,264 @@ } }, { - "id": 679, - "name": "AuthMFAUnenrollResponse", + "id": 668, + "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 715, "character": 12 } ], "type": { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 669, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 670, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 671, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 719, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 674, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 729, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "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": 734, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 678, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 676, + 677, + 678 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 14 + } + ] + } + } + }, + { + "id": 673, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor. Only `totp` supported for now." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 672, + 674, + 673 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 670, + 679 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 716, + "character": 4 + } + ] + } + }, { "type": "reflection", "declaration": { @@ -25271,21 +25787,600 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 743, + "line": 744, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 681, + 682 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 713, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 786, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 714, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 715, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 682, + "id": 716, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 683, + "id": 719, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 805, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 397, + "name": "AMREntry" + } + } + }, + { + "id": 717, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 790, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 718, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 798, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 719, + 717, + 718 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, + "character": 12 + } + ] + } + } + }, + { + "id": 720, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 807, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 715, + 720 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 787, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 721, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 722, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 723, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 722, + 723 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 702, + "name": "AuthMFAListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 771, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 703, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 704, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 706, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 775, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + }, + { + "id": 707, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 778, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 706, + 707 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 12 + } + ] + } + } + }, + { + "id": 708, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 780, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 704, + 708 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 772, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 709, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 710, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 711, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 710, + 711 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 683, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 748, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 750, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 687, "name": "id", "kind": 1024, "kindString": "Property", @@ -25296,7 +26391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 745, + "line": 752, "character": 8 } ], @@ -25310,13 +26405,15 @@ { "title": "Properties", "kind": 1024, - "children": [683] + "children": [ + 687 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 743, + "line": 750, "character": 12 } ] @@ -25324,7 +26421,7 @@ } }, { - "id": 684, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -25332,7 +26429,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 747, + "line": 754, "character": 6 } ], @@ -25346,70 +26443,10 @@ { "title": "Properties", "kind": 1024, - "children": [681, 684] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 742, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 685, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 686, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 687, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [686, 687] + "children": [ + 685, + 688 + ] } ], "sources": [ @@ -25420,12 +26457,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 689, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 690, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 691, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 690, + 691 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 4 + } + ] + } } ] } }, { - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -25433,7 +26536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 690, "character": 12 } ], @@ -25443,14 +26546,14 @@ { "type": "reflection", "declaration": { - "id": 652, + "id": 656, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 653, + "id": 657, "name": "data", "kind": 1024, "kindString": "Property", @@ -25458,21 +26561,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 692, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 658, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 655, + "id": 659, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -25483,7 +26586,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 687, + "line": 694, "character": 8 } ], @@ -25493,7 +26596,7 @@ } }, { - "id": 657, + "id": 661, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -25504,7 +26607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 693, + "line": 700, "character": 8 } ], @@ -25514,7 +26617,7 @@ } }, { - "id": 658, + "id": 662, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -25525,7 +26628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 696, + "line": 703, "character": 8 } ], @@ -25535,7 +26638,7 @@ } }, { - "id": 656, + "id": 660, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -25546,7 +26649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 697, "character": 8 } ], @@ -25556,7 +26659,7 @@ } }, { - "id": 659, + "id": 663, "name": "user", "kind": 1024, "kindString": "Property", @@ -25567,13 +26670,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 706, "character": 8 } ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -25582,13 +26685,19 @@ { "title": "Properties", "kind": 1024, - "children": [655, 657, 658, 656, 659] + "children": [ + 659, + 661, + 662, + 660, + 663 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 692, "character": 12 } ] @@ -25596,7 +26705,7 @@ } }, { - "id": 660, + "id": 664, "name": "error", "kind": 1024, "kindString": "Property", @@ -25604,7 +26713,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 708, "character": 6 } ], @@ -25618,13 +26727,16 @@ { "title": "Properties", "kind": 1024, - "children": [653, 660] + "children": [ + 657, + 664 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 684, + "line": 691, "character": 4 } ] @@ -25633,14 +26745,14 @@ { "type": "reflection", "declaration": { - "id": 661, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 666, "name": "data", "kind": 1024, "kindString": "Property", @@ -25648,7 +26760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 711, "character": 6 } ], @@ -25658,7 +26770,7 @@ } }, { - "id": 663, + "id": 667, "name": "error", "kind": 1024, "kindString": "Property", @@ -25666,13 +26778,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 712, "character": 6 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -25681,13 +26793,16 @@ { "title": "Properties", "kind": 1024, - "children": [662, 663] + "children": [ + 666, + 667 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 710, "character": 4 } ] @@ -25697,7 +26812,7 @@ } }, { - "id": 340, + "id": 342, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -25715,14 +26830,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 344, "name": "data", "kind": 1024, "kindString": "Property", @@ -25737,14 +26852,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 345, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 345, + "id": 347, "name": "session", "kind": 1024, "kindString": "Property", @@ -25761,7 +26876,7 @@ "types": [ { "type": "reference", - "id": 386, + "id": 388, "name": "Session" }, { @@ -25772,7 +26887,7 @@ } }, { - "id": 344, + "id": 346, "name": "user", "kind": 1024, "kindString": "Property", @@ -25789,7 +26904,7 @@ "types": [ { "type": "reference", - "id": 423, + "id": 425, "name": "User" }, { @@ -25804,7 +26919,10 @@ { "title": "Properties", "kind": 1024, - "children": [345, 344] + "children": [ + 347, + 346 + ] } ], "sources": [ @@ -25818,7 +26936,7 @@ } }, { - "id": 346, + "id": 348, "name": "error", "kind": 1024, "kindString": "Property", @@ -25840,7 +26958,10 @@ { "title": "Properties", "kind": 1024, - "children": [342, 346] + "children": [ + 344, + 348 + ] } ], "sources": [ @@ -25855,14 +26976,14 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 348, + "id": 350, "name": "data", "kind": 1024, "kindString": "Property", @@ -25877,14 +26998,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 353, "name": "session", "kind": 1024, "kindString": "Property", @@ -25902,7 +27023,7 @@ } }, { - "id": 350, + "id": 352, "name": "user", "kind": 1024, "kindString": "Property", @@ -25924,7 +27045,10 @@ { "title": "Properties", "kind": 1024, - "children": [351, 350] + "children": [ + 353, + 352 + ] } ], "sources": [ @@ -25938,7 +27062,7 @@ } }, { - "id": 352, + "id": 354, "name": "error", "kind": 1024, "kindString": "Property", @@ -25952,7 +27076,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -25961,7 +27085,10 @@ { "title": "Properties", "kind": 1024, - "children": [348, 352] + "children": [ + 350, + 354 + ] } ], "sources": [ @@ -25977,7 +27104,7 @@ } }, { - "id": 708, + "id": 712, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -25985,7 +27112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 777, + "line": 784, "character": 12 } ], @@ -26004,7 +27131,7 @@ } }, { - "id": 776, + "id": 780, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -26012,7 +27139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 952, + "line": 959, "character": 12 } ], @@ -26022,14 +27149,14 @@ { "type": "reflection", "declaration": { - "id": 777, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 779, + "id": 783, "name": "error", "kind": 1024, "kindString": "Property", @@ -26037,7 +27164,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 955, + "line": 962, "character": 6 } ], @@ -26047,7 +27174,7 @@ } }, { - "id": 778, + "id": 782, "name": "session", "kind": 1024, "kindString": "Property", @@ -26055,13 +27182,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 961, "character": 6 } ], "type": { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } } @@ -26070,13 +27197,16 @@ { "title": "Properties", "kind": 1024, - "children": [779, 778] + "children": [ + 783, + 782 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 953, + "line": 960, "character": 4 } ] @@ -26085,14 +27215,14 @@ { "type": "reflection", "declaration": { - "id": 780, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 786, "name": "error", "kind": 1024, "kindString": "Property", @@ -26100,18 +27230,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 959, + "line": 966, "character": 6 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } }, { - "id": 781, + "id": 785, "name": "session", "kind": 1024, "kindString": "Property", @@ -26119,7 +27249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 958, + "line": 965, "character": 6 } ], @@ -26133,13 +27263,16 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781] + "children": [ + 786, + 785 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 957, + "line": 964, "character": 4 } ] @@ -26149,7 +27282,7 @@ } }, { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -26157,7 +27290,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -26192,7 +27325,7 @@ } }, { - "id": 600, + "id": 604, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26200,21 +27333,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 605, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 607, "name": "email", "kind": 1024, "kindString": "Property", @@ -26225,7 +27358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 582, "character": 2 } ], @@ -26235,7 +27368,7 @@ } }, { - "id": 604, + "id": 608, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -26246,7 +27379,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 579, + "line": 586, "character": 2 } ], @@ -26256,7 +27389,7 @@ } }, { - "id": 605, + "id": 609, "name": "options", "kind": 1024, "kindString": "Property", @@ -26266,7 +27399,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 587, "character": 2 } ], @@ -26275,7 +27408,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -26289,7 +27422,7 @@ } }, { - "id": 602, + "id": 606, "name": "type", "kind": 1024, "kindString": "Property", @@ -26297,7 +27430,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 573, + "line": 580, "character": 2 } ], @@ -26320,13 +27453,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -26334,7 +27472,7 @@ } }, { - "id": 590, + "id": 594, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26342,21 +27480,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 595, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 597, "name": "email", "kind": 1024, "kindString": "Property", @@ -26367,7 +27505,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 568, "character": 2 } ], @@ -26377,7 +27515,7 @@ } }, { - "id": 594, + "id": 598, "name": "options", "kind": 1024, "kindString": "Property", @@ -26387,7 +27525,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 569, "character": 2 } ], @@ -26396,7 +27534,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -26419,7 +27557,7 @@ } }, { - "id": 592, + "id": 596, "name": "type", "kind": 1024, "kindString": "Property", @@ -26427,7 +27565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 559, + "line": 566, "character": 2 } ], @@ -26450,13 +27588,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -26464,7 +27606,7 @@ } }, { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26472,7 +27614,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -26480,147 +27622,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -26631,25 +27637,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -26659,7 +27662,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -26678,7 +27681,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -26702,6 +27705,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -26713,6 +27734,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -26732,13 +27879,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -26746,123 +27897,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -26873,14 +27912,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -26901,28 +27940,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -26932,7 +27950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -26941,7 +27959,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -26955,7 +27973,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -26967,6 +27985,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -26986,13 +28141,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -27003,7 +28163,7 @@ } }, { - "id": 623, + "id": 627, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -27014,21 +28174,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 624, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 624, + "id": 628, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 625, + "id": 629, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -27039,7 +28199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 629, "character": 2 } ], @@ -27049,7 +28209,7 @@ } }, { - "id": 626, + "id": 630, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -27060,7 +28220,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 627, + "line": 634, "character": 2 } ], @@ -27070,7 +28230,7 @@ } }, { - "id": 627, + "id": 631, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -27081,7 +28241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 638, "character": 2 } ], @@ -27091,7 +28251,7 @@ } }, { - "id": 628, + "id": 632, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -27102,7 +28262,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 640, "character": 2 } ], @@ -27112,7 +28272,7 @@ } }, { - "id": 629, + "id": 633, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -27123,16 +28283,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 642, "character": 2 } ], "type": { "type": "reference", - "id": 630, + "id": 634, "name": "GenerateLinkType", "dereferenced": { - "id": 630, + "id": 634, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -27140,7 +28300,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 645, "character": 12 } ], @@ -27181,13 +28341,19 @@ { "title": "Properties", "kind": 1024, - "children": [625, 626, 627, 628, 629] + "children": [ + 629, + 630, + 631, + 632, + 633 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 624, "character": 37 } ] @@ -27195,7 +28361,7 @@ } }, { - "id": 610, + "id": 614, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -27203,7 +28369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 607, "character": 12 } ], @@ -27213,136 +28379,14 @@ { "type": "reflection", "declaration": { - "id": 611, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 603, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 623, - "name": "GenerateLinkProperties" - } - }, - { - "id": 615, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 604, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12 - } - ] - } - } - }, { "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 606, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, "name": "data", "kind": 1024, "kindString": "Property", @@ -27357,14 +28401,14 @@ "type": { "type": "reflection", "declaration": { - "id": 619, + "id": 617, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 620, + "id": 618, "name": "properties", "kind": 1024, "kindString": "Property", @@ -27377,12 +28421,13 @@ } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 627, + "name": "GenerateLinkProperties" } }, { - "id": 621, + "id": 619, "name": "user", "kind": 1024, "kindString": "Property", @@ -27395,8 +28440,9 @@ } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 425, + "name": "User" } } ], @@ -27404,7 +28450,10 @@ { "title": "Properties", "kind": 1024, - "children": [620, 621] + "children": [ + 618, + 619 + ] } ], "sources": [ @@ -27418,7 +28467,7 @@ } }, { - "id": 622, + "id": 620, "name": "error", "kind": 1024, "kindString": "Property", @@ -27431,9 +28480,8 @@ } ], "type": { - "type": "reference", - "id": 800, - "name": "AuthError" + "type": "literal", + "value": null } } ], @@ -27441,7 +28489,10 @@ { "title": "Properties", "kind": 1024, - "children": [618, 622] + "children": [ + 616, + 620 + ] } ], "sources": [ @@ -27452,12 +28503,139 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 617, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 625, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 624, + 625 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 12 + } + ] + } + } + }, + { + "id": 626, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 620, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 622, + 626 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 615, + "character": 4 + } + ] + } } ] } }, { - "id": 630, + "id": 634, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -27465,7 +28643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 645, "character": 12 } ], @@ -27500,7 +28678,7 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27508,21 +28686,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 572, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 596, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 598, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -27533,7 +28711,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 575, "character": 2 } ], @@ -27543,7 +28721,7 @@ } }, { - "id": 599, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -27553,7 +28731,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 569, + "line": 576, "character": 2 } ], @@ -27562,7 +28740,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -27576,7 +28754,7 @@ } }, { - "id": 597, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -27584,7 +28762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 566, + "line": 573, "character": 2 } ], @@ -27598,13 +28776,17 @@ { "title": "Properties", "kind": 1024, - "children": [598, 599, 597] + "children": [ + 602, + 603, + 601 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 572, "character": 41 } ] @@ -27612,7 +28794,7 @@ } }, { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27620,21 +28802,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 551, + "line": 558, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 587, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", @@ -27642,7 +28824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 553, + "line": 560, "character": 2 } ], @@ -27652,7 +28834,7 @@ } }, { - "id": 589, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -27662,7 +28844,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 562, "character": 2 } ], @@ -27671,7 +28853,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -27694,7 +28876,7 @@ } }, { - "id": 588, + "id": 592, "name": "password", "kind": 1024, "kindString": "Property", @@ -27702,7 +28884,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 561, "character": 2 } ], @@ -27712,7 +28894,7 @@ } }, { - "id": 586, + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -27720,7 +28902,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 559, "character": 2 } ], @@ -27734,13 +28916,18 @@ { "title": "Properties", "kind": 1024, - "children": [587, 589, 588, 586] + "children": [ + 591, + 593, + 592, + 590 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 551, + "line": 558, "character": 39 } ] @@ -27748,7 +28935,7 @@ } }, { - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -27763,14 +28950,14 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 335, + "id": 337, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -27790,7 +28977,7 @@ } }, { - "id": 334, + "id": 336, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -27810,7 +28997,7 @@ } }, { - "id": 338, + "id": 340, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -27830,7 +29017,7 @@ } }, { - "id": 339, + "id": 341, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -27846,10 +29033,10 @@ ], "type": { "type": "reference", - "id": 518, + "id": 522, "name": "AuthFlowType", "dereferenced": { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -27857,7 +29044,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -27878,7 +29065,7 @@ } }, { - "id": 329, + "id": 331, "name": "headers", "kind": 1024, "kindString": "Property", @@ -27895,7 +29082,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27908,14 +29095,14 @@ } ], "indexSignature": { - "id": 331, + "id": 333, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 332, + "id": 334, "name": "key", "kind": 32768, "flags": {}, @@ -27934,7 +29121,7 @@ } }, { - "id": 336, + "id": 338, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -27954,7 +29141,7 @@ } }, { - "id": 337, + "id": 339, "name": "storage", "kind": 1024, "kindString": "Property", @@ -27970,10 +29157,10 @@ ], "type": { "type": "reference", - "id": 772, + "id": 776, "name": "SupportedStorage", "dereferenced": { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -27981,7 +29168,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -28026,7 +29213,7 @@ } }, { - "id": 333, + "id": 335, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -28046,7 +29233,7 @@ } }, { - "id": 328, + "id": 330, "name": "url", "kind": 1024, "kindString": "Property", @@ -28070,7 +29257,17 @@ { "title": "Properties", "kind": 1024, - "children": [335, 334, 338, 339, 329, 336, 337, 333, 328] + "children": [ + 337, + 336, + 340, + 341, + 331, + 338, + 339, + 335, + 330 + ] } ], "sources": [ @@ -28084,7 +29281,7 @@ } }, { - "id": 773, + "id": 777, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -28092,21 +29289,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 778, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 775, + "id": 779, "name": "error", "kind": 1024, "kindString": "Property", @@ -28114,7 +29311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 33 } ], @@ -28123,7 +29320,7 @@ "types": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" }, { @@ -28138,13 +29335,15 @@ { "title": "Properties", "kind": 1024, - "children": [775] + "children": [ + 779 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 31 } ] @@ -28152,7 +29351,7 @@ } }, { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -28160,14 +29359,99 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 687, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 654, + 653 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 683, + "character": 42 + } + ] + } + } + }, + { + "id": 648, + "name": "MFAChallengeParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28175,12 +29459,12 @@ "children": [ { "id": 650, - "name": "code", + "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { @@ -28193,101 +29477,21 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 649, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 678, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, - "character": 42 - } - ] - } - } - }, - { - "id": 644, - "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 646, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor to be challenged. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 673, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -28295,7 +29499,7 @@ } }, { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -28303,21 +29507,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -28328,7 +29532,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -28338,7 +29542,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -28351,7 +29555,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -28361,7 +29565,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -28371,67 +29575,6 @@ "comment": { "shortText": "Domain which the user is enrolled with." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 650, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 635, 634] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 30 - } - ] - } - } - }, - { - "id": 636, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 655, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 637, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 638, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being unenrolled." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -28449,36 +29592,40 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, - "character": 32 + "line": 653, + "character": 30 } ] } } }, { - "id": 639, - "name": "MFAVerifyParams", + "id": 640, + "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28486,59 +29633,17 @@ "children": [ { "id": 642, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the challenge being verified. Returned in challenge()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 665, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 643, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 668, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 641, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." + "shortText": "ID of the factor being unenrolled." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 664, "character": 2 } ], @@ -28552,13 +29657,122 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 662, + "character": 32 + } + ] + } + } + }, + { + "id": 643, + "name": "MFAVerifyParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 646, + "name": "challengeId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 647, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 675, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 645, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 669, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 646, + 647, + 645 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, "character": 30 } ] @@ -28566,7 +29780,7 @@ } }, { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -28574,7 +29788,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -28593,7 +29807,7 @@ } }, { - "id": 353, + "id": 355, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -28611,14 +29825,14 @@ { "type": "reflection", "declaration": { - "id": 354, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 355, + "id": 357, "name": "data", "kind": 1024, "kindString": "Property", @@ -28633,14 +29847,14 @@ "type": { "type": "reflection", "declaration": { - "id": 356, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 357, + "id": 359, "name": "provider", "kind": 1024, "kindString": "Property", @@ -28654,12 +29868,12 @@ ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider" } }, { - "id": 358, + "id": 360, "name": "url", "kind": 1024, "kindString": "Property", @@ -28681,7 +29895,10 @@ { "title": "Properties", "kind": 1024, - "children": [357, 358] + "children": [ + 359, + 360 + ] } ], "sources": [ @@ -28695,7 +29912,7 @@ } }, { - "id": 359, + "id": 361, "name": "error", "kind": 1024, "kindString": "Property", @@ -28717,7 +29934,10 @@ { "title": "Properties", "kind": 1024, - "children": [355, 359] + "children": [ + 357, + 361 + ] } ], "sources": [ @@ -28732,14 +29952,14 @@ { "type": "reflection", "declaration": { - "id": 360, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 361, + "id": 363, "name": "data", "kind": 1024, "kindString": "Property", @@ -28754,14 +29974,14 @@ "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 363, + "id": 365, "name": "provider", "kind": 1024, "kindString": "Property", @@ -28775,12 +29995,12 @@ ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider" } }, { - "id": 364, + "id": 366, "name": "url", "kind": 1024, "kindString": "Property", @@ -28802,7 +30022,10 @@ { "title": "Properties", "kind": 1024, - "children": [363, 364] + "children": [ + 365, + 366 + ] } ], "sources": [ @@ -28816,7 +30039,7 @@ } }, { - "id": 365, + "id": 367, "name": "error", "kind": 1024, "kindString": "Property", @@ -28830,7 +30053,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -28839,7 +30062,10 @@ { "title": "Properties", "kind": 1024, - "children": [361, 365] + "children": [ + 363, + 367 + ] } ], "sources": [ @@ -28855,7 +30081,7 @@ } }, { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -28863,21 +30089,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -28890,7 +30116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -28900,7 +30126,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -28913,7 +30139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -28927,13 +30153,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -28941,7 +30170,7 @@ } }, { - "id": 783, + "id": 787, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -28949,21 +30178,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 962, + "line": 969, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 788, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 786, + "id": 790, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -28971,7 +30200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 972, "character": 2 } ], @@ -28981,7 +30210,7 @@ } }, { - "id": 785, + "id": 789, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -28989,7 +30218,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 964, + "line": 971, "character": 2 } ], @@ -29008,7 +30237,7 @@ } }, { - "id": 787, + "id": 791, "name": "total", "kind": 1024, "kindString": "Property", @@ -29016,7 +30245,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 966, + "line": 973, "character": 2 } ], @@ -29030,25 +30259,29 @@ { "title": "Properties", "kind": 1024, - "children": [786, 785, 787] + "children": [ + 790, + 789, + 791 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 962, + "line": 969, "character": 25 } ], "indexSignature": { - "id": 788, + "id": 792, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 789, + "id": 793, "name": "key", "kind": 32768, "flags": {}, @@ -29067,7 +30300,7 @@ } }, { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -29157,7 +30390,7 @@ } }, { - "id": 558, + "id": 562, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -29165,7 +30398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 516, "character": 12 } ], @@ -29175,14 +30408,14 @@ { "type": "reflection", "declaration": { - "id": 559, + "id": 563, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 565, "name": "email", "kind": 1024, "kindString": "Property", @@ -29190,7 +30423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 519, "character": 6 } ], @@ -29200,7 +30433,7 @@ } }, { - "id": 562, + "id": 566, "name": "options", "kind": 1024, "kindString": "Property", @@ -29210,21 +30443,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 563, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 564, + "id": 568, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29237,7 +30470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 522, "character": 8 } ], @@ -29251,13 +30484,15 @@ { "title": "Properties", "kind": 1024, - "children": [564] + "children": [ + 568 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 16 } ] @@ -29265,7 +30500,7 @@ } }, { - "id": 560, + "id": 564, "name": "type", "kind": 1024, "kindString": "Property", @@ -29273,7 +30508,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 518, "character": 6 } ], @@ -29282,7 +30517,7 @@ "typeArguments": [ { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType" }, { @@ -29309,13 +30544,17 @@ { "title": "Properties", "kind": 1024, - "children": [561, 562, 560] + "children": [ + 565, + 566, + 564 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 517, "character": 4 } ] @@ -29324,14 +30563,14 @@ { "type": "reflection", "declaration": { - "id": 565, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 572, "name": "options", "kind": 1024, "kindString": "Property", @@ -29341,21 +30580,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 570, + "id": 574, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29368,7 +30607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 523, + "line": 530, "character": 8 } ], @@ -29382,13 +30621,15 @@ { "title": "Properties", "kind": 1024, - "children": [570] + "children": [ + 574 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 16 } ] @@ -29396,7 +30637,7 @@ } }, { - "id": 567, + "id": 571, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29404,7 +30645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 527, "character": 6 } ], @@ -29414,7 +30655,7 @@ } }, { - "id": 566, + "id": 570, "name": "type", "kind": 1024, "kindString": "Property", @@ -29422,7 +30663,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 526, "character": 6 } ], @@ -29431,7 +30672,7 @@ "typeArguments": [ { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType" }, { @@ -29443,7 +30684,7 @@ }, { "type": "literal", - "value": "phone" + "value": "phone_change" } ] } @@ -29458,13 +30699,17 @@ { "title": "Properties", "kind": 1024, - "children": [568, 567, 566] + "children": [ + 572, + 571, + 570 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 525, "character": 4 } ] @@ -29474,7 +30719,7 @@ } }, { - "id": 366, + "id": 368, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -29492,14 +30737,14 @@ { "type": "reflection", "declaration": { - "id": 367, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 368, + "id": 370, "name": "data", "kind": 1024, "kindString": "Property", @@ -29514,14 +30759,14 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 370, + "id": 372, "name": "url", "kind": 1024, "kindString": "Property", @@ -29547,7 +30792,9 @@ { "title": "Properties", "kind": 1024, - "children": [370] + "children": [ + 372 + ] } ], "sources": [ @@ -29561,7 +30808,7 @@ } }, { - "id": 371, + "id": 373, "name": "error", "kind": 1024, "kindString": "Property", @@ -29583,7 +30830,10 @@ { "title": "Properties", "kind": 1024, - "children": [368, 371] + "children": [ + 370, + 373 + ] } ], "sources": [ @@ -29598,14 +30848,14 @@ { "type": "reflection", "declaration": { - "id": 372, + "id": 374, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 373, + "id": 375, "name": "data", "kind": 1024, "kindString": "Property", @@ -29623,7 +30873,7 @@ } }, { - "id": 374, + "id": 376, "name": "error", "kind": 1024, "kindString": "Property", @@ -29637,7 +30887,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -29646,7 +30896,10 @@ { "title": "Properties", "kind": 1024, - "children": [373, 374] + "children": [ + 375, + 376 + ] } ], "sources": [ @@ -29662,7 +30915,7 @@ } }, { - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -29670,21 +30923,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 535, + "id": 539, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -29697,7 +30950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 464, + "line": 471, "character": 2 } ], @@ -29707,7 +30960,7 @@ } }, { - "id": 536, + "id": 540, "name": "options", "kind": 1024, "kindString": "Property", @@ -29717,21 +30970,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 537, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 538, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29744,7 +30997,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 474, "character": 4 } ], @@ -29758,13 +31011,15 @@ { "title": "Properties", "kind": 1024, - "children": [538] + "children": [ + 542 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 12 } ] @@ -29772,7 +31027,7 @@ } }, { - "id": 533, + "id": 537, "name": "provider", "kind": 1024, "kindString": "Property", @@ -29783,7 +31038,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 460, + "line": 467, "character": 2 } ], @@ -29802,7 +31057,7 @@ } }, { - "id": 534, + "id": 538, "name": "token", "kind": 1024, "kindString": "Property", @@ -29813,7 +31068,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 462, + "line": 469, "character": 2 } ], @@ -29827,13 +31082,18 @@ { "title": "Properties", "kind": 1024, - "children": [535, 536, 533, 534] + "children": [ + 539, + 540, + 537, + 538 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 43 } ] @@ -29841,7 +31101,7 @@ } }, { - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -29849,21 +31109,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 526, "name": "options", "kind": 1024, "kindString": "Property", @@ -29873,21 +31133,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 523, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 530, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -29900,14 +31160,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 527, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29915,19 +31175,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 18 } ], "indexSignature": { - "id": 528, + "id": 532, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 529, + "id": 533, "name": "key", "kind": 32768, "flags": {}, @@ -29946,7 +31206,7 @@ } }, { - "id": 524, + "id": 528, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -29959,7 +31219,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 446, + "line": 453, "character": 4 } ], @@ -29969,7 +31229,7 @@ } }, { - "id": 525, + "id": 529, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -29982,7 +31242,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 455, "character": 4 } ], @@ -29992,7 +31252,7 @@ } }, { - "id": 530, + "id": 534, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -30005,7 +31265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 452, + "line": 459, "character": 4 } ], @@ -30019,13 +31279,18 @@ { "title": "Properties", "kind": 1024, - "children": [526, 524, 525, 530] + "children": [ + 530, + 528, + 529, + 534 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 12 } ] @@ -30033,7 +31298,7 @@ } }, { - "id": 521, + "id": 525, "name": "provider", "kind": 1024, "kindString": "Property", @@ -30044,16 +31309,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 443, + "line": 450, "character": 2 } ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider", "dereferenced": { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -30149,13 +31414,16 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [ + 526, + 525 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 41 } ] @@ -30163,7 +31431,7 @@ } }, { - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -30171,7 +31439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 374, + "line": 381, "character": 12 } ], @@ -30181,14 +31449,14 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 492, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 493, "name": "email", "kind": 1024, "kindString": "Property", @@ -30199,229 +31467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 492, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 493, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [493] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 16 - } - ] - } - } - }, - { - "id": 490, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 379, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [489, 491, 490] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 375, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 497, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 498, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 500, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 398, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 499, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 396, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [500, 499] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 16 - } - ] - } - } - }, - { - "id": 496, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, + "line": 384, "character": 6 } ], @@ -30432,12 +31478,11 @@ }, { "id": 495, - "name": "phone", + "name": "options", "kind": 1024, "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." + "flags": { + "isOptional": true }, "sources": [ { @@ -30446,6 +31491,74 @@ "character": 6 } ], + "type": { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 497, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 389, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 497 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 387, + "character": 16 + } + ] + } + } + }, + { + "id": 494, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 6 + } + ], "type": { "type": "intrinsic", "name": "string" @@ -30456,69 +31569,33 @@ { "title": "Properties", "kind": 1024, - "children": [497, 496, 495] + "children": [ + 493, + 495, + 494 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 382, "character": 4 } ] } - } - ] - } - }, - { - "id": 501, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 402, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ + }, { "type": "reflection", "declaration": { - "id": 502, + "id": 498, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 503, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 405, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 504, + "id": 501, "name": "options", "kind": 1024, "kindString": "Property", @@ -30528,21 +31605,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 397, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 502, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 504, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30555,7 +31632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 405, "character": 8 } ], @@ -30565,7 +31642,7 @@ } }, { - "id": 508, + "id": 503, "name": "data", "kind": 1024, "kindString": "Property", @@ -30579,7 +31656,211 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 403, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 504, + 503 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 397, + "character": 16 + } + ] + } + } + }, + { + "id": 500, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 396, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 394, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 501, + 500, + 499 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 392, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 505, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 409, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 507, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 412, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 509, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 513, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 425, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, "character": 8 } ], @@ -30589,7 +31870,7 @@ } }, { - "id": 506, + "id": 510, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -30602,7 +31883,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 408, + "line": 415, "character": 8 } ], @@ -30612,7 +31893,7 @@ } }, { - "id": 507, + "id": 511, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -30625,7 +31906,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 410, + "line": 417, "character": 8 } ], @@ -30639,13 +31920,18 @@ { "title": "Properties", "kind": 1024, - "children": [509, 508, 506, 507] + "children": [ + 513, + 512, + 510, + 511 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 16 } ] @@ -30657,13 +31943,16 @@ { "title": "Properties", "kind": 1024, - "children": [503, 504] + "children": [ + 507, + 508 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 410, "character": 4 } ] @@ -30672,14 +31961,14 @@ { "type": "reflection", "declaration": { - "id": 510, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -30689,21 +31978,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 520, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30716,7 +32005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 434, + "line": 441, "character": 8 } ], @@ -30726,7 +32015,7 @@ } }, { - "id": 517, + "id": 521, "name": "channel", "kind": 1024, "kindString": "Property", @@ -30739,7 +32028,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 436, + "line": 443, "character": 8 } ], @@ -30758,7 +32047,7 @@ } }, { - "id": 515, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -30772,7 +32061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 432, + "line": 439, "character": 8 } ], @@ -30782,7 +32071,7 @@ } }, { - "id": 514, + "id": 518, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -30795,7 +32084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 433, "character": 8 } ], @@ -30809,13 +32098,18 @@ { "title": "Properties", "kind": 1024, - "children": [516, 517, 515, 514] + "children": [ + 520, + 521, + 519, + 518 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 16 } ] @@ -30823,7 +32117,7 @@ } }, { - "id": 511, + "id": 515, "name": "phone", "kind": 1024, "kindString": "Property", @@ -30834,7 +32128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 423, + "line": 430, "character": 6 } ], @@ -30848,13 +32142,16 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [ + 516, + 515 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 428, "character": 4 } ] @@ -30864,7 +32161,7 @@ } }, { - "id": 571, + "id": 575, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -30872,7 +32169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 534, "character": 12 } ], @@ -30882,14 +32179,14 @@ { "type": "reflection", "declaration": { - "id": 572, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 574, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -30899,21 +32196,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 577, + "id": 581, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30926,7 +32223,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 543, "character": 8 } ], @@ -30936,7 +32233,7 @@ } }, { - "id": 576, + "id": 580, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -30949,7 +32246,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 534, + "line": 541, "character": 8 } ], @@ -30963,13 +32260,16 @@ { "title": "Properties", "kind": 1024, - "children": [577, 576] + "children": [ + 581, + 580 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 16 } ] @@ -30977,7 +32277,7 @@ } }, { - "id": 573, + "id": 577, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -30988,7 +32288,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 537, "character": 6 } ], @@ -31002,13 +32302,16 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573] + "children": [ + 578, + 577 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 535, "character": 4 } ] @@ -31017,14 +32320,14 @@ { "type": "reflection", "declaration": { - "id": 578, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 583, "name": "domain", "kind": 1024, "kindString": "Property", @@ -31035,7 +32338,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 541, + "line": 548, "character": 6 } ], @@ -31045,7 +32348,7 @@ } }, { - "id": 580, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -31055,21 +32358,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 587, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31082,7 +32385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 554, "character": 8 } ], @@ -31092,7 +32395,7 @@ } }, { - "id": 582, + "id": 586, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -31105,7 +32408,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 545, + "line": 552, "character": 8 } ], @@ -31119,13 +32422,16 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [ + 587, + 586 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 16 } ] @@ -31137,13 +32443,16 @@ { "title": "Properties", "kind": 1024, - "children": [579, 580] + "children": [ + 583, + 584 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 546, "character": 4 } ] @@ -31153,7 +32462,7 @@ } }, { - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -31161,7 +32470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 337, + "line": 344, "character": 12 } ], @@ -31171,14 +32480,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 475, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 476, "name": "email", "kind": 1024, "kindString": "Property", @@ -31189,7 +32498,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 340, + "line": 347, "character": 6 } ], @@ -31199,7 +32508,7 @@ } }, { - "id": 474, + "id": 478, "name": "options", "kind": 1024, "kindString": "Property", @@ -31209,21 +32518,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 475, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 482, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31236,7 +32545,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 353, + "line": 360, "character": 8 } ], @@ -31246,7 +32555,7 @@ } }, { - "id": 477, + "id": 481, "name": "data", "kind": 1024, "kindString": "Property", @@ -31260,7 +32569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 358, "character": 8 } ], @@ -31270,7 +32579,7 @@ } }, { - "id": 476, + "id": 480, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -31283,7 +32592,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 345, + "line": 352, "character": 8 } ], @@ -31297,13 +32606,17 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 476] + "children": [ + 482, + 481, + 480 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 16 } ] @@ -31311,7 +32624,7 @@ } }, { - "id": 473, + "id": 477, "name": "password", "kind": 1024, "kindString": "Property", @@ -31322,7 +32635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 349, "character": 6 } ], @@ -31336,13 +32649,17 @@ { "title": "Properties", "kind": 1024, - "children": [472, 474, 473] + "children": [ + 476, + 478, + 477 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 345, "character": 4 } ] @@ -31351,14 +32668,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 483, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 482, + "id": 486, "name": "options", "kind": 1024, "kindString": "Property", @@ -31368,21 +32685,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 489, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31395,7 +32712,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 376, "character": 8 } ], @@ -31405,7 +32722,7 @@ } }, { - "id": 486, + "id": 490, "name": "channel", "kind": 1024, "kindString": "Property", @@ -31418,7 +32735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 371, + "line": 378, "character": 8 } ], @@ -31437,7 +32754,7 @@ } }, { - "id": 484, + "id": 488, "name": "data", "kind": 1024, "kindString": "Property", @@ -31451,7 +32768,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 367, + "line": 374, "character": 8 } ], @@ -31465,13 +32782,17 @@ { "title": "Properties", "kind": 1024, - "children": [485, 486, 484] + "children": [ + 489, + 490, + 488 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 16 } ] @@ -31479,7 +32800,7 @@ } }, { - "id": 481, + "id": 485, "name": "password", "kind": 1024, "kindString": "Property", @@ -31490,7 +32811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 367, "character": 6 } ], @@ -31500,7 +32821,7 @@ } }, { - "id": 480, + "id": 484, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31511,7 +32832,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 365, "character": 6 } ], @@ -31525,13 +32846,17 @@ { "title": "Properties", "kind": 1024, - "children": [482, 481, 480] + "children": [ + 486, + 485, + 484 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 363, "character": 4 } ] @@ -31541,7 +32866,7 @@ } }, { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -31549,7 +32874,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -31592,7 +32917,7 @@ } }, { - "id": 375, + "id": 377, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -31610,14 +32935,14 @@ { "type": "reflection", "declaration": { - "id": 376, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 377, + "id": 379, "name": "data", "kind": 1024, "kindString": "Property", @@ -31632,14 +32957,14 @@ "type": { "type": "reflection", "declaration": { - "id": 378, + "id": 380, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 379, + "id": 381, "name": "user", "kind": 1024, "kindString": "Property", @@ -31653,7 +32978,7 @@ ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -31662,7 +32987,9 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [ + 381 + ] } ], "sources": [ @@ -31676,7 +33003,7 @@ } }, { - "id": 380, + "id": 382, "name": "error", "kind": 1024, "kindString": "Property", @@ -31698,7 +33025,10 @@ { "title": "Properties", "kind": 1024, - "children": [377, 380] + "children": [ + 379, + 382 + ] } ], "sources": [ @@ -31713,14 +33043,14 @@ { "type": "reflection", "declaration": { - "id": 381, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 382, + "id": 384, "name": "data", "kind": 1024, "kindString": "Property", @@ -31735,14 +33065,14 @@ "type": { "type": "reflection", "declaration": { - "id": 383, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 384, + "id": 386, "name": "user", "kind": 1024, "kindString": "Property", @@ -31764,7 +33094,9 @@ { "title": "Properties", "kind": 1024, - "children": [384] + "children": [ + 386 + ] } ], "sources": [ @@ -31778,7 +33110,7 @@ } }, { - "id": 385, + "id": 387, "name": "error", "kind": 1024, "kindString": "Property", @@ -31792,7 +33124,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -31801,7 +33133,10 @@ { "title": "Properties", "kind": 1024, - "children": [382, 385] + "children": [ + 384, + 387 + ] } ], "sources": [ @@ -31817,7 +33152,7 @@ } }, { - "id": 539, + "id": 543, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -31825,7 +33160,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 478, "character": 12 } ], @@ -31833,14 +33168,14 @@ "type": "union", "types": [ { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -31850,21 +33185,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -31883,7 +33218,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -31893,7 +33228,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -31906,7 +33241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -31920,14 +33255,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31938,7 +33276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -31948,7 +33286,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -31959,7 +33297,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -31969,7 +33307,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -31980,16 +33318,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -31997,7 +33335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -32022,26 +33360,31 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -32052,7 +33395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -32062,7 +33405,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -32072,21 +33415,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32099,7 +33442,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -32109,7 +33452,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -32122,7 +33465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -32136,14 +33479,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -32154,7 +33500,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -32164,7 +33510,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -32175,16 +33521,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -32192,7 +33538,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -32233,13 +33579,18 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] @@ -32248,7 +33599,7 @@ } }, { - "id": 797, + "id": 801, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -32262,14 +33613,14 @@ ], "signatures": [ { - "id": 798, + "id": 802, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 799, + "id": 803, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -32286,7 +33637,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" } } @@ -32294,7 +33645,7 @@ ] }, { - "id": 794, + "id": 798, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -32308,14 +33659,14 @@ ], "signatures": [ { - "id": 795, + "id": 799, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 796, + "id": 800, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -32332,7 +33683,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -32344,28 +33695,103 @@ { "title": "Classes", "kind": 128, - "children": [807, 800, 868, 855, 893, 918, 843, 820, 828, 1, 77] + "children": [ + 811, + 804, + 872, + 859, + 897, + 922, + 847, + 824, + 832, + 1, + 77 + ] }, { "title": "Interfaces", "kind": 256, "children": [ - 395, 451, 409, 606, 765, 720, 386, 460, 468, 423, 416, 446, 398, 420, 548, 540 + 397, + 454, + 411, + 610, + 769, + 724, + 388, + 464, + 472, + 425, + 418, + 448, + 400, + 422, + 552, + 544 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 325, 324, 518, 749, 740, 762, 753, 688, 664, 709, 698, 679, 651, 340, 708, 776, 557, - 600, 590, 609, 623, 610, 630, 595, 584, 326, 773, 647, 644, 631, 636, 639, 556, 353, - 790, 783, 323, 558, 366, 531, 519, 487, 501, 571, 470, 772, 375, 539 + 327, + 326, + 522, + 753, + 744, + 766, + 757, + 692, + 668, + 713, + 702, + 683, + 655, + 342, + 712, + 780, + 561, + 604, + 594, + 613, + 627, + 614, + 634, + 599, + 588, + 328, + 777, + 651, + 648, + 635, + 640, + 643, + 560, + 355, + 794, + 787, + 325, + 562, + 368, + 535, + 523, + 491, + 505, + 575, + 474, + 776, + 377, + 543 ] }, { "title": "Functions", "kind": 64, - "children": [797, 794] + "children": [ + 801, + 798 + ] } ], "sources": [ @@ -32453,17 +33879,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -33107,17 +34548,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -33499,7 +34955,11 @@ { "title": "Properties", "kind": 1024, - "children": [12, 10, 11] + "children": [ + 12, + 10, + 11 + ] } ] } @@ -34058,7 +35518,10 @@ { "title": "Properties", "kind": 1024, - "children": [45, 44] + "children": [ + 45, + 44 + ] } ] } @@ -34176,17 +35639,27 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [20, 18, 19, 17] + "children": [ + 20, + 18, + 19, + 17 + ] }, { "title": "Methods", "kind": 2048, - "children": [25, 36] + "children": [ + 25, + 36 + ] } ], "sources": [ @@ -35060,17 +36533,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -36417,7 +37905,14 @@ { "title": "Properties", "kind": 1024, - "children": [396, 399, 401, 398, 397, 400] + "children": [ + 396, + 399, + 401, + 398, + 397, + 400 + ] } ] } @@ -38587,7 +40082,9 @@ { "title": "Properties", "kind": 1024, - "children": [371] + "children": [ + 371 + ] } ] } @@ -39648,7 +41145,9 @@ { "title": "Properties", "kind": 1024, - "children": [334] + "children": [ + 334 + ] } ] } @@ -39829,7 +41328,11 @@ { "title": "Properties", "kind": 1024, - "children": [356, 358, 357] + "children": [ + 356, + 358, + 357 + ] } ] } @@ -39981,7 +41484,11 @@ { "title": "Properties", "kind": 1024, - "children": [363, 365, 364] + "children": [ + 363, + 365, + 364 + ] } ] } @@ -40310,7 +41817,9 @@ { "title": "Properties", "kind": 1024, - "children": [378] + "children": [ + 378 + ] } ] } @@ -41616,7 +43125,10 @@ { "title": "Properties", "kind": 1024, - "children": [304, 305] + "children": [ + 304, + 305 + ] } ] } @@ -41768,7 +43280,10 @@ { "title": "Properties", "kind": 1024, - "children": [311, 312] + "children": [ + 311, + 312 + ] } ] } @@ -42108,20 +43623,70 @@ { "title": "Constructors", "kind": 512, - "children": [115] + "children": [ + 115 + ] }, { "title": "Properties", "kind": 1024, - "children": [411, 414, 409, 419, 407, 410, 412, 413, 408] + "children": [ + 411, + 414, + 409, + 419, + 407, + 410, + 412, + 413, + 408 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 379, 241, 233, 388, 121, 392, 335, 390, 137, 145, 193, 201, 209, 225, 217, 169, 177, - 185, 366, 153, 161, 313, 385, 129, 319, 329, 350, 289, 372, 281, 249, 257, 265, 273, - 404, 402, 345, 382, 297, 422, 420 + 379, + 241, + 233, + 388, + 121, + 392, + 335, + 390, + 137, + 145, + 193, + 201, + 209, + 225, + 217, + 169, + 177, + 185, + 366, + 153, + 161, + 313, + 385, + 129, + 319, + 329, + 350, + 289, + 372, + 281, + 249, + 257, + 265, + 273, + 404, + 402, + 345, + 382, + 297, + 422, + 420 ] } ], @@ -42436,7 +44001,11 @@ { "title": "Properties", "kind": 1024, - "children": [59, 57, 58] + "children": [ + 59, + 57, + 58 + ] } ] } @@ -42730,7 +44299,9 @@ { "title": "Properties", "kind": 1024, - "children": [111] + "children": [ + 111 + ] } ] } @@ -42930,7 +44501,10 @@ { "title": "Properties", "kind": 1024, - "children": [88, 89] + "children": [ + 88, + 89 + ] } ] } @@ -43146,7 +44720,10 @@ { "title": "Properties", "kind": 1024, - "children": [81, 80] + "children": [ + 81, + 80 + ] } ] } @@ -43315,7 +44892,9 @@ { "title": "Properties", "kind": 1024, - "children": [106] + "children": [ + 106 + ] } ] } @@ -43561,7 +45140,12 @@ { "title": "Properties", "kind": 1024, - "children": [98, 99, 97, 96] + "children": [ + 98, + 99, + 97, + 96 + ] } ] } @@ -43605,17 +45189,31 @@ { "title": "Constructors", "kind": 512, - "children": [50] + "children": [ + 50 + ] }, { "title": "Properties", "kind": 1024, - "children": [68, 65, 66, 67, 64] + "children": [ + 68, + 65, + 66, + 67, + 64 + ] }, { "title": "Methods", "kind": 2048, - "children": [107, 82, 73, 100, 90] + "children": [ + 107, + 82, + 73, + 100, + 90 + ] } ], "sources": [ @@ -44392,17 +45990,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -45123,7 +46736,14 @@ { "title": "Properties", "kind": 1024, - "children": [495, 498, 500, 497, 496, 499] + "children": [ + 495, + 498, + 500, + 497, + 496, + 499 + ] } ] } @@ -45310,7 +46930,9 @@ { "title": "Properties", "kind": 1024, - "children": [470] + "children": [ + 470 + ] } ] } @@ -45571,7 +47193,11 @@ { "title": "Properties", "kind": 1024, - "children": [455, 457, 456] + "children": [ + 455, + 457, + 456 + ] } ] } @@ -45718,7 +47344,11 @@ { "title": "Properties", "kind": 1024, - "children": [462, 464, 463] + "children": [ + 462, + 464, + 463 + ] } ] } @@ -45849,7 +47479,9 @@ { "title": "Properties", "kind": 1024, - "children": [477] + "children": [ + 477 + ] } ] } @@ -46487,17 +48119,44 @@ { "title": "Constructors", "kind": 512, - "children": [438] + "children": [ + 438 + ] }, { "title": "Properties", "kind": 1024, - "children": [510, 513, 508, 518, 506, 509, 511, 512, 507] + "children": [ + 510, + 513, + 508, + 518, + 506, + 509, + 511, + 512, + 507 + ] }, { "title": "Methods", "kind": 2048, - "children": [478, 487, 491, 489, 465, 484, 449, 471, 503, 501, 444, 481, 521, 519] + "children": [ + 478, + 487, + 491, + 489, + 465, + 484, + 449, + 471, + 503, + 501, + 444, + 481, + 521, + 519 + ] } ], "sources": [ @@ -46735,7 +48394,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -46799,7 +48463,13 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573, 572, 575, 576] + "children": [ + 574, + 573, + 572, + 575, + 576 + ] } ], "sources": [ @@ -46937,7 +48607,13 @@ { "title": "Properties", "kind": 1024, - "children": [580, 579, 578, 581, 582] + "children": [ + 580, + 579, + 578, + 581, + 582 + ] } ], "sources": [ @@ -47066,7 +48742,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -47307,7 +48988,13 @@ { "title": "Properties", "kind": 1024, - "children": [580, 579, 578, 581, 582] + "children": [ + 580, + 579, + 578, + 581, + 582 + ] } ], "sources": [ @@ -47496,7 +49183,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -47560,7 +49252,13 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573, 572, 575, 576] + "children": [ + 574, + 573, + 572, + 575, + 576 + ] } ], "sources": [ @@ -47585,17 +49283,31 @@ { "title": "Classes", "kind": 128, - "children": [536, 1, 114, 49, 437] + "children": [ + 536, + 1, + 114, + 49, + 437 + ] }, { "title": "Interfaces", "kind": 256, - "children": [571, 577] + "children": [ + 571, + 577 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [588, 586, 569, 584] + "children": [ + 588, + 586, + 569, + 584 + ] } ], "sources": [ @@ -47686,7 +49398,11 @@ { "title": "Enumeration Members", "kind": 16, - "children": [536, 538, 537] + "children": [ + 536, + 538, + 537 + ] } ], "sources": [ @@ -47785,7 +49501,12 @@ { "title": "Enumeration Members", "kind": 16, - "children": [540, 543, 541, 542] + "children": [ + 540, + 543, + 541, + 542 + ] } ], "sources": [ @@ -47865,7 +49586,11 @@ { "title": "Enumeration Members", "kind": 16, - "children": [546, 547, 545] + "children": [ + 546, + 547, + 545 + ] } ], "sources": [ @@ -47964,7 +49689,12 @@ { "title": "Enumeration Members", "kind": 16, - "children": [552, 551, 549, 550] + "children": [ + 552, + 551, + 549, + 550 + ] } ], "sources": [ @@ -48143,7 +49873,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -48208,7 +49941,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -48226,7 +49961,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -48244,7 +49982,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -48617,7 +50357,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -49237,7 +50985,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -49440,7 +51193,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -49505,7 +51261,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -49523,7 +51281,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -49541,7 +51302,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -49976,7 +51739,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -50101,19 +51870,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99 + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -50203,20 +51993,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, - 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -50405,7 +52229,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -50588,7 +52417,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -50653,7 +52485,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -50671,7 +52505,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -50689,7 +52526,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -50780,17 +52619,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -50924,12 +52786,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -50962,17 +52829,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -51202,12 +53092,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -51618,7 +53516,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -52237,7 +54145,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -52440,7 +54353,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -52505,7 +54421,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -52523,7 +54441,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -52541,7 +54462,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -52976,7 +54899,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -53101,17 +55030,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -53201,20 +55153,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, - 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -53350,7 +55336,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -53491,7 +55479,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -53653,7 +55643,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -53933,7 +55925,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -54222,7 +56219,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -54511,7 +56513,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -54800,7 +56807,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -54938,7 +56950,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -55025,7 +57039,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -55219,7 +57236,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -55766,17 +57785,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -56133,7 +58175,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -56752,7 +58804,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -56955,7 +59012,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -57020,7 +59080,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -57038,7 +59100,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -57056,7 +59121,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -57491,7 +59558,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -57770,7 +59843,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -57835,7 +59911,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -57853,7 +59931,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -57871,7 +59952,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -57908,22 +59991,52 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, - 365, 351, 340, 348, 354, 350, 349, 356, 357, 358, - 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, 395 ] } @@ -58114,7 +60227,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -58297,7 +60415,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -58362,7 +60483,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -58380,7 +60503,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -58398,7 +60524,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -58599,12 +60727,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -58843,12 +60976,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -58924,21 +61065,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, - 340, 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -59075,7 +61248,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -59216,7 +61391,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -59378,7 +61555,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -59658,7 +61837,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -59947,7 +62131,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -60236,7 +62425,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -60525,7 +62719,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -60663,7 +62862,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -60750,7 +62951,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -60944,7 +63148,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -61491,17 +63697,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -61591,20 +63820,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349, - 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -61827,7 +64090,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -61892,7 +64158,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -61910,7 +64178,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -61928,7 +64199,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -62301,8 +64574,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, - 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -62922,7 +65202,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -63126,7 +65411,8 @@ "title": "Properties", "kind": 1024, "children": [ - 323, 322 + 323, + 322 ] } ], @@ -63192,7 +65478,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -63210,7 +65498,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -63228,7 +65519,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -63664,7 +65957,11 @@ "title": "Properties", "kind": 1024, "children": [ - 460, 463, 461, 462, 459 + 460, + 463, + 461, + 462, + 459 ] } ], @@ -63856,22 +66153,52 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, - 365, 351, 340, 348, 354, 350, 349, 356, 357, 358, - 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, 395 ] } @@ -64062,7 +66389,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -64245,7 +66577,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -64310,7 +66645,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -64328,7 +66665,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -64346,7 +66686,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -64390,12 +66732,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -64807,7 +67157,14 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, 442 ] } @@ -65428,7 +67785,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -65631,7 +67993,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -65696,7 +68061,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -65714,7 +68081,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -65732,7 +68102,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -66167,7 +68539,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -66358,21 +68736,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, - 340, 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -66509,7 +68919,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -66650,7 +69062,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -66812,7 +69226,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -67092,7 +69508,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -67381,7 +69802,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -67670,7 +70096,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -67959,7 +70390,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -68097,7 +70533,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -68184,7 +70622,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -68378,7 +70819,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -68925,17 +71368,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -69069,12 +71535,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -69261,7 +71732,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -69326,7 +71800,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -69344,7 +71820,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -69362,7 +71841,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -69735,7 +72216,14 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, 442 ] } @@ -70356,7 +72844,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -70559,7 +73052,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -70624,7 +73120,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -70642,7 +73140,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -70660,7 +73161,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -71095,7 +73598,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -71286,21 +73795,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, - 340, 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -71490,7 +74031,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -71673,7 +74219,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -71738,7 +74287,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -71756,7 +74307,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -71774,7 +74328,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -71818,12 +74374,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -72235,7 +74799,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -72855,7 +75427,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -73058,7 +75635,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -73123,7 +75703,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -73141,7 +75723,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -73159,7 +75744,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -73594,7 +76181,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -73785,20 +76378,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, - 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -73934,7 +76561,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -74075,7 +76704,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -74237,7 +76868,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -74517,7 +77150,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -74806,7 +77444,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -75095,7 +77738,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -75384,7 +78032,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -75522,7 +78175,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -75609,7 +78264,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -75803,7 +78461,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -76350,17 +79010,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -76590,12 +79273,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -76722,7 +79413,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -76787,7 +79481,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -76805,7 +79501,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -76823,7 +79522,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -77156,7 +79857,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -77288,7 +79999,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -77441,7 +80158,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -77680,7 +80402,11 @@ { "title": "Properties", "kind": 1024, - "children": [478, 479, 480] + "children": [ + 478, + 479, + 480 + ] } ], "sources": [ @@ -77852,7 +80578,11 @@ { "title": "Properties", "kind": 1024, - "children": [488, 489, 490] + "children": [ + 488, + 489, + 490 + ] } ], "sources": [ @@ -78036,7 +80766,11 @@ { "title": "Properties", "kind": 1024, - "children": [497, 498, 500] + "children": [ + 497, + 498, + 500 + ] } ], "sources": [ @@ -78223,7 +80957,11 @@ { "title": "Properties", "kind": 1024, - "children": [497, 498, 500] + "children": [ + 497, + 498, + 500 + ] } ], "sources": [ @@ -78399,7 +81137,11 @@ { "title": "Properties", "kind": 1024, - "children": [478, 479, 480] + "children": [ + 478, + 479, + 480 + ] } ], "sources": [ @@ -78571,7 +81313,11 @@ { "title": "Properties", "kind": 1024, - "children": [488, 489, 490] + "children": [ + 488, + 489, + 490 + ] } ], "sources": [ @@ -78764,7 +81510,12 @@ { "title": "Properties", "kind": 1024, - "children": [509, 507, 508, 510] + "children": [ + 509, + 507, + 508, + 510 + ] } ], "sources": [ @@ -78955,7 +81706,12 @@ { "title": "Properties", "kind": 1024, - "children": [519, 517, 518, 520] + "children": [ + 519, + 517, + 518, + 520 + ] } ], "sources": [ @@ -79134,17 +81890,40 @@ { "title": "Enumerations", "kind": 8, - "children": [535, 539, 544, 548] + "children": [ + 535, + 539, + 544, + 548 + ] }, { "title": "Classes", "kind": 128, - "children": [64, 328, 1] + "children": [ + 64, + 328, + 1 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] + "children": [ + 316, + 327, + 440, + 457, + 464, + 471, + 495, + 476, + 486, + 505, + 515, + 525, + 534 + ] } ], "sources": [ @@ -79347,7 +82126,11 @@ { "title": "Properties", "kind": 1024, - "children": [452, 451, 453] + "children": [ + 452, + 451, + 453 + ] } ] } @@ -79360,17 +82143,23 @@ { "title": "Constructors", "kind": 512, - "children": [443] + "children": [ + 443 + ] }, { "title": "Properties", "kind": 1024, - "children": [447] + "children": [ + 447 + ] }, { "title": "Methods", "kind": 2048, - "children": [448] + "children": [ + 448 + ] } ], "sources": [ @@ -79710,7 +82499,11 @@ { "title": "Properties", "kind": 1024, - "children": [347, 346, 345] + "children": [ + 347, + 346, + 345 + ] } ] } @@ -79787,7 +82580,10 @@ { "title": "Properties", "kind": 1024, - "children": [349, 350] + "children": [ + 349, + 350 + ] } ] } @@ -79843,7 +82639,10 @@ { "title": "Properties", "kind": 1024, - "children": [352, 353] + "children": [ + 352, + 353 + ] } ] } @@ -79967,7 +82766,9 @@ { "title": "Properties", "kind": 1024, - "children": [387] + "children": [ + 387 + ] } ] } @@ -79996,7 +82797,10 @@ { "title": "Properties", "kind": 1024, - "children": [385, 388] + "children": [ + 385, + 388 + ] } ] } @@ -80052,7 +82856,10 @@ { "title": "Properties", "kind": 1024, - "children": [390, 391] + "children": [ + 390, + 391 + ] } ] } @@ -80176,7 +82983,9 @@ { "title": "Properties", "kind": 1024, - "children": [376] + "children": [ + 376 + ] } ] } @@ -80205,7 +83014,10 @@ { "title": "Properties", "kind": 1024, - "children": [374, 377] + "children": [ + 374, + 377 + ] } ] } @@ -80261,7 +83073,10 @@ { "title": "Properties", "kind": 1024, - "children": [379, 380] + "children": [ + 379, + 380 + ] } ] } @@ -80429,7 +83244,10 @@ { "title": "Properties", "kind": 1024, - "children": [335, 336] + "children": [ + 335, + 336 + ] } ] } @@ -80485,7 +83303,10 @@ { "title": "Properties", "kind": 1024, - "children": [338, 339] + "children": [ + 338, + 339 + ] } ] } @@ -80593,7 +83414,10 @@ { "title": "Properties", "kind": 1024, - "children": [326, 327] + "children": [ + 326, + 327 + ] } ] } @@ -80649,7 +83473,10 @@ { "title": "Properties", "kind": 1024, - "children": [329, 330] + "children": [ + 329, + 330 + ] } ] } @@ -80824,7 +83651,11 @@ { "title": "Properties", "kind": 1024, - "children": [361, 360, 359] + "children": [ + 361, + 360, + 359 + ] } ] } @@ -80891,7 +83722,9 @@ { "title": "Properties", "kind": 1024, - "children": [365] + "children": [ + 365 + ] } ] } @@ -80920,7 +83753,10 @@ { "title": "Properties", "kind": 1024, - "children": [363, 366] + "children": [ + 363, + 366 + ] } ] } @@ -80976,7 +83812,10 @@ { "title": "Properties", "kind": 1024, - "children": [368, 369] + "children": [ + 368, + 369 + ] } ] } @@ -81006,12 +83845,22 @@ { "title": "Constructors", "kind": 512, - "children": [298] + "children": [ + 298 + ] }, { "title": "Methods", "kind": 2048, - "children": [340, 381, 370, 310, 331, 323, 354] + "children": [ + 340, + 381, + 370, + 310, + 331, + 323, + 354 + ] } ], "sources": [ @@ -81090,7 +83939,9 @@ { "title": "Constructors", "kind": 512, - "children": [438] + "children": [ + 438 + ] } ], "sources": [ @@ -81213,12 +84064,16 @@ { "title": "Constructors", "kind": 512, - "children": [456] + "children": [ + 456 + ] }, { "title": "Properties", "kind": 1024, - "children": [460] + "children": [ + 460 + ] } ], "sources": [ @@ -81399,7 +84254,16 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398, 396, 393, 394, 395, 400, 399] + "children": [ + 397, + 398, + 396, + 393, + 394, + 395, + 400, + 399 + ] } ], "sources": [ @@ -81447,7 +84311,9 @@ { "title": "Properties", "kind": 1024, - "children": [425] + "children": [ + 425 + ] } ], "sources": [ @@ -81663,7 +84529,16 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398, 396, 393, 394, 395, 400, 399] + "children": [ + 397, + 398, + 396, + 393, + 394, + 395, + 400, + 399 + ] } ], "sources": [ @@ -81819,7 +84694,17 @@ { "title": "Properties", "kind": 1024, - "children": [403, 410, 407, 405, 408, 409, 402, 404, 406] + "children": [ + 403, + 410, + 407, + 405, + 408, + 409, + 402, + 404, + 406 + ] } ], "sources": [ @@ -81934,7 +84819,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -81975,7 +84865,9 @@ { "title": "Properties", "kind": 1024, - "children": [427] + "children": [ + 427 + ] } ], "sources": [ @@ -82136,7 +85028,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -82154,7 +85049,12 @@ { "title": "Properties", "kind": 1024, - "children": [420, 421, 423, 422] + "children": [ + 420, + 421, + 423, + 422 + ] } ], "sources": [ @@ -82217,7 +85117,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -82369,7 +85272,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -82431,17 +85340,33 @@ { "title": "Classes", "kind": 128, - "children": [442, 297, 437, 455] + "children": [ + 442, + 297, + 437, + 455 + ] }, { "title": "Interfaces", "kind": 256, - "children": [392, 424, 401, 414, 426, 419, 411, 428] + "children": [ + 392, + 424, + 401, + 414, + 426, + 419, + 411, + 428 + ] }, { "title": "Functions", "kind": 64, - "children": [434] + "children": [ + 434 + ] } ], "sources": [ @@ -82771,7 +85696,11 @@ { "title": "Properties", "kind": 1024, - "children": [50, 49, 48] + "children": [ + 50, + 49, + 48 + ] } ] } @@ -82848,7 +85777,10 @@ { "title": "Properties", "kind": 1024, - "children": [52, 53] + "children": [ + 52, + 53 + ] } ] } @@ -82904,7 +85836,10 @@ { "title": "Properties", "kind": 1024, - "children": [55, 56] + "children": [ + 55, + 56 + ] } ] } @@ -83018,7 +85953,9 @@ { "title": "Properties", "kind": 1024, - "children": [90] + "children": [ + 90 + ] } ] } @@ -83047,7 +85984,10 @@ { "title": "Properties", "kind": 1024, - "children": [88, 91] + "children": [ + 88, + 91 + ] } ] } @@ -83103,7 +86043,10 @@ { "title": "Properties", "kind": 1024, - "children": [93, 94] + "children": [ + 93, + 94 + ] } ] } @@ -83217,7 +86160,9 @@ { "title": "Properties", "kind": 1024, - "children": [79] + "children": [ + 79 + ] } ] } @@ -83246,7 +86191,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 80] + "children": [ + 77, + 80 + ] } ] } @@ -83302,7 +86250,10 @@ { "title": "Properties", "kind": 1024, - "children": [82, 83] + "children": [ + 82, + 83 + ] } ] } @@ -83413,7 +86364,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -83469,7 +86423,10 @@ { "title": "Properties", "kind": 1024, - "children": [41, 42] + "children": [ + 41, + 42 + ] } ] } @@ -83567,7 +86524,10 @@ { "title": "Properties", "kind": 1024, - "children": [29, 30] + "children": [ + 29, + 30 + ] } ] } @@ -83623,7 +86583,10 @@ { "title": "Properties", "kind": 1024, - "children": [32, 33] + "children": [ + 32, + 33 + ] } ] } @@ -83788,7 +86751,11 @@ { "title": "Properties", "kind": 1024, - "children": [64, 63, 62] + "children": [ + 64, + 63, + 62 + ] } ] } @@ -83855,7 +86822,9 @@ { "title": "Properties", "kind": 1024, - "children": [68] + "children": [ + 68 + ] } ] } @@ -83884,7 +86853,10 @@ { "title": "Properties", "kind": 1024, - "children": [66, 69] + "children": [ + 66, + 69 + ] } ] } @@ -83940,7 +86912,10 @@ { "title": "Properties", "kind": 1024, - "children": [71, 72] + "children": [ + 71, + 72 + ] } ] } @@ -83960,12 +86935,21 @@ { "title": "Constructors", "kind": 512, - "children": [4] + "children": [ + 4 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] + "children": [ + 43, + 84, + 73, + 34, + 26, + 57 + ] } ], "sources": [ @@ -83988,7 +86972,9 @@ { "title": "Classes", "kind": 128, - "children": [3] + "children": [ + 3 + ] } ], "sources": [ @@ -84293,7 +87279,9 @@ { "title": "Properties", "kind": 1024, - "children": [207] + "children": [ + 207 + ] } ] } @@ -84322,7 +87310,10 @@ { "title": "Properties", "kind": 1024, - "children": [205, 208] + "children": [ + 205, + 208 + ] } ] } @@ -84378,7 +87369,10 @@ { "title": "Properties", "kind": 1024, - "children": [210, 211] + "children": [ + 210, + 211 + ] } ] } @@ -84528,7 +87522,11 @@ { "title": "Properties", "kind": 1024, - "children": [170, 168, 169] + "children": [ + 170, + 168, + 169 + ] } ] } @@ -84557,7 +87555,10 @@ { "title": "Properties", "kind": 1024, - "children": [166, 171] + "children": [ + 166, + 171 + ] } ] } @@ -84613,7 +87614,10 @@ { "title": "Properties", "kind": 1024, - "children": [173, 174] + "children": [ + 173, + 174 + ] } ] } @@ -84892,7 +87896,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -84910,7 +87920,10 @@ { "title": "Properties", "kind": 1024, - "children": [218, 219] + "children": [ + 218, + 219 + ] } ] } @@ -84977,7 +87990,9 @@ { "title": "Properties", "kind": 1024, - "children": [223] + "children": [ + 223 + ] } ] } @@ -85006,7 +88021,10 @@ { "title": "Properties", "kind": 1024, - "children": [221, 224] + "children": [ + 221, + 224 + ] } ] } @@ -85062,7 +88080,10 @@ { "title": "Properties", "kind": 1024, - "children": [226, 227] + "children": [ + 226, + 227 + ] } ] } @@ -85184,7 +88205,9 @@ { "title": "Properties", "kind": 1024, - "children": [234] + "children": [ + 234 + ] } ] } @@ -85307,7 +88330,11 @@ { "title": "Properties", "kind": 1024, - "children": [238, 239, 240] + "children": [ + 238, + 239, + 240 + ] } ] } @@ -85337,7 +88364,10 @@ { "title": "Properties", "kind": 1024, - "children": [236, 241] + "children": [ + 236, + 241 + ] } ] } @@ -85393,7 +88423,10 @@ { "title": "Properties", "kind": 1024, - "children": [243, 244] + "children": [ + 243, + 244 + ] } ] } @@ -85626,7 +88659,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -85644,7 +88683,9 @@ { "title": "Properties", "kind": 1024, - "children": [250] + "children": [ + 250 + ] } ] } @@ -85709,7 +88750,10 @@ { "title": "Properties", "kind": 1024, - "children": [252, 253] + "children": [ + 252, + 253 + ] } ] } @@ -85765,7 +88809,10 @@ { "title": "Properties", "kind": 1024, - "children": [255, 256] + "children": [ + 255, + 256 + ] } ] } @@ -86030,7 +89077,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -86048,7 +89101,10 @@ { "title": "Properties", "kind": 1024, - "children": [262, 263] + "children": [ + 262, + 263 + ] } ] } @@ -86109,7 +89165,9 @@ { "title": "Properties", "kind": 1024, - "children": [267] + "children": [ + 267 + ] } ] } @@ -86120,7 +89178,9 @@ { "title": "Properties", "kind": 1024, - "children": [265] + "children": [ + 265 + ] } ] } @@ -86330,7 +89390,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -86348,7 +89411,12 @@ { "title": "Properties", "kind": 1024, - "children": [420, 421, 423, 422] + "children": [ + 420, + 421, + 423, + 422 + ] } ], "sources": [ @@ -86410,7 +89478,9 @@ { "title": "Properties", "kind": 1024, - "children": [425] + "children": [ + 425 + ] } ], "sources": [ @@ -86484,7 +89554,10 @@ { "title": "Properties", "kind": 1024, - "children": [283, 284] + "children": [ + 283, + 284 + ] } ] } @@ -86540,7 +89613,10 @@ { "title": "Properties", "kind": 1024, - "children": [286, 287] + "children": [ + 286, + 287 + ] } ] } @@ -86668,7 +89744,9 @@ { "title": "Properties", "kind": 1024, - "children": [195] + "children": [ + 195 + ] } ] } @@ -86697,7 +89775,10 @@ { "title": "Properties", "kind": 1024, - "children": [193, 196] + "children": [ + 193, + 196 + ] } ] } @@ -86753,7 +89834,10 @@ { "title": "Properties", "kind": 1024, - "children": [198, 199] + "children": [ + 198, + 199 + ] } ] } @@ -86870,7 +89954,10 @@ { "title": "Properties", "kind": 1024, - "children": [272, 273] + "children": [ + 272, + 273 + ] } ] } @@ -86926,7 +90013,10 @@ { "title": "Properties", "kind": 1024, - "children": [275, 276] + "children": [ + 275, + 276 + ] } ] } @@ -87176,7 +90266,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -87250,7 +90345,9 @@ { "title": "Properties", "kind": 1024, - "children": [183] + "children": [ + 183 + ] } ] } @@ -87279,7 +90376,10 @@ { "title": "Properties", "kind": 1024, - "children": [181, 184] + "children": [ + 181, + 184 + ] } ] } @@ -87335,7 +90435,10 @@ { "title": "Properties", "kind": 1024, - "children": [186, 187] + "children": [ + 186, + 187 + ] } ] } @@ -87518,7 +90621,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -87592,7 +90700,9 @@ { "title": "Properties", "kind": 1024, - "children": [143] + "children": [ + 143 + ] } ] } @@ -87621,7 +90731,10 @@ { "title": "Properties", "kind": 1024, - "children": [141, 144] + "children": [ + 141, + 144 + ] } ] } @@ -87677,7 +90790,10 @@ { "title": "Properties", "kind": 1024, - "children": [146, 147] + "children": [ + 146, + 147 + ] } ] } @@ -87874,7 +90990,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -87949,7 +91070,9 @@ { "title": "Properties", "kind": 1024, - "children": [157] + "children": [ + 157 + ] } ] } @@ -87980,7 +91103,10 @@ { "title": "Properties", "kind": 1024, - "children": [155, 158] + "children": [ + 155, + 158 + ] } ] } @@ -88029,7 +91155,10 @@ { "title": "Properties", "kind": 1024, - "children": [160, 161] + "children": [ + 160, + 161 + ] } ] } @@ -88049,12 +91178,27 @@ { "title": "Constructors", "kind": 512, - "children": [97] + "children": [ + 97 + ] }, { "title": "Methods", "kind": 2048, - "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148] + "children": [ + 200, + 162, + 212, + 228, + 245, + 257, + 277, + 188, + 268, + 175, + 135, + 148 + ] } ], "sources": [ @@ -88070,7 +91214,9 @@ { "title": "Classes", "kind": 128, - "children": [96] + "children": [ + 96 + ] } ], "sources": [ @@ -88086,7 +91232,11 @@ { "title": "Modules", "kind": 2, - "children": [1, 2, 95] + "children": [ + 1, + 2, + 95 + ] } ] }, @@ -88279,7 +91429,10 @@ { "title": "Properties", "kind": 1024, - "children": [8, 7] + "children": [ + 8, + 7 + ] } ] } @@ -88713,7 +91866,11 @@ { "title": "Properties", "kind": 1024, - "children": [35, 30, 34] + "children": [ + 35, + 30, + 34 + ] } ], "sources": [ @@ -88804,17 +91961,26 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [15, 14, 13] + "children": [ + 15, + 14, + 13 + ] }, { "title": "Methods", "kind": 2048, - "children": [23, 20] + "children": [ + 23, + 20 + ] } ], "sources": [ @@ -88929,12 +92095,16 @@ { "title": "Constructors", "kind": 512, - "children": [37] + "children": [ + 37 + ] }, { "title": "Properties", "kind": 1024, - "children": [42] + "children": [ + 42 + ] } ], "sources": [ @@ -89056,12 +92226,16 @@ { "title": "Constructors", "kind": 512, - "children": [44] + "children": [ + 44 + ] }, { "title": "Properties", "kind": 1024, - "children": [47] + "children": [ + 47 + ] } ], "sources": [ @@ -89165,12 +92339,16 @@ { "title": "Constructors", "kind": 512, - "children": [49] + "children": [ + 49 + ] }, { "title": "Properties", "kind": 1024, - "children": [52] + "children": [ + 52 + ] } ], "sources": [ @@ -89274,12 +92452,16 @@ { "title": "Constructors", "kind": 512, - "children": [54] + "children": [ + 54 + ] }, { "title": "Properties", "kind": 1024, - "children": [57] + "children": [ + 57 + ] } ], "sources": [ @@ -89509,7 +92691,11 @@ { "title": "Properties", "kind": 1024, - "children": [35, 30, 34] + "children": [ + 35, + 30, + 34 + ] } ], "sources": [ @@ -89546,7 +92732,10 @@ ], "type": { "type": "union", - "types": [null, null] + "types": [ + null, + null + ] } } ], @@ -89554,12 +92743,21 @@ { "title": "Classes", "kind": 128, - "children": [1, 36, 43, 48, 53] + "children": [ + 1, + 36, + 43, + 48, + 53 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [28, 58] + "children": [ + 28, + 58 + ] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json index 419e9def96f..bee062bb846 100644 --- a/spec/enrichments/tsdoc_v2/functions.json +++ b/spec/enrichments/tsdoc_v2/functions.json @@ -1,1271 +1,1312 @@ { - "id": 0, - "name": "@supabase/functions-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "FunctionsClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 16, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new FunctionsClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 4, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 6, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 8, - "name": "customFetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 23, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 9, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 10, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 11, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 12, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 7, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 22, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [8, 7] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "FunctionsClient" - } - } - ] - }, - { - "id": 15, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 16, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 17, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 18, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 19, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 14, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 13, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 23, - "name": "invoke", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 44, - "character": 8 - } - ], - "signatures": [ - { - "id": 24, - "name": "invoke", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Invokes a function" - }, - "typeParameter": [ - { - "id": 25, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 26, - "name": "functionName", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The name of the Function to invoke." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 27, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Options for invoking the Function.\n" - }, - "type": { - "type": "reference", - "id": 28, - "name": "FunctionInvokeOptions" - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 58, - "typeArguments": [ - { - "type": "reference", - "id": 25, - "name": "T" - } - ], - "name": "FunctionsResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 20, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 35, - "character": 2 - } - ], - "signatures": [ - { - "id": 21, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates the authorization header" - }, - "parameters": [ - { - "id": 22, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "the new jwt token sent in the authorisation header\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [2] - }, - { - "title": "Properties", - "kind": 1024, - "children": [15, 14, 13] - }, - { - "title": "Methods", - "kind": 2048, - "children": [23, 20] - } - ], - "sources": [ - { - "fileName": "src/FunctionsClient.ts", - "line": 11, - "character": 13 - } - ] - }, - { - "id": 36, - "name": "FunctionsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 37, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 19, - "character": 2 - } - ], - "signatures": [ - { - "id": 38, - "name": "new FunctionsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 39, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 40, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "'FunctionsError'" - }, - { - "id": 41, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "id": 36, - "name": "FunctionsError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 42, - "name": "context", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [37] - }, - { - "title": "Properties", - "kind": 1024, - "children": [42] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 17, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 43, - "name": "FunctionsFetchError" - }, - { - "type": "reference", - "id": 48, - "name": "FunctionsHttpError" - }, - { - "type": "reference", - "id": 53, - "name": "FunctionsRelayError" - } - ] - }, - { - "id": 43, - "name": "FunctionsFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 44, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 27, - "character": 2 - } - ], - "signatures": [ - { - "id": 45, - "name": "new FunctionsFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 46, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "id": 43, - "name": "FunctionsFetchError" - }, - "overwrites": { - "type": "reference", - "id": 38, - "name": "FunctionsError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 37, - "name": "FunctionsError.constructor" - } - }, - { - "id": 47, - "name": "context", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "inheritedFrom": { - "type": "reference", - "id": 42, - "name": "FunctionsError.context" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [44] - }, - { - "title": "Properties", - "kind": 1024, - "children": [47] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 26, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 36, - "name": "FunctionsError" - } - ] - }, - { - "id": 48, - "name": "FunctionsHttpError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 49, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 39, - "character": 2 - } - ], - "signatures": [ - { - "id": 50, - "name": "new FunctionsHttpError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 51, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "id": 48, - "name": "FunctionsHttpError" - }, - "overwrites": { - "type": "reference", - "id": 38, - "name": "FunctionsError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 37, - "name": "FunctionsError.constructor" - } - }, - { - "id": 52, - "name": "context", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "inheritedFrom": { - "type": "reference", - "id": 42, - "name": "FunctionsError.context" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [49] - }, - { - "title": "Properties", - "kind": 1024, - "children": [52] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 38, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 36, - "name": "FunctionsError" - } - ] - }, - { - "id": 53, - "name": "FunctionsRelayError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 54, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 33, - "character": 2 - } - ], - "signatures": [ - { - "id": 55, - "name": "new FunctionsRelayError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 56, - "name": "context", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "id": 53, - "name": "FunctionsRelayError" - }, - "overwrites": { - "type": "reference", - "id": 38, - "name": "FunctionsError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 37, - "name": "FunctionsError.constructor" - } - }, - { - "id": 57, - "name": "context", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "inheritedFrom": { - "type": "reference", - "id": 42, - "name": "FunctionsError.context" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [54] - }, - { - "title": "Properties", - "kind": 1024, - "children": [57] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 32, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 36, - "name": "FunctionsError" - } - ] - }, - { - "id": 28, - "name": "FunctionInvokeOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 44, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 29, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 35, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The body of the request." - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "File", - "package": "typescript", - "name": "File" - }, - { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - }, - { - "type": "reference", - "qualifiedName": "ArrayBuffer", - "package": "typescript", - "name": "ArrayBuffer" - }, - { - "type": "reference", - "qualifiedName": "FormData", - "package": "typescript", - "name": "FormData" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" - } - ], - "qualifiedName": "ReadableStream", - "package": "typescript", - "name": "ReadableStream" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 30, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Object representing the headers to send with the request." - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 48, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 48, - "character": 12 - } - ], - "indexSignature": { - "id": 32, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 33, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 34, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The HTTP verb of the request" - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "PUT" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [35, 30, 34] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 44, - "character": 36 - } - ] - } - } - }, - { - "id": 58, - "name": "FunctionsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 15, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 59, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 59, - "name": "T" - } - ], - "name": "FunctionsResponseSuccess" - }, - { - "type": "reference", - "name": "FunctionsResponseFailure" - } - ] - } - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [1, 36, 43, 48, 53] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [28, 58] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] -} + "id": 0, + "name": "@supabase/functions-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "FunctionsClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 16, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new FunctionsClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 4, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 8, + "name": "customFetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 23, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 10, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 11, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 12, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 7, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 22, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8, + 7 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "FunctionsClient" + } + } + ] + }, + { + "id": 15, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 17, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 18, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 19, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 14, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 13, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 23, + "name": "invoke", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 44, + "character": 8 + } + ], + "signatures": [ + { + "id": 24, + "name": "invoke", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Invokes a function" + }, + "typeParameter": [ + { + "id": 25, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 26, + "name": "functionName", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The name of the Function to invoke." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 27, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Options for invoking the Function.\n" + }, + "type": { + "type": "reference", + "id": 28, + "name": "FunctionInvokeOptions" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 58, + "typeArguments": [ + { + "type": "reference", + "id": 25, + "name": "T" + } + ], + "name": "FunctionsResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 20, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 21, + "name": "setAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates the authorization header" + }, + "parameters": [ + { + "id": 22, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "the new jwt token sent in the authorisation header\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 2 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 15, + 14, + 13 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 23, + 20 + ] + } + ], + "sources": [ + { + "fileName": "src/FunctionsClient.ts", + "line": 11, + "character": 13 + } + ] + }, + { + "id": 36, + "name": "FunctionsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 37, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 38, + "name": "new FunctionsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 39, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 40, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'FunctionsError'" + }, + { + "id": 41, + "name": "context", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "id": 36, + "name": "FunctionsError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + }, + { + "id": 42, + "name": "context", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 37 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 42 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 17, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 43, + "name": "FunctionsFetchError" + }, + { + "type": "reference", + "id": 48, + "name": "FunctionsHttpError" + }, + { + "type": "reference", + "id": 53, + "name": "FunctionsRelayError" + } + ] + }, + { + "id": 43, + "name": "FunctionsFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 44, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 27, + "character": 2 + } + ], + "signatures": [ + { + "id": 45, + "name": "new FunctionsFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 46, + "name": "context", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "id": 43, + "name": "FunctionsFetchError" + }, + "overwrites": { + "type": "reference", + "id": 38, + "name": "FunctionsError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 37, + "name": "FunctionsError.constructor" + } + }, + { + "id": 47, + "name": "context", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "inheritedFrom": { + "type": "reference", + "id": 42, + "name": "FunctionsError.context" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 44 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 47 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 36, + "name": "FunctionsError" + } + ] + }, + { + "id": 48, + "name": "FunctionsHttpError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 49, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 39, + "character": 2 + } + ], + "signatures": [ + { + "id": 50, + "name": "new FunctionsHttpError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 51, + "name": "context", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "id": 48, + "name": "FunctionsHttpError" + }, + "overwrites": { + "type": "reference", + "id": 38, + "name": "FunctionsError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 37, + "name": "FunctionsError.constructor" + } + }, + { + "id": 52, + "name": "context", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "inheritedFrom": { + "type": "reference", + "id": 42, + "name": "FunctionsError.context" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 49 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 52 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 38, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 36, + "name": "FunctionsError" + } + ] + }, + { + "id": 53, + "name": "FunctionsRelayError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 54, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 33, + "character": 2 + } + ], + "signatures": [ + { + "id": 55, + "name": "new FunctionsRelayError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 56, + "name": "context", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "id": 53, + "name": "FunctionsRelayError" + }, + "overwrites": { + "type": "reference", + "id": 38, + "name": "FunctionsError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 37, + "name": "FunctionsError.constructor" + } + }, + { + "id": 57, + "name": "context", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "inheritedFrom": { + "type": "reference", + "id": 42, + "name": "FunctionsError.context" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 54 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 57 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 36, + "name": "FunctionsError" + } + ] + }, + { + "id": 28, + "name": "FunctionInvokeOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 29, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 35, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The body of the request." + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "File", + "package": "typescript", + "name": "File" + }, + { + "type": "reference", + "qualifiedName": "Blob", + "package": "typescript", + "name": "Blob" + }, + { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + }, + { + "type": "reference", + "qualifiedName": "FormData", + "package": "typescript", + "name": "FormData" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + ], + "qualifiedName": "ReadableStream", + "package": "typescript", + "name": "ReadableStream" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 30, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Object representing the headers to send with the request." + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 48, + "character": 12 + } + ], + "indexSignature": { + "id": 32, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 33, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 34, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The HTTP verb of the request" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 52, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "PUT" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 35, + 30, + 34 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 44, + "character": 36 + } + ] + } + } + }, + { + "id": 58, + "name": "FunctionsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 15, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 59, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 59, + "name": "T" + } + ], + "name": "FunctionsResponseSuccess" + }, + { + "type": "reference", + "name": "FunctionsResponseFailure" + } + ] + } + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 1, + 36, + 43, + 48, + 53 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 28, + 58 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/spec/enrichments/tsdoc_v2/functions_dereferenced.json index f648d5f02df..09487d9edca 100644 --- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json @@ -187,7 +187,10 @@ { "title": "Properties", "kind": 1024, - "children": [8, 7] + "children": [ + 8, + 7 + ] } ] } @@ -621,7 +624,11 @@ { "title": "Properties", "kind": 1024, - "children": [35, 30, 34] + "children": [ + 35, + 30, + 34 + ] } ], "sources": [ @@ -712,17 +719,26 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [15, 14, 13] + "children": [ + 15, + 14, + 13 + ] }, { "title": "Methods", "kind": 2048, - "children": [23, 20] + "children": [ + 23, + 20 + ] } ], "sources": [ @@ -837,12 +853,16 @@ { "title": "Constructors", "kind": 512, - "children": [37] + "children": [ + 37 + ] }, { "title": "Properties", "kind": 1024, - "children": [42] + "children": [ + 42 + ] } ], "sources": [ @@ -964,12 +984,16 @@ { "title": "Constructors", "kind": 512, - "children": [44] + "children": [ + 44 + ] }, { "title": "Properties", "kind": 1024, - "children": [47] + "children": [ + 47 + ] } ], "sources": [ @@ -1073,12 +1097,16 @@ { "title": "Constructors", "kind": 512, - "children": [49] + "children": [ + 49 + ] }, { "title": "Properties", "kind": 1024, - "children": [52] + "children": [ + 52 + ] } ], "sources": [ @@ -1182,12 +1210,16 @@ { "title": "Constructors", "kind": 512, - "children": [54] + "children": [ + 54 + ] }, { "title": "Properties", "kind": 1024, - "children": [57] + "children": [ + 57 + ] } ], "sources": [ @@ -1417,7 +1449,11 @@ { "title": "Properties", "kind": 1024, - "children": [35, 30, 34] + "children": [ + 35, + 30, + 34 + ] } ], "sources": [ @@ -1454,7 +1490,10 @@ ], "type": { "type": "union", - "types": [null, null] + "types": [ + null, + null + ] } } ], @@ -1462,12 +1501,21 @@ { "title": "Classes", "kind": 128, - "children": [1, 36, 43, 48, 53] + "children": [ + 1, + 36, + 43, + 48, + 53 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [28, 58] + "children": [ + 28, + 58 + ] } ], "sources": [ @@ -1477,4 +1525,4 @@ "character": 0 } ] -} +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json index f3fabf0512e..b5b1728dc19 100644 --- a/spec/enrichments/tsdoc_v2/gotrue.json +++ b/spec/enrichments/tsdoc_v2/gotrue.json @@ -1,15757 +1,16514 @@ { - "id": 0, - "name": "@supabase/gotrue-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 807, - "name": "AuthApiError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 808, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 19, - "character": 2 - } - ], - "signatures": [ - { - "id": 809, - "name": "new AuthApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 810, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 811, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 807, - "name": "AuthApiError" - }, - "overwrites": { - "type": "reference", - "id": 802, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 801, - "name": "AuthError.constructor" - } - }, - { - "id": 812, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 805, - "name": "AuthError.status" - } - }, - { - "id": 813, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 2 - } - ], - "signatures": [ - { - "id": 814, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 815, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 817, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 28, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 816, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 27, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 818, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 29, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [817, 816, 818] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [808] - }, - { - "title": "Properties", - "kind": 1024, - "children": [812] - }, - { - "title": "Methods", - "kind": 2048, - "children": [813] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 16, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 800, - "name": "AuthError" - } - ] - }, - { - "id": 800, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 801, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 5, - "character": 2 - } - ], - "signatures": [ - { - "id": 802, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 803, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 804, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 805, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [801] - }, - { - "title": "Properties", - "kind": 1024, - "children": [805] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 1, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 807, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 820, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 868, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 869, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 80, - "character": 2 - } - ], - "signatures": [ - { - "id": 870, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 871, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 872, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 873, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 875, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 80, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 874, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 80, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [875, 874] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 868, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 830, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 829, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 876, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 877, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 879, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 878, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [879, 878] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 890, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 834, - "name": "CustomAuthError.name" - } - }, - { - "id": 891, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 835, - "name": "CustomAuthError.status" - } - }, - { - "id": 880, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 85, - "character": 2 - } - ], - "signatures": [ - { - "id": 881, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 882, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 886, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 887, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 889, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 888, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [889, 888] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 884, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 883, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 87, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 885, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [886, 884, 883, 885] - } - ] - } - }, - "overwrites": { - "type": "reference", - "id": 837, - "name": "CustomAuthError.toJSON" - } - } - ], - "overwrites": { - "type": "reference", - "id": 836, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [869] - }, - { - "title": "Properties", - "kind": 1024, - "children": [876, 890, 891] - }, - { - "title": "Methods", - "kind": 2048, - "children": [880] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 78, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 855, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 856, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 2 - } - ], - "signatures": [ - { - "id": 857, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 858, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 855, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 830, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 829, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 859, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 834, - "name": "CustomAuthError.name" - } - }, - { - "id": 860, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 835, - "name": "CustomAuthError.status" - } - }, - { - "id": 861, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "signatures": [ - { - "id": 862, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 863, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 865, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 60, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 864, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 866, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 61, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [865, 864, 866] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 837, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 836, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [856] - }, - { - "title": "Properties", - "kind": 1024, - "children": [859, 860] - }, - { - "title": "Methods", - "kind": 2048, - "children": [861] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 72, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 893, - "name": "AuthPKCEGrantCodeExchangeError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 894, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 2 - } - ], - "signatures": [ - { - "id": 895, - "name": "new AuthPKCEGrantCodeExchangeError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 896, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 897, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 898, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 900, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 899, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [900, 899] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 893, - "name": "AuthPKCEGrantCodeExchangeError" - }, - "overwrites": { - "type": "reference", - "id": 830, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 829, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 901, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 902, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 904, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 903, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [904, 903] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 915, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 834, - "name": "CustomAuthError.name" - } - }, - { - "id": 916, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 835, - "name": "CustomAuthError.status" - } - }, - { - "id": 905, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 102, - "character": 2 - } - ], - "signatures": [ - { - "id": 906, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 907, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 911, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 107, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 912, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 914, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 913, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 96, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [914, 913] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 909, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 105, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 908, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 104, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 910, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 106, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [911, 909, 908, 910] - } - ] - } - }, - "overwrites": { - "type": "reference", - "id": 837, - "name": "CustomAuthError.toJSON" - } - } - ], - "overwrites": { - "type": "reference", - "id": 836, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [894] - }, - { - "title": "Properties", - "kind": 1024, - "children": [901, 915, 916] - }, - { - "title": "Methods", - "kind": 2048, - "children": [905] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 918, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 919, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 113, - "character": 2 - } - ], - "signatures": [ - { - "id": 920, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 921, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 922, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 918, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 830, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 829, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 923, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 834, - "name": "CustomAuthError.name" - } - }, - { - "id": 924, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 835, - "name": "CustomAuthError.status" - } - }, - { - "id": 925, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "signatures": [ - { - "id": 926, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 927, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 929, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 60, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 928, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 930, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 61, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [929, 928, 930] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 837, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 836, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [919] - }, - { - "title": "Properties", - "kind": 1024, - "children": [923, 924] - }, - { - "title": "Methods", - "kind": 2048, - "children": [925] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 843, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 844, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2 - } - ], - "signatures": [ - { - "id": 845, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 843, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 830, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 829, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 846, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 834, - "name": "CustomAuthError.name" - } - }, - { - "id": 847, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 835, - "name": "CustomAuthError.status" - } - }, - { - "id": 848, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "signatures": [ - { - "id": 849, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 850, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 852, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 60, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 851, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 853, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 61, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [852, 851, 853] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 837, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 836, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [844] - }, - { - "title": "Properties", - "kind": 1024, - "children": [846, 847] - }, - { - "title": "Methods", - "kind": 2048, - "children": [848] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - } - ] - }, - { - "id": 820, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 821, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 41, - "character": 2 - } - ], - "signatures": [ - { - "id": 822, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 823, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 824, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 820, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 802, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 801, - "name": "AuthError.constructor" - } - }, - { - "id": 825, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 39, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 826, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 805, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [821] - }, - { - "title": "Properties", - "kind": 1024, - "children": [825, 826] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 38, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 800, - "name": "AuthError" - } - ] - }, - { - "id": 828, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 829, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 830, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 831, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 832, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 833, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 828, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 802, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 801, - "name": "AuthError.constructor" - } - }, - { - "id": 834, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "name": "AuthError.name" - } - }, - { - "id": 835, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "overwrites": { - "type": "reference", - "id": 805, - "name": "AuthError.status" - } - }, - { - "id": 836, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "signatures": [ - { - "id": 837, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 838, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 840, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 60, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 839, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 841, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 61, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [840, 839, 841] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [829] - }, - { - "title": "Properties", - "kind": 1024, - "children": [834, 835] - }, - { - "title": "Methods", - "kind": 2048, - "children": [836] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 48, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 800, - "name": "AuthError" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 843, - "name": "AuthSessionMissingError" - }, - { - "type": "reference", - "id": 855, - "name": "AuthInvalidCredentialsError" - }, - { - "type": "reference", - "id": 868, - "name": "AuthImplicitGrantRedirectError" - }, - { - "type": "reference", - "id": 893, - "name": "AuthPKCEGrantCodeExchangeError" - }, - { - "type": "reference", - "id": 918, - "name": "AuthRetryableFetchError" - } - ] - }, - { - "id": 1, - "name": "GoTrueAdminApi", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 35, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new GoTrueAdminApi", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 4, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 11, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 15, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 7, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 41, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 9, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 10, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 6, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 40, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [11, 7, 6] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 16, - "name": "mfa", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains all MFA administration methods." - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 27, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 765, - "name": "GoTrueAdminMFAApi" - } - }, - { - "id": 43, - "name": "createUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 8 - } - ], - "signatures": [ - { - "id": 44, - "name": "createUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser." - }, - "parameters": [ - { - "id": 45, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 451, - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 67, - "name": "deleteUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 264, - "character": 8 - } - ], - "signatures": [ - { - "id": 68, - "name": "deleteUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Delete a user. Requires a `service_role` key." - }, - "parameters": [ - { - "id": 69, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user id you want to remove." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 70, - "name": "shouldSoftDelete", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "If true, then the user will be soft-deleted from the auth schema.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 40, - "name": "generateLink", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 114, - "character": 8 - } - ], - "signatures": [ - { - "id": 41, - "name": "generateLink", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Generates email links and OTPs to be sent via a custom email provider." - }, - "parameters": [ - { - "id": 42, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 609, - "name": "GenerateLinkParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 610, - "name": "GenerateLinkResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 60, - "name": "getUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 217, - "character": 8 - } - ], - "signatures": [ - { - "id": 61, - "name": "getUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Get user by id." - }, - "parameters": [ - { - "id": 62, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 33, - "name": "inviteUserByEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 81, - "character": 8 - } - ], - "signatures": [ - { - "id": 34, - "name": "inviteUserByEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends an invite link to an email address." - }, - "parameters": [ - { - "id": 35, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 36, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Additional options to be included when inviting.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store additional metadata about the user. This maps to the `auth.users.user_metadata` column." - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 85, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 39, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL." - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 88, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [38, 39] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 46, - "name": "listUsers", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 170, - "character": 8 - } - ], - "signatures": [ - { - "id": 47, - "name": "listUsers", - "kind": 4096, - "kindString": "Call signature", - "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." - }, - "parameters": [ - { - "id": 48, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An object which supports `page` and `perPage` as numbers, to alter the paginated results.\n" - }, - "type": { - "type": "reference", - "id": 790, - "name": "PageParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 49, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 50, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 53, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 173, - "character": 31 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 52, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 173, - "character": 16 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 423, - "name": "User" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [53, 52] - } - ] - } - }, - { - "type": "reference", - "id": 783, - "name": "Pagination" - } - ] - } - }, - { - "id": 54, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 173, - "character": 59 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [50, 54] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 55, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 56, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 174, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 57, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 58, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 174, - "character": 16 - } - ], - "type": { - "type": "tuple" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [58] - } - ] - } - } - }, - { - "id": 59, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 174, - "character": 29 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [56, 59] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 27, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 59, - "character": 8 - } - ], - "signatures": [ - { - "id": 28, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes a logged-in session." - }, - "parameters": [ - { - "id": 29, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 30, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 31, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 59, - "character": 40 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 32, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 59, - "character": 52 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 800, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [31, 32] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 63, - "name": "updateUserById", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 239, - "character": 8 - } - ], - "signatures": [ - { - "id": 64, - "name": "updateUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 65, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 66, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" - }, - "type": { - "type": "reference", - "id": 451, - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [2] - }, - { - "title": "Properties", - "kind": 1024, - "children": [16] - }, - { - "title": "Methods", - "kind": 2048, - "children": [43, 67, 40, 60, 33, 46, 27, 63] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 25, - "character": 21 - } - ] - }, - { - "id": 77, - "name": "GoTrueClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 78, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 145, - "character": 2 - } - ], - "signatures": [ - { - "id": 79, - "name": "new GoTrueClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Create a new client for use in the browser." - }, - "parameters": [ - { - "id": 80, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 326, - "name": "GoTrueClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 77, - "name": "default" - } - } - ] - }, - { - "id": 81, - "name": "admin", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 98, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - { - "id": 82, - "name": "mfa", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Namespace for the MFA methods." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 102, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 720, - "name": "GoTrueMFAApi" - } - }, - { - "id": 121, - "name": "exchangeCodeForSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 411, - "character": 8 - } - ], - "signatures": [ - { - "id": 122, - "name": "exchangeCodeForSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." - }, - "parameters": [ - { - "id": 123, - "name": "authCode", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 139, - "name": "getSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 667, - "character": 8 - } - ], - "signatures": [ - { - "id": 140, - "name": "getSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 141, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 142, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 669, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 143, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 144, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 670, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 386, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [144] - } - ] - } - } - }, - { - "id": 145, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 672, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [142, 145] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 146, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 147, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 675, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 149, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 676, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [149] - } - ] - } - } - }, - { - "id": 150, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 678, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [147, 150] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 151, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 152, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 681, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 153, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 154, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 682, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [154] - } - ] - } - } - }, - { - "id": 155, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 684, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [152, 155] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 156, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 730, - "character": 8 - } - ], - "signatures": [ - { - "id": 157, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Gets the current user details if there is an existing session." - }, - "parameters": [ - { - "id": 158, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 108, - "name": "initialize", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 197, - "character": 2 - } - ], - "signatures": [ - { - "id": 109, - "name": "initialize", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 773, - "name": "InitializeResult" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 206, - "name": "onAuthStateChange", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1045, - "character": 2 - } - ], - "signatures": [ - { - "id": 207, - "name": "onAuthStateChange", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Receive a notification every time an auth event happens." - }, - "parameters": [ - { - "id": 208, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A callback function to be invoked when an auth event happens.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 209, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 210, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 211, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 325, - "name": "AuthChangeEvent" - } - }, - { - "id": 212, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 386, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 213, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 214, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1046, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 215, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 216, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1046, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 460, - "name": "Subscription" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [216] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [214] - } - ] - } - } - } - ] - }, - { - "id": 178, - "name": "refreshSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 876, - "character": 8 - } - ], - "signatures": [ - { - "id": 179, - "name": "refreshSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown." - }, - "parameters": [ - { - "id": 180, - "name": "currentSession", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The current session. If passed in, it must contain a refresh token.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 181, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 182, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 876, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [182] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 136, - "name": "resend", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 625, - "character": 8 - } - ], - "signatures": [ - { - "id": 137, - "name": "resend", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." - }, - "parameters": [ - { - "id": 138, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 558, - "name": "ResendParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 220, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1085, - "character": 8 - } - ], - "signatures": [ - { - "id": 221, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a password reset request to an email address." - }, - "parameters": [ - { - "id": 222, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 223, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 224, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 226, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site.\n" - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1089, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 225, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL to send the user to after they click the password reset link." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1088, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [226, 225] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 227, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 228, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1093, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 229, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - }, - { - "id": 230, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1094, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [228, 230] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 231, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 232, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1096, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 233, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1096, - "character": 20 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [232, 233] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 172, - "name": "setSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 812, - "character": 8 - } - ], - "signatures": [ - { - "id": 173, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown." - }, - "parameters": [ - { - "id": 174, - "name": "currentSession", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The current session that minimally contains an access token and refresh token.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 175, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 176, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 813, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 177, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 814, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [176, 177] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 124, - "name": "signInWithIdToken", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 441, - "character": 8 - } - ], - "signatures": [ - { - "id": 125, - "name": "signInWithIdToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Allows signing in with an ID token issued by certain supported providers.\nThe ID token is verified for validity and a new session is established.", - "tags": [ - { - "tag": "experimental", - "text": "\n" - } - ] - }, - "parameters": [ - { - "id": 126, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "name": "SignInWithIdTokenCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 118, - "name": "signInWithOAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 397, - "character": 8 - } - ], - "signatures": [ - { - "id": 119, - "name": "signInWithOAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user via a third-party provider." - }, - "parameters": [ - { - "id": 120, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 519, - "name": "SignInWithOAuthCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 353, - "name": "OAuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 127, - "name": "signInWithOtp", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 489, - "character": 8 - } - ], - "signatures": [ - { - "id": 128, - "name": "signInWithOtp", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in a user using magiclink or a one-time password (OTP).", - "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\n" - }, - "parameters": [ - { - "id": 129, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 501, - "name": "SignInWithPasswordlessCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 115, - "name": "signInWithPassword", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 347, - "character": 8 - } - ], - "signatures": [ - { - "id": 116, - "name": "signInWithPassword", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user with an email and password or phone and password.", - "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n" - }, - "parameters": [ - { - "id": 117, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 487, - "name": "SignInWithPasswordCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 133, - "name": "signInWithSSO", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 597, - "character": 8 - } - ], - "signatures": [ - { - "id": 134, - "name": "signInWithSSO", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.", - "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n" - }, - "parameters": [ - { - "id": 135, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 571, - "name": "SignInWithSSO" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 366, - "name": "SSOResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 202, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1019, - "character": 8 - } - ], - "signatures": [ - { - "id": 203, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.", - "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 204, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 205, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1019, - "character": 29 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 800, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [205] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 112, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 268, - "character": 8 - } - ], - "signatures": [ - { - "id": 113, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new user.", - "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\n", - "returns": "A logged-in session if the server has \"autoconfirm\" ON" - }, - "parameters": [ - { - "id": 114, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 470, - "name": "SignUpWithPasswordCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 282, - "name": "startAutoRefresh", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1389, - "character": 8 - } - ], - "signatures": [ - { - "id": 283, - "name": "startAutoRefresh", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.", - "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 284, - "name": "stopAutoRefresh", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 1402, - "character": 8 - } - ], - "signatures": [ - { - "id": 285, - "name": "stopAutoRefresh", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Stops an active auto refresh process running in the background (if any).", - "text": "If you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee {@link #startAutoRefresh} for more details.\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 159, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 759, - "character": 8 - } - ], - "signatures": [ - { - "id": 160, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates user data for a logged in user." - }, - "parameters": [ - { - "id": 161, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 446, - "name": "UserAttributes" - } - }, - { - "id": 162, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 164, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 762, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [164] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 375, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 130, - "name": "verifyOtp", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 544, - "character": 8 - } - ], - "signatures": [ - { - "id": 131, - "name": "verifyOtp", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in a user given a User supplied OTP received via mobile." - }, - "parameters": [ - { - "id": 132, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 539, - "name": "VerifyOtpParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [78] - }, - { - "title": "Properties", - "kind": 1024, - "children": [81, 82] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 121, 139, 156, 108, 206, 178, 136, 220, 172, 124, 118, 127, 115, 133, 202, 112, 282, - 284, 159, 130 - ] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 93, - "character": 21 - } - ] - }, - { - "id": 395, - "name": "AMREntry", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "An authentication methord reference (AMR) entry.", - "text": "An entry designates what method was used by the user to verify their\nidentity and at what time.\n", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}.\n" - } - ] - }, - "children": [ - { - "id": 396, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Authentication method name." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 161, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "timestamp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [396, 397] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 159, - "character": 17 - } - ] - }, - { - "id": 451, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 453, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.", - "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 289, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 456, - "name": "ban_duration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Determines how long a user is banned for.", - "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 315, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 247, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.email" - } - }, - { - "id": 454, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Confirms the user's email address if set to true.", - "text": "Only a service role can modify.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 457, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 257, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.password" - } - }, - { - "id": 459, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 252, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Omit.phone" - } - }, - { - "id": 455, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Confirms the user's phone number if set to true.", - "text": "Only a service role can modify.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 303, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 452, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 279, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 268, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 446, - "name": "UserAttributes" - }, - { - "type": "literal", - "value": "data" - } - ], - "qualifiedName": "Omit", - "package": "typescript", - "name": "Omit" - } - ] - }, - { - "id": 409, - "name": "Factor", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "A MFA factor.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#enroll}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#listFactors}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAAdminApi#listFactors}\n" - } - ] - }, - "children": [ - { - "id": 414, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 205, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "factor_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of factor. Only `totp` supported with this version but may change in\nfuture versions." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 200, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 411, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 194, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 191, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor's status." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 203, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "verified" - }, - { - "type": "literal", - "value": "unverified" - } - ] - } - }, - { - "id": 415, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 206, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [414, 412, 411, 410, 413, 415] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 189, - "character": 17 - } - ] - }, - { - "id": 606, - "name": "GenerateLinkOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 607, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 589, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 608, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL which will be appended to the email link generated." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 591, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [607, 608] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 583, - "character": 17 - } - ] - }, - { - "id": 765, - "name": "GoTrueAdminMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "Contains the full multi-factor authentication administration API.", - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "children": [ - { - "id": 769, - "name": "deleteFactor", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 770, - "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.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#unenroll}\n" - }, - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "parameters": [ - { - "id": 771, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 749, - "name": "AuthMFAAdminDeleteFactorParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 740, - "name": "AuthMFAAdminDeleteFactorResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 766, - "name": "listFactors", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 767, - "name": "listFactors", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Lists all factors associated to a user." - }, - "parameters": [ - { - "id": 768, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 762, - "name": "AuthMFAAdminListFactorsParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 753, - "name": "AuthMFAAdminListFactorsResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "kind": 2048, - "children": [769, 766] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 921, - "character": 17 - } - ] - }, - { - "id": 720, - "name": "GoTrueMFAApi", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "Contains the full multi-factor authentication API." - }, - "children": [ - { - "id": 724, - "name": "challenge", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 725, - "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." - }, - "parameters": [ - { - "id": 726, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 644, - "name": "MFAChallengeParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 688, - "name": "AuthMFAChallengeResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 733, - "name": "challengeAndVerify", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 734, - "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." - }, - "parameters": [ - { - "id": 735, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 647, - "name": "MFAChallengeAndVerifyParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 651, - "name": "AuthMFAVerifyResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 721, - "name": "enroll", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 722, - "name": "enroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "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": 723, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 631, - "name": "MFAEnrollParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 664, - "name": "AuthMFAEnrollResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 738, - "name": "getAuthenticatorAssuranceLevel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 739, - "name": "getAuthenticatorAssuranceLevel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.", - "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 709, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 736, - "name": "listFactors", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 737, - "name": "listFactors", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the list of MFA factors enabled for this user.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#enroll}" - }, - { - "tag": "see", - "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}" - }, - { - "tag": "see", - "text": "{@link GoTrueClient#getUser}\n\n" - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 698, - "name": "AuthMFAListFactorsResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 730, - "name": "unenroll", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 731, - "name": "unenroll", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor." - }, - "parameters": [ - { - "id": 732, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 636, - "name": "MFAUnenrollParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 679, - "name": "AuthMFAUnenrollResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 727, - "name": "verify", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "signatures": [ - { - "id": 728, - "name": "verify", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "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": 729, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 639, - "name": "MFAVerifyParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 651, - "name": "AuthMFAVerifyResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "kind": 2048, - "children": [724, 733, 721, 738, 736, 730, 727] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 808, - "character": 17 - } - ] - }, - { - "id": 386, - "name": "Session", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 389, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 391, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 142, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 388, - "name": "provider_refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 130, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 387, - "name": "provider_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 390, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A one-time used refresh token that never expires." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 138, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 393, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [389, 392, 391, 388, 387, 390, 393, 394] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 121, - "character": 17 - } - ] - }, - { - "id": 460, - "name": "Subscription", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 461, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The subscriber UUID. This will be set by the client." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 322, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 462, - "name": "callback", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 326, - "character": 2 - } - ], - "signatures": [ - { - "id": 463, - "name": "callback", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "The function to call every time there is an event. eg: (eventName) => {}" - }, - "parameters": [ - { - "id": 464, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 325, - "name": "AuthChangeEvent" - } - }, - { - "id": 465, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 386, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 466, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "signatures": [ - { - "id": 467, - "name": "unsubscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Call this to remove the listener." - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [461] - }, - { - "title": "Methods", - "kind": 2048, - "children": [462, 466] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 318, - "character": 17 - } - ] - }, - { - "id": 468, - "name": "UpdatableFactorAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 469, - "name": "friendlyName", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 334, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [469] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 333, - "character": 17 - } - ] - }, - { - "id": 423, - "name": "User", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 434, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 425, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 416, - "name": "UserAppMetadata" - } - }, - { - "id": 427, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 428, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 438, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 233, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 437, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 232, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 435, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 225, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 439, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 234, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 240, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - }, - { - "id": 424, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 444, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 239, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 398, - "name": "UserIdentity" - } - } - }, - { - "id": 433, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 228, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 441, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 236, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 432, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 227, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 436, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 231, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 440, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 235, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 429, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 442, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 237, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 443, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 238, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 426, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 221, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 420, - "name": "UserMetadata" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 434, 425, 427, 428, 438, 437, 435, 430, 439, 445, 424, 444, 433, 441, 431, 432, 436, - 440, 429, 442, 443, 426 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 17 - } - ] - }, - { - "id": 416, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 417, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [417] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 209, - "character": 17 - } - ], - "indexSignature": { - "id": 418, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 419, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 446, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 450, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 265, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 447, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 247, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 449, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 257, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 252, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [450, 447, 449, 448] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 243, - "character": 17 - } - ] - }, - { - "id": 398, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 406, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 177, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 401, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 402, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 403, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 404, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 407, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 178, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 408, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 179, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [406, 399, 401, 407, 405, 408, 400] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 170, - "character": 17 - } - ] - }, - { - "id": 420, - "name": "UserMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 17 - } - ], - "indexSignature": { - "id": 421, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 422, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 548, - "name": "VerifyEmailOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 549, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 493, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 552, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 498, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 553, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 555, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 502, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 554, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 500, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [555, 554] - } - ] - } - } - }, - { - "id": 550, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The otp sent to the user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 495, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 551, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's verification type." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 497, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "EmailOtpType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [549, 552, 550, 551] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 491, - "character": 17 - } - ] - }, - { - "id": 540, - "name": "VerifyMobileOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 544, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 479, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 545, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 547, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site.", - "tags": [ - { - "tag": "deprecated", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 488, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 546, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 481, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [547, 546] - } - ] - } - } - }, - { - "id": 541, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 474, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 542, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The otp sent to the user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 476, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 543, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's verification type." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 478, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 556, - "name": "MobileOtpType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [544, 541, 542, 543] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 17 - } - ] - }, - { - "id": 325, - "name": "AuthChangeEvent", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "INITIAL_SESSION" - }, - { - "type": "literal", - "value": "PASSWORD_RECOVERY" - }, - { - "type": "literal", - "value": "SIGNED_IN" - }, - { - "type": "literal", - "value": "SIGNED_OUT" - }, - { - "type": "literal", - "value": "TOKEN_REFRESHED" - }, - { - "type": "literal", - "value": "USER_UPDATED" - }, - { - "type": "reference", - "id": 324, - "name": "AuthChangeEventMFA" - } - ] - } - }, - { - "id": 324, - "name": "AuthChangeEventMFA", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "literal", - "value": "MFA_CHALLENGE_VERIFIED" - } - }, - { - "id": 518, - "name": "AuthFlowType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 440, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "implicit" - }, - { - "type": "literal", - "value": "pkce" - } - ] - } - }, - { - "id": 749, - "name": "AuthMFAAdminDeleteFactorParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 750, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 751, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the MFA factor to delete." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 889, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "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": 892, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [751, 752] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 887, - "character": 45 - } - ] - } - } - }, - { - "id": 740, - "name": "AuthMFAAdminDeleteFactorResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 874, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 741, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 742, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 876, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 743, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 744, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully deleted." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 878, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [744] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 876, - "character": 12 - } - ] - } - } - }, - { - "id": 745, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 880, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [742, 745] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 746, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 747, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 748, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [747, 748] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 762, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 911, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 763, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 764, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 913, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [764] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 911, - "character": 44 - } - ] - } - } - }, - { - "id": 753, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 898, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 754, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 755, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 900, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 756, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 757, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 902, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [757] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 900, - "character": 12 - } - ] - } - } - }, - { - "id": 758, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 904, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [755, 758] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 899, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 759, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 760, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 761, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [760, 761] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 688, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 751, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 689, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 690, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 691, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 693, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 692, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 755, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [693, 692] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 12 - } - ] - } - } - }, - { - "id": 694, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 760, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 694] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 752, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 695, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 696, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 697, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [696, 697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 666, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 710, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 667, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 668, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 712, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 670, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 671, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 672, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 673, - "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": 727, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 674, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 731, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [672, 673, 674] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 14 - } - ] - } - } - }, - { - "id": 669, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor. Only `totp` supported for now." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [668, 670, 669] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 710, - "character": 12 - } - ] - } - } - }, - { - "id": 675, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 734, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [666, 675] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 709, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 737, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 738, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677, 678] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 709, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 779, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 710, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 711, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 712, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 715, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 798, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 395, - "name": "AMREntry" - } - } - }, - { - "id": 713, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 783, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 714, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 791, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [715, 713, 714] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 12 - } - ] - } - } - }, - { - "id": 716, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 800, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [711, 716] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 780, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 718, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 719, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [718, 719] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 698, - "name": "AuthMFAListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 764, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 699, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 700, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 701, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 702, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 768, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - }, - { - "id": 703, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 771, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [702, 703] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12 - } - ] - } - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 773, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 765, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 705, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 706, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 707, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [706, 707] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 679, - "name": "AuthMFAUnenrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 741, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "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": 743, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 682, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 683, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully unenrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 745, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [683] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 743, - "character": 12 - } - ] - } - } - }, - { - "id": 684, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 747, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [681, 684] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 742, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 685, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 686, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 687, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [686, 687] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 651, - "name": "AuthMFAVerifyResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 683, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 652, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 653, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 685, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 654, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 655, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "New access token (JWT) after successful verification." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 687, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 657, - "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": 693, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 658, - "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": 696, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 656, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of token, typically `Bearer`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 659, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Updated user profile." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 699, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [655, 657, 658, 656, 659] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 685, - "character": 12 - } - ] - } - } - }, - { - "id": 660, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 701, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [653, 660] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 684, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 662, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 704, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 663, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 705, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [662, 663] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 703, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 340, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 342, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 343, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 345, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 386, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 344, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 59, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 423, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [345, 344] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 12 - } - ] - } - } - }, - { - "id": 346, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [342, 346] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 57, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 347, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 348, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 65, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 349, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 351, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 350, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [351, 350] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 65, - "character": 12 - } - ] - } - } - }, - { - "id": 352, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [348, 352] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 708, - "name": "AuthenticatorAssuranceLevels", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 777, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "aal1" - }, - { - "type": "literal", - "value": "aal2" - } - ] - } - }, - { - "id": 776, - "name": "CallRefreshTokenResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 952, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 777, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 779, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 955, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 778, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 954, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 386, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [779, 778] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 953, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 780, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 782, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 959, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - }, - { - "id": 781, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 958, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [782, 781] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 957, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 557, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 507, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change" - }, - { - "type": "literal", - "value": "email" - } - ] - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 572, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 601, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 603, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 575, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 580, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 602, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 573, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [603, 604, 605, 602] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 572, - "character": 44 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 558, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 591, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 593, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 561, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 594, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 562, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 592, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 559, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [593, 594, 592] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 558, - "character": 46 - } - ] - } - } - }, - { - "id": 609, - "name": "GenerateLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 594, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 584, - "name": "GenerateSignupLinkParams" - }, - { - "type": "reference", - "id": 590, - "name": "GenerateInviteOrMagiclinkParams" - }, - { - "type": "reference", - "id": 595, - "name": "GenerateRecoveryLinkParams" - }, - { - "type": "reference", - "id": 600, - "name": "GenerateEmailChangeLinkParams" - } - ] - } - }, - { - "id": 623, - "name": "GenerateLinkProperties", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "shortText": "The properties related to the email link generated" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 617, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 624, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 625, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 622, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 626, - "name": "email_otp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 627, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 627, - "name": "hashed_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The hashed token appended to the action link." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 631, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 628, - "name": "redirect_to", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The URL appended to the action link." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 633, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 629, - "name": "verification_type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The verification type that the email link is associated to." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 635, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 630, - "name": "GenerateLinkType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [625, 626, 627, 628, 629] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 617, - "character": 37 - } - ] - } - } - }, - { - "id": 610, - "name": "GenerateLinkResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 600, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 611, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 603, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 623, - "name": "GenerateLinkProperties" - } - }, - { - "id": 615, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 604, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12 - } - ] - } - } - }, - { - "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 606, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 609, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 620, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 610, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 611, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [620, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 609, - "character": 12 - } - ] - } - } - }, - { - "id": 622, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 613, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [618, 622] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 608, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 630, - "name": "GenerateLinkType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 638, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - }, - { - "id": 595, - "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 584, - "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 326, - "name": "GoTrueClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 327, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 335, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 334, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 338, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 339, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 53, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 518, - "name": "AuthFlowType" - } - }, - { - "id": 329, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 39, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 330, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 39, - "character": 12 - } - ], - "indexSignature": { - "id": 331, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 332, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 336, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 337, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 772, - "name": "SupportedStorage" - } - }, - { - "id": 333, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 41, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 328, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 37, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [335, 334, 338, 339, 329, 336, 337, 333, 328] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 34 - } - ] - } - } - }, - { - "id": 773, - "name": "InitializeResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 774, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 775, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 800, - "name": "AuthError" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [775] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 31 - } - ] - } - } - }, - { - "id": 647, - "name": "MFAChallengeAndVerifyParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 676, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 648, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 650, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 680, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 649, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 678, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [650, 649] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 676, - "character": 42 - } - ] - } - } - }, - { - "id": 644, - "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 646, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor to be challenged. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 673, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 33 - } - ] - } - } - }, - { - "id": 631, - "name": "MFAEnrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "factorType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The type of factor being enrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 648, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - }, - { - "id": 635, - "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": 652, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 634, - "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": 650, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 635, 634] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 30 - } - ] - } - } - }, - { - "id": 636, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 655, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 637, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 638, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being unenrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 657, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [638] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 655, - "character": 32 - } - ] - } - } - }, - { - "id": 639, - "name": "MFAVerifyParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 660, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 640, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 642, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the challenge being verified. Returned in challenge()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 665, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 643, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 668, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 641, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [642, 643, 641] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 660, - "character": 30 - } - ] - } - } - }, - { - "id": 556, - "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 506, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - }, - { - "id": 353, - "name": "OAuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 354, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 355, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 357, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 75, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 323, - "name": "Provider" - } - }, - { - "id": 358, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 76, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [357, 358] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 12 - } - ] - } - } - }, - { - "id": 359, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [355, 359] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 360, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 361, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 81, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 362, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 363, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 323, - "name": "Provider" - } - }, - { - "id": 364, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 83, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [363, 364] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 81, - "character": 12 - } - ] - } - } - }, - { - "id": 365, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 85, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [361, 365] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 80, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 790, - "name": "PageParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 791, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 792, - "name": "page", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The page number" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 793, - "name": "perPage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Number of items returned per page" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 973, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [792, 793] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 25 - } - ] - } - } - }, - { - "id": 783, - "name": "Pagination", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 962, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 784, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 786, - "name": "lastPage", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 965, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 785, - "name": "nextPage", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 964, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 787, - "name": "total", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 966, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [786, 785, 787] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 962, - "character": 25 - } - ], - "indexSignature": { - "id": 788, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 789, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 323, - "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 5, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "apple" - }, - { - "type": "literal", - "value": "azure" - }, - { - "type": "literal", - "value": "bitbucket" - }, - { - "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "facebook" - }, - { - "type": "literal", - "value": "github" - }, - { - "type": "literal", - "value": "gitlab" - }, - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "keycloak" - }, - { - "type": "literal", - "value": "linkedin" - }, - { - "type": "literal", - "value": "notion" - }, - { - "type": "literal", - "value": "slack" - }, - { - "type": "literal", - "value": "spotify" - }, - { - "type": "literal", - "value": "twitch" - }, - { - "type": "literal", - "value": "twitter" - }, - { - "type": "literal", - "value": "workos" - }, - { - "type": "literal", - "value": "zoom" - } - ] - } - }, - { - "id": 558, - "name": "ResendParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 509, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 559, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 561, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 512, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 562, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 513, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 563, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 564, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 515, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [564] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 513, - "character": 16 - } - ] - } - } - }, - { - "id": 560, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 511, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 557, - "name": "EmailOtpType" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "email_change" - } - ] - } - ], - "qualifiedName": "Extract", - "package": "typescript", - "name": "Extract" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [561, 562, 560] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 510, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 565, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 568, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 521, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 569, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 570, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 523, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [570] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 521, - "character": 16 - } - ] - } - } - }, - { - "id": 567, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 520, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 566, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 519, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 556, - "name": "MobileOtpType" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - ], - "qualifiedName": "Extract", - "package": "typescript", - "name": "Extract" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [568, 567, 566] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 518, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 366, - "name": "SSOResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 88, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 367, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 368, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 370, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.", - "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 98, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [370] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 12 - } - ] - } - } - }, - { - "id": 371, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [368, 371] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 89, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 372, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 373, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 374, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 104, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [373, 374] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 102, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 531, - "name": "SignInWithIdTokenCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 535, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 464, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 536, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 537, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 538, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 467, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [538] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 465, - "character": 12 - } - ] - } - } - }, - { - "id": 533, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 460, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "google" - }, - { - "type": "literal", - "value": "apple" - } - ] - } - }, - { - "id": 534, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID token issued by Apple or Google." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 462, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [535, 536, 533, 534] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 456, - "character": 43 - } - ] - } - } - }, - { - "id": 519, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 441, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 520, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 522, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 444, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 526, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An object of query params" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 450, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 527, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 450, - "character": 18 - } - ], - "indexSignature": { - "id": 528, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 529, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 524, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 446, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 525, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 448, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 530, - "name": "skipBrowserRedirect", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 452, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [526, 524, 525, 530] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 444, - "character": 12 - } - ] - } - } - }, - { - "id": 521, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 443, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 323, - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [522, 521] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 441, - "character": 41 - } - ] - } - } - }, - { - "id": 487, - "name": "SignInWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 374, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 488, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 489, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 377, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 492, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 493, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [493] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 16 - } - ] - } - } - }, - { - "id": 490, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 379, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [489, 491, 490] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 375, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 497, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 498, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 500, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 398, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 499, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 396, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [500, 499] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 16 - } - ] - } - } - }, - { - "id": 496, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 495, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 387, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [497, 496, 495] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 385, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 501, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 402, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 502, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 503, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 405, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 504, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 406, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 505, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 509, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 418, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 508, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 416, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 506, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 408, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 507, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 410, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [509, 508, 506, 507] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 406, - "character": 16 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [503, 504] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 403, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 510, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 512, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 424, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 513, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 516, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 434, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 517, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Messaging channel to use (e.g. whatsapp or sms)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 436, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 515, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 432, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 514, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 426, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [516, 517, 515, 514] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 424, - "character": 16 - } - ] - } - } - }, - { - "id": 511, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 423, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [512, 511] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 571, - "name": "SignInWithSSO", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 527, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 572, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 574, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 532, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 575, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 577, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 536, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL to send the user to after they have signed-in." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 534, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [577, 576] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 532, - "character": 16 - } - ] - } - } - }, - { - "id": 573, - "name": "providerId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "UUID of the SSO provider to invoke single-sign on to." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 530, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [574, 573] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 528, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 578, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 579, - "name": "domain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Domain name of the organization for which to invoke single-sign on." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 541, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 580, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 543, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 581, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 583, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 582, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL to send the user to after they have signed-in." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [583, 582] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 543, - "character": 16 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [579, 580] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 539, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 470, - "name": "SignUpWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 337, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 471, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 472, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 474, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 475, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 478, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 477, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 351, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 476, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [478, 477, 476] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 16 - } - ] - } - } - }, - { - "id": 473, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [472, 474, 473] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 338, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 479, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 482, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 483, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 485, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 369, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 486, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Messaging channel to use (e.g. whatsapp or sms)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 371, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "whatsapp" - } - ] - } - }, - { - "id": 484, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 367, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [485, 486, 484] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 16 - } - ] - } - } - }, - { - "id": 481, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 480, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 358, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [482, 481, 480] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 772, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 948, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Storage", - "package": "typescript", - "name": "Storage" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "getItem" - }, - { - "type": "literal", - "value": "setItem" - }, - { - "type": "literal", - "value": "removeItem" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - ], - "name": "PromisifyMethods" - } - }, - { - "id": 375, - "name": "UserResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 376, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 377, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 379, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [379] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 12 - } - ] - } - } - }, - { - "id": 380, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [377, 380] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 381, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 382, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 383, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 384, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 116, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [384] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12 - } - ] - } - } - }, - { - "id": 385, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 118, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [382, 385] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 539, - "name": "VerifyOtpParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 471, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 540, - "name": "VerifyMobileOtpParams" - }, - { - "type": "reference", - "id": 548, - "name": "VerifyEmailOtpParams" - } - ] - } - }, - { - "id": 797, - "name": "isAuthApiError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 34, - "character": 16 - } - ], - "signatures": [ - { - "id": 798, - "name": "isAuthApiError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 799, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 807, - "name": "AuthApiError" - } - } - } - ] - }, - { - "id": 794, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 795, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 796, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [807, 800, 868, 855, 893, 918, 843, 820, 828, 1, 77] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [395, 451, 409, 606, 765, 720, 386, 460, 468, 423, 416, 446, 398, 420, 548, 540] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 325, 324, 518, 749, 740, 762, 753, 688, 664, 709, 698, 679, 651, 340, 708, 776, 557, 600, - 590, 609, 623, 610, 630, 595, 584, 326, 773, 647, 644, 631, 636, 639, 556, 353, 790, 783, - 323, 558, 366, 531, 519, 487, 501, 571, 470, 772, 375, 539 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [797, 794] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] -} + "id": 0, + "name": "@supabase/gotrue-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 811, + "name": "AuthApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 812, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 813, + "name": "new AuthApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 814, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 815, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 811, + "name": "AuthApiError" + }, + "overwrites": { + "type": "reference", + "id": 806, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 805, + "name": "AuthError.constructor" + } + }, + { + "id": 816, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "id": 809, + "name": "AuthError.status" + } + }, + { + "id": 817, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 2 + } + ], + "signatures": [ + { + "id": 818, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 819, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 821, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 28, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 820, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 27, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 822, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 29, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 821, + 820, + 822 + ] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 812 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 816 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 817 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 16, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 804, + "name": "AuthError" + } + ] + }, + { + "id": 804, + "name": "AuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 805, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 5, + "character": 2 + } + ], + "signatures": [ + { + "id": 806, + "name": "new AuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 807, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 808, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + }, + { + "id": 809, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 2, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 805 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 809 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 811, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 824, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 872, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 873, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 80, + "character": 2 + } + ], + "signatures": [ + { + "id": 874, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 875, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 876, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 877, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 879, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 80, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 878, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 80, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 879, + 878 + ] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 872, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 834, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 833, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 880, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 881, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 883, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 882, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 883, + 882 + ] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 894, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "CustomAuthError.name" + } + }, + { + "id": 895, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "CustomAuthError.status" + } + }, + { + "id": 884, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 85, + "character": 2 + } + ], + "signatures": [ + { + "id": 885, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 886, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 890, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 891, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 893, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 892, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 893, + 892 + ] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 888, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 887, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 87, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 889, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 890, + 888, + 887, + 889 + ] + } + ] + } + }, + "overwrites": { + "type": "reference", + "id": 841, + "name": "CustomAuthError.toJSON" + } + } + ], + "overwrites": { + "type": "reference", + "id": 840, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 873 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 880, + 894, + 895 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 884 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 78, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 859, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 860, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 2 + } + ], + "signatures": [ + { + "id": 861, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 862, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 859, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 834, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 833, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 863, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "CustomAuthError.name" + } + }, + { + "id": 864, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "CustomAuthError.status" + } + }, + { + "id": 865, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "signatures": [ + { + "id": 866, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 867, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 869, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 868, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 870, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 869, + 868, + 870 + ] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 841, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 840, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 860 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 863, + 864 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 865 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 72, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 897, + "name": "AuthPKCEGrantCodeExchangeError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 898, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 2 + } + ], + "signatures": [ + { + "id": 899, + "name": "new AuthPKCEGrantCodeExchangeError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 900, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 901, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 902, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 904, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 903, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 904, + 903 + ] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 897, + "name": "AuthPKCEGrantCodeExchangeError" + }, + "overwrites": { + "type": "reference", + "id": 834, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 833, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 905, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 96, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 906, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 908, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 96, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 907, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 96, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 908, + 907 + ] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 919, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "CustomAuthError.name" + } + }, + { + "id": 920, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "CustomAuthError.status" + } + }, + { + "id": 909, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 102, + "character": 2 + } + ], + "signatures": [ + { + "id": 910, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 911, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 915, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 107, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 918, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 96, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 917, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 96, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 918, + 917 + ] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 913, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 105, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 912, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 104, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 914, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 106, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 915, + 913, + 912, + 914 + ] + } + ] + } + }, + "overwrites": { + "type": "reference", + "id": 841, + "name": "CustomAuthError.toJSON" + } + } + ], + "overwrites": { + "type": "reference", + "id": 840, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 898 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 905, + 919, + 920 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 909 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 922, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 923, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 113, + "character": 2 + } + ], + "signatures": [ + { + "id": 924, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 925, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 926, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 922, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 834, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 833, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 927, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "CustomAuthError.name" + } + }, + { + "id": 928, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "CustomAuthError.status" + } + }, + { + "id": 929, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "signatures": [ + { + "id": 930, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 931, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 933, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 932, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 934, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 933, + 932, + 934 + ] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 841, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 840, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 923 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 927, + 928 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 929 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 847, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 848, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 849, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 847, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 834, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 833, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 850, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "CustomAuthError.name" + } + }, + { + "id": 851, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "CustomAuthError.status" + } + }, + { + "id": 852, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "signatures": [ + { + "id": 853, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 854, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 856, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 855, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 857, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 856, + 855, + 857 + ] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 841, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 840, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 848 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 850, + 851 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 852 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + } + ] + }, + { + "id": 824, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 825, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 41, + "character": 2 + } + ], + "signatures": [ + { + "id": 826, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 827, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 828, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 824, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 806, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 805, + "name": "AuthError.constructor" + } + }, + { + "id": 829, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 830, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 2, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 809, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 825 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 829, + 830 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 38, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 804, + "name": "AuthError" + } + ] + }, + { + "id": 832, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 833, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 834, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 835, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 836, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 837, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 832, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 806, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 805, + "name": "AuthError.constructor" + } + }, + { + "id": 838, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "AuthError.name" + } + }, + { + "id": 839, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "overwrites": { + "type": "reference", + "id": 809, + "name": "AuthError.status" + } + }, + { + "id": 840, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "signatures": [ + { + "id": 841, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 842, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 844, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 843, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 845, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 844, + 843, + 845 + ] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 833 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 838, + 839 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 840 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 48, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 804, + "name": "AuthError" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 847, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "id": 859, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "id": 872, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "id": 897, + "name": "AuthPKCEGrantCodeExchangeError" + }, + { + "type": "reference", + "id": 922, + "name": "AuthRetryableFetchError" + } + ] + }, + { + "id": 1, + "name": "GoTrueAdminApi", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new GoTrueAdminApi", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 4, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 11, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 13, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 15, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 7, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 9, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 10, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 6, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 11, + 7, + 6 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ] + }, + { + "id": 16, + "name": "mfa", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains all MFA administration methods." + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 769, + "name": "GoTrueAdminMFAApi" + } + }, + { + "id": 43, + "name": "createUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 8 + } + ], + "signatures": [ + { + "id": 44, + "name": "createUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser." + }, + "parameters": [ + { + "id": 45, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 454, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 67, + "name": "deleteUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 264, + "character": 8 + } + ], + "signatures": [ + { + "id": 68, + "name": "deleteUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Delete a user. Requires a `service_role` key." + }, + "parameters": [ + { + "id": 69, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The user id you want to remove." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 70, + "name": "shouldSoftDelete", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "If true, then the user will be soft-deleted from the auth schema.\nDefaults to false for backward compatibility.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 40, + "name": "generateLink", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 114, + "character": 8 + } + ], + "signatures": [ + { + "id": 41, + "name": "generateLink", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Generates email links and OTPs to be sent via a custom email provider." + }, + "parameters": [ + { + "id": 42, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 613, + "name": "GenerateLinkParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 614, + "name": "GenerateLinkResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 60, + "name": "getUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 217, + "character": 8 + } + ], + "signatures": [ + { + "id": 61, + "name": "getUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Get user by id." + }, + "parameters": [ + { + "id": 62, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 33, + "name": "inviteUserByEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 81, + "character": 8 + } + ], + "signatures": [ + { + "id": 34, + "name": "inviteUserByEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends an invite link to an email address." + }, + "parameters": [ + { + "id": 35, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 36, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Additional options to be included when inviting.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 38, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store additional metadata about the user. This maps to the `auth.users.user_metadata` column." + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 85, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 39, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The URL which will be appended to the email link sent to the user's email address. Once clicked the user will end up on this URL." + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 88, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 38, + 39 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 46, + "name": "listUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 170, + "character": 8 + } + ], + "signatures": [ + { + "id": 47, + "name": "listUsers", + "kind": 4096, + "kindString": "Call signature", + "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." + }, + "parameters": [ + { + "id": 48, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object which supports `page` and `perPage` as numbers, to alter the paginated results.\n" + }, + "type": { + "type": "reference", + "id": 794, + "name": "PageParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 49, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 50, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 173, + "character": 8 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 51, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 53, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 173, + "character": 31 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 52, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 173, + "character": 16 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 425, + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 53, + 52 + ] + } + ] + } + }, + { + "type": "reference", + "id": 787, + "name": "Pagination" + } + ] + } + }, + { + "id": 54, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 173, + "character": 59 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 50, + 54 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 55, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 56, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 174, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 57, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 174, + "character": 16 + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 58 + ] + } + ] + } + } + }, + { + "id": 59, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 174, + "character": 29 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 56, + 59 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 27, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 59, + "character": 8 + } + ], + "signatures": [ + { + "id": 28, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes a logged-in session." + }, + "parameters": [ + { + "id": 29, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A valid, logged-in JWT.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 30, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 31, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 59, + "character": 40 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 32, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 59, + "character": 52 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 804, + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 31, + 32 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 63, + "name": "updateUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 239, + "character": 8 + } + ], + "signatures": [ + { + "id": 64, + "name": "updateUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 65, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 66, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n" + }, + "type": { + "type": "reference", + "id": 454, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 2 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 16 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 43, + 67, + 40, + 60, + 33, + 46, + 27, + 63 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 25, + "character": 21 + } + ] + }, + { + "id": 77, + "name": "GoTrueClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 78, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 145, + "character": 2 + } + ], + "signatures": [ + { + "id": 79, + "name": "new GoTrueClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "parameters": [ + { + "id": 80, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 328, + "name": "GoTrueClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 77, + "name": "default" + } + } + ] + }, + { + "id": 81, + "name": "admin", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 98, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + }, + { + "id": 82, + "name": "mfa", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Namespace for the MFA methods." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 102, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 724, + "name": "GoTrueMFAApi" + } + }, + { + "id": 121, + "name": "exchangeCodeForSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 411, + "character": 8 + } + ], + "signatures": [ + { + "id": 122, + "name": "exchangeCodeForSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user by exchanging an Auth Code issued during the PKCE flow." + }, + "parameters": [ + { + "id": 123, + "name": "authCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 141, + "name": "getSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 693, + "character": 8 + } + ], + "signatures": [ + { + "id": 142, + "name": "getSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the session, refreshing it if necessary.\nThe session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 143, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 144, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 695, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 145, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 146, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 696, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 388, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 146 + ] + } + ] + } + } + }, + { + "id": 147, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 698, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 144, + 147 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 148, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 149, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 701, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 151, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 702, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 151 + ] + } + ] + } + } + }, + { + "id": 152, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 704, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 149, + 152 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 153, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 154, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 707, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 156, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 708, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 156 + ] + } + ] + } + } + }, + { + "id": 157, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 710, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 154, + 157 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 158, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 756, + "character": 8 + } + ], + "signatures": [ + { + "id": 159, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Gets the current user details if there is an existing session." + }, + "parameters": [ + { + "id": 160, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Takes in an optional access token jwt. If no jwt is provided, getUser() will attempt to get the jwt from the current session.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 108, + "name": "initialize", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 197, + "character": 2 + } + ], + "signatures": [ + { + "id": 109, + "name": "initialize", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Initializes the client session either from the url or from storage.\nThis method is automatically called when instantiating the client, but should also be called\nmanually when checking for an error from an auth redirect (oauth, magiclink, password recovery, etc)." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 777, + "name": "InitializeResult" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 208, + "name": "onAuthStateChange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1071, + "character": 2 + } + ], + "signatures": [ + { + "id": 209, + "name": "onAuthStateChange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Receive a notification every time an auth event happens." + }, + "parameters": [ + { + "id": 210, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A callback function to be invoked when an auth event happens.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 211, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 212, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 213, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 327, + "name": "AuthChangeEvent" + } + }, + { + "id": 214, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 388, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 216, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1072, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 217, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 218, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1072, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 464, + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 218 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 216 + ] + } + ] + } + } + } + ] + }, + { + "id": 136, + "name": "reauthenticate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 626, + "character": 8 + } + ], + "signatures": [ + { + "id": 137, + "name": "reauthenticate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 180, + "name": "refreshSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 902, + "character": 8 + } + ], + "signatures": [ + { + "id": 181, + "name": "refreshSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns a new session, regardless of expiry status.\nTakes in an optional current session. If not passed in, then refreshSession() will attempt to retrieve it from getSession().\nIf the current session's refresh token is invalid, an error will be thrown." + }, + "parameters": [ + { + "id": 182, + "name": "currentSession", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The current session. If passed in, it must contain a refresh token.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 183, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 184, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 902, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 184 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 138, + "name": "resend", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 651, + "character": 8 + } + ], + "signatures": [ + { + "id": 139, + "name": "resend", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP." + }, + "parameters": [ + { + "id": 140, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 562, + "name": "ResendParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 222, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1111, + "character": 8 + } + ], + "signatures": [ + { + "id": 223, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a password reset request to an email address." + }, + "parameters": [ + { + "id": 224, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 225, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 226, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 228, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site.\n" + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1115, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 227, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The URL to send the user to after they click the password reset link." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1114, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 228, + 227 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 229, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 230, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1119, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 231, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 232, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1120, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 230, + 232 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 234, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1122, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 235, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1122, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 234, + 235 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 174, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 838, + "character": 8 + } + ], + "signatures": [ + { + "id": 175, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the session data from the current session. If the current session is expired, setSession will take care of refreshing it to obtain a new session.\nIf the refresh token or access token in the current session is invalid, an error will be thrown." + }, + "parameters": [ + { + "id": 176, + "name": "currentSession", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The current session that minimally contains an access token and refresh token.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 178, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 839, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 179, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 840, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 178, + 179 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 124, + "name": "signInWithIdToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 441, + "character": 8 + } + ], + "signatures": [ + { + "id": 125, + "name": "signInWithIdToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Allows signing in with an ID token issued by certain supported providers.\nThe ID token is verified for validity and a new session is established.", + "tags": [ + { + "tag": "experimental", + "text": "\n" + } + ] + }, + "parameters": [ + { + "id": 126, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 535, + "name": "SignInWithIdTokenCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 118, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 397, + "character": 8 + } + ], + "signatures": [ + { + "id": 119, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 120, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 523, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 355, + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 127, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 489, + "character": 8 + } + ], + "signatures": [ + { + "id": 128, + "name": "signInWithOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in a user using magiclink or a one-time password (OTP).", + "text": "If the `{{ .ConfirmationURL }}` variable is specified in the email template, a magiclink will be sent.\nIf the `{{ .Token }}` variable is specified in the email template, an OTP will be sent.\nIf you're using phone sign-ins, only an OTP will be sent. You won't be able to send a magiclink for phone sign-ins.\n\nBe aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or, that the account\ncan only be accessed via social login.\n\nDo note that you will need to configure a Whatsapp sender on Twilio\nif you are using phone sign in with the 'whatsapp' channel. The whatsapp\nchannel is not supported on other providers\nat this time.\n" + }, + "parameters": [ + { + "id": 129, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 505, + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 115, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 347, + "character": 8 + } + ], + "signatures": [ + { + "id": 116, + "name": "signInWithPassword", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user with an email and password or phone and password.", + "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n" + }, + "parameters": [ + { + "id": 117, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 491, + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 133, + "name": "signInWithSSO", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 597, + "character": 8 + } + ], + "signatures": [ + { + "id": 134, + "name": "signInWithSSO", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.", + "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n" + }, + "parameters": [ + { + "id": 135, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 575, + "name": "SignInWithSSO" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 368, + "name": "SSOResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 204, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1045, + "character": 8 + } + ], + "signatures": [ + { + "id": 205, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a `\"SIGNED_OUT\"` event.", + "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`.\nThere is no way to revoke a user's access token jwt until it expires. It is recommended to set a shorter expiry on the jwt for this reason.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 206, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 207, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1045, + "character": 29 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 804, + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 207 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 112, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 268, + "character": 8 + } + ], + "signatures": [ + { + "id": 113, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new user.", + "text": "Be aware that if a user account exists in the system you may get back an\nerror message that attempts to hide this information from the user.\n", + "returns": "A logged-in session if the server has \"autoconfirm\" ON" + }, + "parameters": [ + { + "id": 114, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 474, + "name": "SignUpWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 284, + "name": "startAutoRefresh", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1415, + "character": 8 + } + ], + "signatures": [ + { + "id": 285, + "name": "startAutoRefresh", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.", + "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 286, + "name": "stopAutoRefresh", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 1428, + "character": 8 + } + ], + "signatures": [ + { + "id": 287, + "name": "stopAutoRefresh", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Stops an active auto refresh process running in the background (if any).", + "text": "If you call this method any managed visibility change callback will be\nremoved and you must manage visibility changes on your own.\n\nSee {@link #startAutoRefresh} for more details.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 161, + "name": "updateUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 785, + "character": 8 + } + ], + "signatures": [ + { + "id": 162, + "name": "updateUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates user data for a logged in user." + }, + "parameters": [ + { + "id": 163, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 448, + "name": "UserAttributes" + } + }, + { + "id": 164, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 166, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 788, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 166 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 377, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 130, + "name": "verifyOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 544, + "character": 8 + } + ], + "signatures": [ + { + "id": 131, + "name": "verifyOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in a user given a User supplied OTP received via mobile." + }, + "parameters": [ + { + "id": 132, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 543, + "name": "VerifyOtpParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 78 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 81, + 82 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 121, + 141, + 158, + 108, + 208, + 136, + 180, + 138, + 222, + 174, + 124, + 118, + 127, + 115, + 133, + 204, + 112, + 284, + 286, + 161, + 130 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 93, + "character": 21 + } + ] + }, + { + "id": 397, + "name": "AMREntry", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "An authentication methord reference (AMR) entry.", + "text": "An entry designates what method was used by the user to verify their\nidentity and at what time.\n", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}.\n" + } + ] + }, + "children": [ + { + "id": 398, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Authentication method name." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 161, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 399, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp when the method was successfully used. Represents number of\nseconds since 1st January 1970 (UNIX epoch) in UTC." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 398, + 399 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 159, + "character": 17 + } + ] + }, + { + "id": 454, + "name": "AdminUserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 456, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.", + "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 296, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 459, + "name": "ban_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Determines how long a user is banned for.", + "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 322, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 462, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 247, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.email" + } + }, + { + "id": 457, + "name": "email_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Confirms the user's email address if set to true.", + "text": "Only a service role can modify.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 303, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 257, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.password" + } + }, + { + "id": 463, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 252, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.phone" + } + }, + { + "id": 458, + "name": "phone_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Confirms the user's phone number if set to true.", + "text": "Only a service role can modify.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 455, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 286, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 275, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 448, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 411, + "name": "Factor", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "A MFA factor.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#enroll}" + }, + { + "tag": "see", + "text": "{@link GoTrueMFAApi#listFactors}" + }, + { + "tag": "see", + "text": "{@link GoTrueMFAAdminApi#listFactors}\n" + } + ] + }, + "children": [ + { + "id": 416, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 205, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 414, + "name": "factor_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of factor. Only `totp` supported with this version but may change in\nfuture versions." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 200, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 413, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful to disambiguate between multiple factors." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 194, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 412, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 191, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 415, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Factor's status." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 203, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "verified" + }, + { + "type": "literal", + "value": "unverified" + } + ] + } + }, + { + "id": 417, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 206, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 416, + 414, + 413, + 412, + 415, + 417 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 610, + "name": "GenerateLinkOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 611, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 596, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 612, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The URL which will be appended to the email link generated." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 598, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 611, + 612 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 590, + "character": 17 + } + ] + }, + { + "id": 769, + "name": "GoTrueAdminMFAApi", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Contains the full multi-factor authentication administration API.", + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "children": [ + { + "id": 773, + "name": "deleteFactor", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 774, + "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.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#unenroll}\n" + }, + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "parameters": [ + { + "id": 775, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 753, + "name": "AuthMFAAdminDeleteFactorParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 744, + "name": "AuthMFAAdminDeleteFactorResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 770, + "name": "listFactors", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 771, + "name": "listFactors", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Lists all factors associated to a user." + }, + "parameters": [ + { + "id": 772, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 766, + "name": "AuthMFAAdminListFactorsParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 757, + "name": "AuthMFAAdminListFactorsResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 773, + 770 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 928, + "character": 17 + } + ] + }, + { + "id": 724, + "name": "GoTrueMFAApi", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Contains the full multi-factor authentication API." + }, + "children": [ + { + "id": 728, + "name": "challenge", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 729, + "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." + }, + "parameters": [ + { + "id": 730, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 648, + "name": "MFAChallengeParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 692, + "name": "AuthMFAChallengeResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 737, + "name": "challengeAndVerify", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 738, + "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." + }, + "parameters": [ + { + "id": 739, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 651, + "name": "MFAChallengeAndVerifyParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 655, + "name": "AuthMFAVerifyResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 725, + "name": "enroll", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 726, + "name": "enroll", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "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": 727, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 635, + "name": "MFAEnrollParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 668, + "name": "AuthMFAEnrollResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 742, + "name": "getAuthenticatorAssuranceLevel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 743, + "name": "getAuthenticatorAssuranceLevel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.", + "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 713, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 740, + "name": "listFactors", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 741, + "name": "listFactors", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the list of MFA factors enabled for this user.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#enroll}" + }, + { + "tag": "see", + "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}" + }, + { + "tag": "see", + "text": "{@link GoTrueClient#getUser}\n\n" + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 702, + "name": "AuthMFAListFactorsResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 734, + "name": "unenroll", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 735, + "name": "unenroll", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor." + }, + "parameters": [ + { + "id": 736, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 640, + "name": "MFAUnenrollParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 683, + "name": "AuthMFAUnenrollResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 731, + "name": "verify", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "signatures": [ + { + "id": 732, + "name": "verify", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "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": 733, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 643, + "name": "MFAVerifyParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 655, + "name": "AuthMFAVerifyResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 728, + 737, + 725, + 742, + 740, + 734, + 731 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 815, + "character": 17 + } + ] + }, + { + "id": 388, + "name": "Session", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 391, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The access token jwt. It is recommended to set the JWT_EXPIRY to a shorter expiry value." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 146, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 393, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 142, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 390, + "name": "provider_refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The oauth provider refresh token. If present, this can be used to refresh the provider_token via the oauth provider's API.\nNot all oauth providers return a provider refresh token. If the provider_refresh_token is missing, please refer to the oauth provider's documentation for information on how to obtain the provider refresh token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 130, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 389, + "name": "provider_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The oauth provider token. If present, this can be used to make external API requests to the oauth provider used." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 392, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A one-time used refresh token that never expires." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 138, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 147, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 396, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 148, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 425, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 391, + 394, + 393, + 390, + 389, + 392, + 395, + 396 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 121, + "character": 17 + } + ] + }, + { + "id": 464, + "name": "Subscription", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 465, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The subscriber UUID. This will be set by the client." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 329, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "callback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 333, + "character": 2 + } + ], + "signatures": [ + { + "id": 467, + "name": "callback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "The function to call every time there is an event. eg: (eventName) => {}" + }, + "parameters": [ + { + "id": 468, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 327, + "name": "AuthChangeEvent" + } + }, + { + "id": 469, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 388, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 470, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 337, + "character": 2 + } + ], + "signatures": [ + { + "id": 471, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Call this to remove the listener." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 465 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 466, + 470 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 325, + "character": 17 + } + ] + }, + { + "id": 472, + "name": "UpdatableFactorAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 473, + "name": "friendlyName", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 473 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 340, + "character": 17 + } + ] + }, + { + "id": 425, + "name": "User", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 436, + "name": "action_link", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 427, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 418, + "name": "UserAppMetadata" + } + }, + { + "id": 429, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 233, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 432, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 225, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 441, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 234, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 447, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 240, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + }, + { + "id": 426, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 446, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 239, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 400, + "name": "UserIdentity" + } + } + }, + { + "id": 435, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 228, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 236, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 235, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 431, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 444, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 237, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 445, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 238, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 428, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 221, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 422, + "name": "UserMetadata" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 436, + 427, + 429, + 430, + 440, + 439, + 437, + 432, + 441, + 447, + 426, + 446, + 435, + 443, + 433, + 434, + 438, + 442, + 431, + 444, + 445, + 428 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 17 + } + ] + }, + { + "id": 418, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 419, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 210, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 419 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 209, + "character": 17 + } + ], + "indexSignature": { + "id": 420, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 421, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 448, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 453, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 272, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 449, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 247, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 452, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 257, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 450, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 252, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 453, + 449, + 452, + 451, + 450 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 17 + } + ] + }, + { + "id": 400, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 408, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 401, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 403, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 405, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 406, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 409, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 178, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 407, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 410, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 402, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 408, + 401, + 403, + 409, + 407, + 410, + 402 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 170, + "character": 17 + } + ] + }, + { + "id": 422, + "name": "UserMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, + "character": 17 + } + ], + "indexSignature": { + "id": 423, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 424, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 552, + "name": "VerifyEmailOtpParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 553, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 500, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 556, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 505, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 557, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 559, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 509, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 507, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 559, + 558 + ] + } + ] + } + } + }, + { + "id": 554, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The otp sent to the user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 502, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 555, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 504, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 561, + "name": "EmailOtpType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 553, + 556, + 554, + 555 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 498, + "character": 17 + } + ] + }, + { + "id": 544, + "name": "VerifyMobileOtpParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 548, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 486, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 549, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 551, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site.", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 495, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 550, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 488, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 551, + 550 + ] + } + ] + } + } + }, + { + "id": 545, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 481, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 546, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The otp sent to the user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 483, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 547, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 485, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 560, + "name": "MobileOtpType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 548, + 545, + 546, + 547 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 479, + "character": 17 + } + ] + }, + { + "id": 327, + "name": "AuthChangeEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, + { + "type": "literal", + "value": "PASSWORD_RECOVERY" + }, + { + "type": "literal", + "value": "SIGNED_IN" + }, + { + "type": "literal", + "value": "SIGNED_OUT" + }, + { + "type": "literal", + "value": "TOKEN_REFRESHED" + }, + { + "type": "literal", + "value": "USER_UPDATED" + }, + { + "type": "reference", + "id": 326, + "name": "AuthChangeEventMFA" + } + ] + } + }, + { + "id": 326, + "name": "AuthChangeEventMFA", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 24, + "character": 12 + } + ], + "type": { + "type": "literal", + "value": "MFA_CHALLENGE_VERIFIED" + } + }, + { + "id": 522, + "name": "AuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 447, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 753, + "name": "AuthMFAAdminDeleteFactorParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 894, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 754, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 755, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the MFA factor to delete." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 896, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 756, + "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": 899, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 755, + 756 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 894, + "character": 45 + } + ] + } + } + }, + { + "id": 744, + "name": "AuthMFAAdminDeleteFactorResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 745, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 746, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 883, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 748, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully deleted." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 885, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 748 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 883, + "character": 12 + } + ] + } + } + }, + { + "id": 749, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 887, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 746, + 749 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 882, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 750, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 751, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 752, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 751, + 752 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 766, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 918, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 767, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 768, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 920, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 768 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 918, + "character": 44 + } + ] + } + } + }, + { + "id": 757, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 905, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 758, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 759, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 907, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 760, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 761, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 909, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 761 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 907, + "character": 12 + } + ] + } + } + }, + { + "id": 762, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 911, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 759, + 762 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 906, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 763, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 764, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 765, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 764, + 765 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 692, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 758, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 693, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 694, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 760, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 695, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 697, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 765, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 696, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 762, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 697, + 696 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 760, + "character": 12 + } + ] + } + } + }, + { + "id": 698, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 767, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 694, + 698 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 759, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 699, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 700, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 769, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 701, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 769, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 700, + 701 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 769, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 668, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 715, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 669, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 670, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 671, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 719, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 674, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 729, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "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": 734, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 678, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 676, + 677, + 678 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 14 + } + ] + } + } + }, + { + "id": 673, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor. Only `totp` supported for now." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 672, + 674, + 673 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 670, + 679 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 716, + "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": 744, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 681, + 682 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 713, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 786, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 714, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 715, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 716, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 719, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 805, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 397, + "name": "AMREntry" + } + } + }, + { + "id": 717, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 790, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 718, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 798, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 719, + 717, + 718 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, + "character": 12 + } + ] + } + } + }, + { + "id": 720, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 807, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 715, + 720 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 787, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 721, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 722, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 723, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 722, + 723 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 702, + "name": "AuthMFAListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 771, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 703, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 704, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 706, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 775, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + }, + { + "id": 707, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 778, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 706, + 707 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 12 + } + ] + } + } + }, + { + "id": 708, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 780, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 704, + 708 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 772, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 709, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 710, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 711, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 710, + 711 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 683, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 748, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 750, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 687, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully unenrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 752, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 687 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 750, + "character": 12 + } + ] + } + } + }, + { + "id": 688, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 754, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 685, + 688 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 749, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 689, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 690, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 691, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 690, + 691 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 655, + "name": "AuthMFAVerifyResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 656, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 657, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 658, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 659, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "New access token (JWT) after successful verification." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 694, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 661, + "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": 700, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 662, + "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": 703, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 660, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of token, typically `Bearer`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 663, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Updated user profile." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 425, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 659, + 661, + 662, + 660, + 663 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 12 + } + ] + } + } + }, + { + "id": 664, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 708, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 657, + 664 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 691, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 665, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 666, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 667, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 712, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 666, + 667 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 710, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 342, + "name": "AuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 343, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 344, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 345, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 347, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 388, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 346, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 425, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 347, + 346 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 12 + } + ] + } + } + }, + { + "id": 348, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 344, + 348 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 57, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 349, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 350, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 65, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 353, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 352, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 353, + 352 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 65, + "character": 12 + } + ] + } + } + }, + { + "id": 354, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 350, + 354 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 64, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 712, + "name": "AuthenticatorAssuranceLevels", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 784, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "aal1" + }, + { + "type": "literal", + "value": "aal2" + } + ] + } + }, + { + "id": 780, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 959, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 781, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 783, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 962, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 782, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 961, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 388, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 783, + 782 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 960, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 784, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 786, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 966, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + }, + { + "id": 785, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 965, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 786, + 785 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 964, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 561, + "name": "EmailOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 514, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + }, + { + "type": "literal", + "value": "email_change" + }, + { + "type": "literal", + "value": "email" + } + ] + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 607, + 608, + 609, + 606 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 44 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 597, + 598, + 596 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 46 + } + ] + } + } + }, + { + "id": 613, + "name": "GenerateLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 601, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 588, + "name": "GenerateSignupLinkParams" + }, + { + "type": "reference", + "id": 594, + "name": "GenerateInviteOrMagiclinkParams" + }, + { + "type": "reference", + "id": 599, + "name": "GenerateRecoveryLinkParams" + }, + { + "type": "reference", + "id": 604, + "name": "GenerateEmailChangeLinkParams" + } + ] + } + }, + { + "id": 627, + "name": "GenerateLinkProperties", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The properties related to the email link generated" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 624, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 628, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 629, + "name": "action_link", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The email link to send to the user.\nThe action_link follows the following format: auth/v1/verify?type={verification_type}&token={hashed_token}&redirect_to={redirect_to}" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 629, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 630, + "name": "email_otp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The raw email OTP.\nYou should send this in the email if you want your users to verify using an OTP instead of the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 634, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 631, + "name": "hashed_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The hashed token appended to the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 638, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 632, + "name": "redirect_to", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL appended to the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 640, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 633, + "name": "verification_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The verification type that the email link is associated to." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 642, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 634, + "name": "GenerateLinkType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 629, + 630, + 631, + 632, + 633 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 624, + "character": 37 + } + ] + } + } + }, + { + "id": 614, + "name": "GenerateLinkResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 607, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 615, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 616, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 617, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 618, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 610, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 627, + "name": "GenerateLinkProperties" + } + }, + { + "id": 619, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 611, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 425, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 618, + 619 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 12 + } + ] + } + } + }, + { + "id": 620, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 613, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 616, + 620 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 608, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 617, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 625, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 624, + 625 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 12 + } + ] + } + } + }, + { + "id": 626, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 620, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 622, + 626 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 615, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 634, + "name": "GenerateLinkType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 645, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + }, + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + }, + { + "id": 599, + "name": "GenerateRecoveryLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 600, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 602, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 575, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 603, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 576, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 601, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 573, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 588, + "name": "GenerateSignupLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 589, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 591, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 560, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 593, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 562, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 559, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 328, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 329, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 337, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 336, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 340, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "Fetch" + } + }, + { + "id": 341, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 53, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 522, + "name": "AuthFlowType" + } + }, + { + "id": 331, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 332, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 12 + } + ], + "indexSignature": { + "id": 333, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 334, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 338, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 339, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 776, + "name": "SupportedStorage" + } + }, + { + "id": 335, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 330, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 337, + 336, + 340, + 341, + 331, + 338, + 339, + 335, + 330 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 34 + } + ] + } + } + }, + { + "id": 777, + "name": "InitializeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 957, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 778, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 779, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 957, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 804, + "name": "AuthError" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 779 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 957, + "character": 31 + } + ] + } + } + }, + { + "id": 651, + "name": "MFAChallengeAndVerifyParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 683, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 652, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 687, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 654, + 653 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 683, + "character": 42 + } + ] + } + } + }, + { + "id": 648, + "name": "MFAChallengeParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 649, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 650, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor to be challenged. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 650 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 33 + } + ] + } + } + }, + { + "id": 635, + "name": "MFAEnrollParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 636, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 637, + "name": "factorType", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of factor being enrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 655, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + }, + { + "id": 639, + "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": 659, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 638, + "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": 657, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 637, + 639, + 638 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 30 + } + ] + } + } + }, + { + "id": 640, + "name": "MFAUnenrollParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 662, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 641, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 642, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being unenrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 664, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 642 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 662, + "character": 32 + } + ] + } + } + }, + { + "id": 643, + "name": "MFAVerifyParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 646, + "name": "challengeId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 647, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 675, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 645, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 669, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 646, + 647, + 645 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 30 + } + ] + } + } + }, + { + "id": 560, + "name": "MobileOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 513, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 355, + "name": "OAuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 357, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 358, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 359, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 325, + "name": "Provider" + } + }, + { + "id": 360, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 359, + 360 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 12 + } + ] + } + } + }, + { + "id": 361, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 357, + 361 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 363, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 364, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 365, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 325, + "name": "Provider" + } + }, + { + "id": 366, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 365, + 366 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 12 + } + ] + } + } + }, + { + "id": 367, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 363, + 367 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 794, + "name": "PageParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 976, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 795, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 796, + "name": "page", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The page number" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 978, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 797, + "name": "perPage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of items returned per page" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 980, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 796, + 797 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 976, + "character": 25 + } + ] + } + } + }, + { + "id": 787, + "name": "Pagination", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 969, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 788, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 790, + "name": "lastPage", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 972, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 789, + "name": "nextPage", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 971, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 791, + "name": "total", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 973, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 790, + 789, + 791 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 969, + "character": 25 + } + ], + "indexSignature": { + "id": 792, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 793, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 325, + "name": "Provider", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "apple" + }, + { + "type": "literal", + "value": "azure" + }, + { + "type": "literal", + "value": "bitbucket" + }, + { + "type": "literal", + "value": "discord" + }, + { + "type": "literal", + "value": "facebook" + }, + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "gitlab" + }, + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "keycloak" + }, + { + "type": "literal", + "value": "linkedin" + }, + { + "type": "literal", + "value": "notion" + }, + { + "type": "literal", + "value": "slack" + }, + { + "type": "literal", + "value": "spotify" + }, + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" + }, + { + "type": "literal", + "value": "workos" + }, + { + "type": "literal", + "value": "zoom" + } + ] + } + }, + { + "id": 562, + "name": "ResendParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 516, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 563, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 565, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 519, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 566, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 520, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 567, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 568, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 522, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 568 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 520, + "character": 16 + } + ] + } + } + }, + { + "id": 564, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 518, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 561, + "name": "EmailOtpType" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "email_change" + } + ] + } + ], + "qualifiedName": "Extract", + "package": "typescript", + "name": "Extract" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 565, + 566, + 564 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 517, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 569, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 572, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 528, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 573, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 574, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 530, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 574 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 528, + "character": 16 + } + ] + } + } + }, + { + "id": 571, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 527, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 570, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 526, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 560, + "name": "MobileOtpType" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + ], + "qualifiedName": "Extract", + "package": "typescript", + "name": "Extract" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 572, + 571, + 570 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 525, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 368, + "name": "SSOResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 88, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 370, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 371, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 372, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.", + "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 98, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 372 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 12 + } + ] + } + } + }, + { + "id": 373, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 370, + 373 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 89, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 103, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 376, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 104, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 375, + 376 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 102, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 535, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 463, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 536, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 539, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce`, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 471, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 540, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 472, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 541, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 542, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 474, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 542 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 472, + "character": 12 + } + ] + } + } + }, + { + "id": 537, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only Apple and Google ID tokens are supported for use from within iOS or Android applications." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 467, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 538, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 469, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 539, + 540, + 537, + 538 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 463, + "character": 43 + } + ] + } + } + }, + { + "id": 523, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 448, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 524, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 526, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 451, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object of query params" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 457, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 457, + "character": 18 + } + ], + "indexSignature": { + "id": 532, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 533, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 528, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 453, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 455, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 534, + "name": "skipBrowserRedirect", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 530, + 528, + 529, + 534 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 451, + "character": 12 + } + ] + } + } + }, + { + "id": 525, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 325, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 526, + 525 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 448, + "character": 41 + } + ] + } + } + }, + { + "id": 491, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 381, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 492, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 493, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 384, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 495, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 387, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 497, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 389, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 497 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 387, + "character": 16 + } + ] + } + } + }, + { + "id": 494, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 493, + 495, + 494 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 382, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 498, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 501, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 397, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 502, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 504, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 405, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 503, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 403, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 504, + 503 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 397, + "character": 16 + } + ] + } + } + }, + { + "id": 500, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 396, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 394, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 501, + 500, + 499 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 392, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 505, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 409, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 507, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 412, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 509, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 513, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 425, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 510, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 511, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 417, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 513, + 512, + 510, + 511 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 507, + 508 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 410, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 514, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 516, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 431, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 517, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 520, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 441, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 521, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Messaging channel to use (e.g. whatsapp or sms)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 443, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 519, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 439, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 518, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 433, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 520, + 521, + 519, + 518 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 431, + "character": 16 + } + ] + } + } + }, + { + "id": 515, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 430, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 516, + 515 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 428, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 575, + "name": "SignInWithSSO", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 534, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 576, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 578, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 539, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 579, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 581, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 543, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 580, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL to send the user to after they have signed-in." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 541, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 581, + 580 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 539, + "character": 16 + } + ] + } + } + }, + { + "id": 577, + "name": "providerId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "UUID of the SSO provider to invoke single-sign on to." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 537, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 578, + 577 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 535, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 582, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 583, + "name": "domain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Domain name of the organization for which to invoke single-sign on." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 548, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 584, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 550, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 585, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 587, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 554, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 586, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL to send the user to after they have signed-in." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 552, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 587, + 586 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 550, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 583, + 584 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 474, + "name": "SignUpWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 475, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 476, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 478, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 479, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 482, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 481, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 358, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 480, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 482, + 481, + 480 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 16 + } + ] + } + } + }, + { + "id": 477, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 349, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 476, + 478, + 477 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 483, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 486, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 487, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 489, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 376, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Messaging channel to use (e.g. whatsapp or sms)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 488, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 374, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 489, + 490, + 488 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, + "character": 16 + } + ] + } + } + }, + { + "id": 485, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 367, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 484, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 365, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 486, + 485, + 484 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 776, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 955, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Storage", + "package": "typescript", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 377, + "name": "UserResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 107, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 379, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 109, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 380, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 381, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 110, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 425, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 381 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 109, + "character": 12 + } + ] + } + } + }, + { + "id": 382, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 112, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 379, + 382 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 108, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 384, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 115, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 385, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 386, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 116, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 386 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 115, + "character": 12 + } + ] + } + } + }, + { + "id": 387, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 118, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 384, + 387 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 114, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 543, + "name": "VerifyOtpParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 478, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 544, + "name": "VerifyMobileOtpParams" + }, + { + "type": "reference", + "id": 552, + "name": "VerifyEmailOtpParams" + } + ] + } + }, + { + "id": 801, + "name": "isAuthApiError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 34, + "character": 16 + } + ], + "signatures": [ + { + "id": 802, + "name": "isAuthApiError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 803, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 811, + "name": "AuthApiError" + } + } + } + ] + }, + { + "id": 798, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 799, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 800, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 811, + 804, + 872, + 859, + 897, + 922, + 847, + 824, + 832, + 1, + 77 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 397, + 454, + 411, + 610, + 769, + 724, + 388, + 464, + 472, + 425, + 418, + 448, + 400, + 422, + 552, + 544 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 327, + 326, + 522, + 753, + 744, + 766, + 757, + 692, + 668, + 713, + 702, + 683, + 655, + 342, + 712, + 780, + 561, + 604, + 594, + 613, + 627, + 614, + 634, + 599, + 588, + 328, + 777, + 651, + 648, + 635, + 640, + 643, + 560, + 355, + 794, + 787, + 325, + 562, + 368, + 535, + 523, + 491, + 505, + 575, + 474, + 776, + 377, + 543 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 801, + 798 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 31b7783a2d6..1df0bc85cf5 100644 --- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 807, + "id": 811, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 808, + "id": 812, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 809, + "id": 813, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 810, + "id": 814, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 811, + "id": 815, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -59,24 +59,24 @@ ], "type": { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 812, + "id": 816, "name": "status", "kind": 1024, "kindString": "Property", @@ -94,12 +94,12 @@ }, "overwrites": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } }, { - "id": 813, + "id": 817, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -113,7 +113,7 @@ ], "signatures": [ { - "id": 814, + "id": 818, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -121,14 +121,14 @@ "type": { "type": "reflection", "declaration": { - "id": 815, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 817, + "id": 821, "name": "message", "kind": 1024, "kindString": "Property", @@ -147,7 +147,7 @@ "defaultValue": "..." }, { - "id": 816, + "id": 820, "name": "name", "kind": 1024, "kindString": "Property", @@ -166,7 +166,7 @@ "defaultValue": "..." }, { - "id": 818, + "id": 822, "name": "status", "kind": 1024, "kindString": "Property", @@ -189,7 +189,11 @@ { "title": "Properties", "kind": 1024, - "children": [817, 816, 818] + "children": [ + 821, + 820, + 822 + ] } ] } @@ -202,17 +206,23 @@ { "title": "Constructors", "kind": 512, - "children": [808] + "children": [ + 812 + ] }, { "title": "Properties", "kind": 1024, - "children": [812] + "children": [ + 816 + ] }, { "title": "Methods", "kind": 2048, - "children": [813] + "children": [ + 817 + ] } ], "sources": [ @@ -225,20 +235,20 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] }, { - "id": 800, + "id": 804, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 801, + "id": 805, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -252,14 +262,14 @@ ], "signatures": [ { - "id": 802, + "id": 806, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 803, + "id": 807, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -270,7 +280,7 @@ } }, { - "id": 804, + "id": 808, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -285,7 +295,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" }, "overwrites": { @@ -300,7 +310,7 @@ } }, { - "id": 805, + "id": 809, "name": "status", "kind": 1024, "kindString": "Property", @@ -331,12 +341,16 @@ { "title": "Constructors", "kind": 512, - "children": [801] + "children": [ + 805 + ] }, { "title": "Properties", "kind": 1024, - "children": [805] + "children": [ + 809 + ] } ], "sources": [ @@ -357,30 +371,30 @@ "extendedBy": [ { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" }, { "type": "reference", - "id": 820, + "id": 824, "name": "AuthUnknownError" }, { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 869, + "id": 873, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -394,14 +408,14 @@ ], "signatures": [ { - "id": 870, + "id": 874, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 871, + "id": 875, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -412,7 +426,7 @@ } }, { - "id": 872, + "id": 876, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -427,14 +441,14 @@ { "type": "reflection", "declaration": { - "id": 873, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 875, + "id": 879, "name": "code", "kind": 1024, "kindString": "Property", @@ -452,7 +466,7 @@ } }, { - "id": 874, + "id": 878, "name": "error", "kind": 1024, "kindString": "Property", @@ -474,7 +488,10 @@ { "title": "Properties", "kind": 1024, - "children": [875, 874] + "children": [ + 879, + 878 + ] } ] } @@ -486,24 +503,24 @@ ], "type": { "type": "reference", - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 876, + "id": 880, "name": "details", "kind": 1024, "kindString": "Property", @@ -525,14 +542,14 @@ { "type": "reflection", "declaration": { - "id": 877, + "id": 881, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 879, + "id": 883, "name": "code", "kind": 1024, "kindString": "Property", @@ -550,7 +567,7 @@ } }, { - "id": 878, + "id": 882, "name": "error", "kind": 1024, "kindString": "Property", @@ -572,7 +589,10 @@ { "title": "Properties", "kind": 1024, - "children": [879, 878] + "children": [ + 883, + 882 + ] } ] } @@ -582,7 +602,7 @@ "defaultValue": "null" }, { - "id": 890, + "id": 894, "name": "name", "kind": 1024, "kindString": "Property", @@ -600,12 +620,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 891, + "id": 895, "name": "status", "kind": 1024, "kindString": "Property", @@ -623,12 +643,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 880, + "id": 884, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -642,7 +662,7 @@ ], "signatures": [ { - "id": 881, + "id": 885, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -650,14 +670,14 @@ "type": { "type": "reflection", "declaration": { - "id": 882, + "id": 886, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 886, + "id": 890, "name": "details", "kind": 1024, "kindString": "Property", @@ -679,14 +699,14 @@ { "type": "reflection", "declaration": { - "id": 887, + "id": 891, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 889, + "id": 893, "name": "code", "kind": 1024, "kindString": "Property", @@ -704,7 +724,7 @@ } }, { - "id": 888, + "id": 892, "name": "error", "kind": 1024, "kindString": "Property", @@ -726,7 +746,10 @@ { "title": "Properties", "kind": 1024, - "children": [889, 888] + "children": [ + 893, + 892 + ] } ] } @@ -736,7 +759,7 @@ "defaultValue": "..." }, { - "id": 884, + "id": 888, "name": "message", "kind": 1024, "kindString": "Property", @@ -755,7 +778,7 @@ "defaultValue": "..." }, { - "id": 883, + "id": 887, "name": "name", "kind": 1024, "kindString": "Property", @@ -774,7 +797,7 @@ "defaultValue": "..." }, { - "id": 885, + "id": 889, "name": "status", "kind": 1024, "kindString": "Property", @@ -797,21 +820,26 @@ { "title": "Properties", "kind": 1024, - "children": [886, 884, 883, 885] + "children": [ + 890, + 888, + 887, + 889 + ] } ] } }, "overwrites": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -820,17 +848,25 @@ { "title": "Constructors", "kind": 512, - "children": [869] + "children": [ + 873 + ] }, { "title": "Properties", "kind": 1024, - "children": [876, 890, 891] + "children": [ + 880, + 894, + 895 + ] }, { "title": "Methods", "kind": 2048, - "children": [880] + "children": [ + 884 + ] } ], "sources": [ @@ -843,20 +879,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 856, + "id": 860, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -870,14 +906,14 @@ ], "signatures": [ { - "id": 857, + "id": 861, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 858, + "id": 862, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -890,24 +926,24 @@ ], "type": { "type": "reference", - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 859, + "id": 863, "name": "name", "kind": 1024, "kindString": "Property", @@ -925,12 +961,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 860, + "id": 864, "name": "status", "kind": 1024, "kindString": "Property", @@ -948,12 +984,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 861, + "id": 865, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -967,7 +1003,7 @@ ], "signatures": [ { - "id": 862, + "id": 866, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -975,14 +1011,14 @@ "type": { "type": "reflection", "declaration": { - "id": 863, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 865, + "id": 869, "name": "message", "kind": 1024, "kindString": "Property", @@ -1001,7 +1037,7 @@ "defaultValue": "..." }, { - "id": 864, + "id": 868, "name": "name", "kind": 1024, "kindString": "Property", @@ -1020,7 +1056,7 @@ "defaultValue": "..." }, { - "id": 866, + "id": 870, "name": "status", "kind": 1024, "kindString": "Property", @@ -1043,21 +1079,25 @@ { "title": "Properties", "kind": 1024, - "children": [865, 864, 866] + "children": [ + 869, + 868, + 870 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -1066,17 +1106,24 @@ { "title": "Constructors", "kind": 512, - "children": [856] + "children": [ + 860 + ] }, { "title": "Properties", "kind": 1024, - "children": [859, 860] + "children": [ + 863, + 864 + ] }, { "title": "Methods", "kind": 2048, - "children": [861] + "children": [ + 865 + ] } ], "sources": [ @@ -1089,20 +1136,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 894, + "id": 898, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1116,14 +1163,14 @@ ], "signatures": [ { - "id": 895, + "id": 899, "name": "new AuthPKCEGrantCodeExchangeError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 896, + "id": 900, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1134,7 +1181,7 @@ } }, { - "id": 897, + "id": 901, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -1149,14 +1196,14 @@ { "type": "reflection", "declaration": { - "id": 898, + "id": 902, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 900, + "id": 904, "name": "code", "kind": 1024, "kindString": "Property", @@ -1174,7 +1221,7 @@ } }, { - "id": 899, + "id": 903, "name": "error", "kind": 1024, "kindString": "Property", @@ -1196,7 +1243,10 @@ { "title": "Properties", "kind": 1024, - "children": [900, 899] + "children": [ + 904, + 903 + ] } ] } @@ -1208,24 +1258,24 @@ ], "type": { "type": "reference", - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 901, + "id": 905, "name": "details", "kind": 1024, "kindString": "Property", @@ -1247,14 +1297,14 @@ { "type": "reflection", "declaration": { - "id": 902, + "id": 906, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 904, + "id": 908, "name": "code", "kind": 1024, "kindString": "Property", @@ -1272,7 +1322,7 @@ } }, { - "id": 903, + "id": 907, "name": "error", "kind": 1024, "kindString": "Property", @@ -1294,7 +1344,10 @@ { "title": "Properties", "kind": 1024, - "children": [904, 903] + "children": [ + 908, + 907 + ] } ] } @@ -1304,7 +1357,7 @@ "defaultValue": "null" }, { - "id": 915, + "id": 919, "name": "name", "kind": 1024, "kindString": "Property", @@ -1322,12 +1375,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 916, + "id": 920, "name": "status", "kind": 1024, "kindString": "Property", @@ -1345,12 +1398,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 905, + "id": 909, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1364,7 +1417,7 @@ ], "signatures": [ { - "id": 906, + "id": 910, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1372,14 +1425,14 @@ "type": { "type": "reflection", "declaration": { - "id": 907, + "id": 911, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 911, + "id": 915, "name": "details", "kind": 1024, "kindString": "Property", @@ -1401,14 +1454,14 @@ { "type": "reflection", "declaration": { - "id": 912, + "id": 916, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 914, + "id": 918, "name": "code", "kind": 1024, "kindString": "Property", @@ -1426,7 +1479,7 @@ } }, { - "id": 913, + "id": 917, "name": "error", "kind": 1024, "kindString": "Property", @@ -1448,7 +1501,10 @@ { "title": "Properties", "kind": 1024, - "children": [914, 913] + "children": [ + 918, + 917 + ] } ] } @@ -1458,7 +1514,7 @@ "defaultValue": "..." }, { - "id": 909, + "id": 913, "name": "message", "kind": 1024, "kindString": "Property", @@ -1477,7 +1533,7 @@ "defaultValue": "..." }, { - "id": 908, + "id": 912, "name": "name", "kind": 1024, "kindString": "Property", @@ -1496,7 +1552,7 @@ "defaultValue": "..." }, { - "id": 910, + "id": 914, "name": "status", "kind": 1024, "kindString": "Property", @@ -1519,21 +1575,26 @@ { "title": "Properties", "kind": 1024, - "children": [911, 909, 908, 910] + "children": [ + 915, + 913, + 912, + 914 + ] } ] } }, "overwrites": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -1542,17 +1603,25 @@ { "title": "Constructors", "kind": 512, - "children": [894] + "children": [ + 898 + ] }, { "title": "Properties", "kind": 1024, - "children": [901, 915, 916] + "children": [ + 905, + 919, + 920 + ] }, { "title": "Methods", "kind": 2048, - "children": [905] + "children": [ + 909 + ] } ], "sources": [ @@ -1565,20 +1634,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 918, + "id": 922, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 919, + "id": 923, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1592,14 +1661,14 @@ ], "signatures": [ { - "id": 920, + "id": 924, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 921, + "id": 925, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1610,7 +1679,7 @@ } }, { - "id": 922, + "id": 926, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1623,24 +1692,24 @@ ], "type": { "type": "reference", - "id": 918, + "id": 922, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 923, + "id": 927, "name": "name", "kind": 1024, "kindString": "Property", @@ -1658,12 +1727,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 924, + "id": 928, "name": "status", "kind": 1024, "kindString": "Property", @@ -1681,12 +1750,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 925, + "id": 929, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1700,7 +1769,7 @@ ], "signatures": [ { - "id": 926, + "id": 930, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1708,14 +1777,14 @@ "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 931, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 933, "name": "message", "kind": 1024, "kindString": "Property", @@ -1734,7 +1803,7 @@ "defaultValue": "..." }, { - "id": 928, + "id": 932, "name": "name", "kind": 1024, "kindString": "Property", @@ -1753,7 +1822,7 @@ "defaultValue": "..." }, { - "id": 930, + "id": 934, "name": "status", "kind": 1024, "kindString": "Property", @@ -1776,21 +1845,25 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928, 930] + "children": [ + 933, + 932, + 934 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -1799,17 +1872,24 @@ { "title": "Constructors", "kind": 512, - "children": [919] + "children": [ + 923 + ] }, { "title": "Properties", "kind": 1024, - "children": [923, 924] + "children": [ + 927, + 928 + ] }, { "title": "Methods", "kind": 2048, - "children": [925] + "children": [ + 929 + ] } ], "sources": [ @@ -1822,20 +1902,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 843, + "id": 847, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 844, + "id": 848, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1849,31 +1929,31 @@ ], "signatures": [ { - "id": 845, + "id": 849, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 843, + "id": 847, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 830, + "id": 834, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 829, + "id": 833, "name": "CustomAuthError.constructor" } }, { - "id": 846, + "id": 850, "name": "name", "kind": 1024, "kindString": "Property", @@ -1891,12 +1971,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 834, + "id": 838, "name": "CustomAuthError.name" } }, { - "id": 847, + "id": 851, "name": "status", "kind": 1024, "kindString": "Property", @@ -1914,12 +1994,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 835, + "id": 839, "name": "CustomAuthError.status" } }, { - "id": 848, + "id": 852, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1933,7 +2013,7 @@ ], "signatures": [ { - "id": 849, + "id": 853, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1941,14 +2021,14 @@ "type": { "type": "reflection", "declaration": { - "id": 850, + "id": 854, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 852, + "id": 856, "name": "message", "kind": 1024, "kindString": "Property", @@ -1967,7 +2047,7 @@ "defaultValue": "..." }, { - "id": 851, + "id": 855, "name": "name", "kind": 1024, "kindString": "Property", @@ -1986,7 +2066,7 @@ "defaultValue": "..." }, { - "id": 853, + "id": 857, "name": "status", "kind": 1024, "kindString": "Property", @@ -2009,21 +2089,25 @@ { "title": "Properties", "kind": 1024, - "children": [852, 851, 853] + "children": [ + 856, + 855, + 857 + ] } ] } }, "inheritedFrom": { "type": "reference", - "id": 837, + "id": 841, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 836, + "id": 840, "name": "CustomAuthError.toJSON" } } @@ -2032,17 +2116,24 @@ { "title": "Constructors", "kind": 512, - "children": [844] + "children": [ + 848 + ] }, { "title": "Properties", "kind": 1024, - "children": [846, 847] + "children": [ + 850, + 851 + ] }, { "title": "Methods", "kind": 2048, - "children": [848] + "children": [ + 852 + ] } ], "sources": [ @@ -2055,20 +2146,20 @@ "extendedTypes": [ { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" } ] }, { - "id": 820, + "id": 824, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 821, + "id": 825, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2082,14 +2173,14 @@ ], "signatures": [ { - "id": 822, + "id": 826, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 823, + "id": 827, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2100,7 +2191,7 @@ } }, { - "id": 824, + "id": 828, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2113,24 +2204,24 @@ ], "type": { "type": "reference", - "id": 820, + "id": 824, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 825, + "id": 829, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2148,7 +2239,7 @@ } }, { - "id": 826, + "id": 830, "name": "status", "kind": 1024, "kindString": "Property", @@ -2175,7 +2266,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } } @@ -2184,12 +2275,17 @@ { "title": "Constructors", "kind": 512, - "children": [821] + "children": [ + 825 + ] }, { "title": "Properties", "kind": 1024, - "children": [825, 826] + "children": [ + 829, + 830 + ] } ], "sources": [ @@ -2202,20 +2298,20 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] }, { - "id": 828, + "id": 832, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 829, + "id": 833, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2229,14 +2325,14 @@ ], "signatures": [ { - "id": 830, + "id": 834, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 831, + "id": 835, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2247,7 +2343,7 @@ } }, { - "id": 832, + "id": 836, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2258,7 +2354,7 @@ } }, { - "id": 833, + "id": 837, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2271,24 +2367,24 @@ ], "type": { "type": "reference", - "id": 828, + "id": 832, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 802, + "id": 806, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 801, + "id": 805, "name": "AuthError.constructor" } }, { - "id": 834, + "id": 838, "name": "name", "kind": 1024, "kindString": "Property", @@ -2310,7 +2406,7 @@ } }, { - "id": 835, + "id": 839, "name": "status", "kind": 1024, "kindString": "Property", @@ -2328,12 +2424,12 @@ }, "overwrites": { "type": "reference", - "id": 805, + "id": 809, "name": "AuthError.status" } }, { - "id": 836, + "id": 840, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -2347,7 +2443,7 @@ ], "signatures": [ { - "id": 837, + "id": 841, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -2355,14 +2451,14 @@ "type": { "type": "reflection", "declaration": { - "id": 838, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 840, + "id": 844, "name": "message", "kind": 1024, "kindString": "Property", @@ -2381,7 +2477,7 @@ "defaultValue": "..." }, { - "id": 839, + "id": 843, "name": "name", "kind": 1024, "kindString": "Property", @@ -2400,7 +2496,7 @@ "defaultValue": "..." }, { - "id": 841, + "id": 845, "name": "status", "kind": 1024, "kindString": "Property", @@ -2423,7 +2519,11 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839, 841] + "children": [ + 844, + 843, + 845 + ] } ] } @@ -2436,17 +2536,24 @@ { "title": "Constructors", "kind": 512, - "children": [829] + "children": [ + 833 + ] }, { "title": "Properties", "kind": 1024, - "children": [834, 835] + "children": [ + 838, + 839 + ] }, { "title": "Methods", "kind": 2048, - "children": [836] + "children": [ + 840 + ] } ], "sources": [ @@ -2459,34 +2566,34 @@ "extendedTypes": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 843, + "id": 847, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 855, + "id": 859, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 868, + "id": 872, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 893, + "id": 897, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 918, + "id": 922, "name": "AuthRetryableFetchError" } ] @@ -2696,7 +2803,11 @@ { "title": "Properties", "kind": 1024, - "children": [11, 7, 6] + "children": [ + 11, + 7, + 6 + ] } ] } @@ -2729,10 +2840,10 @@ ], "type": { "type": "reference", - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -2748,14 +2859,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -2775,17 +2886,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -2801,21 +2912,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -2826,7 +2937,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -2836,7 +2947,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -2847,7 +2958,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -2861,13 +2972,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -2882,7 +2996,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -2894,14 +3008,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -2911,17 +3025,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -2937,21 +3051,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -2962,7 +3076,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -2976,13 +3090,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -2997,7 +3113,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -3013,13 +3129,16 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] @@ -3058,17 +3177,17 @@ "flags": {}, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -3082,7 +3201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -3092,7 +3211,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -3106,7 +3225,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -3116,7 +3235,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -3143,7 +3262,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -3157,7 +3276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -3167,7 +3286,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -3194,7 +3341,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -3221,7 +3368,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -3235,7 +3382,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -3245,7 +3392,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -3259,7 +3406,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -3273,13 +3420,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -3289,7 +3446,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -3311,7 +3468,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -3381,7 +3538,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -3424,10 +3581,10 @@ "flags": {}, "type": { "type": "reference", - "id": 609, + "id": 613, "name": "GenerateLinkParams", "dereferenced": { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3435,7 +3592,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -3443,147 +3600,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -3594,25 +3615,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -3622,7 +3640,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -3641,7 +3659,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -3665,6 +3683,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -3676,6 +3712,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -3695,13 +3857,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -3709,123 +3875,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -3836,14 +3890,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -3864,28 +3918,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -3895,7 +3928,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -3904,7 +3937,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -3918,7 +3951,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -3930,6 +3963,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -3949,13 +4119,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -3973,7 +4148,7 @@ "typeArguments": [ { "type": "reference", - "id": 610, + "id": 614, "name": "GenerateLinkResponse" } ], @@ -4028,7 +4203,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -4146,7 +4321,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -4159,7 +4337,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -4208,10 +4386,10 @@ }, "type": { "type": "reference", - "id": 790, + "id": 794, "name": "PageParams", "dereferenced": { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -4219,21 +4397,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -4246,7 +4424,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -4256,7 +4434,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -4269,7 +4447,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -4283,13 +4461,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -4374,7 +4555,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -4384,14 +4565,17 @@ { "title": "Properties", "kind": 1024, - "children": [53, 52] + "children": [ + 53, + 52 + ] } ] } }, { "type": "reference", - "id": 783, + "id": 787, "name": "Pagination" } ] @@ -4420,7 +4604,10 @@ { "title": "Properties", "kind": 1024, - "children": [50, 54] + "children": [ + 50, + 54 + ] } ] } @@ -4478,7 +4665,9 @@ { "title": "Properties", "kind": 1024, - "children": [58] + "children": [ + 58 + ] } ] } @@ -4499,7 +4688,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -4508,7 +4697,10 @@ { "title": "Properties", "kind": 1024, - "children": [56, 59] + "children": [ + 56, + 59 + ] } ] } @@ -4614,7 +4806,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -4625,7 +4817,10 @@ { "title": "Properties", "kind": 1024, - "children": [31, 32] + "children": [ + 31, + 32 + ] } ] } @@ -4684,17 +4879,17 @@ }, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -4708,7 +4903,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -4718,7 +4913,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -4732,7 +4927,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -4742,7 +4937,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -4769,7 +4964,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -4783,7 +4978,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -4793,7 +4988,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -4820,7 +5043,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -4847,7 +5070,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -4861,7 +5084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -4871,7 +5094,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -4885,7 +5108,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -4899,13 +5122,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -4915,7 +5148,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -4937,7 +5170,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -4953,17 +5186,30 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [16] + "children": [ + 16 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 67, 40, 60, 33, 46, 27, 63] + "children": [ + 43, + 67, + 40, + 60, + 33, + 46, + 27, + 63 + ] } ], "sources": [ @@ -5013,10 +5259,10 @@ "flags": {}, "type": { "type": "reference", - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "dereferenced": { - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -5031,14 +5277,14 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 335, + "id": 337, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -5058,7 +5304,7 @@ } }, { - "id": 334, + "id": 336, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -5078,7 +5324,7 @@ } }, { - "id": 338, + "id": 340, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -5098,7 +5344,7 @@ } }, { - "id": 339, + "id": 341, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -5114,10 +5360,10 @@ ], "type": { "type": "reference", - "id": 518, + "id": 522, "name": "AuthFlowType", "dereferenced": { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -5125,7 +5371,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -5146,7 +5392,7 @@ } }, { - "id": 329, + "id": 331, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5163,7 +5409,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5176,14 +5422,14 @@ } ], "indexSignature": { - "id": 331, + "id": 333, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 332, + "id": 334, "name": "key", "kind": 32768, "flags": {}, @@ -5202,7 +5448,7 @@ } }, { - "id": 336, + "id": 338, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -5222,7 +5468,7 @@ } }, { - "id": 337, + "id": 339, "name": "storage", "kind": 1024, "kindString": "Property", @@ -5238,10 +5484,10 @@ ], "type": { "type": "reference", - "id": 772, + "id": 776, "name": "SupportedStorage", "dereferenced": { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -5249,7 +5495,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -5294,7 +5540,7 @@ } }, { - "id": 333, + "id": 335, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -5314,7 +5560,7 @@ } }, { - "id": 328, + "id": 330, "name": "url", "kind": 1024, "kindString": "Property", @@ -5338,7 +5584,17 @@ { "title": "Properties", "kind": 1024, - "children": [335, 334, 338, 339, 329, 336, 337, 333, 328] + "children": [ + 337, + 336, + 340, + 341, + 331, + 338, + 339, + 335, + 330 + ] } ], "sources": [ @@ -5587,7 +5843,11 @@ { "title": "Properties", "kind": 1024, - "children": [11, 7, 6] + "children": [ + 11, + 7, + 6 + ] } ] } @@ -5620,10 +5880,10 @@ ], "type": { "type": "reference", - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -5639,14 +5899,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -5666,17 +5926,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -5692,21 +5952,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -5717,7 +5977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -5727,7 +5987,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -5738,7 +5998,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -5752,13 +6012,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -5773,7 +6036,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -5785,14 +6048,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -5802,17 +6065,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -5828,21 +6091,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -5853,7 +6116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -5867,13 +6130,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -5888,7 +6153,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -5904,13 +6169,16 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] @@ -5949,17 +6217,17 @@ "flags": {}, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -5973,7 +6241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -5983,7 +6251,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -5997,7 +6265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -6007,7 +6275,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -6034,7 +6302,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -6048,7 +6316,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -6058,7 +6326,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -6085,7 +6381,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6112,7 +6408,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -6126,7 +6422,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -6136,7 +6432,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -6150,7 +6446,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -6164,13 +6460,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -6180,7 +6486,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -6202,7 +6508,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -6272,7 +6578,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -6315,10 +6621,10 @@ "flags": {}, "type": { "type": "reference", - "id": 609, + "id": 613, "name": "GenerateLinkParams", "dereferenced": { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -6326,7 +6632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -6334,147 +6640,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -6485,25 +6655,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -6513,7 +6680,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -6532,7 +6699,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -6556,6 +6723,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -6567,6 +6752,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -6586,13 +6897,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -6600,123 +6915,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -6727,14 +6930,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -6755,28 +6958,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -6786,7 +6968,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -6795,7 +6977,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -6809,7 +6991,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -6821,6 +7003,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -6840,13 +7159,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -6864,7 +7188,7 @@ "typeArguments": [ { "type": "reference", - "id": 610, + "id": 614, "name": "GenerateLinkResponse" } ], @@ -6919,7 +7243,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -7037,7 +7361,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -7050,7 +7377,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -7099,10 +7426,10 @@ }, "type": { "type": "reference", - "id": 790, + "id": 794, "name": "PageParams", "dereferenced": { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -7110,21 +7437,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -7137,7 +7464,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -7147,7 +7474,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -7160,7 +7487,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -7174,13 +7501,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -7265,7 +7595,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -7275,14 +7605,17 @@ { "title": "Properties", "kind": 1024, - "children": [53, 52] + "children": [ + 53, + 52 + ] } ] } }, { "type": "reference", - "id": 783, + "id": 787, "name": "Pagination" } ] @@ -7311,7 +7644,10 @@ { "title": "Properties", "kind": 1024, - "children": [50, 54] + "children": [ + 50, + 54 + ] } ] } @@ -7369,7 +7705,9 @@ { "title": "Properties", "kind": 1024, - "children": [58] + "children": [ + 58 + ] } ] } @@ -7390,7 +7728,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -7399,7 +7737,10 @@ { "title": "Properties", "kind": 1024, - "children": [56, 59] + "children": [ + 56, + 59 + ] } ] } @@ -7505,7 +7846,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -7516,7 +7857,10 @@ { "title": "Properties", "kind": 1024, - "children": [31, 32] + "children": [ + 31, + 32 + ] } ] } @@ -7575,17 +7919,17 @@ }, "type": { "type": "reference", - "id": 451, + "id": 454, "name": "AdminUserAttributes", "dereferenced": { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7599,7 +7943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -7609,7 +7953,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7623,7 +7967,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -7633,7 +7977,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -7660,7 +8004,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7674,7 +8018,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -7684,7 +8028,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -7711,7 +8083,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7738,7 +8110,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7752,7 +8124,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -7762,7 +8134,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7776,7 +8148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -7790,13 +8162,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -7806,7 +8188,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -7828,7 +8210,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -7844,17 +8226,30 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [16] + "children": [ + 16 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 67, 40, 60, 33, 46, 27, 63] + "children": [ + 43, + 67, + 40, + 60, + 33, + 46, + 27, + 63 + ] } ], "sources": [ @@ -7885,10 +8280,10 @@ ], "type": { "type": "reference", - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "dereferenced": { - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -7898,14 +8293,14 @@ }, "children": [ { - "id": 724, + "id": 728, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 725, + "id": 729, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -7915,17 +8310,17 @@ }, "parameters": [ { - "id": 726, + "id": 730, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 644, + "id": 648, "name": "MFAChallengeParams", "dereferenced": { - "id": 644, + "id": 648, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -7933,21 +8328,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 646, + "id": 650, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -7958,7 +8353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 680, "character": 2 } ], @@ -7972,13 +8367,15 @@ { "title": "Properties", "kind": 1024, - "children": [646] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -7993,7 +8390,7 @@ "typeArguments": [ { "type": "reference", - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse" } ], @@ -8005,14 +8402,14 @@ ] }, { - "id": 733, + "id": 737, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 734, + "id": 738, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -8022,17 +8419,17 @@ }, "parameters": [ { - "id": 735, + "id": 739, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -8040,21 +8437,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 654, "name": "code", "kind": 1024, "kindString": "Property", @@ -8065,7 +8462,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 680, + "line": 687, "character": 2 } ], @@ -8075,7 +8472,7 @@ } }, { - "id": 649, + "id": 653, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -8086,7 +8483,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 685, "character": 2 } ], @@ -8100,13 +8497,16 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 654, + 653 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 42 } ] @@ -8121,7 +8521,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -8133,14 +8533,14 @@ ] }, { - "id": 721, + "id": 725, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 722, + "id": 726, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -8151,17 +8551,17 @@ }, "parameters": [ { - "id": 723, + "id": 727, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 631, + "id": 635, "name": "MFAEnrollParams", "dereferenced": { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -8169,21 +8569,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -8194,7 +8594,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -8204,7 +8604,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -8217,7 +8617,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -8227,7 +8627,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -8240,7 +8640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 657, "character": 2 } ], @@ -8254,13 +8654,17 @@ { "title": "Properties", "kind": 1024, - "children": [633, 635, 634] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 30 } ] @@ -8275,7 +8679,7 @@ "typeArguments": [ { "type": "reference", - "id": 664, + "id": 668, "name": "AuthMFAEnrollResponse" } ], @@ -8287,14 +8691,14 @@ ] }, { - "id": 738, + "id": 742, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 739, + "id": 743, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -8308,7 +8712,7 @@ "typeArguments": [ { "type": "reference", - "id": 709, + "id": 713, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -8320,14 +8724,14 @@ ] }, { - "id": 736, + "id": 740, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 737, + "id": 741, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -8354,7 +8758,7 @@ "typeArguments": [ { "type": "reference", - "id": 698, + "id": 702, "name": "AuthMFAListFactorsResponse" } ], @@ -8366,14 +8770,14 @@ ] }, { - "id": 730, + "id": 734, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 731, + "id": 735, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -8383,17 +8787,17 @@ }, "parameters": [ { - "id": 732, + "id": 736, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "dereferenced": { - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -8401,21 +8805,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 637, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 638, + "id": 642, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -8426,7 +8830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 664, "character": 2 } ], @@ -8440,13 +8844,15 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 32 } ] @@ -8461,7 +8867,7 @@ "typeArguments": [ { "type": "reference", - "id": 679, + "id": 683, "name": "AuthMFAUnenrollResponse" } ], @@ -8473,14 +8879,14 @@ ] }, { - "id": 727, + "id": 731, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 728, + "id": 732, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -8490,17 +8896,17 @@ }, "parameters": [ { - "id": 729, + "id": 733, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 639, + "id": 643, "name": "MFAVerifyParams", "dereferenced": { - "id": 639, + "id": 643, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -8508,21 +8914,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 642, + "id": 646, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -8533,7 +8939,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 672, "character": 2 } ], @@ -8543,7 +8949,7 @@ } }, { - "id": 643, + "id": 647, "name": "code", "kind": 1024, "kindString": "Property", @@ -8554,7 +8960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 675, "character": 2 } ], @@ -8564,7 +8970,7 @@ } }, { - "id": 641, + "id": 645, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -8575,7 +8981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 669, "character": 2 } ], @@ -8589,13 +8995,17 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 646, + 647, + 645 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 30 } ] @@ -8610,7 +9020,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -8626,13 +9036,21 @@ { "title": "Methods", "kind": 2048, - "children": [724, 733, 721, 738, 736, 730, 727] + "children": [ + 728, + 737, + 725, + 742, + 740, + 734, + 731 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 815, "character": 17 } ] @@ -8680,7 +9098,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -8692,7 +9110,7 @@ ] }, { - "id": 139, + "id": 141, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -8700,13 +9118,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 667, + "line": 693, "character": 8 } ], "signatures": [ { - "id": 140, + "id": 142, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -8723,14 +9141,14 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 142, + "id": 144, "name": "data", "kind": 1024, "kindString": "Property", @@ -8738,21 +9156,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 669, + "line": 695, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 143, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 146, "name": "session", "kind": 1024, "kindString": "Property", @@ -8760,13 +9178,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 670, + "line": 696, "character": 10 } ], "type": { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } } @@ -8775,14 +9193,16 @@ { "title": "Properties", "kind": 1024, - "children": [144] + "children": [ + 146 + ] } ] } } }, { - "id": 145, + "id": 147, "name": "error", "kind": 1024, "kindString": "Property", @@ -8790,7 +9210,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 672, + "line": 698, "character": 8 } ], @@ -8804,7 +9224,10 @@ { "title": "Properties", "kind": 1024, - "children": [142, 145] + "children": [ + 144, + 147 + ] } ] } @@ -8812,14 +9235,14 @@ { "type": "reflection", "declaration": { - "id": 146, + "id": 148, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 149, "name": "data", "kind": 1024, "kindString": "Property", @@ -8827,21 +9250,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 675, + "line": 701, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 151, "name": "session", "kind": 1024, "kindString": "Property", @@ -8849,7 +9272,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 676, + "line": 702, "character": 10 } ], @@ -8863,14 +9286,16 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [ + 151 + ] } ] } } }, { - "id": 150, + "id": 152, "name": "error", "kind": 1024, "kindString": "Property", @@ -8878,13 +9303,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 678, + "line": 704, "character": 8 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -8893,7 +9318,10 @@ { "title": "Properties", "kind": 1024, - "children": [147, 150] + "children": [ + 149, + 152 + ] } ] } @@ -8901,14 +9329,14 @@ { "type": "reflection", "declaration": { - "id": 151, + "id": 153, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 152, + "id": 154, "name": "data", "kind": 1024, "kindString": "Property", @@ -8916,21 +9344,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 681, + "line": 707, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 154, + "id": 156, "name": "session", "kind": 1024, "kindString": "Property", @@ -8938,7 +9366,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 682, + "line": 708, "character": 10 } ], @@ -8952,14 +9380,16 @@ { "title": "Properties", "kind": 1024, - "children": [154] + "children": [ + 156 + ] } ] } } }, { - "id": 155, + "id": 157, "name": "error", "kind": 1024, "kindString": "Property", @@ -8967,7 +9397,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 684, + "line": 710, "character": 8 } ], @@ -8981,7 +9411,10 @@ { "title": "Properties", "kind": 1024, - "children": [152, 155] + "children": [ + 154, + 157 + ] } ] } @@ -8997,7 +9430,7 @@ ] }, { - "id": 156, + "id": 158, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -9005,13 +9438,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 730, + "line": 756, "character": 8 } ], "signatures": [ { - "id": 157, + "id": 159, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -9021,7 +9454,7 @@ }, "parameters": [ { - "id": 158, + "id": 160, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9042,7 +9475,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -9081,7 +9514,7 @@ "typeArguments": [ { "type": "reference", - "id": 773, + "id": 777, "name": "InitializeResult" } ], @@ -9093,7 +9526,7 @@ ] }, { - "id": 206, + "id": 208, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -9101,13 +9534,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1045, + "line": 1071, "character": 2 } ], "signatures": [ { - "id": 207, + "id": 209, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -9117,7 +9550,7 @@ }, "parameters": [ { - "id": 208, + "id": 210, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -9128,33 +9561,33 @@ "type": { "type": "reflection", "declaration": { - "id": 209, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 210, + "id": 212, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 213, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent" } }, { - "id": 212, + "id": 214, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9168,7 +9601,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -9188,14 +9621,14 @@ "type": { "type": "reflection", "declaration": { - "id": 213, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 214, + "id": 216, "name": "data", "kind": 1024, "kindString": "Property", @@ -9203,21 +9636,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1072, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 217, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 218, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -9225,23 +9658,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1046, + "line": 1072, "character": 12 } ], "type": { "type": "reference", - "id": 460, + "id": 464, "name": "Subscription", "dereferenced": { - "id": 460, + "id": 464, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 461, + "id": 465, "name": "id", "kind": 1024, "kindString": "Property", @@ -9252,7 +9685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 322, + "line": 329, "character": 2 } ], @@ -9262,7 +9695,7 @@ } }, { - "id": 462, + "id": 466, "name": "callback", "kind": 2048, "kindString": "Method", @@ -9270,13 +9703,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 333, "character": 2 } ], "signatures": [ { - "id": 463, + "id": 467, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -9286,17 +9719,17 @@ }, "parameters": [ { - "id": 464, + "id": 468, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent", "dereferenced": { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -9336,7 +9769,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -9359,7 +9792,7 @@ } }, { - "id": 465, + "id": 469, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9373,7 +9806,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -9388,7 +9821,7 @@ ] }, { - "id": 466, + "id": 470, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -9396,13 +9829,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 337, "character": 2 } ], "signatures": [ { - "id": 467, + "id": 471, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -9422,18 +9855,23 @@ { "title": "Properties", "kind": 1024, - "children": [461] + "children": [ + 465 + ] }, { "title": "Methods", "kind": 2048, - "children": [462, 466] + "children": [ + 466, + 470 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 318, + "line": 325, "character": 17 } ] @@ -9445,7 +9883,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 218 + ] } ] } @@ -9456,7 +9896,9 @@ { "title": "Properties", "kind": 1024, - "children": [214] + "children": [ + 216 + ] } ] } @@ -9465,7 +9907,46 @@ ] }, { - "id": 178, + "id": 136, + "name": "reauthenticate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 626, + "character": 8 + } + ], + "signatures": [ + { + "id": 137, + "name": "reauthenticate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a reauthentication OTP to the user's email or phone number.\nRequires the user to be signed-in." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 342, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 180, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -9473,13 +9954,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 876, + "line": 902, "character": 8 } ], "signatures": [ { - "id": 179, + "id": 181, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -9489,7 +9970,7 @@ }, "parameters": [ { - "id": 180, + "id": 182, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -9502,14 +9983,14 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 183, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 182, + "id": 184, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -9517,7 +9998,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 876, + "line": 902, "character": 42 } ], @@ -9531,7 +10012,9 @@ { "title": "Properties", "kind": 1024, - "children": [182] + "children": [ + 184 + ] } ] } @@ -9543,7 +10026,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -9555,7 +10038,7 @@ ] }, { - "id": 136, + "id": 138, "name": "resend", "kind": 2048, "kindString": "Method", @@ -9563,13 +10046,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 625, + "line": 651, "character": 8 } ], "signatures": [ { - "id": 137, + "id": 139, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -9579,17 +10062,17 @@ }, "parameters": [ { - "id": 138, + "id": 140, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 558, + "id": 562, "name": "ResendParams", "dereferenced": { - "id": 558, + "id": 562, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -9597,7 +10080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 516, "character": 12 } ], @@ -9607,14 +10090,14 @@ { "type": "reflection", "declaration": { - "id": 559, + "id": 563, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 565, "name": "email", "kind": 1024, "kindString": "Property", @@ -9622,7 +10105,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 519, "character": 6 } ], @@ -9632,7 +10115,7 @@ } }, { - "id": 562, + "id": 566, "name": "options", "kind": 1024, "kindString": "Property", @@ -9642,21 +10125,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 563, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 564, + "id": 568, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9669,7 +10152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 522, "character": 8 } ], @@ -9683,13 +10166,15 @@ { "title": "Properties", "kind": 1024, - "children": [564] + "children": [ + 568 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 16 } ] @@ -9697,7 +10182,7 @@ } }, { - "id": 560, + "id": 564, "name": "type", "kind": 1024, "kindString": "Property", @@ -9705,7 +10190,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 518, "character": 6 } ], @@ -9714,7 +10199,7 @@ "typeArguments": [ { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType" }, { @@ -9741,13 +10226,17 @@ { "title": "Properties", "kind": 1024, - "children": [561, 562, 560] + "children": [ + 565, + 566, + 564 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 517, "character": 4 } ] @@ -9756,14 +10245,14 @@ { "type": "reflection", "declaration": { - "id": 565, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 572, "name": "options", "kind": 1024, "kindString": "Property", @@ -9773,21 +10262,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 570, + "id": 574, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9800,7 +10289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 523, + "line": 530, "character": 8 } ], @@ -9814,13 +10303,15 @@ { "title": "Properties", "kind": 1024, - "children": [570] + "children": [ + 574 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 16 } ] @@ -9828,7 +10319,7 @@ } }, { - "id": 567, + "id": 571, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9836,7 +10327,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 527, "character": 6 } ], @@ -9846,7 +10337,7 @@ } }, { - "id": 566, + "id": 570, "name": "type", "kind": 1024, "kindString": "Property", @@ -9854,7 +10345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 526, "character": 6 } ], @@ -9863,7 +10354,7 @@ "typeArguments": [ { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType" }, { @@ -9875,7 +10366,7 @@ }, { "type": "literal", - "value": "phone" + "value": "phone_change" } ] } @@ -9890,13 +10381,17 @@ { "title": "Properties", "kind": 1024, - "children": [568, 567, 566] + "children": [ + 572, + 571, + 570 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 525, "character": 4 } ] @@ -9913,7 +10408,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -9925,7 +10420,7 @@ ] }, { - "id": 220, + "id": 222, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -9933,13 +10428,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1085, + "line": 1111, "character": 8 } ], "signatures": [ { - "id": 221, + "id": 223, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -9949,7 +10444,7 @@ }, "parameters": [ { - "id": 222, + "id": 224, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9963,7 +10458,7 @@ } }, { - "id": 223, + "id": 225, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9971,14 +10466,14 @@ "type": { "type": "reflection", "declaration": { - "id": 224, + "id": 226, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 226, + "id": 228, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9991,7 +10486,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1089, + "line": 1115, "character": 6 } ], @@ -10001,7 +10496,7 @@ } }, { - "id": 225, + "id": 227, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10014,7 +10509,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1088, + "line": 1114, "character": 6 } ], @@ -10028,7 +10523,10 @@ { "title": "Properties", "kind": 1024, - "children": [226, 225] + "children": [ + 228, + 227 + ] } ] } @@ -10045,14 +10543,14 @@ { "type": "reflection", "declaration": { - "id": 227, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 228, + "id": 230, "name": "data", "kind": 1024, "kindString": "Property", @@ -10060,14 +10558,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1093, + "line": 1119, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10076,7 +10574,7 @@ } }, { - "id": 230, + "id": 232, "name": "error", "kind": 1024, "kindString": "Property", @@ -10084,7 +10582,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1094, + "line": 1120, "character": 8 } ], @@ -10098,7 +10596,10 @@ { "title": "Properties", "kind": 1024, - "children": [228, 230] + "children": [ + 230, + 232 + ] } ] } @@ -10106,14 +10607,14 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 232, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -10121,7 +10622,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1096, + "line": 1122, "character": 8 } ], @@ -10131,7 +10632,7 @@ } }, { - "id": 233, + "id": 235, "name": "error", "kind": 1024, "kindString": "Property", @@ -10139,13 +10640,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1096, + "line": 1122, "character": 20 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -10154,7 +10655,10 @@ { "title": "Properties", "kind": 1024, - "children": [232, 233] + "children": [ + 234, + 235 + ] } ] } @@ -10170,7 +10674,7 @@ ] }, { - "id": 172, + "id": 174, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -10178,13 +10682,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 812, + "line": 838, "character": 8 } ], "signatures": [ { - "id": 173, + "id": 175, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -10194,7 +10698,7 @@ }, "parameters": [ { - "id": 174, + "id": 176, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -10205,14 +10709,14 @@ "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 176, + "id": 178, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -10220,7 +10724,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 813, + "line": 839, "character": 4 } ], @@ -10230,7 +10734,7 @@ } }, { - "id": 177, + "id": 179, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -10238,7 +10742,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 814, + "line": 840, "character": 4 } ], @@ -10252,7 +10756,10 @@ { "title": "Properties", "kind": 1024, - "children": [176, 177] + "children": [ + 178, + 179 + ] } ] } @@ -10264,7 +10771,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -10313,10 +10820,10 @@ "flags": {}, "type": { "type": "reference", - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10324,21 +10831,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 535, + "id": 539, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -10351,7 +10858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 464, + "line": 471, "character": 2 } ], @@ -10361,7 +10868,7 @@ } }, { - "id": 536, + "id": 540, "name": "options", "kind": 1024, "kindString": "Property", @@ -10371,21 +10878,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 537, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 538, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10398,7 +10905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 474, "character": 4 } ], @@ -10412,13 +10919,15 @@ { "title": "Properties", "kind": 1024, - "children": [538] + "children": [ + 542 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 12 } ] @@ -10426,7 +10935,7 @@ } }, { - "id": 533, + "id": 537, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10437,7 +10946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 460, + "line": 467, "character": 2 } ], @@ -10456,7 +10965,7 @@ } }, { - "id": 534, + "id": 538, "name": "token", "kind": 1024, "kindString": "Property", @@ -10467,7 +10976,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 462, + "line": 469, "character": 2 } ], @@ -10481,13 +10990,18 @@ { "title": "Properties", "kind": 1024, - "children": [535, 536, 533, 534] + "children": [ + 539, + 540, + 537, + 538 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 43 } ] @@ -10502,7 +11016,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -10545,10 +11059,10 @@ "flags": {}, "type": { "type": "reference", - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10556,21 +11070,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 526, "name": "options", "kind": 1024, "kindString": "Property", @@ -10580,21 +11094,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 523, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 530, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -10607,14 +11121,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 527, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10622,19 +11136,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 18 } ], "indexSignature": { - "id": 528, + "id": 532, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 529, + "id": 533, "name": "key", "kind": 32768, "flags": {}, @@ -10653,7 +11167,7 @@ } }, { - "id": 524, + "id": 528, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10666,7 +11180,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 446, + "line": 453, "character": 4 } ], @@ -10676,7 +11190,7 @@ } }, { - "id": 525, + "id": 529, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -10689,7 +11203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 455, "character": 4 } ], @@ -10699,7 +11213,7 @@ } }, { - "id": 530, + "id": 534, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -10712,7 +11226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 452, + "line": 459, "character": 4 } ], @@ -10726,13 +11240,18 @@ { "title": "Properties", "kind": 1024, - "children": [526, 524, 525, 530] + "children": [ + 530, + 528, + 529, + 534 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 12 } ] @@ -10740,7 +11259,7 @@ } }, { - "id": 521, + "id": 525, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10751,16 +11270,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 443, + "line": 450, "character": 2 } ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider", "dereferenced": { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -10856,13 +11375,16 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [ + 526, + 525 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 41 } ] @@ -10877,7 +11399,7 @@ "typeArguments": [ { "type": "reference", - "id": 353, + "id": 355, "name": "OAuthResponse" } ], @@ -10921,10 +11443,10 @@ "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 505, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 501, + "id": 505, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10932,7 +11454,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 402, + "line": 409, "character": 12 } ], @@ -10942,14 +11464,14 @@ { "type": "reflection", "declaration": { - "id": 502, + "id": 506, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 503, + "id": 507, "name": "email", "kind": 1024, "kindString": "Property", @@ -10960,7 +11482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 412, "character": 6 } ], @@ -10970,7 +11492,7 @@ } }, { - "id": 504, + "id": 508, "name": "options", "kind": 1024, "kindString": "Property", @@ -10980,21 +11502,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 509, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 513, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11007,7 +11529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 425, "character": 8 } ], @@ -11017,7 +11539,7 @@ } }, { - "id": 508, + "id": 512, "name": "data", "kind": 1024, "kindString": "Property", @@ -11031,7 +11553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 423, "character": 8 } ], @@ -11041,7 +11563,7 @@ } }, { - "id": 506, + "id": 510, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -11054,7 +11576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 408, + "line": 415, "character": 8 } ], @@ -11064,7 +11586,7 @@ } }, { - "id": 507, + "id": 511, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -11077,7 +11599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 410, + "line": 417, "character": 8 } ], @@ -11091,13 +11613,18 @@ { "title": "Properties", "kind": 1024, - "children": [509, 508, 506, 507] + "children": [ + 513, + 512, + 510, + 511 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 16 } ] @@ -11109,13 +11636,16 @@ { "title": "Properties", "kind": 1024, - "children": [503, 504] + "children": [ + 507, + 508 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 410, "character": 4 } ] @@ -11124,14 +11654,14 @@ { "type": "reflection", "declaration": { - "id": 510, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -11141,21 +11671,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 520, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11168,7 +11698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 434, + "line": 441, "character": 8 } ], @@ -11178,7 +11708,7 @@ } }, { - "id": 517, + "id": 521, "name": "channel", "kind": 1024, "kindString": "Property", @@ -11191,7 +11721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 436, + "line": 443, "character": 8 } ], @@ -11210,7 +11740,7 @@ } }, { - "id": 515, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -11224,7 +11754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 432, + "line": 439, "character": 8 } ], @@ -11234,7 +11764,7 @@ } }, { - "id": 514, + "id": 518, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -11247,7 +11777,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 433, "character": 8 } ], @@ -11261,13 +11791,18 @@ { "title": "Properties", "kind": 1024, - "children": [516, 517, 515, 514] + "children": [ + 520, + 521, + 519, + 518 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 16 } ] @@ -11275,7 +11810,7 @@ } }, { - "id": 511, + "id": 515, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11286,7 +11821,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 423, + "line": 430, "character": 6 } ], @@ -11300,13 +11835,16 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [ + 516, + 515 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 428, "character": 4 } ] @@ -11323,7 +11861,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -11367,10 +11905,10 @@ "flags": {}, "type": { "type": "reference", - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11378,7 +11916,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 374, + "line": 381, "character": 12 } ], @@ -11388,14 +11926,14 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 492, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 493, "name": "email", "kind": 1024, "kindString": "Property", @@ -11406,7 +11944,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 384, "character": 6 } ], @@ -11416,7 +11954,7 @@ } }, { - "id": 491, + "id": 495, "name": "options", "kind": 1024, "kindString": "Property", @@ -11426,21 +11964,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 387, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 497, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11453,7 +11991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 389, "character": 8 } ], @@ -11467,13 +12005,15 @@ { "title": "Properties", "kind": 1024, - "children": [493] + "children": [ + 497 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 387, "character": 16 } ] @@ -11481,7 +12021,7 @@ } }, { - "id": 490, + "id": 494, "name": "password", "kind": 1024, "kindString": "Property", @@ -11492,7 +12032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 379, + "line": 386, "character": 6 } ], @@ -11506,13 +12046,17 @@ { "title": "Properties", "kind": 1024, - "children": [489, 491, 490] + "children": [ + 493, + 495, + 494 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 382, "character": 4 } ] @@ -11521,14 +12065,14 @@ { "type": "reflection", "declaration": { - "id": 494, + "id": 498, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 497, + "id": 501, "name": "options", "kind": 1024, "kindString": "Property", @@ -11538,21 +12082,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 390, + "line": 397, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 498, + "id": 502, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 500, + "id": 504, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11565,7 +12109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 405, "character": 8 } ], @@ -11575,7 +12119,7 @@ } }, { - "id": 499, + "id": 503, "name": "data", "kind": 1024, "kindString": "Property", @@ -11589,7 +12133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 396, + "line": 403, "character": 8 } ], @@ -11603,13 +12147,16 @@ { "title": "Properties", "kind": 1024, - "children": [500, 499] + "children": [ + 504, + 503 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 390, + "line": 397, "character": 16 } ] @@ -11617,7 +12164,7 @@ } }, { - "id": 496, + "id": 500, "name": "password", "kind": 1024, "kindString": "Property", @@ -11628,7 +12175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 389, + "line": 396, "character": 6 } ], @@ -11638,7 +12185,7 @@ } }, { - "id": 495, + "id": 499, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11649,7 +12196,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 394, "character": 6 } ], @@ -11663,13 +12210,17 @@ { "title": "Properties", "kind": 1024, - "children": [497, 496, 495] + "children": [ + 501, + 500, + 499 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 392, "character": 4 } ] @@ -11686,7 +12237,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -11730,10 +12281,10 @@ "flags": {}, "type": { "type": "reference", - "id": 571, + "id": 575, "name": "SignInWithSSO", "dereferenced": { - "id": 571, + "id": 575, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -11741,7 +12292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 534, "character": 12 } ], @@ -11751,14 +12302,14 @@ { "type": "reflection", "declaration": { - "id": 572, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 574, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -11768,21 +12319,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 577, + "id": 581, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11795,7 +12346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 543, "character": 8 } ], @@ -11805,7 +12356,7 @@ } }, { - "id": 576, + "id": 580, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11818,7 +12369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 534, + "line": 541, "character": 8 } ], @@ -11832,13 +12383,16 @@ { "title": "Properties", "kind": 1024, - "children": [577, 576] + "children": [ + 581, + 580 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 16 } ] @@ -11846,7 +12400,7 @@ } }, { - "id": 573, + "id": 577, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -11857,7 +12411,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 537, "character": 6 } ], @@ -11871,13 +12425,16 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573] + "children": [ + 578, + 577 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 535, "character": 4 } ] @@ -11886,14 +12443,14 @@ { "type": "reflection", "declaration": { - "id": 578, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 583, "name": "domain", "kind": 1024, "kindString": "Property", @@ -11904,7 +12461,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 541, + "line": 548, "character": 6 } ], @@ -11914,7 +12471,7 @@ } }, { - "id": 580, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -11924,21 +12481,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 587, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11951,7 +12508,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 554, "character": 8 } ], @@ -11961,7 +12518,7 @@ } }, { - "id": 582, + "id": 586, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11974,7 +12531,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 545, + "line": 552, "character": 8 } ], @@ -11988,13 +12545,16 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [ + 587, + 586 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 16 } ] @@ -12006,13 +12566,16 @@ { "title": "Properties", "kind": 1024, - "children": [579, 580] + "children": [ + 583, + 584 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 546, "character": 4 } ] @@ -12029,7 +12592,7 @@ "typeArguments": [ { "type": "reference", - "id": 366, + "id": 368, "name": "SSOResponse" } ], @@ -12041,7 +12604,7 @@ ] }, { - "id": 202, + "id": 204, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -12049,13 +12612,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1019, + "line": 1045, "character": 8 } ], "signatures": [ { - "id": 203, + "id": 205, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -12070,14 +12633,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 205, + "id": 207, "name": "error", "kind": 1024, "kindString": "Property", @@ -12085,7 +12648,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1019, + "line": 1045, "character": 29 } ], @@ -12098,7 +12661,7 @@ }, { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } ] @@ -12109,7 +12672,9 @@ { "title": "Properties", "kind": 1024, - "children": [205] + "children": [ + 207 + ] } ] } @@ -12156,10 +12721,10 @@ "flags": {}, "type": { "type": "reference", - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12167,7 +12732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 337, + "line": 344, "character": 12 } ], @@ -12177,14 +12742,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 475, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 476, "name": "email", "kind": 1024, "kindString": "Property", @@ -12195,7 +12760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 340, + "line": 347, "character": 6 } ], @@ -12205,7 +12770,7 @@ } }, { - "id": 474, + "id": 478, "name": "options", "kind": 1024, "kindString": "Property", @@ -12215,21 +12780,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 475, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 482, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12242,7 +12807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 353, + "line": 360, "character": 8 } ], @@ -12252,7 +12817,7 @@ } }, { - "id": 477, + "id": 481, "name": "data", "kind": 1024, "kindString": "Property", @@ -12266,7 +12831,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 358, "character": 8 } ], @@ -12276,7 +12841,7 @@ } }, { - "id": 476, + "id": 480, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12289,7 +12854,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 345, + "line": 352, "character": 8 } ], @@ -12303,13 +12868,17 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 476] + "children": [ + 482, + 481, + 480 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 16 } ] @@ -12317,7 +12886,7 @@ } }, { - "id": 473, + "id": 477, "name": "password", "kind": 1024, "kindString": "Property", @@ -12328,7 +12897,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 349, "character": 6 } ], @@ -12342,13 +12911,17 @@ { "title": "Properties", "kind": 1024, - "children": [472, 474, 473] + "children": [ + 476, + 478, + 477 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 345, "character": 4 } ] @@ -12357,14 +12930,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 483, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 482, + "id": 486, "name": "options", "kind": 1024, "kindString": "Property", @@ -12374,21 +12947,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 489, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12401,7 +12974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 376, "character": 8 } ], @@ -12411,7 +12984,7 @@ } }, { - "id": 486, + "id": 490, "name": "channel", "kind": 1024, "kindString": "Property", @@ -12424,7 +12997,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 371, + "line": 378, "character": 8 } ], @@ -12443,7 +13016,7 @@ } }, { - "id": 484, + "id": 488, "name": "data", "kind": 1024, "kindString": "Property", @@ -12457,7 +13030,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 367, + "line": 374, "character": 8 } ], @@ -12471,13 +13044,17 @@ { "title": "Properties", "kind": 1024, - "children": [485, 486, 484] + "children": [ + 489, + 490, + 488 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 16 } ] @@ -12485,7 +13062,7 @@ } }, { - "id": 481, + "id": 485, "name": "password", "kind": 1024, "kindString": "Property", @@ -12496,7 +13073,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 367, "character": 6 } ], @@ -12506,7 +13083,7 @@ } }, { - "id": 480, + "id": 484, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12517,7 +13094,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 365, "character": 6 } ], @@ -12531,13 +13108,17 @@ { "title": "Properties", "kind": 1024, - "children": [482, 481, 480] + "children": [ + 486, + 485, + 484 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 363, "character": 4 } ] @@ -12554,7 +13135,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -12566,7 +13147,7 @@ ] }, { - "id": 282, + "id": 284, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -12574,20 +13155,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1389, + "line": 1415, "character": 8 } ], "signatures": [ { - "id": 283, + "id": 285, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.", - "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" + "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n" }, "type": { "type": "reference", @@ -12605,7 +13186,7 @@ ] }, { - "id": 284, + "id": 286, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -12613,13 +13194,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1402, + "line": 1428, "character": 8 } ], "signatures": [ { - "id": 285, + "id": 287, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -12644,7 +13225,7 @@ ] }, { - "id": 159, + "id": 161, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -12652,13 +13233,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 759, + "line": 785, "character": 8 } ], "signatures": [ { - "id": 160, + "id": 162, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -12668,24 +13249,24 @@ }, "parameters": [ { - "id": 161, + "id": 163, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes", "dereferenced": { - "id": 446, + "id": 448, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 450, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -12699,7 +13280,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 265, + "line": 272, "character": 2 } ], @@ -12709,7 +13290,7 @@ } }, { - "id": 447, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -12732,7 +13313,31 @@ } }, { - "id": 449, + "id": 452, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -12755,7 +13360,7 @@ } }, { - "id": 448, + "id": 450, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12782,7 +13387,13 @@ { "title": "Properties", "kind": 1024, - "children": [450, 447, 449, 448] + "children": [ + 453, + 449, + 452, + 451, + 450 + ] } ], "sources": [ @@ -12796,7 +13407,7 @@ } }, { - "id": 162, + "id": 164, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12804,14 +13415,14 @@ "type": { "type": "reflection", "declaration": { - "id": 163, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 164, + "id": 166, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12821,7 +13432,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 762, + "line": 788, "character": 6 } ], @@ -12835,7 +13446,9 @@ { "title": "Properties", "kind": 1024, - "children": [164] + "children": [ + 166 + ] } ] } @@ -12848,7 +13461,7 @@ "typeArguments": [ { "type": "reference", - "id": 375, + "id": 377, "name": "UserResponse" } ], @@ -12891,10 +13504,10 @@ "flags": {}, "type": { "type": "reference", - "id": 539, + "id": 543, "name": "VerifyOtpParams", "dereferenced": { - "id": 539, + "id": 543, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -12902,7 +13515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 478, "character": 12 } ], @@ -12910,14 +13523,14 @@ "type": "union", "types": [ { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -12927,21 +13540,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12960,7 +13573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -12970,7 +13583,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12983,7 +13596,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -12997,14 +13610,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13015,7 +13631,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -13025,7 +13641,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -13036,7 +13652,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -13046,7 +13662,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -13057,16 +13673,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -13074,7 +13690,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -13099,26 +13715,31 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -13129,7 +13750,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -13139,7 +13760,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -13149,21 +13770,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13176,7 +13797,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -13186,7 +13807,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13199,7 +13820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -13213,14 +13834,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -13231,7 +13855,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -13241,7 +13865,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -13252,16 +13876,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -13269,7 +13893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -13310,13 +13934,18 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] @@ -13332,7 +13961,7 @@ "typeArguments": [ { "type": "reference", - "id": 340, + "id": 342, "name": "AuthResponse" } ], @@ -13348,19 +13977,43 @@ { "title": "Constructors", "kind": 512, - "children": [78] + "children": [ + 78 + ] }, { "title": "Properties", "kind": 1024, - "children": [81, 82] + "children": [ + 81, + 82 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 121, 139, 156, 108, 206, 178, 136, 220, 172, 124, 118, 127, 115, 133, 202, 112, 282, - 284, 159, 130 + 121, + 141, + 158, + 108, + 208, + 136, + 180, + 138, + 222, + 174, + 124, + 118, + 127, + 115, + 133, + 204, + 112, + 284, + 286, + 161, + 130 ] } ], @@ -13373,7 +14026,7 @@ ] }, { - "id": 395, + "id": 397, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -13390,7 +14043,7 @@ }, "children": [ { - "id": 396, + "id": 398, "name": "method", "kind": 1024, "kindString": "Property", @@ -13411,7 +14064,7 @@ } }, { - "id": 397, + "id": 399, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -13436,7 +14089,10 @@ { "title": "Properties", "kind": 1024, - "children": [396, 397] + "children": [ + 398, + 399 + ] } ], "sources": [ @@ -13448,14 +14104,14 @@ ] }, { - "id": 451, + "id": 454, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 453, + "id": 456, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -13469,7 +14125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 289, + "line": 296, "character": 2 } ], @@ -13479,7 +14135,7 @@ } }, { - "id": 456, + "id": 459, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -13493,7 +14149,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 322, "character": 2 } ], @@ -13503,7 +14159,7 @@ } }, { - "id": 458, + "id": 462, "name": "email", "kind": 1024, "kindString": "Property", @@ -13530,7 +14186,7 @@ } }, { - "id": 454, + "id": 457, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -13544,7 +14200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 296, + "line": 303, "character": 2 } ], @@ -13554,7 +14210,35 @@ } }, { - "id": 457, + "id": 461, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nonce" + } + }, + { + "id": 460, "name": "password", "kind": 1024, "kindString": "Property", @@ -13581,7 +14265,7 @@ } }, { - "id": 459, + "id": 463, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13608,7 +14292,7 @@ } }, { - "id": 455, + "id": 458, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13622,7 +14306,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 303, + "line": 310, "character": 2 } ], @@ -13632,7 +14316,7 @@ } }, { - "id": 452, + "id": 455, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13646,7 +14330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 286, "character": 2 } ], @@ -13660,13 +14344,23 @@ { "title": "Properties", "kind": 1024, - "children": [453, 456, 458, 454, 457, 459, 455, 452] + "children": [ + 456, + 459, + 462, + 457, + 461, + 460, + 463, + 458, + 455 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 275, "character": 17 } ], @@ -13676,7 +14370,7 @@ "typeArguments": [ { "type": "reference", - "id": 446, + "id": 448, "name": "UserAttributes" }, { @@ -13691,7 +14385,7 @@ ] }, { - "id": 409, + "id": 411, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -13715,7 +14409,7 @@ }, "children": [ { - "id": 414, + "id": 416, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -13733,7 +14427,7 @@ } }, { - "id": 412, + "id": 414, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -13754,7 +14448,7 @@ } }, { - "id": 411, + "id": 413, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -13777,7 +14471,7 @@ } }, { - "id": 410, + "id": 412, "name": "id", "kind": 1024, "kindString": "Property", @@ -13798,7 +14492,7 @@ } }, { - "id": 413, + "id": 415, "name": "status", "kind": 1024, "kindString": "Property", @@ -13828,7 +14522,7 @@ } }, { - "id": 415, + "id": 417, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -13850,7 +14544,14 @@ { "title": "Properties", "kind": 1024, - "children": [414, 412, 411, 410, 413, 415] + "children": [ + 416, + 414, + 413, + 412, + 415, + 417 + ] } ], "sources": [ @@ -13862,14 +14563,14 @@ ] }, { - "id": 606, + "id": 610, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 607, + "id": 611, "name": "data", "kind": 1024, "kindString": "Property", @@ -13883,7 +14584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 589, + "line": 596, "character": 2 } ], @@ -13893,7 +14594,7 @@ } }, { - "id": 608, + "id": 612, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13906,7 +14607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 598, "character": 2 } ], @@ -13920,19 +14621,22 @@ { "title": "Properties", "kind": 1024, - "children": [607, 608] + "children": [ + 611, + 612 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 590, "character": 17 } ] }, { - "id": 765, + "id": 769, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -13948,14 +14652,14 @@ }, "children": [ { - "id": 769, + "id": 773, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 770, + "id": 774, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -13975,17 +14679,17 @@ }, "parameters": [ { - "id": 771, + "id": 775, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -14001,21 +14705,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -14026,7 +14730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -14036,7 +14740,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14047,7 +14751,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -14061,13 +14765,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -14082,7 +14789,7 @@ "typeArguments": [ { "type": "reference", - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -14094,14 +14801,14 @@ ] }, { - "id": 766, + "id": 770, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 767, + "id": 771, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14111,17 +14818,17 @@ }, "parameters": [ { - "id": 768, + "id": 772, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -14137,21 +14844,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14162,7 +14869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -14176,13 +14883,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -14197,7 +14906,7 @@ "typeArguments": [ { "type": "reference", - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -14213,19 +14922,22 @@ { "title": "Methods", "kind": 2048, - "children": [769, 766] + "children": [ + 773, + 770 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 928, "character": 17 } ] }, { - "id": 720, + "id": 724, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -14235,14 +14947,14 @@ }, "children": [ { - "id": 724, + "id": 728, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 725, + "id": 729, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -14252,17 +14964,17 @@ }, "parameters": [ { - "id": 726, + "id": 730, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 644, + "id": 648, "name": "MFAChallengeParams", "dereferenced": { - "id": 644, + "id": 648, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -14270,21 +14982,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 646, + "id": 650, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14295,7 +15007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 673, + "line": 680, "character": 2 } ], @@ -14309,13 +15021,15 @@ { "title": "Properties", "kind": 1024, - "children": [646] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -14330,7 +15044,7 @@ "typeArguments": [ { "type": "reference", - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse" } ], @@ -14342,14 +15056,14 @@ ] }, { - "id": 733, + "id": 737, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 734, + "id": 738, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -14359,17 +15073,17 @@ }, "parameters": [ { - "id": 735, + "id": 739, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14377,21 +15091,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 654, "name": "code", "kind": 1024, "kindString": "Property", @@ -14402,7 +15116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 680, + "line": 687, "character": 2 } ], @@ -14412,7 +15126,7 @@ } }, { - "id": 649, + "id": 653, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14423,7 +15137,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 685, "character": 2 } ], @@ -14437,13 +15151,16 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 654, + 653 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 42 } ] @@ -14458,7 +15175,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -14470,14 +15187,14 @@ ] }, { - "id": 721, + "id": 725, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 722, + "id": 726, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -14488,17 +15205,17 @@ }, "parameters": [ { - "id": 723, + "id": 727, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 631, + "id": 635, "name": "MFAEnrollParams", "dereferenced": { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -14506,21 +15223,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -14531,7 +15248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -14541,7 +15258,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -14554,7 +15271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -14564,7 +15281,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -14577,7 +15294,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 650, + "line": 657, "character": 2 } ], @@ -14591,13 +15308,17 @@ { "title": "Properties", "kind": 1024, - "children": [633, 635, 634] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 30 } ] @@ -14612,7 +15333,7 @@ "typeArguments": [ { "type": "reference", - "id": 664, + "id": 668, "name": "AuthMFAEnrollResponse" } ], @@ -14624,14 +15345,14 @@ ] }, { - "id": 738, + "id": 742, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 739, + "id": 743, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -14645,7 +15366,7 @@ "typeArguments": [ { "type": "reference", - "id": 709, + "id": 713, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -14657,14 +15378,14 @@ ] }, { - "id": 736, + "id": 740, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 737, + "id": 741, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14691,7 +15412,7 @@ "typeArguments": [ { "type": "reference", - "id": 698, + "id": 702, "name": "AuthMFAListFactorsResponse" } ], @@ -14703,14 +15424,14 @@ ] }, { - "id": 730, + "id": 734, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 731, + "id": 735, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -14720,17 +15441,17 @@ }, "parameters": [ { - "id": 732, + "id": 736, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "dereferenced": { - "id": 636, + "id": 640, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -14738,21 +15459,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 637, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 638, + "id": 642, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14763,7 +15484,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 664, "character": 2 } ], @@ -14777,13 +15498,15 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, + "line": 662, "character": 32 } ] @@ -14798,7 +15521,7 @@ "typeArguments": [ { "type": "reference", - "id": 679, + "id": 683, "name": "AuthMFAUnenrollResponse" } ], @@ -14810,14 +15533,14 @@ ] }, { - "id": 727, + "id": 731, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 728, + "id": 732, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -14827,17 +15550,17 @@ }, "parameters": [ { - "id": 729, + "id": 733, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 639, + "id": 643, "name": "MFAVerifyParams", "dereferenced": { - "id": 639, + "id": 643, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14845,21 +15568,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 644, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 642, + "id": 646, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -14870,7 +15593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 672, "character": 2 } ], @@ -14880,7 +15603,7 @@ } }, { - "id": 643, + "id": 647, "name": "code", "kind": 1024, "kindString": "Property", @@ -14891,7 +15614,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 675, "character": 2 } ], @@ -14901,7 +15624,7 @@ } }, { - "id": 641, + "id": 645, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14912,7 +15635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 669, "character": 2 } ], @@ -14926,13 +15649,17 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 646, + 647, + 645 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 667, "character": 30 } ] @@ -14947,7 +15674,7 @@ "typeArguments": [ { "type": "reference", - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse" } ], @@ -14963,26 +15690,34 @@ { "title": "Methods", "kind": 2048, - "children": [724, 733, 721, 738, 736, 730, 727] + "children": [ + 728, + 737, + 725, + 742, + 740, + 734, + 731 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 808, + "line": 815, "character": 17 } ] }, { - "id": 386, + "id": 388, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 389, + "id": 391, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -15003,7 +15738,7 @@ } }, { - "id": 392, + "id": 394, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -15026,7 +15761,7 @@ } }, { - "id": 391, + "id": 393, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -15047,7 +15782,7 @@ } }, { - "id": 388, + "id": 390, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -15079,7 +15814,7 @@ } }, { - "id": 387, + "id": 389, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -15111,7 +15846,7 @@ } }, { - "id": 390, + "id": 392, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -15132,7 +15867,7 @@ } }, { - "id": 393, + "id": 395, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -15150,7 +15885,7 @@ } }, { - "id": 394, + "id": 396, "name": "user", "kind": 1024, "kindString": "Property", @@ -15164,17 +15899,17 @@ ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User", "dereferenced": { - "id": 423, + "id": 425, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -15194,7 +15929,7 @@ } }, { - "id": 425, + "id": 427, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -15208,17 +15943,17 @@ ], "type": { "type": "reference", - "id": 416, + "id": 418, "name": "UserAppMetadata", "dereferenced": { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15242,7 +15977,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -15253,14 +15990,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -15279,7 +16016,7 @@ } }, { - "id": 427, + "id": 429, "name": "aud", "kind": 1024, "kindString": "Property", @@ -15297,7 +16034,7 @@ } }, { - "id": 428, + "id": 430, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -15317,7 +16054,7 @@ } }, { - "id": 438, + "id": 440, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -15337,7 +16074,7 @@ } }, { - "id": 437, + "id": 439, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -15355,7 +16092,7 @@ } }, { - "id": 435, + "id": 437, "name": "email", "kind": 1024, "kindString": "Property", @@ -15375,7 +16112,7 @@ } }, { - "id": 430, + "id": 432, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -15395,7 +16132,7 @@ } }, { - "id": 439, + "id": 441, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -15415,7 +16152,7 @@ } }, { - "id": 445, + "id": 447, "name": "factors", "kind": 1024, "kindString": "Property", @@ -15433,13 +16170,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } }, { - "id": 424, + "id": 426, "name": "id", "kind": 1024, "kindString": "Property", @@ -15457,7 +16194,7 @@ } }, { - "id": 444, + "id": 446, "name": "identities", "kind": 1024, "kindString": "Property", @@ -15475,13 +16212,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 398, + "id": 400, "name": "UserIdentity" } } }, { - "id": 433, + "id": 435, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -15501,7 +16238,7 @@ } }, { - "id": 441, + "id": 443, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -15521,7 +16258,7 @@ } }, { - "id": 431, + "id": 433, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -15541,7 +16278,7 @@ } }, { - "id": 432, + "id": 434, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -15561,7 +16298,7 @@ } }, { - "id": 436, + "id": 438, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15581,7 +16318,7 @@ } }, { - "id": 440, + "id": 442, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -15601,7 +16338,7 @@ } }, { - "id": 429, + "id": 431, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -15621,7 +16358,7 @@ } }, { - "id": 442, + "id": 444, "name": "role", "kind": 1024, "kindString": "Property", @@ -15641,7 +16378,7 @@ } }, { - "id": 443, + "id": 445, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -15661,7 +16398,7 @@ } }, { - "id": 426, + "id": 428, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -15675,10 +16412,10 @@ ], "type": { "type": "reference", - "id": 420, + "id": 422, "name": "UserMetadata", "dereferenced": { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -15691,14 +16428,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -15722,8 +16459,28 @@ "title": "Properties", "kind": 1024, "children": [ - 434, 425, 427, 428, 438, 437, 435, 430, 439, 445, 424, 444, 433, 441, 431, 432, - 436, 440, 429, 442, 443, 426 + 436, + 427, + 429, + 430, + 440, + 439, + 437, + 432, + 441, + 447, + 426, + 446, + 435, + 443, + 433, + 434, + 438, + 442, + 431, + 444, + 445, + 428 ] } ], @@ -15742,7 +16499,16 @@ { "title": "Properties", "kind": 1024, - "children": [389, 392, 391, 388, 387, 390, 393, 394] + "children": [ + 391, + 394, + 393, + 390, + 389, + 392, + 395, + 396 + ] } ], "sources": [ @@ -15754,14 +16520,14 @@ ] }, { - "id": 460, + "id": 464, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 461, + "id": 465, "name": "id", "kind": 1024, "kindString": "Property", @@ -15772,7 +16538,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 322, + "line": 329, "character": 2 } ], @@ -15782,7 +16548,7 @@ } }, { - "id": 462, + "id": 466, "name": "callback", "kind": 2048, "kindString": "Method", @@ -15790,13 +16556,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 333, "character": 2 } ], "signatures": [ { - "id": 463, + "id": 467, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -15806,17 +16572,17 @@ }, "parameters": [ { - "id": 464, + "id": 468, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 325, + "id": 327, "name": "AuthChangeEvent", "dereferenced": { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -15856,7 +16622,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -15879,7 +16645,7 @@ } }, { - "id": 465, + "id": 469, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15893,7 +16659,7 @@ }, { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } ] @@ -15908,7 +16674,7 @@ ] }, { - "id": 466, + "id": 470, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -15916,13 +16682,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 337, "character": 2 } ], "signatures": [ { - "id": 467, + "id": 471, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -15942,31 +16708,36 @@ { "title": "Properties", "kind": 1024, - "children": [461] + "children": [ + 465 + ] }, { "title": "Methods", "kind": 2048, - "children": [462, 466] + "children": [ + 466, + 470 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 318, + "line": 325, "character": 17 } ] }, { - "id": 468, + "id": 472, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 469, + "id": 473, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -15974,7 +16745,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 341, "character": 2 } ], @@ -15988,26 +16759,28 @@ { "title": "Properties", "kind": 1024, - "children": [469] + "children": [ + 473 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 340, "character": 17 } ] }, { - "id": 423, + "id": 425, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -16027,7 +16800,7 @@ } }, { - "id": 425, + "id": 427, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -16041,17 +16814,17 @@ ], "type": { "type": "reference", - "id": 416, + "id": 418, "name": "UserAppMetadata", "dereferenced": { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16075,7 +16848,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -16086,14 +16861,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -16112,7 +16887,7 @@ } }, { - "id": 427, + "id": 429, "name": "aud", "kind": 1024, "kindString": "Property", @@ -16130,7 +16905,7 @@ } }, { - "id": 428, + "id": 430, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -16150,7 +16925,7 @@ } }, { - "id": 438, + "id": 440, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -16170,7 +16945,7 @@ } }, { - "id": 437, + "id": 439, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -16188,7 +16963,7 @@ } }, { - "id": 435, + "id": 437, "name": "email", "kind": 1024, "kindString": "Property", @@ -16208,7 +16983,7 @@ } }, { - "id": 430, + "id": 432, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -16228,7 +17003,7 @@ } }, { - "id": 439, + "id": 441, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -16248,7 +17023,7 @@ } }, { - "id": 445, + "id": 447, "name": "factors", "kind": 1024, "kindString": "Property", @@ -16266,13 +17041,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } }, { - "id": 424, + "id": 426, "name": "id", "kind": 1024, "kindString": "Property", @@ -16290,7 +17065,7 @@ } }, { - "id": 444, + "id": 446, "name": "identities", "kind": 1024, "kindString": "Property", @@ -16308,13 +17083,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 398, + "id": 400, "name": "UserIdentity" } } }, { - "id": 433, + "id": 435, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -16334,7 +17109,7 @@ } }, { - "id": 441, + "id": 443, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -16354,7 +17129,7 @@ } }, { - "id": 431, + "id": 433, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -16374,7 +17149,7 @@ } }, { - "id": 432, + "id": 434, "name": "new_phone", "kind": 1024, "kindString": "Property", @@ -16394,7 +17169,7 @@ } }, { - "id": 436, + "id": 438, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16414,7 +17189,7 @@ } }, { - "id": 440, + "id": 442, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -16434,7 +17209,7 @@ } }, { - "id": 429, + "id": 431, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -16454,7 +17229,7 @@ } }, { - "id": 442, + "id": 444, "name": "role", "kind": 1024, "kindString": "Property", @@ -16474,7 +17249,7 @@ } }, { - "id": 443, + "id": 445, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -16494,7 +17269,7 @@ } }, { - "id": 426, + "id": 428, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -16508,10 +17283,10 @@ ], "type": { "type": "reference", - "id": 420, + "id": 422, "name": "UserMetadata", "dereferenced": { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -16524,14 +17299,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -16555,8 +17330,28 @@ "title": "Properties", "kind": 1024, "children": [ - 434, 425, 427, 428, 438, 437, 435, 430, 439, 445, 424, 444, 433, 441, 431, 432, 436, - 440, 429, 442, 443, 426 + 436, + 427, + 429, + 430, + 440, + 439, + 437, + 432, + 441, + 447, + 426, + 446, + 435, + 443, + 433, + 434, + 438, + 442, + 431, + 444, + 445, + 428 ] } ], @@ -16569,14 +17364,14 @@ ] }, { - "id": 416, + "id": 418, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 417, + "id": 419, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16600,7 +17395,9 @@ { "title": "Properties", "kind": 1024, - "children": [417] + "children": [ + 419 + ] } ], "sources": [ @@ -16611,14 +17408,14 @@ } ], "indexSignature": { - "id": 418, + "id": 420, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 421, "name": "key", "kind": 32768, "flags": {}, @@ -16635,14 +17432,14 @@ } }, { - "id": 446, + "id": 448, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 450, + "id": 453, "name": "data", "kind": 1024, "kindString": "Property", @@ -16656,7 +17453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 265, + "line": 272, "character": 2 } ], @@ -16666,7 +17463,7 @@ } }, { - "id": 447, + "id": 449, "name": "email", "kind": 1024, "kindString": "Property", @@ -16689,7 +17486,31 @@ } }, { - "id": 449, + "id": 452, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -16712,7 +17533,7 @@ } }, { - "id": 448, + "id": 450, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16739,7 +17560,13 @@ { "title": "Properties", "kind": 1024, - "children": [450, 447, 449, 448] + "children": [ + 453, + 449, + 452, + 451, + 450 + ] } ], "sources": [ @@ -16751,14 +17578,14 @@ ] }, { - "id": 398, + "id": 400, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 406, + "id": 408, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -16778,7 +17605,7 @@ } }, { - "id": 399, + "id": 401, "name": "id", "kind": 1024, "kindString": "Property", @@ -16796,7 +17623,7 @@ } }, { - "id": 401, + "id": 403, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -16813,20 +17640,20 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 403, + "id": 405, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 404, + "id": 406, "name": "key", "kind": 32768, "flags": {}, @@ -16845,7 +17672,7 @@ } }, { - "id": 407, + "id": 409, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -16865,7 +17692,7 @@ } }, { - "id": 405, + "id": 407, "name": "provider", "kind": 1024, "kindString": "Property", @@ -16883,7 +17710,7 @@ } }, { - "id": 408, + "id": 410, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -16903,7 +17730,7 @@ } }, { - "id": 400, + "id": 402, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -16925,7 +17752,15 @@ { "title": "Properties", "kind": 1024, - "children": [406, 399, 401, 407, 405, 408, 400] + "children": [ + 408, + 401, + 403, + 409, + 407, + 410, + 402 + ] } ], "sources": [ @@ -16937,7 +17772,7 @@ ] }, { - "id": 420, + "id": 422, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -16950,14 +17785,14 @@ } ], "indexSignature": { - "id": 421, + "id": 423, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 422, + "id": 424, "name": "key", "kind": 32768, "flags": {}, @@ -16974,14 +17809,14 @@ } }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -16992,7 +17827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -17002,7 +17837,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -17012,21 +17847,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17039,7 +17874,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -17049,7 +17884,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17062,7 +17897,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -17076,14 +17911,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -17094,7 +17932,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -17104,7 +17942,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -17115,16 +17953,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17132,7 +17970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -17173,26 +18011,31 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] }, { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -17202,21 +18045,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17235,7 +18078,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -17245,7 +18088,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17258,7 +18101,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -17272,14 +18115,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17290,7 +18136,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -17300,7 +18146,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -17311,7 +18157,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -17321,7 +18167,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -17332,16 +18178,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17349,7 +18195,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -17374,19 +18220,24 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 325, + "id": 327, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -17426,7 +18277,7 @@ "value": "USER_UPDATED" }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -17447,7 +18298,7 @@ } }, { - "id": 324, + "id": 326, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -17465,7 +18316,7 @@ } }, { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -17473,7 +18324,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -17492,7 +18343,7 @@ } }, { - "id": 749, + "id": 753, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -17508,21 +18359,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 750, + "id": 754, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 751, + "id": 755, "name": "id", "kind": 1024, "kindString": "Property", @@ -17533,7 +18384,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 896, "character": 2 } ], @@ -17543,7 +18394,7 @@ } }, { - "id": 752, + "id": 756, "name": "userId", "kind": 1024, "kindString": "Property", @@ -17554,7 +18405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 899, "character": 2 } ], @@ -17568,13 +18419,16 @@ { "title": "Properties", "kind": 1024, - "children": [751, 752] + "children": [ + 755, + 756 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 894, "character": 45 } ] @@ -17582,7 +18436,7 @@ } }, { - "id": 740, + "id": 744, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -17598,7 +18452,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 881, "character": 12 } ], @@ -17608,14 +18462,14 @@ { "type": "reflection", "declaration": { - "id": 741, + "id": 745, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 742, + "id": 746, "name": "data", "kind": 1024, "kindString": "Property", @@ -17623,21 +18477,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 883, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 743, + "id": 747, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 744, + "id": 748, "name": "id", "kind": 1024, "kindString": "Property", @@ -17648,7 +18502,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 878, + "line": 885, "character": 8 } ], @@ -17662,13 +18516,15 @@ { "title": "Properties", "kind": 1024, - "children": [744] + "children": [ + 748 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 883, "character": 12 } ] @@ -17676,7 +18532,7 @@ } }, { - "id": 745, + "id": 749, "name": "error", "kind": 1024, "kindString": "Property", @@ -17684,7 +18540,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 880, + "line": 887, "character": 6 } ], @@ -17698,70 +18554,10 @@ { "title": "Properties", "kind": 1024, - "children": [742, 745] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 875, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 746, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 747, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 748, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 882, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [747, 748] + "children": [ + 746, + 749 + ] } ], "sources": [ @@ -17772,12 +18568,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 750, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 751, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 752, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 751, + 752 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 889, + "character": 4 + } + ] + } } ] } }, { - "id": 762, + "id": 766, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -17793,21 +18655,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 767, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 764, + "id": 768, "name": "userId", "kind": 1024, "kindString": "Property", @@ -17818,7 +18680,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 913, + "line": 920, "character": 2 } ], @@ -17832,13 +18694,15 @@ { "title": "Properties", "kind": 1024, - "children": [764] + "children": [ + 768 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 918, "character": 44 } ] @@ -17846,7 +18710,7 @@ } }, { - "id": 753, + "id": 757, "name": "AuthMFAAdminListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -17862,7 +18726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 898, + "line": 905, "character": 12 } ], @@ -17872,14 +18736,14 @@ { "type": "reflection", "declaration": { - "id": 754, + "id": 758, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 755, + "id": 759, "name": "data", "kind": 1024, "kindString": "Property", @@ -17887,21 +18751,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 907, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 756, + "id": 760, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 757, + "id": 761, "name": "factors", "kind": 1024, "kindString": "Property", @@ -17912,7 +18776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 902, + "line": 909, "character": 8 } ], @@ -17920,7 +18784,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 409, + "id": 411, "name": "Factor" } } @@ -17930,13 +18794,15 @@ { "title": "Properties", "kind": 1024, - "children": [757] + "children": [ + 761 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 907, "character": 12 } ] @@ -17944,7 +18810,7 @@ } }, { - "id": 758, + "id": 762, "name": "error", "kind": 1024, "kindString": "Property", @@ -17952,7 +18818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 904, + "line": 911, "character": 6 } ], @@ -17966,70 +18832,10 @@ { "title": "Properties", "kind": 1024, - "children": [755, 758] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 899, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 759, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 760, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 761, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 906, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [760, 761] + "children": [ + 759, + 762 + ] } ], "sources": [ @@ -18040,12 +18846,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 763, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 764, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 765, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 764, + 765 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 913, + "character": 4 + } + ] + } } ] } }, { - "id": 688, + "id": 692, "name": "AuthMFAChallengeResponse", "kind": 4194304, "kindString": "Type alias", @@ -18053,7 +18925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 758, "character": 12 } ], @@ -18063,97 +18935,15 @@ { "type": "reflection", "declaration": { - "id": 689, + "id": 693, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 690, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 691, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 693, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 758, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 692, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 755, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [693, 692] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 753, - "character": 12 - } - ] - } - } - }, { "id": 694, - "name": "error", + "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, @@ -18164,154 +18954,49 @@ "character": 6 } ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 694] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 752, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 695, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 696, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 697, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [696, 697] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 762, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 666, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 710, - "character": 6 - } - ], "type": { "type": "reflection", "declaration": { - "id": 667, + "id": 695, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 668, + "id": 697, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 765, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 696, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." + "shortText": "ID of the newly created challenge." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 712, + "line": 762, "character": 8 } ], @@ -18319,146 +19004,22 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 670, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 671, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 672, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 722, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 673, - "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": 727, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 674, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 731, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [672, 673, 674] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 14 - } - ] - } - } - }, - { - "id": 669, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor. Only `totp` supported for now." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [668, 670, 669] + "children": [ + 697, + 696 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 710, + "line": 760, "character": 12 } ] @@ -18466,7 +19027,7 @@ } }, { - "id": 675, + "id": 698, "name": "error", "kind": 1024, "kindString": "Property", @@ -18474,7 +19035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 767, "character": 6 } ], @@ -18488,359 +19049,21 @@ { "title": "Properties", "kind": 1024, - "children": [666, 675] + "children": [ + 694, + 698 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 709, + "line": 759, "character": 4 } ] } }, - { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 737, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 678, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 738, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677, 678] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 736, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 709, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 779, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 710, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 711, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 712, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 715, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 798, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 395, - "name": "AMREntry" - } - } - }, - { - "id": 713, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 783, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 714, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 791, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 708, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [715, 713, 714] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 781, - "character": 12 - } - ] - } - } - }, - { - "id": 716, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 800, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [711, 716] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 780, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 718, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 719, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [718, 719] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 802, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 698, - "name": "AuthMFAListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 764, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ { "type": "reflection", "declaration": { @@ -18859,141 +19082,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 701, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 702, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 768, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - }, - { - "id": 703, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 771, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 409, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [702, 703] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 766, - "character": 12 - } - ] - } - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 773, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 765, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 705, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 706, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 6 } ], @@ -19003,7 +19092,7 @@ } }, { - "id": 707, + "id": 701, "name": "error", "kind": 1024, "kindString": "Property", @@ -19011,13 +19100,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 18 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -19026,13 +19115,16 @@ { "title": "Properties", "kind": 1024, - "children": [706, 707] + "children": [ + 700, + 701 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 769, "character": 4 } ] @@ -19042,21 +19134,264 @@ } }, { - "id": 679, - "name": "AuthMFAUnenrollResponse", + "id": 668, + "name": "AuthMFAEnrollResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 715, "character": 12 } ], "type": { "type": "union", "types": [ + { + "type": "reflection", + "declaration": { + "id": 669, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 670, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 671, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 719, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 674, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 729, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "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": 734, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 678, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 676, + 677, + 678 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 14 + } + ] + } + } + }, + { + "id": 673, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor. Only `totp` supported for now." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 672, + 674, + 673 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 12 + } + ] + } + } + }, + { + "id": 679, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 670, + 679 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 716, + "character": 4 + } + ] + } + }, { "type": "reflection", "declaration": { @@ -19075,21 +19410,600 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 743, + "line": 744, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 682, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 681, + 682 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 713, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 786, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 714, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 715, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 682, + "id": 716, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 683, + "id": 719, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 805, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 397, + "name": "AMREntry" + } + } + }, + { + "id": 717, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 790, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 718, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 798, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 712, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 719, + 717, + 718 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 788, + "character": 12 + } + ] + } + } + }, + { + "id": 720, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 807, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 715, + 720 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 787, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 721, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 722, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 723, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 722, + 723 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 809, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 702, + "name": "AuthMFAListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 771, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 703, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 704, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 706, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 775, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + }, + { + "id": 707, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 778, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 411, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 706, + 707 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 773, + "character": 12 + } + ] + } + } + }, + { + "id": 708, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 780, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 704, + 708 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 772, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 709, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 710, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 711, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 710, + 711 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 782, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 683, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 748, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 685, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 750, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 687, "name": "id", "kind": 1024, "kindString": "Property", @@ -19100,7 +20014,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 745, + "line": 752, "character": 8 } ], @@ -19114,13 +20028,15 @@ { "title": "Properties", "kind": 1024, - "children": [683] + "children": [ + 687 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 743, + "line": 750, "character": 12 } ] @@ -19128,7 +20044,7 @@ } }, { - "id": 684, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -19136,7 +20052,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 747, + "line": 754, "character": 6 } ], @@ -19150,70 +20066,10 @@ { "title": "Properties", "kind": 1024, - "children": [681, 684] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 742, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 685, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 686, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 687, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 749, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 800, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [686, 687] + "children": [ + 685, + 688 + ] } ], "sources": [ @@ -19224,12 +20080,78 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 689, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 690, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 691, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 690, + 691 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 756, + "character": 4 + } + ] + } } ] } }, { - "id": 651, + "id": 655, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -19237,7 +20159,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 690, "character": 12 } ], @@ -19247,14 +20169,14 @@ { "type": "reflection", "declaration": { - "id": 652, + "id": 656, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 653, + "id": 657, "name": "data", "kind": 1024, "kindString": "Property", @@ -19262,21 +20184,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 692, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 658, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 655, + "id": 659, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -19287,7 +20209,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 687, + "line": 694, "character": 8 } ], @@ -19297,7 +20219,7 @@ } }, { - "id": 657, + "id": 661, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -19308,7 +20230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 693, + "line": 700, "character": 8 } ], @@ -19318,7 +20240,7 @@ } }, { - "id": 658, + "id": 662, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19329,7 +20251,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 696, + "line": 703, "character": 8 } ], @@ -19339,7 +20261,7 @@ } }, { - "id": 656, + "id": 660, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -19350,7 +20272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 690, + "line": 697, "character": 8 } ], @@ -19360,7 +20282,7 @@ } }, { - "id": 659, + "id": 663, "name": "user", "kind": 1024, "kindString": "Property", @@ -19371,13 +20293,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 699, + "line": 706, "character": 8 } ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -19386,13 +20308,19 @@ { "title": "Properties", "kind": 1024, - "children": [655, 657, 658, 656, 659] + "children": [ + 659, + 661, + 662, + 660, + 663 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 692, "character": 12 } ] @@ -19400,7 +20328,7 @@ } }, { - "id": 660, + "id": 664, "name": "error", "kind": 1024, "kindString": "Property", @@ -19408,7 +20336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 701, + "line": 708, "character": 6 } ], @@ -19422,13 +20350,16 @@ { "title": "Properties", "kind": 1024, - "children": [653, 660] + "children": [ + 657, + 664 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 684, + "line": 691, "character": 4 } ] @@ -19437,14 +20368,14 @@ { "type": "reflection", "declaration": { - "id": 661, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 662, + "id": 666, "name": "data", "kind": 1024, "kindString": "Property", @@ -19452,7 +20383,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 711, "character": 6 } ], @@ -19462,7 +20393,7 @@ } }, { - "id": 663, + "id": 667, "name": "error", "kind": 1024, "kindString": "Property", @@ -19470,13 +20401,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 712, "character": 6 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -19485,13 +20416,16 @@ { "title": "Properties", "kind": 1024, - "children": [662, 663] + "children": [ + 666, + 667 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 703, + "line": 710, "character": 4 } ] @@ -19501,7 +20435,7 @@ } }, { - "id": 340, + "id": 342, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -19519,14 +20453,14 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 344, "name": "data", "kind": 1024, "kindString": "Property", @@ -19541,14 +20475,14 @@ "type": { "type": "reflection", "declaration": { - "id": 343, + "id": 345, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 345, + "id": 347, "name": "session", "kind": 1024, "kindString": "Property", @@ -19565,7 +20499,7 @@ "types": [ { "type": "reference", - "id": 386, + "id": 388, "name": "Session" }, { @@ -19576,7 +20510,7 @@ } }, { - "id": 344, + "id": 346, "name": "user", "kind": 1024, "kindString": "Property", @@ -19593,7 +20527,7 @@ "types": [ { "type": "reference", - "id": 423, + "id": 425, "name": "User" }, { @@ -19608,7 +20542,10 @@ { "title": "Properties", "kind": 1024, - "children": [345, 344] + "children": [ + 347, + 346 + ] } ], "sources": [ @@ -19622,7 +20559,7 @@ } }, { - "id": 346, + "id": 348, "name": "error", "kind": 1024, "kindString": "Property", @@ -19644,7 +20581,10 @@ { "title": "Properties", "kind": 1024, - "children": [342, 346] + "children": [ + 344, + 348 + ] } ], "sources": [ @@ -19659,14 +20599,14 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 349, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 348, + "id": 350, "name": "data", "kind": 1024, "kindString": "Property", @@ -19681,14 +20621,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 353, "name": "session", "kind": 1024, "kindString": "Property", @@ -19706,7 +20646,7 @@ } }, { - "id": 350, + "id": 352, "name": "user", "kind": 1024, "kindString": "Property", @@ -19728,7 +20668,10 @@ { "title": "Properties", "kind": 1024, - "children": [351, 350] + "children": [ + 353, + 352 + ] } ], "sources": [ @@ -19742,7 +20685,7 @@ } }, { - "id": 352, + "id": 354, "name": "error", "kind": 1024, "kindString": "Property", @@ -19756,7 +20699,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -19765,7 +20708,10 @@ { "title": "Properties", "kind": 1024, - "children": [348, 352] + "children": [ + 350, + 354 + ] } ], "sources": [ @@ -19781,7 +20727,7 @@ } }, { - "id": 708, + "id": 712, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -19789,7 +20735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 777, + "line": 784, "character": 12 } ], @@ -19808,7 +20754,7 @@ } }, { - "id": 776, + "id": 780, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -19816,7 +20762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 952, + "line": 959, "character": 12 } ], @@ -19826,14 +20772,14 @@ { "type": "reflection", "declaration": { - "id": 777, + "id": 781, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 779, + "id": 783, "name": "error", "kind": 1024, "kindString": "Property", @@ -19841,7 +20787,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 955, + "line": 962, "character": 6 } ], @@ -19851,7 +20797,7 @@ } }, { - "id": 778, + "id": 782, "name": "session", "kind": 1024, "kindString": "Property", @@ -19859,13 +20805,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 961, "character": 6 } ], "type": { "type": "reference", - "id": 386, + "id": 388, "name": "Session" } } @@ -19874,13 +20820,16 @@ { "title": "Properties", "kind": 1024, - "children": [779, 778] + "children": [ + 783, + 782 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 953, + "line": 960, "character": 4 } ] @@ -19889,14 +20838,14 @@ { "type": "reflection", "declaration": { - "id": 780, + "id": 784, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 782, + "id": 786, "name": "error", "kind": 1024, "kindString": "Property", @@ -19904,18 +20853,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 959, + "line": 966, "character": 6 } ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } }, { - "id": 781, + "id": 785, "name": "session", "kind": 1024, "kindString": "Property", @@ -19923,7 +20872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 958, + "line": 965, "character": 6 } ], @@ -19937,13 +20886,16 @@ { "title": "Properties", "kind": 1024, - "children": [782, 781] + "children": [ + 786, + 785 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 957, + "line": 964, "character": 4 } ] @@ -19953,7 +20905,7 @@ } }, { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -19961,7 +20913,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -19996,7 +20948,7 @@ } }, { - "id": 600, + "id": 604, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20004,21 +20956,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 605, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 607, "name": "email", "kind": 1024, "kindString": "Property", @@ -20029,7 +20981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 582, "character": 2 } ], @@ -20039,7 +20991,7 @@ } }, { - "id": 604, + "id": 608, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -20050,7 +21002,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 579, + "line": 586, "character": 2 } ], @@ -20060,7 +21012,7 @@ } }, { - "id": 605, + "id": 609, "name": "options", "kind": 1024, "kindString": "Property", @@ -20070,7 +21022,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 587, "character": 2 } ], @@ -20079,7 +21031,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -20093,7 +21045,7 @@ } }, { - "id": 602, + "id": 606, "name": "type", "kind": 1024, "kindString": "Property", @@ -20101,7 +21053,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 573, + "line": 580, "character": 2 } ], @@ -20124,13 +21076,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -20138,7 +21095,7 @@ } }, { - "id": 590, + "id": 594, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20146,21 +21103,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 595, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 597, "name": "email", "kind": 1024, "kindString": "Property", @@ -20171,7 +21128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 568, "character": 2 } ], @@ -20181,7 +21138,7 @@ } }, { - "id": 594, + "id": 598, "name": "options", "kind": 1024, "kindString": "Property", @@ -20191,7 +21148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 569, "character": 2 } ], @@ -20200,7 +21157,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -20223,7 +21180,7 @@ } }, { - "id": 592, + "id": 596, "name": "type", "kind": 1024, "kindString": "Property", @@ -20231,7 +21188,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 559, + "line": 566, "character": 2 } ], @@ -20254,13 +21211,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -20268,7 +21229,7 @@ } }, { - "id": 609, + "id": 613, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20276,7 +21237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 594, + "line": 601, "character": 12 } ], @@ -20284,147 +21245,11 @@ "type": "union", "types": [ { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 585, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 587, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 553, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 589, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 588, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 589, 588, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 551, - "character": 39 - } - ] - } - } - }, - { - "id": 590, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -20435,25 +21260,22 @@ "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, - "comment": { - "shortText": "The user's email" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 560, "character": 2 } ], @@ -20463,7 +21285,7 @@ } }, { - "id": 594, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -20482,7 +21304,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -20506,6 +21328,24 @@ }, { "id": 592, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 561, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -20517,6 +21357,132 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591, + 593, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 558, + "character": 39 + } + ] + } + } + }, + { + "id": 594, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 595, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 597, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -20536,13 +21502,17 @@ { "title": "Properties", "kind": 1024, - "children": [593, 594, 592] + "children": [ + 597, + 598, + 596 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 558, + "line": 565, "character": 46 } ] @@ -20550,123 +21520,11 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 596, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 598, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 568, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 606, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 597, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 566, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [598, 599, 597] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 41 - } - ] - } - } - }, - { - "id": 600, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -20677,14 +21535,14 @@ "type": { "type": "reflection", "declaration": { - "id": 601, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 603, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -20705,28 +21563,7 @@ } }, { - "id": 604, - "name": "newEmail", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 579, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 605, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -20736,7 +21573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 576, "character": 2 } ], @@ -20745,7 +21582,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -20759,7 +21596,7 @@ } }, { - "id": 602, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -20771,6 +21608,143 @@ "character": 2 } ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 602, + 603, + 601 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 572, + "character": 41 + } + ] + } + } + }, + { + "id": 604, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 607, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 582, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "newEmail", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 586, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 587, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 610, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 580, + "character": 2 + } + ], "type": { "type": "union", "types": [ @@ -20790,13 +21764,18 @@ { "title": "Properties", "kind": 1024, - "children": [603, 604, 605, 602] + "children": [ + 607, + 608, + 609, + 606 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 572, + "line": 579, "character": 44 } ] @@ -20807,7 +21786,7 @@ } }, { - "id": 623, + "id": 627, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -20818,21 +21797,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 624, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 624, + "id": 628, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 625, + "id": 629, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -20843,7 +21822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 622, + "line": 629, "character": 2 } ], @@ -20853,7 +21832,7 @@ } }, { - "id": 626, + "id": 630, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -20864,7 +21843,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 627, + "line": 634, "character": 2 } ], @@ -20874,7 +21853,7 @@ } }, { - "id": 627, + "id": 631, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -20885,7 +21864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 638, "character": 2 } ], @@ -20895,7 +21874,7 @@ } }, { - "id": 628, + "id": 632, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -20906,7 +21885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 640, "character": 2 } ], @@ -20916,7 +21895,7 @@ } }, { - "id": 629, + "id": 633, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -20927,16 +21906,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 635, + "line": 642, "character": 2 } ], "type": { "type": "reference", - "id": 630, + "id": 634, "name": "GenerateLinkType", "dereferenced": { - "id": 630, + "id": 634, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -20944,7 +21923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 645, "character": 12 } ], @@ -20985,13 +21964,19 @@ { "title": "Properties", "kind": 1024, - "children": [625, 626, 627, 628, 629] + "children": [ + 629, + 630, + 631, + 632, + 633 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 624, "character": 37 } ] @@ -20999,7 +21984,7 @@ } }, { - "id": 610, + "id": 614, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -21007,7 +21992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 607, "character": 12 } ], @@ -21017,136 +22002,14 @@ { "type": "reflection", "declaration": { - "id": 611, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 614, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 603, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 623, - "name": "GenerateLinkProperties" - } - }, - { - "id": 615, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 604, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [614, 615] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 602, - "character": 12 - } - ] - } - } - }, { "id": 616, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 606, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 601, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 617, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 618, "name": "data", "kind": 1024, "kindString": "Property", @@ -21161,14 +22024,14 @@ "type": { "type": "reflection", "declaration": { - "id": 619, + "id": 617, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 620, + "id": 618, "name": "properties", "kind": 1024, "kindString": "Property", @@ -21181,12 +22044,13 @@ } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 627, + "name": "GenerateLinkProperties" } }, { - "id": 621, + "id": 619, "name": "user", "kind": 1024, "kindString": "Property", @@ -21199,8 +22063,9 @@ } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 425, + "name": "User" } } ], @@ -21208,7 +22073,10 @@ { "title": "Properties", "kind": 1024, - "children": [620, 621] + "children": [ + 618, + 619 + ] } ], "sources": [ @@ -21222,7 +22090,7 @@ } }, { - "id": 622, + "id": 620, "name": "error", "kind": 1024, "kindString": "Property", @@ -21235,9 +22103,8 @@ } ], "type": { - "type": "reference", - "id": 800, - "name": "AuthError" + "type": "literal", + "value": null } } ], @@ -21245,7 +22112,10 @@ { "title": "Properties", "kind": 1024, - "children": [618, 622] + "children": [ + 616, + 620 + ] } ], "sources": [ @@ -21256,12 +22126,139 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 621, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 622, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 624, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 617, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 625, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 624, + 625 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 616, + "character": 12 + } + ] + } + } + }, + { + "id": 626, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 620, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 804, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 622, + 626 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 615, + "character": 4 + } + ] + } } ] } }, { - "id": 630, + "id": 634, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -21269,7 +22266,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 645, "character": 12 } ], @@ -21304,7 +22301,7 @@ } }, { - "id": 595, + "id": 599, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -21312,21 +22309,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 572, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 596, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 598, + "id": 602, "name": "email", "kind": 1024, "kindString": "Property", @@ -21337,7 +22334,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 568, + "line": 575, "character": 2 } ], @@ -21347,7 +22344,7 @@ } }, { - "id": 599, + "id": 603, "name": "options", "kind": 1024, "kindString": "Property", @@ -21357,7 +22354,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 569, + "line": 576, "character": 2 } ], @@ -21366,7 +22363,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -21380,7 +22377,7 @@ } }, { - "id": 597, + "id": 601, "name": "type", "kind": 1024, "kindString": "Property", @@ -21388,7 +22385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 566, + "line": 573, "character": 2 } ], @@ -21402,13 +22399,17 @@ { "title": "Properties", "kind": 1024, - "children": [598, 599, 597] + "children": [ + 602, + 603, + 601 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 572, "character": 41 } ] @@ -21416,7 +22417,7 @@ } }, { - "id": 584, + "id": 588, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -21424,21 +22425,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 551, + "line": 558, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 589, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 587, + "id": 591, "name": "email", "kind": 1024, "kindString": "Property", @@ -21446,7 +22447,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 553, + "line": 560, "character": 2 } ], @@ -21456,7 +22457,7 @@ } }, { - "id": 589, + "id": 593, "name": "options", "kind": 1024, "kindString": "Property", @@ -21466,7 +22467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 562, "character": 2 } ], @@ -21475,7 +22476,7 @@ "typeArguments": [ { "type": "reference", - "id": 606, + "id": 610, "name": "GenerateLinkOptions" }, { @@ -21498,7 +22499,7 @@ } }, { - "id": 588, + "id": 592, "name": "password", "kind": 1024, "kindString": "Property", @@ -21506,7 +22507,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 561, "character": 2 } ], @@ -21516,7 +22517,7 @@ } }, { - "id": 586, + "id": 590, "name": "type", "kind": 1024, "kindString": "Property", @@ -21524,7 +22525,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 552, + "line": 559, "character": 2 } ], @@ -21538,13 +22539,18 @@ { "title": "Properties", "kind": 1024, - "children": [587, 589, 588, 586] + "children": [ + 591, + 593, + 592, + 590 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 551, + "line": 558, "character": 39 } ] @@ -21552,7 +22558,7 @@ } }, { - "id": 326, + "id": 328, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -21567,14 +22573,14 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 335, + "id": 337, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -21594,7 +22600,7 @@ } }, { - "id": 334, + "id": 336, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -21614,7 +22620,7 @@ } }, { - "id": 338, + "id": 340, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -21634,7 +22640,7 @@ } }, { - "id": 339, + "id": 341, "name": "flowType", "kind": 1024, "kindString": "Property", @@ -21650,10 +22656,10 @@ ], "type": { "type": "reference", - "id": 518, + "id": 522, "name": "AuthFlowType", "dereferenced": { - "id": 518, + "id": 522, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -21661,7 +22667,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 440, + "line": 447, "character": 12 } ], @@ -21682,7 +22688,7 @@ } }, { - "id": 329, + "id": 331, "name": "headers", "kind": 1024, "kindString": "Property", @@ -21699,7 +22705,7 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 332, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21712,14 +22718,14 @@ } ], "indexSignature": { - "id": 331, + "id": 333, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 332, + "id": 334, "name": "key", "kind": 32768, "flags": {}, @@ -21738,7 +22744,7 @@ } }, { - "id": 336, + "id": 338, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -21758,7 +22764,7 @@ } }, { - "id": 337, + "id": 339, "name": "storage", "kind": 1024, "kindString": "Property", @@ -21774,10 +22780,10 @@ ], "type": { "type": "reference", - "id": 772, + "id": 776, "name": "SupportedStorage", "dereferenced": { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -21785,7 +22791,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -21830,7 +22836,7 @@ } }, { - "id": 333, + "id": 335, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -21850,7 +22856,7 @@ } }, { - "id": 328, + "id": 330, "name": "url", "kind": 1024, "kindString": "Property", @@ -21874,7 +22880,17 @@ { "title": "Properties", "kind": 1024, - "children": [335, 334, 338, 339, 329, 336, 337, 333, 328] + "children": [ + 337, + 336, + 340, + 341, + 331, + 338, + 339, + 335, + 330 + ] } ], "sources": [ @@ -21888,7 +22904,7 @@ } }, { - "id": 773, + "id": 777, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -21896,21 +22912,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 774, + "id": 778, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 775, + "id": 779, "name": "error", "kind": 1024, "kindString": "Property", @@ -21918,7 +22934,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 33 } ], @@ -21927,7 +22943,7 @@ "types": [ { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" }, { @@ -21942,13 +22958,15 @@ { "title": "Properties", "kind": 1024, - "children": [775] + "children": [ + 779 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 950, + "line": 957, "character": 31 } ] @@ -21956,7 +22974,7 @@ } }, { - "id": 647, + "id": 651, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -21964,14 +22982,99 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 683, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 652, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 654, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 687, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 654, + 653 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 683, + "character": 42 + } + ] + } + } + }, + { + "id": 648, + "name": "MFAChallengeParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21979,12 +23082,12 @@ "children": [ { "id": 650, - "name": "code", + "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "Verification code provided by the user." + "shortText": "ID of the factor to be challenged. Returned in enroll()." }, "sources": [ { @@ -21997,101 +23100,21 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 649, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 678, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [ + 650 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, - "character": 42 - } - ] - } - } - }, - { - "id": 644, - "name": "MFAChallengeParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 646, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor to be challenged. Returned in enroll()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 673, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, + "line": 678, "character": 33 } ] @@ -22099,7 +23122,7 @@ } }, { - "id": 631, + "id": 635, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -22107,21 +23130,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 653, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 632, + "id": 636, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 633, + "id": 637, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -22132,7 +23155,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 648, + "line": 655, "character": 2 } ], @@ -22142,7 +23165,7 @@ } }, { - "id": 635, + "id": 639, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -22155,7 +23178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 659, "character": 2 } ], @@ -22165,7 +23188,7 @@ } }, { - "id": 634, + "id": 638, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -22175,67 +23198,6 @@ "comment": { "shortText": "Domain which the user is enrolled with." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 650, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 635, 634] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 646, - "character": 30 - } - ] - } - } - }, - { - "id": 636, - "name": "MFAUnenrollParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 655, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 637, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 638, - "name": "factorId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor being unenrolled." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -22253,36 +23215,40 @@ { "title": "Properties", "kind": 1024, - "children": [638] + "children": [ + 637, + 639, + 638 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 655, - "character": 32 + "line": 653, + "character": 30 } ] } } }, { - "id": 639, - "name": "MFAVerifyParams", + "id": 640, + "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 662, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 640, + "id": 641, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22290,59 +23256,17 @@ "children": [ { "id": 642, - "name": "challengeId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the challenge being verified. Returned in challenge()." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 665, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 643, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Verification code provided by the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 668, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 641, "name": "factorId", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "ID of the factor being verified. Returned in enroll()." + "shortText": "ID of the factor being unenrolled." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 664, "character": 2 } ], @@ -22356,13 +23280,122 @@ { "title": "Properties", "kind": 1024, - "children": [642, 643, 641] + "children": [ + 642 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 660, + "line": 662, + "character": 32 + } + ] + } + } + }, + { + "id": 643, + "name": "MFAVerifyParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 646, + "name": "challengeId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the challenge being verified. Returned in challenge()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 647, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification code provided by the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 675, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 645, + "name": "factorId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor being verified. Returned in enroll()." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 669, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 646, + 647, + 645 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, "character": 30 } ] @@ -22370,7 +23403,7 @@ } }, { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -22378,7 +23411,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -22397,7 +23430,7 @@ } }, { - "id": 353, + "id": 355, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -22415,14 +23448,14 @@ { "type": "reflection", "declaration": { - "id": 354, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 355, + "id": 357, "name": "data", "kind": 1024, "kindString": "Property", @@ -22437,14 +23470,14 @@ "type": { "type": "reflection", "declaration": { - "id": 356, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 357, + "id": 359, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22458,12 +23491,12 @@ ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider" } }, { - "id": 358, + "id": 360, "name": "url", "kind": 1024, "kindString": "Property", @@ -22485,7 +23518,10 @@ { "title": "Properties", "kind": 1024, - "children": [357, 358] + "children": [ + 359, + 360 + ] } ], "sources": [ @@ -22499,7 +23535,7 @@ } }, { - "id": 359, + "id": 361, "name": "error", "kind": 1024, "kindString": "Property", @@ -22521,7 +23557,10 @@ { "title": "Properties", "kind": 1024, - "children": [355, 359] + "children": [ + 357, + 361 + ] } ], "sources": [ @@ -22536,14 +23575,14 @@ { "type": "reflection", "declaration": { - "id": 360, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 361, + "id": 363, "name": "data", "kind": 1024, "kindString": "Property", @@ -22558,14 +23597,14 @@ "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 363, + "id": 365, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22579,12 +23618,12 @@ ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider" } }, { - "id": 364, + "id": 366, "name": "url", "kind": 1024, "kindString": "Property", @@ -22606,7 +23645,10 @@ { "title": "Properties", "kind": 1024, - "children": [363, 364] + "children": [ + 365, + 366 + ] } ], "sources": [ @@ -22620,7 +23662,7 @@ } }, { - "id": 365, + "id": 367, "name": "error", "kind": 1024, "kindString": "Property", @@ -22634,7 +23676,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -22643,7 +23685,10 @@ { "title": "Properties", "kind": 1024, - "children": [361, 365] + "children": [ + 363, + 367 + ] } ], "sources": [ @@ -22659,7 +23704,7 @@ } }, { - "id": 790, + "id": 794, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -22667,21 +23712,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 791, + "id": 795, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 792, + "id": 796, "name": "page", "kind": 1024, "kindString": "Property", @@ -22694,7 +23739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 971, + "line": 978, "character": 2 } ], @@ -22704,7 +23749,7 @@ } }, { - "id": 793, + "id": 797, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -22717,7 +23762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 973, + "line": 980, "character": 2 } ], @@ -22731,13 +23776,16 @@ { "title": "Properties", "kind": 1024, - "children": [792, 793] + "children": [ + 796, + 797 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 969, + "line": 976, "character": 25 } ] @@ -22745,7 +23793,7 @@ } }, { - "id": 783, + "id": 787, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -22753,21 +23801,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 962, + "line": 969, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 784, + "id": 788, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 786, + "id": 790, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -22775,7 +23823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 972, "character": 2 } ], @@ -22785,7 +23833,7 @@ } }, { - "id": 785, + "id": 789, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -22793,7 +23841,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 964, + "line": 971, "character": 2 } ], @@ -22812,7 +23860,7 @@ } }, { - "id": 787, + "id": 791, "name": "total", "kind": 1024, "kindString": "Property", @@ -22820,7 +23868,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 966, + "line": 973, "character": 2 } ], @@ -22834,25 +23882,29 @@ { "title": "Properties", "kind": 1024, - "children": [786, 785, 787] + "children": [ + 790, + 789, + 791 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 962, + "line": 969, "character": 25 } ], "indexSignature": { - "id": 788, + "id": 792, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 789, + "id": 793, "name": "key", "kind": 32768, "flags": {}, @@ -22871,7 +23923,7 @@ } }, { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -22961,7 +24013,7 @@ } }, { - "id": 558, + "id": 562, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -22969,7 +24021,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 516, "character": 12 } ], @@ -22979,14 +24031,14 @@ { "type": "reflection", "declaration": { - "id": 559, + "id": 563, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 565, "name": "email", "kind": 1024, "kindString": "Property", @@ -22994,7 +24046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 519, "character": 6 } ], @@ -23004,7 +24056,7 @@ } }, { - "id": 562, + "id": 566, "name": "options", "kind": 1024, "kindString": "Property", @@ -23014,21 +24066,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 563, + "id": 567, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 564, + "id": 568, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23041,7 +24093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 522, "character": 8 } ], @@ -23055,13 +24107,15 @@ { "title": "Properties", "kind": 1024, - "children": [564] + "children": [ + 568 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 513, + "line": 520, "character": 16 } ] @@ -23069,7 +24123,7 @@ } }, { - "id": 560, + "id": 564, "name": "type", "kind": 1024, "kindString": "Property", @@ -23077,7 +24131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 518, "character": 6 } ], @@ -23086,7 +24140,7 @@ "typeArguments": [ { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType" }, { @@ -23113,13 +24167,17 @@ { "title": "Properties", "kind": 1024, - "children": [561, 562, 560] + "children": [ + 565, + 566, + 564 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 510, + "line": 517, "character": 4 } ] @@ -23128,14 +24186,14 @@ { "type": "reflection", "declaration": { - "id": 565, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 572, "name": "options", "kind": 1024, "kindString": "Property", @@ -23145,21 +24203,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 569, + "id": 573, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 570, + "id": 574, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23172,7 +24230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 523, + "line": 530, "character": 8 } ], @@ -23186,13 +24244,15 @@ { "title": "Properties", "kind": 1024, - "children": [570] + "children": [ + 574 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 528, "character": 16 } ] @@ -23200,7 +24260,7 @@ } }, { - "id": 567, + "id": 571, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23208,7 +24268,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 527, "character": 6 } ], @@ -23218,7 +24278,7 @@ } }, { - "id": 566, + "id": 570, "name": "type", "kind": 1024, "kindString": "Property", @@ -23226,7 +24286,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 526, "character": 6 } ], @@ -23235,7 +24295,7 @@ "typeArguments": [ { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType" }, { @@ -23247,7 +24307,7 @@ }, { "type": "literal", - "value": "phone" + "value": "phone_change" } ] } @@ -23262,13 +24322,17 @@ { "title": "Properties", "kind": 1024, - "children": [568, 567, 566] + "children": [ + 572, + 571, + 570 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 525, "character": 4 } ] @@ -23278,7 +24342,7 @@ } }, { - "id": 366, + "id": 368, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -23296,14 +24360,14 @@ { "type": "reflection", "declaration": { - "id": 367, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 368, + "id": 370, "name": "data", "kind": 1024, "kindString": "Property", @@ -23318,14 +24382,14 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 370, + "id": 372, "name": "url", "kind": 1024, "kindString": "Property", @@ -23351,7 +24415,9 @@ { "title": "Properties", "kind": 1024, - "children": [370] + "children": [ + 372 + ] } ], "sources": [ @@ -23365,7 +24431,7 @@ } }, { - "id": 371, + "id": 373, "name": "error", "kind": 1024, "kindString": "Property", @@ -23387,7 +24453,10 @@ { "title": "Properties", "kind": 1024, - "children": [368, 371] + "children": [ + 370, + 373 + ] } ], "sources": [ @@ -23402,14 +24471,14 @@ { "type": "reflection", "declaration": { - "id": 372, + "id": 374, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 373, + "id": 375, "name": "data", "kind": 1024, "kindString": "Property", @@ -23427,7 +24496,7 @@ } }, { - "id": 374, + "id": 376, "name": "error", "kind": 1024, "kindString": "Property", @@ -23441,7 +24510,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -23450,7 +24519,10 @@ { "title": "Properties", "kind": 1024, - "children": [373, 374] + "children": [ + 375, + 376 + ] } ], "sources": [ @@ -23466,7 +24538,7 @@ } }, { - "id": 531, + "id": 535, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23474,21 +24546,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 535, + "id": 539, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -23501,7 +24573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 464, + "line": 471, "character": 2 } ], @@ -23511,7 +24583,7 @@ } }, { - "id": 536, + "id": 540, "name": "options", "kind": 1024, "kindString": "Property", @@ -23521,21 +24593,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 537, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 538, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23548,7 +24620,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 467, + "line": 474, "character": 4 } ], @@ -23562,13 +24634,15 @@ { "title": "Properties", "kind": 1024, - "children": [538] + "children": [ + 542 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 472, "character": 12 } ] @@ -23576,7 +24650,7 @@ } }, { - "id": 533, + "id": 537, "name": "provider", "kind": 1024, "kindString": "Property", @@ -23587,7 +24661,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 460, + "line": 467, "character": 2 } ], @@ -23606,7 +24680,7 @@ } }, { - "id": 534, + "id": 538, "name": "token", "kind": 1024, "kindString": "Property", @@ -23617,7 +24691,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 462, + "line": 469, "character": 2 } ], @@ -23631,13 +24705,18 @@ { "title": "Properties", "kind": 1024, - "children": [535, 536, 533, 534] + "children": [ + 539, + 540, + 537, + 538 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 463, "character": 43 } ] @@ -23645,7 +24724,7 @@ } }, { - "id": 519, + "id": 523, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23653,21 +24732,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 526, "name": "options", "kind": 1024, "kindString": "Property", @@ -23677,21 +24756,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 523, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 530, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -23704,14 +24783,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 527, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -23719,19 +24798,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 450, + "line": 457, "character": 18 } ], "indexSignature": { - "id": 528, + "id": 532, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 529, + "id": 533, "name": "key", "kind": 32768, "flags": {}, @@ -23750,7 +24829,7 @@ } }, { - "id": 524, + "id": 528, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23763,7 +24842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 446, + "line": 453, "character": 4 } ], @@ -23773,7 +24852,7 @@ } }, { - "id": 525, + "id": 529, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -23786,7 +24865,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 455, "character": 4 } ], @@ -23796,7 +24875,7 @@ } }, { - "id": 530, + "id": 534, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -23809,7 +24888,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 452, + "line": 459, "character": 4 } ], @@ -23823,13 +24902,18 @@ { "title": "Properties", "kind": 1024, - "children": [526, 524, 525, 530] + "children": [ + 530, + 528, + 529, + 534 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 444, + "line": 451, "character": 12 } ] @@ -23837,7 +24921,7 @@ } }, { - "id": 521, + "id": 525, "name": "provider", "kind": 1024, "kindString": "Property", @@ -23848,16 +24932,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 443, + "line": 450, "character": 2 } ], "type": { "type": "reference", - "id": 323, + "id": 325, "name": "Provider", "dereferenced": { - "id": 323, + "id": 325, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -23953,13 +25037,16 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [ + 526, + 525 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 441, + "line": 448, "character": 41 } ] @@ -23967,7 +25054,7 @@ } }, { - "id": 487, + "id": 491, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23975,7 +25062,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 374, + "line": 381, "character": 12 } ], @@ -23985,14 +25072,14 @@ { "type": "reflection", "declaration": { - "id": 488, + "id": 492, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 493, "name": "email", "kind": 1024, "kindString": "Property", @@ -24003,229 +25090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 492, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 493, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [493] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, - "character": 16 - } - ] - } - } - }, - { - "id": 490, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 379, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [489, 491, 490] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 375, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 497, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 498, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 500, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 398, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 499, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 396, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [500, 499] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 390, - "character": 16 - } - ] - } - } - }, - { - "id": 496, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 389, + "line": 384, "character": 6 } ], @@ -24236,12 +25101,11 @@ }, { "id": 495, - "name": "phone", + "name": "options", "kind": 1024, "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." + "flags": { + "isOptional": true }, "sources": [ { @@ -24250,6 +25114,74 @@ "character": 6 } ], + "type": { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 497, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 389, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 497 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 387, + "character": 16 + } + ] + } + } + }, + { + "id": 494, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 6 + } + ], "type": { "type": "intrinsic", "name": "string" @@ -24260,69 +25192,33 @@ { "title": "Properties", "kind": 1024, - "children": [497, 496, 495] + "children": [ + 493, + 495, + 494 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 382, "character": 4 } ] } - } - ] - } - }, - { - "id": 501, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 402, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ + }, { "type": "reflection", "declaration": { - "id": 502, + "id": 498, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 503, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 405, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 504, + "id": 501, "name": "options", "kind": 1024, "kindString": "Property", @@ -24332,21 +25228,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 397, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 502, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 504, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24359,7 +25255,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 405, "character": 8 } ], @@ -24369,7 +25265,7 @@ } }, { - "id": 508, + "id": 503, "name": "data", "kind": 1024, "kindString": "Property", @@ -24383,7 +25279,211 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 403, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 504, + 503 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 397, + "character": 16 + } + ] + } + } + }, + { + "id": 500, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 396, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 394, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 501, + 500, + 499 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 392, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 505, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 409, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 507, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 412, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 509, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 513, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 425, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", + "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, "character": 8 } ], @@ -24393,7 +25493,7 @@ } }, { - "id": 506, + "id": 510, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -24406,7 +25506,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 408, + "line": 415, "character": 8 } ], @@ -24416,7 +25516,7 @@ } }, { - "id": 507, + "id": 511, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -24429,7 +25529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 410, + "line": 417, "character": 8 } ], @@ -24443,13 +25543,18 @@ { "title": "Properties", "kind": 1024, - "children": [509, 508, 506, 507] + "children": [ + 513, + 512, + 510, + 511 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 406, + "line": 413, "character": 16 } ] @@ -24461,13 +25566,16 @@ { "title": "Properties", "kind": 1024, - "children": [503, 504] + "children": [ + 507, + 508 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 410, "character": 4 } ] @@ -24476,14 +25584,14 @@ { "type": "reflection", "declaration": { - "id": 510, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 512, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -24493,21 +25601,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 516, + "id": 520, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24520,7 +25628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 434, + "line": 441, "character": 8 } ], @@ -24530,7 +25638,7 @@ } }, { - "id": 517, + "id": 521, "name": "channel", "kind": 1024, "kindString": "Property", @@ -24543,7 +25651,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 436, + "line": 443, "character": 8 } ], @@ -24562,7 +25670,7 @@ } }, { - "id": 515, + "id": 519, "name": "data", "kind": 1024, "kindString": "Property", @@ -24576,7 +25684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 432, + "line": 439, "character": 8 } ], @@ -24586,7 +25694,7 @@ } }, { - "id": 514, + "id": 518, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -24599,7 +25707,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 433, "character": 8 } ], @@ -24613,13 +25721,18 @@ { "title": "Properties", "kind": 1024, - "children": [516, 517, 515, 514] + "children": [ + 520, + 521, + 519, + 518 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 424, + "line": 431, "character": 16 } ] @@ -24627,7 +25740,7 @@ } }, { - "id": 511, + "id": 515, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24638,7 +25751,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 423, + "line": 430, "character": 6 } ], @@ -24652,13 +25765,16 @@ { "title": "Properties", "kind": 1024, - "children": [512, 511] + "children": [ + 516, + 515 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 428, "character": 4 } ] @@ -24668,7 +25784,7 @@ } }, { - "id": 571, + "id": 575, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -24676,7 +25792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 527, + "line": 534, "character": 12 } ], @@ -24686,14 +25802,14 @@ { "type": "reflection", "declaration": { - "id": 572, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 574, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -24703,21 +25819,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 579, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 577, + "id": 581, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24730,7 +25846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 543, "character": 8 } ], @@ -24740,7 +25856,7 @@ } }, { - "id": 576, + "id": 580, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24753,7 +25869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 534, + "line": 541, "character": 8 } ], @@ -24767,13 +25883,16 @@ { "title": "Properties", "kind": 1024, - "children": [577, 576] + "children": [ + 581, + 580 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 539, "character": 16 } ] @@ -24781,7 +25900,7 @@ } }, { - "id": 573, + "id": 577, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -24792,7 +25911,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 530, + "line": 537, "character": 6 } ], @@ -24806,13 +25925,16 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573] + "children": [ + 578, + 577 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 535, "character": 4 } ] @@ -24821,14 +25943,14 @@ { "type": "reflection", "declaration": { - "id": 578, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 579, + "id": 583, "name": "domain", "kind": 1024, "kindString": "Property", @@ -24839,7 +25961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 541, + "line": 548, "character": 6 } ], @@ -24849,7 +25971,7 @@ } }, { - "id": 580, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -24859,21 +25981,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 583, + "id": 587, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24886,7 +26008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 554, "character": 8 } ], @@ -24896,7 +26018,7 @@ } }, { - "id": 582, + "id": 586, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24909,7 +26031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 545, + "line": 552, "character": 8 } ], @@ -24923,13 +26045,16 @@ { "title": "Properties", "kind": 1024, - "children": [583, 582] + "children": [ + 587, + 586 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 543, + "line": 550, "character": 16 } ] @@ -24941,13 +26066,16 @@ { "title": "Properties", "kind": 1024, - "children": [579, 580] + "children": [ + 583, + 584 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 546, "character": 4 } ] @@ -24957,7 +26085,7 @@ } }, { - "id": 470, + "id": 474, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -24965,7 +26093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 337, + "line": 344, "character": 12 } ], @@ -24975,14 +26103,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 475, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 476, "name": "email", "kind": 1024, "kindString": "Property", @@ -24993,7 +26121,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 340, + "line": 347, "character": 6 } ], @@ -25003,7 +26131,7 @@ } }, { - "id": 474, + "id": 478, "name": "options", "kind": 1024, "kindString": "Property", @@ -25013,21 +26141,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 475, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 482, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -25040,7 +26168,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 353, + "line": 360, "character": 8 } ], @@ -25050,7 +26178,7 @@ } }, { - "id": 477, + "id": 481, "name": "data", "kind": 1024, "kindString": "Property", @@ -25064,7 +26192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 358, "character": 8 } ], @@ -25074,7 +26202,7 @@ } }, { - "id": 476, + "id": 480, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -25087,7 +26215,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 345, + "line": 352, "character": 8 } ], @@ -25101,13 +26229,17 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 476] + "children": [ + 482, + 481, + 480 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 343, + "line": 350, "character": 16 } ] @@ -25115,7 +26247,7 @@ } }, { - "id": 473, + "id": 477, "name": "password", "kind": 1024, "kindString": "Property", @@ -25126,7 +26258,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 349, "character": 6 } ], @@ -25140,13 +26272,17 @@ { "title": "Properties", "kind": 1024, - "children": [472, 474, 473] + "children": [ + 476, + 478, + 477 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 345, "character": 4 } ] @@ -25155,14 +26291,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 483, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 482, + "id": 486, "name": "options", "kind": 1024, "kindString": "Property", @@ -25172,21 +26308,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 483, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 489, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -25199,7 +26335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 376, "character": 8 } ], @@ -25209,7 +26345,7 @@ } }, { - "id": 486, + "id": 490, "name": "channel", "kind": 1024, "kindString": "Property", @@ -25222,7 +26358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 371, + "line": 378, "character": 8 } ], @@ -25241,7 +26377,7 @@ } }, { - "id": 484, + "id": 488, "name": "data", "kind": 1024, "kindString": "Property", @@ -25255,7 +26391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 367, + "line": 374, "character": 8 } ], @@ -25269,13 +26405,17 @@ { "title": "Properties", "kind": 1024, - "children": [485, 486, 484] + "children": [ + 489, + 490, + 488 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 361, + "line": 368, "character": 16 } ] @@ -25283,7 +26423,7 @@ } }, { - "id": 481, + "id": 485, "name": "password", "kind": 1024, "kindString": "Property", @@ -25294,7 +26434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 367, "character": 6 } ], @@ -25304,7 +26444,7 @@ } }, { - "id": 480, + "id": 484, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25315,7 +26455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 365, "character": 6 } ], @@ -25329,13 +26469,17 @@ { "title": "Properties", "kind": 1024, - "children": [482, 481, 480] + "children": [ + 486, + 485, + 484 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 356, + "line": 363, "character": 4 } ] @@ -25345,7 +26489,7 @@ } }, { - "id": 772, + "id": 776, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -25353,7 +26497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 948, + "line": 955, "character": 12 } ], @@ -25396,7 +26540,7 @@ } }, { - "id": 375, + "id": 377, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -25414,14 +26558,14 @@ { "type": "reflection", "declaration": { - "id": 376, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 377, + "id": 379, "name": "data", "kind": 1024, "kindString": "Property", @@ -25436,14 +26580,14 @@ "type": { "type": "reflection", "declaration": { - "id": 378, + "id": 380, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 379, + "id": 381, "name": "user", "kind": 1024, "kindString": "Property", @@ -25457,7 +26601,7 @@ ], "type": { "type": "reference", - "id": 423, + "id": 425, "name": "User" } } @@ -25466,7 +26610,9 @@ { "title": "Properties", "kind": 1024, - "children": [379] + "children": [ + 381 + ] } ], "sources": [ @@ -25480,7 +26626,7 @@ } }, { - "id": 380, + "id": 382, "name": "error", "kind": 1024, "kindString": "Property", @@ -25502,7 +26648,10 @@ { "title": "Properties", "kind": 1024, - "children": [377, 380] + "children": [ + 379, + 382 + ] } ], "sources": [ @@ -25517,14 +26666,14 @@ { "type": "reflection", "declaration": { - "id": 381, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 382, + "id": 384, "name": "data", "kind": 1024, "kindString": "Property", @@ -25539,14 +26688,14 @@ "type": { "type": "reflection", "declaration": { - "id": 383, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 384, + "id": 386, "name": "user", "kind": 1024, "kindString": "Property", @@ -25568,7 +26717,9 @@ { "title": "Properties", "kind": 1024, - "children": [384] + "children": [ + 386 + ] } ], "sources": [ @@ -25582,7 +26733,7 @@ } }, { - "id": 385, + "id": 387, "name": "error", "kind": 1024, "kindString": "Property", @@ -25596,7 +26747,7 @@ ], "type": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -25605,7 +26756,10 @@ { "title": "Properties", "kind": 1024, - "children": [382, 385] + "children": [ + 384, + 387 + ] } ], "sources": [ @@ -25621,7 +26775,7 @@ } }, { - "id": 539, + "id": 543, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -25629,7 +26783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 471, + "line": 478, "character": 12 } ], @@ -25637,14 +26791,14 @@ "type": "union", "types": [ { - "id": 540, + "id": 544, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 544, + "id": 548, "name": "options", "kind": 1024, "kindString": "Property", @@ -25654,21 +26808,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 486, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 545, + "id": 549, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 547, + "id": 551, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -25687,7 +26841,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 495, "character": 4 } ], @@ -25697,7 +26851,7 @@ } }, { - "id": 546, + "id": 550, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -25710,7 +26864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 488, "character": 4 } ], @@ -25724,14 +26878,17 @@ { "title": "Properties", "kind": 1024, - "children": [547, 546] + "children": [ + 551, + 550 + ] } ] } } }, { - "id": 541, + "id": 545, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25742,7 +26899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 481, "character": 2 } ], @@ -25752,7 +26909,7 @@ } }, { - "id": 542, + "id": 546, "name": "token", "kind": 1024, "kindString": "Property", @@ -25763,7 +26920,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 476, + "line": 483, "character": 2 } ], @@ -25773,7 +26930,7 @@ } }, { - "id": 543, + "id": 547, "name": "type", "kind": 1024, "kindString": "Property", @@ -25784,16 +26941,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 478, + "line": 485, "character": 2 } ], "type": { "type": "reference", - "id": 556, + "id": 560, "name": "MobileOtpType", "dereferenced": { - "id": 556, + "id": 560, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -25801,7 +26958,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 513, "character": 12 } ], @@ -25826,26 +26983,31 @@ { "title": "Properties", "kind": 1024, - "children": [544, 541, 542, 543] + "children": [ + 548, + 545, + 546, + 547 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 479, "character": 17 } ] }, { - "id": 548, + "id": 552, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 549, + "id": 553, "name": "email", "kind": 1024, "kindString": "Property", @@ -25856,7 +27018,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 493, + "line": 500, "character": 2 } ], @@ -25866,7 +27028,7 @@ } }, { - "id": 552, + "id": 556, "name": "options", "kind": 1024, "kindString": "Property", @@ -25876,21 +27038,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 505, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 553, + "id": 557, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 559, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -25903,7 +27065,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 509, "character": 4 } ], @@ -25913,7 +27075,7 @@ } }, { - "id": 554, + "id": 558, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -25926,7 +27088,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 507, "character": 4 } ], @@ -25940,14 +27102,17 @@ { "title": "Properties", "kind": 1024, - "children": [555, 554] + "children": [ + 559, + 558 + ] } ] } } }, { - "id": 550, + "id": 554, "name": "token", "kind": 1024, "kindString": "Property", @@ -25958,7 +27123,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 502, "character": 2 } ], @@ -25968,7 +27133,7 @@ } }, { - "id": 551, + "id": 555, "name": "type", "kind": 1024, "kindString": "Property", @@ -25979,16 +27144,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 504, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 561, "name": "EmailOtpType", "dereferenced": { - "id": 557, + "id": 561, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -25996,7 +27161,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 514, "character": 12 } ], @@ -26037,13 +27202,18 @@ { "title": "Properties", "kind": 1024, - "children": [549, 552, 550, 551] + "children": [ + 553, + 556, + 554, + 555 + ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 498, "character": 17 } ] @@ -26052,7 +27222,7 @@ } }, { - "id": 797, + "id": 801, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -26066,14 +27236,14 @@ ], "signatures": [ { - "id": 798, + "id": 802, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 799, + "id": 803, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -26090,7 +27260,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 807, + "id": 811, "name": "AuthApiError" } } @@ -26098,7 +27268,7 @@ ] }, { - "id": 794, + "id": 798, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -26112,14 +27282,14 @@ ], "signatures": [ { - "id": 795, + "id": 799, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 796, + "id": 800, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -26136,7 +27306,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 800, + "id": 804, "name": "AuthError" } } @@ -26148,26 +27318,103 @@ { "title": "Classes", "kind": 128, - "children": [807, 800, 868, 855, 893, 918, 843, 820, 828, 1, 77] + "children": [ + 811, + 804, + 872, + 859, + 897, + 922, + 847, + 824, + 832, + 1, + 77 + ] }, { "title": "Interfaces", "kind": 256, - "children": [395, 451, 409, 606, 765, 720, 386, 460, 468, 423, 416, 446, 398, 420, 548, 540] + "children": [ + 397, + 454, + 411, + 610, + 769, + 724, + 388, + 464, + 472, + 425, + 418, + 448, + 400, + 422, + 552, + 544 + ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 325, 324, 518, 749, 740, 762, 753, 688, 664, 709, 698, 679, 651, 340, 708, 776, 557, 600, - 590, 609, 623, 610, 630, 595, 584, 326, 773, 647, 644, 631, 636, 639, 556, 353, 790, 783, - 323, 558, 366, 531, 519, 487, 501, 571, 470, 772, 375, 539 + 327, + 326, + 522, + 753, + 744, + 766, + 757, + 692, + 668, + 713, + 702, + 683, + 655, + 342, + 712, + 780, + 561, + 604, + 594, + 613, + 627, + 614, + 634, + 599, + 588, + 328, + 777, + 651, + 648, + 635, + 640, + 643, + 560, + 355, + 794, + 787, + 325, + 562, + 368, + 535, + 523, + 491, + 505, + 575, + 474, + 776, + 377, + 543 ] }, { "title": "Functions", "kind": 64, - "children": [797, 794] + "children": [ + 801, + 798 + ] } ], "sources": [ @@ -26177,4 +27424,4 @@ "character": 0 } ] -} +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json index 6dd0fa63e4f..667700a2d8c 100644 --- a/spec/enrichments/tsdoc_v2/postgrest.json +++ b/spec/enrichments/tsdoc_v2/postgrest.json @@ -1,13209 +1,13428 @@ { - "id": 0, - "name": "@supabase/postgrest-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 536, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, - "children": [ - { - "id": 537, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 538, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 539, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 540, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 545, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 548, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 549, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 550, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 551, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 552, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 543, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 553, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 541, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - }, - { - "id": 544, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 546, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 547, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 542, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 556, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 557, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 558, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 559, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 560, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 561, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 562, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 563, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 564, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 565, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 566, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 567, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 554, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 555, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [537] - }, - { - "title": "Properties", - "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] - }, - { - "title": "Methods", - "kind": 2048, - "children": [556, 554] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 5, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 568, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 437, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 539, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - }, - { - "id": 1, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "PostgREST client." - }, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 41, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "typeParameter": [ - { - "id": 4, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 5, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 6, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 7, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "URL of the PostgREST endpoint" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 8, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 9, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 12, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 50, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 13, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 14, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Custom fetch\n" - }, - "parameters": [ - { - "id": 15, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 16, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 10, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Custom headers" - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 48, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 11, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Postgres schema to switch to" - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 49, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [12, 10, 11] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 1, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 6, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 20, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 21, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 22, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 23, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 24, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 18, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 27, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 19, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - }, - { - "id": 17, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 25, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 59, - "character": 2 - } - ], - "signatures": [ - { - "id": 26, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a query on a table or a view." - }, - "typeParameter": [ - { - "id": 27, - "name": "TableName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 28, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 29, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The table or view name to query\n" - }, - "type": { - "type": "reference", - "id": 27, - "name": "TableName" - } - } - ], - "type": { - "type": "reference", - "id": 49, - "typeArguments": [ - { - "type": "reference", - "id": 6, - "name": "Schema" - }, - { - "type": "reference", - "id": 28, - "name": "Table" - } - ], - "name": "default" - } - }, - { - "id": 30, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a query on a table or a view." - }, - "typeParameter": [ - { - "id": 31, - "name": "ViewName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 32, - "name": "View", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericView" - } - } - ], - "parameters": [ - { - "id": 33, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The table or view name to query\n" - }, - "type": { - "type": "reference", - "id": 31, - "name": "ViewName" - } - } - ], - "type": { - "type": "reference", - "id": 49, - "typeArguments": [ - { - "type": "reference", - "id": 6, - "name": "Schema" - }, - { - "type": "reference", - "id": 32, - "name": "View" - } - ], - "name": "default" - } - }, - { - "id": 34, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a query on a table or a view." - }, - "parameters": [ - { - "id": 35, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The table or view name to query\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 49, - "typeArguments": [ - { - "type": "reference", - "id": 6, - "name": "Schema" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 36, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 102, - "character": 2 - } - ], - "signatures": [ - { - "id": 37, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 38, - "name": "FunctionName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 39, - "name": "Function_", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericFunction" - } - } - ], - "parameters": [ - { - "id": 40, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The function name to call" - }, - "type": { - "type": "reference", - "id": 38, - "name": "FunctionName" - } - }, - { - "id": 41, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The arguments to pass to the function call" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Args" - }, - "objectType": { - "type": "reference", - "id": 39, - "name": "Function_" - } - }, - "defaultValue": "{}" - }, - { - "id": 42, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 43, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 45, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 113, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 44, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count." - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 112, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [45, 44] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 6, - "name": "Schema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 39, - "name": "Function_" - } - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 39, - "name": "Function_" - } - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [2] - }, - { - "title": "Properties", - "kind": 1024, - "children": [20, 18, 19, 17] - }, - { - "title": "Methods", - "kind": 2048, - "children": [25, 36] - } - ], - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 17, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 46, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n" - }, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 47, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n`\"public\"`, this must be supplied manually.\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 48, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ] - }, - { - "id": 114, - "name": "PostgrestFilterBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 115, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "signatures": [ - { - "id": 116, - "name": "new PostgrestFilterBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 117, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 118, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 119, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 120, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 439, - "name": "default.constructor" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 438, - "name": "default.constructor" - } - }, - { - "id": 411, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - }, - "inheritedFrom": { - "type": "reference", - "id": 510, - "name": "default.body" - } - }, - { - "id": 414, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 415, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 416, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 417, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 418, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 513, - "name": "default.fetch" - } - }, - { - "id": 409, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "inheritedFrom": { - "type": "reference", - "id": 508, - "name": "default.headers" - } - }, - { - "id": 419, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 518, - "name": "default.isMaybeSingle" - } - }, - { - "id": 407, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 506, - "name": "default.method" - } - }, - { - "id": 410, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 509, - "name": "default.schema" - } - }, - { - "id": 412, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 511, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 413, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 512, - "name": "default.signal" - } - }, - { - "id": 408, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 507, - "name": "default.url" - } - }, - { - "id": 379, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 125, - "character": 2 - } - ], - "signatures": [ - { - "id": 380, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 381, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The AbortSignal to use for the fetch request\n" - }, - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 479, - "name": "default.abortSignal" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 478, - "name": "default.abortSignal" - } - }, - { - "id": 241, - "name": "containedBy", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 261, - "character": 2 - } - ], - "signatures": [ - { - "id": 242, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." - }, - "typeParameter": [ - { - "id": 243, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 244, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" - }, - "type": { - "type": "reference", - "id": 243, - "name": "ColumnName" - } - }, - { - "id": 245, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 243, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 246, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." - }, - "parameters": [ - { - "id": 247, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 248, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 233, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 234, - "character": 2 - } - ], - "signatures": [ - { - "id": 234, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." - }, - "typeParameter": [ - { - "id": 235, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 236, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" - }, - "type": { - "type": "reference", - "id": 235, - "name": "ColumnName" - } - }, - { - "id": 237, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 235, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 238, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." - }, - "parameters": [ - { - "id": 239, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 240, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The jsonb, array, or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 388, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 166, - "character": 2 - } - ], - "signatures": [ - { - "id": 389, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a string in CSV format." - }, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 488, - "name": "default.csv" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 487, - "name": "default.csv" - } - }, - { - "id": 121, - "name": "eq", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 33, - "character": 2 - } - ], - "signatures": [ - { - "id": 122, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is equal to `value`.", - "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" - }, - "typeParameter": [ - { - "id": 123, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 124, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 123, - "name": "ColumnName" - } - }, - { - "id": 125, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 123, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 126, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is equal to `value`.", - "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" - }, - "parameters": [ - { - "id": 127, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 128, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 392, - "name": "explain", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 200, - "character": 2 - } - ], - "signatures": [ - { - "id": 393, - "name": "explain", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as the EXPLAIN plan for the query." - }, - "parameters": [ - { - "id": 394, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 395, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 396, - "name": "analyze", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 399, - "name": "buffers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on buffer usage\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 211, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 401, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 213, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "text" - }, - { - "type": "literal", - "value": "json" - } - ] - } - }, - { - "id": 398, - "name": "settings", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 210, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 397, - "name": "verbose", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 209, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 400, - "name": "wal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on WAL record generation\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 212, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [396, 399, 401, 398, 397, 400] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "name": "default" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 492, - "name": "default.explain" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 491, - "name": "default.explain" - } - }, - { - "id": 335, - "name": "filter", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 480, - "character": 2 - } - ], - "signatures": [ - { - "id": 336, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "typeParameter": [ - { - "id": 337, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 338, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 337, - "name": "ColumnName" - } - }, - { - "id": 339, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to filter with, following PostgREST syntax" - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "FilterOperator" - }, - { - "type": "literal", - "value": "not.eq" - }, - { - "type": "literal", - "value": "not.neq" - }, - { - "type": "literal", - "value": "not.gt" - }, - { - "type": "literal", - "value": "not.gte" - }, - { - "type": "literal", - "value": "not.lt" - }, - { - "type": "literal", - "value": "not.lte" - }, - { - "type": "literal", - "value": "not.like" - }, - { - "type": "literal", - "value": "not.ilike" - }, - { - "type": "literal", - "value": "not.is" - }, - { - "type": "literal", - "value": "not.in" - }, - { - "type": "literal", - "value": "not.cs" - }, - { - "type": "literal", - "value": "not.cd" - }, - { - "type": "literal", - "value": "not.sl" - }, - { - "type": "literal", - "value": "not.sr" - }, - { - "type": "literal", - "value": "not.nxl" - }, - { - "type": "literal", - "value": "not.nxr" - }, - { - "type": "literal", - "value": "not.adj" - }, - { - "type": "literal", - "value": "not.ov" - }, - { - "type": "literal", - "value": "not.fts" - }, - { - "type": "literal", - "value": "not.plfts" - }, - { - "type": "literal", - "value": "not.phfts" - }, - { - "type": "literal", - "value": "not.wfts" - } - ] - } - }, - { - "id": 340, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 341, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "parameters": [ - { - "id": 342, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 343, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to filter with, following PostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 344, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 390, - "name": "geojson", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 174, - "character": 2 - } - ], - "signatures": [ - { - "id": 391, - "name": "geojson", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." - }, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 490, - "name": "default.geojson" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 489, - "name": "default.geojson" - } - }, - { - "id": 137, - "name": "gt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 61, - "character": 2 - } - ], - "signatures": [ - { - "id": 138, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is greater than `value`." - }, - "typeParameter": [ - { - "id": 139, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 140, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 139, - "name": "ColumnName" - } - }, - { - "id": 141, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 139, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 142, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is greater than `value`." - }, - "parameters": [ - { - "id": 143, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 144, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 145, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 74, - "character": 2 - } - ], - "signatures": [ - { - "id": 146, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is greater than or equal to `value`." - }, - "typeParameter": [ - { - "id": 147, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 148, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 147, - "name": "ColumnName" - } - }, - { - "id": 149, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 147, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 150, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is greater than or equal to `value`." - }, - "parameters": [ - { - "id": 151, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 152, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 193, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 152, - "character": 2 - } - ], - "signatures": [ - { - "id": 194, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches `pattern` case-insensitively." - }, - "typeParameter": [ - { - "id": 195, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 196, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 195, - "name": "ColumnName" - } - }, - { - "id": 197, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to match with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 198, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches `pattern` case-insensitively." - }, - "parameters": [ - { - "id": 199, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 200, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to match with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 201, - "name": "ilikeAllOf", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 165, - "character": 2 - } - ], - "signatures": [ - { - "id": 202, - "name": "ilikeAllOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively." - }, - "typeParameter": [ - { - "id": 203, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 204, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 203, - "name": "ColumnName" - } - }, - { - "id": 205, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 206, - "name": "ilikeAllOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively." - }, - "parameters": [ - { - "id": 207, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 208, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 209, - "name": "ilikeAnyOf", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 178, - "character": 2 - } - ], - "signatures": [ - { - "id": 210, - "name": "ilikeAnyOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively." - }, - "typeParameter": [ - { - "id": 211, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 212, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 211, - "name": "ColumnName" - } - }, - { - "id": 213, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 214, - "name": "ilikeAnyOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively." - }, - "parameters": [ - { - "id": 215, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 216, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 225, - "name": "in", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 213, - "character": 2 - } - ], - "signatures": [ - { - "id": 226, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is included in the `values` array." - }, - "typeParameter": [ - { - "id": 227, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 228, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 227, - "name": "ColumnName" - } - }, - { - "id": 229, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values array to filter with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 227, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 230, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is included in the `values` array." - }, - "parameters": [ - { - "id": 231, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 232, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values array to filter with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 217, - "name": "is", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 191, - "character": 2 - } - ], - "signatures": [ - { - "id": 218, - "name": "is", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` IS `value`.", - "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" - }, - "typeParameter": [ - { - "id": 219, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 220, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 219, - "name": "ColumnName" - } - }, - { - "id": 221, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 219, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - }, - { - "type": "literal", - "value": null - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 219, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - }, - { - "type": "literal", - "value": false - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 219, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - }, - { - "type": "literal", - "value": true - } - ] - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 222, - "name": "is", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` IS `value`.", - "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" - }, - "parameters": [ - { - "id": 223, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 224, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 169, - "name": "like", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 113, - "character": 2 - } - ], - "signatures": [ - { - "id": 170, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches `pattern` case-sensitively." - }, - "typeParameter": [ - { - "id": 171, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 172, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 171, - "name": "ColumnName" - } - }, - { - "id": 173, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to match with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 174, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches `pattern` case-sensitively." - }, - "parameters": [ - { - "id": 175, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 176, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to match with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 177, - "name": "likeAllOf", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 126, - "character": 2 - } - ], - "signatures": [ - { - "id": 178, - "name": "likeAllOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively." - }, - "typeParameter": [ - { - "id": 179, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 180, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 179, - "name": "ColumnName" - } - }, - { - "id": 181, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 182, - "name": "likeAllOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively." - }, - "parameters": [ - { - "id": 183, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 184, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 185, - "name": "likeAnyOf", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 139, - "character": 2 - } - ], - "signatures": [ - { - "id": 186, - "name": "likeAnyOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively." - }, - "typeParameter": [ - { - "id": 187, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 188, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 187, - "name": "ColumnName" - } - }, - { - "id": 189, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 190, - "name": "likeAnyOf", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively." - }, - "parameters": [ - { - "id": 191, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 192, - "name": "patterns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The patterns to match with\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 366, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 96, - "character": 2 - } - ], - "signatures": [ - { - "id": 367, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by `count`." - }, - "parameters": [ - { - "id": 368, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The maximum number of rows to return" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 369, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 370, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 371, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 96, - "character": 43 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [371] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 466, - "name": "default.limit" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 465, - "name": "default.limit" - } - }, - { - "id": 153, - "name": "lt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 87, - "character": 2 - } - ], - "signatures": [ - { - "id": 154, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is less than `value`." - }, - "typeParameter": [ - { - "id": 155, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 156, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 155, - "name": "ColumnName" - } - }, - { - "id": 157, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 155, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 158, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is less than `value`." - }, - "parameters": [ - { - "id": 159, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 160, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 161, - "name": "lte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 100, - "character": 2 - } - ], - "signatures": [ - { - "id": 162, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is less than or equal to `value`." - }, - "typeParameter": [ - { - "id": 163, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 164, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 163, - "name": "ColumnName" - } - }, - { - "id": 165, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 163, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 166, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is less than or equal to `value`." - }, - "parameters": [ - { - "id": 167, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 168, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 313, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 421, - "character": 2 - } - ], - "signatures": [ - { - "id": 314, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." - }, - "typeParameter": [ - { - "id": 315, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 316, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 315, - "name": "ColumnName" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 315, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 317, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." - }, - "parameters": [ - { - "id": 318, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 385, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 149, - "character": 2 - } - ], - "signatures": [ - { - "id": 386, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" - }, - "typeParameter": [ - { - "id": 387, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 119, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 387, - "name": "ResultOne" - } - ] - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 485, - "name": "default.maybeSingle" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 484, - "name": "default.maybeSingle" - } - }, - { - "id": 129, - "name": "neq", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 130, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is not equal to `value`." - }, - "typeParameter": [ - { - "id": 131, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 132, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 131, - "name": "ColumnName" - } - }, - { - "id": 133, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 131, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 134, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows where `column` is not equal to `value`." - }, - "parameters": [ - { - "id": 135, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 136, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 319, - "name": "not", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 437, - "character": 2 - } - ], - "signatures": [ - { - "id": 320, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "typeParameter": [ - { - "id": 321, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 322, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "reference", - "id": 321, - "name": "ColumnName" - } - }, - { - "id": 323, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "reference", - "name": "FilterOperator" - } - }, - { - "id": 324, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 321, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 325, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "parameters": [ - { - "id": 326, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 327, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 328, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 329, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 474, - "character": 2 - } - ], - "signatures": [ - { - "id": 330, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy at least one of the filters.", - "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" - }, - "parameters": [ - { - "id": 331, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The filters to use, following PostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 332, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 333, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 334, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 474, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [334] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 350, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 44, - "character": 2 - } - ], - "signatures": [ - { - "id": 351, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" - }, - "typeParameter": [ - { - "id": 352, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 353, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 352, - "name": "ColumnName" - } - }, - { - "id": 354, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 355, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 356, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 358, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a foreign table by foreign\ncolumns\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 357, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [356, 358, 357] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 450, - "name": "default.order" - } - }, - { - "id": 359, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" - }, - "parameters": [ - { - "id": 360, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 361, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 362, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 363, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 365, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Set this to order a foreign table by foreign\ncolumns\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 364, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [363, 365, 364] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 458, - "name": "default.order" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 449, - "name": "default.order" - } - }, - { - "id": 289, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 360, - "character": 2 - } - ], - "signatures": [ - { - "id": 290, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." - }, - "typeParameter": [ - { - "id": 291, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 292, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range column to filter on" - }, - "type": { - "type": "reference", - "id": 291, - "name": "ColumnName" - } - }, - { - "id": 293, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 291, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 118, - "name": "Row" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 294, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." - }, - "parameters": [ - { - "id": 295, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 296, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range value to filter with\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 372, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 111, - "character": 2 - } - ], - "signatures": [ - { - "id": 373, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by `from` and `to` inclusively." - }, - "parameters": [ - { - "id": 374, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 375, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 376, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 377, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 378, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 111, - "character": 54 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [378] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 472, - "name": "default.range" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 471, - "name": "default.range" - } - }, - { - "id": 281, - "name": "rangeAdjacent", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 345, - "character": 2 - } - ], - "signatures": [ - { - "id": 282, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." - }, - "typeParameter": [ - { - "id": 283, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 284, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "reference", - "id": 283, - "name": "ColumnName" - } - }, - { - "id": 285, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 286, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." - }, - "parameters": [ - { - "id": 287, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 288, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 249, - "name": "rangeGt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 287, - "character": 2 - } - ], - "signatures": [ - { - "id": 250, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." - }, - "typeParameter": [ - { - "id": 251, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 252, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "reference", - "id": 251, - "name": "ColumnName" - } - }, - { - "id": 253, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 254, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." - }, - "parameters": [ - { - "id": 255, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 256, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 257, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 301, - "character": 2 - } - ], - "signatures": [ - { - "id": 258, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." - }, - "typeParameter": [ - { - "id": 259, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 260, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "reference", - "id": 259, - "name": "ColumnName" - } - }, - { - "id": 261, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 262, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." - }, - "parameters": [ - { - "id": 263, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 264, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 265, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 316, - "character": 2 - } - ], - "signatures": [ - { - "id": 266, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." - }, - "typeParameter": [ - { - "id": 267, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 268, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "reference", - "id": 267, - "name": "ColumnName" - } - }, - { - "id": 269, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 270, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." - }, - "parameters": [ - { - "id": 271, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 272, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 273, - "name": "rangeLte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 330, - "character": 2 - } - ], - "signatures": [ - { - "id": 274, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." - }, - "typeParameter": [ - { - "id": 275, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 276, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "reference", - "id": 275, - "name": "ColumnName" - } - }, - { - "id": 277, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 278, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." - }, - "parameters": [ - { - "id": 279, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 280, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 404, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 252, - "character": 2 - } - ], - "signatures": [ - { - "id": 405, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`." - }, - "typeParameter": [ - { - "id": 406, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with\n" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "NewResult" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 504, - "name": "default.returns" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 503, - "name": "default.returns" - } - }, - { - "id": 402, - "name": "rollback", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 238, - "character": 2 - } - ], - "signatures": [ - { - "id": 403, - "name": "rollback", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Rollback the query.", - "text": "`data` will still be returned, but the query is not committed.\n" - }, - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 502, - "name": "default.rollback" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 501, - "name": "default.rollback" - } - }, - { - "id": 345, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 19, - "character": 2 - } - ], - "signatures": [ - { - "id": 346, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a SELECT on the query result.", - "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" - }, - "typeParameter": [ - { - "id": 347, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 348, - "name": "NewResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 347, - "name": "Query" - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 349, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas\n" - }, - "type": { - "type": "reference", - "id": 347, - "name": "Query" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 348, - "name": "NewResultOne" - } - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 445, - "name": "default.select" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 444, - "name": "default.select" - } - }, - { - "id": 382, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 2 - } - ], - "signatures": [ - { - "id": 383, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" - }, - "typeParameter": [ - { - "id": 384, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 119, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 384, - "name": "ResultOne" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 482, - "name": "default.single" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 481, - "name": "default.single" - } - }, - { - "id": 297, - "name": "textSearch", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 383, - "character": 2 - } - ], - "signatures": [ - { - "id": 298, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." - }, - "typeParameter": [ - { - "id": 299, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 300, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The text or tsvector column to filter on" - }, - "type": { - "type": "reference", - "id": 299, - "name": "ColumnName" - } - }, - { - "id": 301, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The query text to match with" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 302, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 303, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 304, - "name": "config", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The text search configuration to use" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 386, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 305, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Change how the `query` text is interpreted\n" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 386, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "plain" - }, - { - "type": "literal", - "value": "phrase" - }, - { - "type": "literal", - "value": "websearch" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [304, 305] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 306, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." - }, - "parameters": [ - { - "id": 307, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The text or tsvector column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 308, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The query text to match with" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 309, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 310, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 311, - "name": "config", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The text search configuration to use" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 391, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 312, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Change how the `query` text is interpreted\n" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 391, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "plain" - }, - { - "type": "literal", - "value": "phrase" - }, - { - "type": "literal", - "value": "websearch" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [311, 312] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 422, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 423, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 424, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 425, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 426, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 427, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 428, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 429, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 430, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 431, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 432, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 433, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 522, - "name": "default.then" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 521, - "name": "default.then" - } - }, - { - "id": 420, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 421, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 520, - "name": "default.throwOnError" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 519, - "name": "default.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [115] - }, - { - "title": "Properties", - "kind": 1024, - "children": [411, 414, 409, 419, 407, 410, 412, 413, 408] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 379, 241, 233, 388, 121, 392, 335, 390, 137, 145, 193, 201, 209, 225, 217, 169, 177, - 185, 366, 153, 161, 313, 385, 129, 319, 329, 350, 289, 372, 281, 249, 257, 265, 273, - 404, 402, 345, 382, 297, 422, 420 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 28, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 434, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 435, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 436, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Schema" - }, - { - "type": "reference", - "id": 118, - "name": "Row" - }, - { - "type": "reference", - "id": 119, - "name": "Result" - } - ], - "name": "default" - } - ] - }, - { - "id": 49, - "name": "PostgrestQueryBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 50, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 16, - "character": 2 - } - ], - "signatures": [ - { - "id": 51, - "name": "new PostgrestQueryBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 52, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 53, - "name": "Relation", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "GenericTable" - }, - { - "type": "reference", - "name": "GenericView" - } - ] - } - } - ], - "parameters": [ - { - "id": 54, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 55, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 56, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 59, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 60, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 61, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 62, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 63, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 57, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 23, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 58, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 24, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [59, 57, 58] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 49, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "reference", - "id": 53, - "name": "Relation" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 68, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 69, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 70, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 71, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 72, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 65, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 66, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 12, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 67, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 13, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 64, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 107, - "name": "delete", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 319, - "character": 2 - } - ], - "signatures": [ - { - "id": 108, - "name": "delete", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a DELETE on the table or view.", - "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" - }, - "parameters": [ - { - "id": 109, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 111, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 322, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [111] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "literal", - "value": null - } - ], - "name": "default" - } - } - ] - }, - { - "id": 82, - "name": "insert", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 120, - "character": 2 - } - ], - "signatures": [ - { - "id": 83, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform an INSERT into the table or view.", - "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" - }, - "typeParameter": [ - { - "id": 84, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 85, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 84, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 84, - "name": "Row" - } - } - ] - } - }, - { - "id": 86, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 87, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 88, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 126, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 89, - "name": "defaultToNull", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 127, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [88, 89] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "literal", - "value": null - } - ], - "name": "default" - } - } - ] - }, - { - "id": 73, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 74, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a SELECT query on the table or view." - }, - "typeParameter": [ - { - "id": 75, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 76, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "reference", - "id": 75, - "name": "Query" - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 77, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n" - }, - "type": { - "type": "reference", - "id": 75, - "name": "Query" - } - }, - { - "id": 78, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 79, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 81, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 62, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 80, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 61, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [81, 80] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 76, - "name": "ResultOne" - } - } - ], - "name": "default" - } - } - ] - }, - { - "id": 100, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 271, - "character": 2 - } - ], - "signatures": [ - { - "id": 101, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform an UPDATE on the table or view.", - "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" - }, - "typeParameter": [ - { - "id": 102, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 103, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to update with\n" - }, - "type": { - "type": "reference", - "id": 102, - "name": "Row" - } - }, - { - "id": 104, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 106, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 276, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [106] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "literal", - "value": null - } - ], - "name": "default" - } - } - ] - }, - { - "id": 90, - "name": "upsert", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 201, - "character": 2 - } - ], - "signatures": [ - { - "id": 91, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.", - "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" - }, - "typeParameter": [ - { - "id": 92, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 93, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 92, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 92, - "name": "Row" - } - } - ] - } - }, - { - "id": 94, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 95, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 98, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 211, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 99, - "name": "defaultToNull", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 212, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 97, - "name": "ignoreDuplicates", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 210, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 96, - "name": "onConflict", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 209, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [98, 99, 97, 96] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 114, - "typeArguments": [ - { - "type": "reference", - "id": 52, - "name": "Schema" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 53, - "name": "Relation" - } - }, - { - "type": "literal", - "value": null - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [50] - }, - { - "title": "Properties", - "kind": 1024, - "children": [68, 65, 66, 67, 64] - }, - { - "title": "Methods", - "kind": 2048, - "children": [107, 82, 73, 100, 90] - } - ], - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 112, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 113, - "name": "Relation", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "GenericTable" - }, - { - "type": "reference", - "name": "GenericView" - } - ] - } - } - ] - }, - { - "id": 437, - "name": "PostgrestTransformBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 438, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "signatures": [ - { - "id": 439, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 440, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 441, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 442, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 443, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 538, - "name": "default.constructor" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "default.constructor" - } - }, - { - "id": 510, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - }, - "inheritedFrom": { - "type": "reference", - "id": 545, - "name": "default.body" - } - }, - { - "id": 513, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 514, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 515, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 516, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 517, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 548, - "name": "default.fetch" - } - }, - { - "id": 508, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "inheritedFrom": { - "type": "reference", - "id": 543, - "name": "default.headers" - } - }, - { - "id": 518, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 553, - "name": "default.isMaybeSingle" - } - }, - { - "id": 506, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 541, - "name": "default.method" - } - }, - { - "id": 509, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 544, - "name": "default.schema" - } - }, - { - "id": 511, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 546, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 512, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 547, - "name": "default.signal" - } - }, - { - "id": 507, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 542, - "name": "default.url" - } - }, - { - "id": 478, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 125, - "character": 2 - } - ], - "signatures": [ - { - "id": 479, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 480, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The AbortSignal to use for the fetch request\n" - }, - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 487, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 166, - "character": 2 - } - ], - "signatures": [ - { - "id": 488, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a string in CSV format." - }, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 491, - "name": "explain", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 200, - "character": 2 - } - ], - "signatures": [ - { - "id": 492, - "name": "explain", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as the EXPLAIN plan for the query." - }, - "parameters": [ - { - "id": 493, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 495, - "name": "analyze", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 498, - "name": "buffers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on buffer usage\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 211, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 500, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 213, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "text" - }, - { - "type": "literal", - "value": "json" - } - ] - } - }, - { - "id": 497, - "name": "settings", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 210, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 496, - "name": "verbose", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 209, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 499, - "name": "wal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, include information on WAL record generation\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 212, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [495, 498, 500, 497, 496, 499] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "name": "default" - } - ] - } - } - ] - }, - { - "id": 489, - "name": "geojson", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 174, - "character": 2 - } - ], - "signatures": [ - { - "id": 490, - "name": "geojson", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." - }, - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 465, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 96, - "character": 2 - } - ], - "signatures": [ - { - "id": 466, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by `count`." - }, - "parameters": [ - { - "id": 467, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The maximum number of rows to return" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 468, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 469, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 470, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 96, - "character": 43 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [470] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 484, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 149, - "character": 2 - } - ], - "signatures": [ - { - "id": 485, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" - }, - "typeParameter": [ - { - "id": 486, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 442, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 387, - "name": "ResultOne" - } - ] - } - ], - "name": "default" - } - } - ] - }, - { - "id": 449, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 44, - "character": 2 - } - ], - "signatures": [ - { - "id": 450, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" - }, - "typeParameter": [ - { - "id": 451, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 452, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 352, - "name": "ColumnName" - } - }, - { - "id": 453, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 454, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 455, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 457, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a foreign table by foreign\ncolumns\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 456, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 46, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [455, 457, 456] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 458, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" - }, - "parameters": [ - { - "id": 459, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 460, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 461, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 462, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 464, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Set this to order a foreign table by foreign\ncolumns\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 463, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 50, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [462, 464, 463] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 471, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 111, - "character": 2 - } - ], - "signatures": [ - { - "id": 472, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limit the query result by `from` and `to` inclusively." - }, - "parameters": [ - { - "id": 473, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 474, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 475, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 476, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 477, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 111, - "character": 54 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [477] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 503, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 252, - "character": 2 - } - ], - "signatures": [ - { - "id": 504, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`." - }, - "typeParameter": [ - { - "id": 505, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with\n" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 406, - "name": "NewResult" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 501, - "name": "rollback", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 238, - "character": 2 - } - ], - "signatures": [ - { - "id": 502, - "name": "rollback", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Rollback the query.", - "text": "`data` will still be returned, but the query is not committed.\n" - }, - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 444, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 19, - "character": 2 - } - ], - "signatures": [ - { - "id": 445, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a SELECT on the query result.", - "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" - }, - "typeParameter": [ - { - "id": 446, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 447, - "name": "NewResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 347, - "name": "Query" - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 448, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas\n" - }, - "type": { - "type": "reference", - "id": 347, - "name": "Query" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 348, - "name": "NewResultOne" - } - } - ], - "name": "default" - } - } - ] - }, - { - "id": 481, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, - "character": 2 - } - ], - "signatures": [ - { - "id": 482, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return `data` as a single object instead of an array of objects.", - "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" - }, - "typeParameter": [ - { - "id": 483, - "name": "ResultOne", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 442, - "name": "Result" - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "reference", - "name": "ResultOne" - } - }, - "trueType": { - "type": "reference", - "name": "ResultOne" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ], - "type": { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 384, - "name": "ResultOne" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 521, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 522, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 523, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 524, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 525, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 526, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 527, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 528, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 529, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 530, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 531, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 532, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 424, - "name": "TResult1" - }, - { - "type": "reference", - "id": 425, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 557, - "name": "default.then" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 556, - "name": "default.then" - } - }, - { - "id": 519, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 520, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 437, - "typeArguments": [ - { - "type": "reference", - "id": 440, - "name": "Schema" - }, - { - "type": "reference", - "id": 441, - "name": "Row" - }, - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 555, - "name": "default.throwOnError" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 554, - "name": "default.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [438] - }, - { - "title": "Properties", - "kind": 1024, - "children": [510, 513, 508, 518, 506, 509, 511, 512, 507] - }, - { - "title": "Methods", - "kind": 2048, - "children": [478, 487, 491, 489, 465, 484, 449, 471, 503, 501, 444, 481, 521, 519] - } - ], - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 5, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 533, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - } - }, - { - "id": 534, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 535, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 536, - "typeArguments": [ - { - "type": "reference", - "id": 442, - "name": "Result" - } - ], - "name": "default" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 114, - "name": "PostgrestFilterBuilder" - } - ] - }, - { - "id": 571, - "name": "PostgrestResponseFailure", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 574, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 573, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 572, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 588, - "name": "PostgrestError" - } - }, - { - "id": 575, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 576, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [574, 573, 572, 575, 576] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 29, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 577, - "name": "PostgrestResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 580, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 27, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 579, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 583, - "name": "T" - } - }, - { - "id": 578, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 581, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 582, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [580, 579, 578, 581, 582] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 24, - "character": 17 - } - ], - "typeParameter": [ - { - "id": 583, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 588, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "shortText": "Error format", - "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 589, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 593, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 12, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 591, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 10, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 592, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 590, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [593, 591, 592, 590] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 8, - "character": 29 - } - ] - } - } - }, - { - "id": 586, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 39, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 587, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 587, - "name": "T" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 569, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 40, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 570, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 584, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 570, - "name": "T" - } - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 584, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 38, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 585, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 577, - "typeArguments": [ - { - "type": "reference", - "id": 585, - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "id": 571, - "name": "PostgrestResponseFailure" - } - ] - } - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [536, 1, 114, 49, 437] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [571, 577] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [588, 586, 569, 584] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] -} + "id": 0, + "name": "@supabase/postgrest-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 536, + "name": "PostgrestBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isAbstract": true + }, + "children": [ + { + "id": 537, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 538, + "name": "new PostgrestBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 539, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 540, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 545, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 548, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 549, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 550, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 551, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 552, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 543, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 553, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 541, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 544, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 546, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 547, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 542, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 556, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 557, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 558, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 559, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 560, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 561, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 562, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 564, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 565, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 566, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 567, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 554, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 555, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 537 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 556, + 554 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 5, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 568, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 437, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 539, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 1, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 41, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "typeParameter": [ + { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 7, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 50, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 16, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 10, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 48, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 11, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 49, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 12, + 10, + 11 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 20, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 29, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 22, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 23, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 24, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 18, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 19, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 17, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 26, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a query on a table or a view." + }, + "typeParameter": [ + { + "id": 27, + "name": "TableName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 28, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 29, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table or view name to query\n" + }, + "type": { + "type": "reference", + "id": 27, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 6, + "name": "Schema" + }, + { + "type": "reference", + "id": 28, + "name": "Table" + } + ], + "name": "default" + } + }, + { + "id": 30, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a query on a table or a view." + }, + "typeParameter": [ + { + "id": 31, + "name": "ViewName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 32, + "name": "View", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericView" + } + } + ], + "parameters": [ + { + "id": 33, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table or view name to query\n" + }, + "type": { + "type": "reference", + "id": 31, + "name": "ViewName" + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 6, + "name": "Schema" + }, + { + "type": "reference", + "id": 32, + "name": "View" + } + ], + "name": "default" + } + }, + { + "id": 34, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a query on a table or a view." + }, + "parameters": [ + { + "id": 35, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table or view name to query\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 6, + "name": "Schema" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 36, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 102, + "character": 2 + } + ], + "signatures": [ + { + "id": 37, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 38, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 39, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 40, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call" + }, + "type": { + "type": "reference", + "id": 38, + "name": "FunctionName" + } + }, + { + "id": 41, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The arguments to pass to the function call" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 42, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 45, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows returned by the\nfunction. Only applicable for [set-returning\nfunctions](https://www.postgresql.org/docs/current/functions-srf.html).\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 113, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 44, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 112, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 45, + 44 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 6, + "name": "Schema" + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" + } + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + }, + "extendsType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" + } + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 2 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 20, + 18, + 19, + 17 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 25, + 36 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 17, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 46, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n" + }, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 47, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n`\"public\"`, this must be supplied manually.\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 48, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 114, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 115, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 116, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 117, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 118, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 119, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 120, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 439, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 438, + "name": "default.constructor" + } + }, + { + "id": 411, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 510, + "name": "default.body" + } + }, + { + "id": 414, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 415, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 416, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 417, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 418, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 513, + "name": "default.fetch" + } + }, + { + "id": 409, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 508, + "name": "default.headers" + } + }, + { + "id": 419, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 518, + "name": "default.isMaybeSingle" + } + }, + { + "id": 407, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 506, + "name": "default.method" + } + }, + { + "id": 410, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 509, + "name": "default.schema" + } + }, + { + "id": 412, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 511, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 413, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 512, + "name": "default.signal" + } + }, + { + "id": 408, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 507, + "name": "default.url" + } + }, + { + "id": 379, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 125, + "character": 2 + } + ], + "signatures": [ + { + "id": 380, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 381, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" + }, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 479, + "name": "default.abortSignal" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 478, + "name": "default.abortSignal" + } + }, + { + "id": 241, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 261, + "character": 2 + } + ], + "signatures": [ + { + "id": 242, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." + }, + "typeParameter": [ + { + "id": 243, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 244, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 243, + "name": "ColumnName" + } + }, + { + "id": 245, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 243, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 246, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." + }, + "parameters": [ + { + "id": 247, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 233, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 234, + "character": 2 + } + ], + "signatures": [ + { + "id": 234, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." + }, + "typeParameter": [ + { + "id": 235, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 236, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 235, + "name": "ColumnName" + } + }, + { + "id": 237, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 235, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 238, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." + }, + "parameters": [ + { + "id": 239, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 240, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 388, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 166, + "character": 2 + } + ], + "signatures": [ + { + "id": 389, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 488, + "name": "default.csv" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 487, + "name": "default.csv" + } + }, + { + "id": 121, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 33, + "character": 2 + } + ], + "signatures": [ + { + "id": 122, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is equal to `value`.", + "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" + }, + "typeParameter": [ + { + "id": 123, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 124, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 123, + "name": "ColumnName" + } + }, + { + "id": 125, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 123, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 126, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is equal to `value`.", + "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" + }, + "parameters": [ + { + "id": 127, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 128, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 392, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 2 + } + ], + "signatures": [ + { + "id": 393, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 394, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 395, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 396, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 208, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 399, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 401, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 213, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 398, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 210, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 397, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 209, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 400, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 212, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 396, + 399, + 401, + 398, + 397, + 400 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "default" + }, + { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "name": "default" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 492, + "name": "default.explain" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 491, + "name": "default.explain" + } + }, + { + "id": 335, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 480, + "character": 2 + } + ], + "signatures": [ + { + "id": 336, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "typeParameter": [ + { + "id": 337, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 338, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 337, + "name": "ColumnName" + } + }, + { + "id": 339, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with, following PostgREST syntax" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "FilterOperator" + }, + { + "type": "literal", + "value": "not.eq" + }, + { + "type": "literal", + "value": "not.neq" + }, + { + "type": "literal", + "value": "not.gt" + }, + { + "type": "literal", + "value": "not.gte" + }, + { + "type": "literal", + "value": "not.lt" + }, + { + "type": "literal", + "value": "not.lte" + }, + { + "type": "literal", + "value": "not.like" + }, + { + "type": "literal", + "value": "not.ilike" + }, + { + "type": "literal", + "value": "not.is" + }, + { + "type": "literal", + "value": "not.in" + }, + { + "type": "literal", + "value": "not.cs" + }, + { + "type": "literal", + "value": "not.cd" + }, + { + "type": "literal", + "value": "not.sl" + }, + { + "type": "literal", + "value": "not.sr" + }, + { + "type": "literal", + "value": "not.nxl" + }, + { + "type": "literal", + "value": "not.nxr" + }, + { + "type": "literal", + "value": "not.adj" + }, + { + "type": "literal", + "value": "not.ov" + }, + { + "type": "literal", + "value": "not.fts" + }, + { + "type": "literal", + "value": "not.plfts" + }, + { + "type": "literal", + "value": "not.phfts" + }, + { + "type": "literal", + "value": "not.wfts" + } + ] + } + }, + { + "id": 340, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 341, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "parameters": [ + { + "id": 342, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 343, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 344, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 390, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 174, + "character": 2 + } + ], + "signatures": [ + { + "id": 391, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 490, + "name": "default.geojson" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 489, + "name": "default.geojson" + } + }, + { + "id": 137, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 61, + "character": 2 + } + ], + "signatures": [ + { + "id": 138, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than `value`." + }, + "typeParameter": [ + { + "id": 139, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 140, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 139, + "name": "ColumnName" + } + }, + { + "id": 141, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 139, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 142, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than `value`." + }, + "parameters": [ + { + "id": 143, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 144, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 145, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 74, + "character": 2 + } + ], + "signatures": [ + { + "id": 146, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than or equal to `value`." + }, + "typeParameter": [ + { + "id": 147, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 148, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 147, + "name": "ColumnName" + } + }, + { + "id": 149, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 147, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 150, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than or equal to `value`." + }, + "parameters": [ + { + "id": 151, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 152, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 193, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 152, + "character": 2 + } + ], + "signatures": [ + { + "id": 194, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-insensitively." + }, + "typeParameter": [ + { + "id": 195, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 196, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 195, + "name": "ColumnName" + } + }, + { + "id": 197, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 198, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-insensitively." + }, + "parameters": [ + { + "id": 199, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 200, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 201, + "name": "ilikeAllOf", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 165, + "character": 2 + } + ], + "signatures": [ + { + "id": 202, + "name": "ilikeAllOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively." + }, + "typeParameter": [ + { + "id": 203, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 204, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 203, + "name": "ColumnName" + } + }, + { + "id": 205, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 206, + "name": "ilikeAllOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches all of `patterns` case-insensitively." + }, + "parameters": [ + { + "id": 207, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 208, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 209, + "name": "ilikeAnyOf", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 178, + "character": 2 + } + ], + "signatures": [ + { + "id": 210, + "name": "ilikeAnyOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively." + }, + "typeParameter": [ + { + "id": 211, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 212, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 211, + "name": "ColumnName" + } + }, + { + "id": 213, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 214, + "name": "ilikeAnyOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches any of `patterns` case-insensitively." + }, + "parameters": [ + { + "id": 215, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 216, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 225, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 213, + "character": 2 + } + ], + "signatures": [ + { + "id": 226, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is included in the `values` array." + }, + "typeParameter": [ + { + "id": 227, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 228, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 227, + "name": "ColumnName" + } + }, + { + "id": 229, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values array to filter with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 227, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 230, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is included in the `values` array." + }, + "parameters": [ + { + "id": 231, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 232, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values array to filter with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 217, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 191, + "character": 2 + } + ], + "signatures": [ + { + "id": 218, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` IS `value`.", + "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" + }, + "typeParameter": [ + { + "id": 219, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 220, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 219, + "name": "ColumnName" + } + }, + { + "id": 221, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 219, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 219, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + }, + { + "type": "literal", + "value": false + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 219, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + }, + { + "type": "literal", + "value": true + } + ] + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 222, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` IS `value`.", + "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" + }, + "parameters": [ + { + "id": 223, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 169, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 113, + "character": 2 + } + ], + "signatures": [ + { + "id": 170, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-sensitively." + }, + "typeParameter": [ + { + "id": 171, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 172, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 171, + "name": "ColumnName" + } + }, + { + "id": 173, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 174, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-sensitively." + }, + "parameters": [ + { + "id": 175, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 176, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 177, + "name": "likeAllOf", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 126, + "character": 2 + } + ], + "signatures": [ + { + "id": 178, + "name": "likeAllOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively." + }, + "typeParameter": [ + { + "id": 179, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 180, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 179, + "name": "ColumnName" + } + }, + { + "id": 181, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 182, + "name": "likeAllOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches all of `patterns` case-sensitively." + }, + "parameters": [ + { + "id": 183, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 185, + "name": "likeAnyOf", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 139, + "character": 2 + } + ], + "signatures": [ + { + "id": 186, + "name": "likeAnyOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively." + }, + "typeParameter": [ + { + "id": 187, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 188, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 187, + "name": "ColumnName" + } + }, + { + "id": 189, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 190, + "name": "likeAnyOf", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches any of `patterns` case-sensitively." + }, + "parameters": [ + { + "id": 191, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 192, + "name": "patterns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The patterns to match with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 366, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 96, + "character": 2 + } + ], + "signatures": [ + { + "id": 367, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 368, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 369, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 370, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 371, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 96, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 371 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 466, + "name": "default.limit" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 465, + "name": "default.limit" + } + }, + { + "id": 153, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 87, + "character": 2 + } + ], + "signatures": [ + { + "id": 154, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than `value`." + }, + "typeParameter": [ + { + "id": 155, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 156, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 155, + "name": "ColumnName" + } + }, + { + "id": 157, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 155, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 158, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than `value`." + }, + "parameters": [ + { + "id": 159, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 160, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 161, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 100, + "character": 2 + } + ], + "signatures": [ + { + "id": 162, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than or equal to `value`." + }, + "typeParameter": [ + { + "id": 163, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 164, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 163, + "name": "ColumnName" + } + }, + { + "id": 165, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 163, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 166, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than or equal to `value`." + }, + "parameters": [ + { + "id": 167, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 168, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 313, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 421, + "character": 2 + } + ], + "signatures": [ + { + "id": 314, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." + }, + "typeParameter": [ + { + "id": 315, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 316, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 315, + "name": "ColumnName" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 315, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 317, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." + }, + "parameters": [ + { + "id": 318, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 385, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 149, + "character": 2 + } + ], + "signatures": [ + { + "id": 386, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "typeParameter": [ + { + "id": 387, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 119, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 387, + "name": "ResultOne" + } + ] + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 485, + "name": "default.maybeSingle" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 484, + "name": "default.maybeSingle" + } + }, + { + "id": 129, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 130, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is not equal to `value`." + }, + "typeParameter": [ + { + "id": 131, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 132, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 131, + "name": "ColumnName" + } + }, + { + "id": 133, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 131, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 134, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is not equal to `value`." + }, + "parameters": [ + { + "id": 135, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 136, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 319, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 437, + "character": 2 + } + ], + "signatures": [ + { + "id": 320, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "typeParameter": [ + { + "id": 321, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 322, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 321, + "name": "ColumnName" + } + }, + { + "id": 323, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 324, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 321, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 325, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "parameters": [ + { + "id": 326, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 329, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 474, + "character": 2 + } + ], + "signatures": [ + { + "id": 330, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 331, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 332, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 334, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 474, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 334 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 350, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 44, + "character": 2 + } + ], + "signatures": [ + { + "id": 351, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" + }, + "typeParameter": [ + { + "id": 352, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 353, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 352, + "name": "ColumnName" + } + }, + { + "id": 354, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 355, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 356, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 358, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 357, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 356, + 358, + 357 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 450, + "name": "default.order" + } + }, + { + "id": 359, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" + }, + "parameters": [ + { + "id": 360, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 361, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 363, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 365, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 363, + 365, + 364 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 458, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 449, + "name": "default.order" + } + }, + { + "id": 289, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 360, + "character": 2 + } + ], + "signatures": [ + { + "id": 290, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, + "typeParameter": [ + { + "id": 291, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 292, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range column to filter on" + }, + "type": { + "type": "reference", + "id": 291, + "name": "ColumnName" + } + }, + { + "id": 293, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 291, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 118, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 294, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, + "parameters": [ + { + "id": 295, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 296, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 372, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 111, + "character": 2 + } + ], + "signatures": [ + { + "id": 373, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 374, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 375, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 376, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 377, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 378, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 111, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 378 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 472, + "name": "default.range" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 471, + "name": "default.range" + } + }, + { + "id": 281, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 345, + "character": 2 + } + ], + "signatures": [ + { + "id": 282, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." + }, + "typeParameter": [ + { + "id": 283, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 284, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 283, + "name": "ColumnName" + } + }, + { + "id": 285, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 286, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." + }, + "parameters": [ + { + "id": 287, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 288, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 249, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 287, + "character": 2 + } + ], + "signatures": [ + { + "id": 250, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." + }, + "typeParameter": [ + { + "id": 251, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 252, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 251, + "name": "ColumnName" + } + }, + { + "id": 253, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 254, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." + }, + "parameters": [ + { + "id": 255, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 256, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 257, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 301, + "character": 2 + } + ], + "signatures": [ + { + "id": 258, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 259, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 260, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 259, + "name": "ColumnName" + } + }, + { + "id": 261, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 262, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." + }, + "parameters": [ + { + "id": 263, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 264, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 265, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 316, + "character": 2 + } + ], + "signatures": [ + { + "id": 266, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." + }, + "typeParameter": [ + { + "id": 267, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 268, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 267, + "name": "ColumnName" + } + }, + { + "id": 269, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 270, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." + }, + "parameters": [ + { + "id": 271, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 272, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 273, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 330, + "character": 2 + } + ], + "signatures": [ + { + "id": 274, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 275, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 276, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 275, + "name": "ColumnName" + } + }, + { + "id": 277, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 278, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." + }, + "parameters": [ + { + "id": 279, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 404, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 252, + "character": 2 + } + ], + "signatures": [ + { + "id": 405, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`." + }, + "typeParameter": [ + { + "id": 406, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with\n" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 406, + "name": "NewResult" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 504, + "name": "default.returns" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 503, + "name": "default.returns" + } + }, + { + "id": 402, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 238, + "character": 2 + } + ], + "signatures": [ + { + "id": 403, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 502, + "name": "default.rollback" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 501, + "name": "default.rollback" + } + }, + { + "id": 345, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 346, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 347, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 348, + "name": "NewResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 347, + "name": "Query" + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 349, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 347, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 348, + "name": "NewResultOne" + } + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 445, + "name": "default.select" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 444, + "name": "default.select" + } + }, + { + "id": 382, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 136, + "character": 2 + } + ], + "signatures": [ + { + "id": 383, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "typeParameter": [ + { + "id": 384, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 119, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 384, + "name": "ResultOne" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 482, + "name": "default.single" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 481, + "name": "default.single" + } + }, + { + "id": 297, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 383, + "character": 2 + } + ], + "signatures": [ + { + "id": 298, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." + }, + "typeParameter": [ + { + "id": 299, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 300, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The text or tsvector column to filter on" + }, + "type": { + "type": "reference", + "id": 299, + "name": "ColumnName" + } + }, + { + "id": 301, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The query text to match with" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 303, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 304, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The text search configuration to use" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 386, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 305, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Change how the `query` text is interpreted\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 386, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 304, + 305 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 306, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." + }, + "parameters": [ + { + "id": 307, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The text or tsvector column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 308, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The query text to match with" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 309, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 311, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The text search configuration to use" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 391, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 312, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Change how the `query` text is interpreted\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 391, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 311, + 312 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 422, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 423, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 424, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 425, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 426, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 427, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 428, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 429, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 430, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 431, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 432, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 433, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 522, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 521, + "name": "default.then" + } + }, + { + "id": 420, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 421, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 520, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 519, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 115 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 411, + 414, + 409, + 419, + 407, + 410, + 412, + 413, + 408 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 379, + 241, + 233, + 388, + 121, + 392, + 335, + 390, + 137, + 145, + 193, + 201, + 209, + 225, + 217, + 169, + 177, + 185, + 366, + 153, + 161, + 313, + 385, + 129, + 319, + 329, + 350, + 289, + 372, + 281, + 249, + 257, + 265, + 273, + 404, + 402, + 345, + 382, + 297, + 422, + 420 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 28, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 434, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 435, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 436, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 117, + "name": "Schema" + }, + { + "type": "reference", + "id": 118, + "name": "Row" + }, + { + "type": "reference", + "id": 119, + "name": "Result" + } + ], + "name": "default" + } + ] + }, + { + "id": 49, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 50, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 16, + "character": 2 + } + ], + "signatures": [ + { + "id": 51, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 52, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 53, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } + } + ], + "parameters": [ + { + "id": 54, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 55, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 56, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 59, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 60, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 61, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 62, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 63, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 57, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 23, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 58, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 24, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 59, + 57, + 58 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "reference", + "id": 53, + "name": "Relation" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 68, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 69, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 70, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 71, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 72, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 65, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 66, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 67, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 13, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 64, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 107, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 319, + "character": 2 + } + ], + "signatures": [ + { + "id": 108, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a DELETE on the table or view.", + "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "parameters": [ + { + "id": 109, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 110, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 111, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 322, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 111 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "literal", + "value": null + } + ], + "name": "default" + } + } + ] + }, + { + "id": 82, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 120, + "character": 2 + } + ], + "signatures": [ + { + "id": 83, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an INSERT into the table or view.", + "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 84, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 85, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 84, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 84, + "name": "Row" + } + } + ] + } + }, + { + "id": 86, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 88, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 126, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 89, + "name": "defaultToNull", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 127, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 88, + 89 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "literal", + "value": null + } + ], + "name": "default" + } + } + ] + }, + { + "id": 73, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 55, + "character": 2 + } + ], + "signatures": [ + { + "id": 74, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT query on the table or view." + }, + "typeParameter": [ + { + "id": 75, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 76, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "reference", + "id": 75, + "name": "Query" + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 77, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n" + }, + "type": { + "type": "reference", + "id": 75, + "name": "Query" + } + }, + { + "id": 78, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 79, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 81, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 62, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 80, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 81, + 80 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 76, + "name": "ResultOne" + } + } + ], + "name": "default" + } + } + ] + }, + { + "id": 100, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 271, + "character": 2 + } + ], + "signatures": [ + { + "id": 101, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPDATE on the table or view.", + "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "typeParameter": [ + { + "id": 102, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 103, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to update with\n" + }, + "type": { + "type": "reference", + "id": 102, + "name": "Row" + } + }, + { + "id": 104, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 105, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 106, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 276, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 106 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "literal", + "value": null + } + ], + "name": "default" + } + } + ] + }, + { + "id": 90, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 201, + "character": 2 + } + ], + "signatures": [ + { + "id": 91, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.", + "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 92, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 93, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 92, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 92, + "name": "Row" + } + } + ] + } + }, + { + "id": 94, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 95, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 98, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 211, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 99, + "name": "defaultToNull", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Make missing fields default to `null`.\nOtherwise, use the default value for the column. This only applies when\ninserting new rows, not when merging with existing rows under\n`ignoreDuplicates: false`.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 212, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 97, + "name": "ignoreDuplicates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 210, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 96, + "name": "onConflict", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 209, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 98, + 99, + 97, + 96 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 114, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Schema" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 53, + "name": "Relation" + } + }, + { + "type": "literal", + "value": null + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 50 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 68, + 65, + 66, + 67, + 64 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 107, + 82, + 73, + 100, + 90 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 6, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 112, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 113, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } + } + ] + }, + { + "id": 437, + "name": "PostgrestTransformBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 438, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 439, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 440, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 441, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 442, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 443, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 538, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 537, + "name": "default.constructor" + } + }, + { + "id": 510, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 545, + "name": "default.body" + } + }, + { + "id": 513, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 514, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 515, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 516, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 517, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 548, + "name": "default.fetch" + } + }, + { + "id": 508, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 543, + "name": "default.headers" + } + }, + { + "id": 518, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 553, + "name": "default.isMaybeSingle" + } + }, + { + "id": 506, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 541, + "name": "default.method" + } + }, + { + "id": 509, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 544, + "name": "default.schema" + } + }, + { + "id": 511, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 546, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 512, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 547, + "name": "default.signal" + } + }, + { + "id": 507, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 542, + "name": "default.url" + } + }, + { + "id": 478, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 125, + "character": 2 + } + ], + "signatures": [ + { + "id": 479, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 480, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" + }, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 487, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 166, + "character": 2 + } + ], + "signatures": [ + { + "id": 488, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 491, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 2 + } + ], + "signatures": [ + { + "id": 492, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 493, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 494, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 495, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 208, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 498, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 211, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 500, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 213, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 497, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 210, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 496, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 209, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 499, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 212, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 495, + 498, + 500, + 497, + 496, + 499 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "default" + }, + { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "name": "default" + } + ] + } + } + ] + }, + { + "id": 489, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 174, + "character": 2 + } + ], + "signatures": [ + { + "id": 490, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 465, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 96, + "character": 2 + } + ], + "signatures": [ + { + "id": 466, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 467, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 468, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 469, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 470, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 96, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 470 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 484, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 149, + "character": 2 + } + ], + "signatures": [ + { + "id": 485, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "typeParameter": [ + { + "id": 486, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 442, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 387, + "name": "ResultOne" + } + ] + } + ], + "name": "default" + } + } + ] + }, + { + "id": 449, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 44, + "character": 2 + } + ], + "signatures": [ + { + "id": 450, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" + }, + "typeParameter": [ + { + "id": 451, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 452, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 352, + "name": "ColumnName" + } + }, + { + "id": 453, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 454, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 455, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 457, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 456, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 46, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 455, + 457, + 456 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 458, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order foreign tables, but it doesn't affect the ordering of the\ncurrent table.\n" + }, + "parameters": [ + { + "id": 459, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 461, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 462, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 464, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 463, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 50, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 462, + 464, + 463 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 471, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 111, + "character": 2 + } + ], + "signatures": [ + { + "id": 472, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 473, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 474, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 475, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 476, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 477, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 111, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 477 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 503, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 252, + "character": 2 + } + ], + "signatures": [ + { + "id": 504, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`." + }, + "typeParameter": [ + { + "id": 505, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with\n" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 406, + "name": "NewResult" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 501, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 238, + "character": 2 + } + ], + "signatures": [ + { + "id": 502, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 444, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 445, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 446, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 447, + "name": "NewResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 347, + "name": "Query" + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 448, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 347, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 348, + "name": "NewResultOne" + } + } + ], + "name": "default" + } + } + ] + }, + { + "id": 481, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 136, + "character": 2 + } + ], + "signatures": [ + { + "id": 482, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "typeParameter": [ + { + "id": 483, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 442, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], + "type": { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 384, + "name": "ResultOne" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 521, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 522, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 523, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 524, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 525, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 526, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 527, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 528, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 529, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 530, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 531, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 532, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 424, + "name": "TResult1" + }, + { + "type": "reference", + "id": 425, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 557, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 556, + "name": "default.then" + } + }, + { + "id": 519, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 520, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 437, + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "Schema" + }, + { + "type": "reference", + "id": 441, + "name": "Row" + }, + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 555, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 554, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 438 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 510, + 513, + 508, + 518, + 506, + 509, + 511, + 512, + 507 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 478, + 487, + 491, + 489, + 465, + 484, + 449, + 471, + 503, + 501, + 444, + 481, + 521, + 519 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 5, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 533, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + } + }, + { + "id": 534, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 535, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 536, + "typeArguments": [ + { + "type": "reference", + "id": 442, + "name": "Result" + } + ], + "name": "default" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 114, + "name": "PostgrestFilterBuilder" + } + ] + }, + { + "id": 571, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 574, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 573, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 572, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 588, + "name": "PostgrestError" + } + }, + { + "id": 575, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "PostgrestResponseBase.status" + } + }, + { + "id": 576, + "name": "statusText", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 574, + 573, + 572, + 575, + 576 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 577, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 580, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 579, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 583, + "name": "T" + } + }, + { + "id": 578, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 581, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "PostgrestResponseBase.status" + } + }, + { + "id": 582, + "name": "statusText", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "PostgrestResponseBase.statusText" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 580, + 579, + 578, + 581, + 582 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 583, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 588, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 589, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 593, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 591, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 592, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 593, + 591, + 592, + 590 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + }, + { + "id": 586, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 39, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 587, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 587, + "name": "T" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 569, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 40, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 570, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 584, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 570, + "name": "T" + } + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 584, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 38, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 585, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 577, + "typeArguments": [ + { + "type": "reference", + "id": 585, + "name": "T" + } + ], + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "id": 571, + "name": "PostgrestResponseFailure" + } + ] + } + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 536, + 1, + 114, + 49, + 437 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 571, + 577 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 588, + 586, + 569, + 584 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json index 890967b59a2..6830f856612 100644 --- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json @@ -75,17 +75,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -729,17 +744,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -1121,7 +1151,11 @@ { "title": "Properties", "kind": 1024, - "children": [12, 10, 11] + "children": [ + 12, + 10, + 11 + ] } ] } @@ -1680,7 +1714,10 @@ { "title": "Properties", "kind": 1024, - "children": [45, 44] + "children": [ + 45, + 44 + ] } ] } @@ -1798,17 +1835,27 @@ { "title": "Constructors", "kind": 512, - "children": [2] + "children": [ + 2 + ] }, { "title": "Properties", "kind": 1024, - "children": [20, 18, 19, 17] + "children": [ + 20, + 18, + 19, + 17 + ] }, { "title": "Methods", "kind": 2048, - "children": [25, 36] + "children": [ + 25, + 36 + ] } ], "sources": [ @@ -2682,17 +2729,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -4039,7 +4101,14 @@ { "title": "Properties", "kind": 1024, - "children": [396, 399, 401, 398, 397, 400] + "children": [ + 396, + 399, + 401, + 398, + 397, + 400 + ] } ] } @@ -6209,7 +6278,9 @@ { "title": "Properties", "kind": 1024, - "children": [371] + "children": [ + 371 + ] } ] } @@ -7270,7 +7341,9 @@ { "title": "Properties", "kind": 1024, - "children": [334] + "children": [ + 334 + ] } ] } @@ -7451,7 +7524,11 @@ { "title": "Properties", "kind": 1024, - "children": [356, 358, 357] + "children": [ + 356, + 358, + 357 + ] } ] } @@ -7603,7 +7680,11 @@ { "title": "Properties", "kind": 1024, - "children": [363, 365, 364] + "children": [ + 363, + 365, + 364 + ] } ] } @@ -7932,7 +8013,9 @@ { "title": "Properties", "kind": 1024, - "children": [378] + "children": [ + 378 + ] } ] } @@ -9238,7 +9321,10 @@ { "title": "Properties", "kind": 1024, - "children": [304, 305] + "children": [ + 304, + 305 + ] } ] } @@ -9390,7 +9476,10 @@ { "title": "Properties", "kind": 1024, - "children": [311, 312] + "children": [ + 311, + 312 + ] } ] } @@ -9730,20 +9819,70 @@ { "title": "Constructors", "kind": 512, - "children": [115] + "children": [ + 115 + ] }, { "title": "Properties", "kind": 1024, - "children": [411, 414, 409, 419, 407, 410, 412, 413, 408] + "children": [ + 411, + 414, + 409, + 419, + 407, + 410, + 412, + 413, + 408 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 379, 241, 233, 388, 121, 392, 335, 390, 137, 145, 193, 201, 209, 225, 217, 169, 177, - 185, 366, 153, 161, 313, 385, 129, 319, 329, 350, 289, 372, 281, 249, 257, 265, 273, - 404, 402, 345, 382, 297, 422, 420 + 379, + 241, + 233, + 388, + 121, + 392, + 335, + 390, + 137, + 145, + 193, + 201, + 209, + 225, + 217, + 169, + 177, + 185, + 366, + 153, + 161, + 313, + 385, + 129, + 319, + 329, + 350, + 289, + 372, + 281, + 249, + 257, + 265, + 273, + 404, + 402, + 345, + 382, + 297, + 422, + 420 ] } ], @@ -10058,7 +10197,11 @@ { "title": "Properties", "kind": 1024, - "children": [59, 57, 58] + "children": [ + 59, + 57, + 58 + ] } ] } @@ -10352,7 +10495,9 @@ { "title": "Properties", "kind": 1024, - "children": [111] + "children": [ + 111 + ] } ] } @@ -10552,7 +10697,10 @@ { "title": "Properties", "kind": 1024, - "children": [88, 89] + "children": [ + 88, + 89 + ] } ] } @@ -10768,7 +10916,10 @@ { "title": "Properties", "kind": 1024, - "children": [81, 80] + "children": [ + 81, + 80 + ] } ] } @@ -10937,7 +11088,9 @@ { "title": "Properties", "kind": 1024, - "children": [106] + "children": [ + 106 + ] } ] } @@ -11183,7 +11336,12 @@ { "title": "Properties", "kind": 1024, - "children": [98, 99, 97, 96] + "children": [ + 98, + 99, + 97, + 96 + ] } ] } @@ -11227,17 +11385,31 @@ { "title": "Constructors", "kind": 512, - "children": [50] + "children": [ + 50 + ] }, { "title": "Properties", "kind": 1024, - "children": [68, 65, 66, 67, 64] + "children": [ + 68, + 65, + 66, + 67, + 64 + ] }, { "title": "Methods", "kind": 2048, - "children": [107, 82, 73, 100, 90] + "children": [ + 107, + 82, + 73, + 100, + 90 + ] } ], "sources": [ @@ -12014,17 +12186,32 @@ { "title": "Constructors", "kind": 512, - "children": [537] + "children": [ + 537 + ] }, { "title": "Properties", "kind": 1024, - "children": [545, 548, 543, 553, 541, 544, 546, 547, 542] + "children": [ + 545, + 548, + 543, + 553, + 541, + 544, + 546, + 547, + 542 + ] }, { "title": "Methods", "kind": 2048, - "children": [556, 554] + "children": [ + 556, + 554 + ] } ], "sources": [ @@ -12745,7 +12932,14 @@ { "title": "Properties", "kind": 1024, - "children": [495, 498, 500, 497, 496, 499] + "children": [ + 495, + 498, + 500, + 497, + 496, + 499 + ] } ] } @@ -12932,7 +13126,9 @@ { "title": "Properties", "kind": 1024, - "children": [470] + "children": [ + 470 + ] } ] } @@ -13193,7 +13389,11 @@ { "title": "Properties", "kind": 1024, - "children": [455, 457, 456] + "children": [ + 455, + 457, + 456 + ] } ] } @@ -13340,7 +13540,11 @@ { "title": "Properties", "kind": 1024, - "children": [462, 464, 463] + "children": [ + 462, + 464, + 463 + ] } ] } @@ -13471,7 +13675,9 @@ { "title": "Properties", "kind": 1024, - "children": [477] + "children": [ + 477 + ] } ] } @@ -14109,17 +14315,44 @@ { "title": "Constructors", "kind": 512, - "children": [438] + "children": [ + 438 + ] }, { "title": "Properties", "kind": 1024, - "children": [510, 513, 508, 518, 506, 509, 511, 512, 507] + "children": [ + 510, + 513, + 508, + 518, + 506, + 509, + 511, + 512, + 507 + ] }, { "title": "Methods", "kind": 2048, - "children": [478, 487, 491, 489, 465, 484, 449, 471, 503, 501, 444, 481, 521, 519] + "children": [ + 478, + 487, + 491, + 489, + 465, + 484, + 449, + 471, + 503, + 501, + 444, + 481, + 521, + 519 + ] } ], "sources": [ @@ -14357,7 +14590,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -14421,7 +14659,13 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573, 572, 575, 576] + "children": [ + 574, + 573, + 572, + 575, + 576 + ] } ], "sources": [ @@ -14559,7 +14803,13 @@ { "title": "Properties", "kind": 1024, - "children": [580, 579, 578, 581, 582] + "children": [ + 580, + 579, + 578, + 581, + 582 + ] } ], "sources": [ @@ -14688,7 +14938,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -14929,7 +15184,13 @@ { "title": "Properties", "kind": 1024, - "children": [580, 579, 578, 581, 582] + "children": [ + 580, + 579, + 578, + 581, + 582 + ] } ], "sources": [ @@ -15118,7 +15379,12 @@ { "title": "Properties", "kind": 1024, - "children": [593, 591, 592, 590] + "children": [ + 593, + 591, + 592, + 590 + ] } ], "sources": [ @@ -15182,7 +15448,13 @@ { "title": "Properties", "kind": 1024, - "children": [574, 573, 572, 575, 576] + "children": [ + 574, + 573, + 572, + 575, + 576 + ] } ], "sources": [ @@ -15207,17 +15479,31 @@ { "title": "Classes", "kind": 128, - "children": [536, 1, 114, 49, 437] + "children": [ + 536, + 1, + 114, + 49, + 437 + ] }, { "title": "Interfaces", "kind": 256, - "children": [571, 577] + "children": [ + 571, + 577 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [588, 586, 569, 584] + "children": [ + 588, + 586, + 569, + 584 + ] } ], "sources": [ @@ -15227,4 +15513,4 @@ "character": 0 } ] -} +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json index 2a7e77b2150..050af38f70e 100644 --- a/spec/enrichments/tsdoc_v2/realtime.json +++ b/spec/enrichments/tsdoc_v2/realtime.json @@ -1,6305 +1,6492 @@ { - "id": 0, - "name": "@supabase/realtime-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 535, - "name": "REALTIME_LISTEN_TYPES", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 536, - "name": "BROADCAST", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 93, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "broadcast" - }, - "defaultValue": "\"broadcast\"" - }, - { - "id": 538, - "name": "POSTGRES_CHANGES", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "shortText": "listen to Postgres changes." - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 98, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "postgres_changes" - }, - "defaultValue": "\"postgres_changes\"" - }, - { - "id": 537, - "name": "PRESENCE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 94, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "presence" - }, - "defaultValue": "\"presence\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [536, 538, 537] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 92, - "character": 12 - } - ] - }, - { - "id": 539, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 540, - "name": "ALL", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 86, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "*" - }, - "defaultValue": "\"*\"" - }, - { - "id": 543, - "name": "DELETE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "DELETE" - }, - "defaultValue": "\"DELETE\"" - }, - { - "id": 541, - "name": "INSERT", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 87, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "INSERT" - }, - "defaultValue": "\"INSERT\"" - }, - { - "id": 542, - "name": "UPDATE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 88, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "UPDATE" - }, - "defaultValue": "\"UPDATE\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [540, 543, 541, 542] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 85, - "character": 12 - } - ] - }, - { - "id": 544, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 546, - "name": "JOIN", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 37, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "join" - }, - "defaultValue": "\"join\"" - }, - { - "id": 547, - "name": "LEAVE", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 38, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "leave" - }, - "defaultValue": "\"leave\"" - }, - { - "id": 545, - "name": "SYNC", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 36, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "sync" - }, - "defaultValue": "\"sync\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [546, 547, 545] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 35, - "character": 12 - } - ] - }, - { - "id": 548, - "name": "REALTIME_SUBSCRIBE_STATES", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 552, - "name": "CHANNEL_ERROR", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 105, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "CHANNEL_ERROR" - }, - "defaultValue": "\"CHANNEL_ERROR\"" - }, - { - "id": 551, - "name": "CLOSED", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 104, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "CLOSED" - }, - "defaultValue": "\"CLOSED\"" - }, - { - "id": 549, - "name": "SUBSCRIBED", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 102, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "SUBSCRIBED" - }, - "defaultValue": "\"SUBSCRIBED\"" - }, - { - "id": 550, - "name": "TIMED_OUT", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 103, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "TIMED_OUT" - }, - "defaultValue": "\"TIMED_OUT\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [552, 551, 549, 550] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 101, - "character": 12 - } - ] - }, - { - "id": 64, - "name": "RealtimeChannel", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages." - }, - "children": [ - { - "id": 75, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 130, - "character": 2 - } - ], - "signatures": [ - { - "id": 76, - "name": "new RealtimeChannel", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 77, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 78, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 316, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - }, - { - "id": 79, - "name": "socket", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 328, - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - } - ] - }, - { - "id": 80, - "name": "bindings", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 114, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 82, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 83, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "callback", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 118, - "character": 6 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 86, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 117, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 87, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 117, - "character": 14 - } - ], - "indexSignature": { - "id": 88, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 89, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 91, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 119, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 85, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 116, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [90, 86, 91, 85] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 115, - "character": 19 - } - ] - } - } - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 95, - "name": "joinPush", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 125, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 94, - "name": "joinedOnce", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 124, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 100, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 316, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - }, - { - "id": 98, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 128, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - { - "id": 97, - "name": "pushBuffer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 127, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "default" - } - }, - "defaultValue": "[]" - }, - { - "id": 96, - "name": "rejoinTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 126, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 101, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 328, - "name": "default" - } - }, - { - "id": 93, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 123, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 92, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 122, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 99, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 133, - "name": "on", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 338, - "character": 2 - } - ], - "signatures": [ - { - "id": 134, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates an event handler that listens to changes." - }, - "parameters": [ - { - "id": 135, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 136, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 137, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 138, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 340, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "sync" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [138] - } - ] - } - } - }, - { - "id": 139, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 140, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 141, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 142, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 146, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 143, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 144, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 145, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 147, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 148, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 149, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 150, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 345, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "join" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [150] - } - ] - } - } - }, - { - "id": 151, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 152, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 153, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 154, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 505, - "typeArguments": [ - { - "type": "reference", - "id": 146, - "name": "T" - } - ], - "name": "RealtimePresenceJoinPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 155, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 159, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 157, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 158, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 160, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 161, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 162, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 163, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 350, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": "leave" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [163] - } - ] - } - } - }, - { - "id": 164, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 166, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 167, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 515, - "typeArguments": [ - { - "type": "reference", - "id": 159, - "name": "T" - } - ], - "name": "RealtimePresenceLeavePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 168, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 172, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 169, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 170, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 171, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 173, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 174, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "literal", - "value": "*" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 175, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 177, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 178, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 471, - "typeArguments": [ - { - "type": "reference", - "id": 172, - "name": "T" - } - ], - "name": "RealtimePostgresChangesPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 179, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 183, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 181, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 182, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 184, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 185, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "literal", - "value": "INSERT" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 186, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 188, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 189, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 476, - "typeArguments": [ - { - "type": "reference", - "id": 183, - "name": "T" - } - ], - "name": "RealtimePostgresInsertPayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 190, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 194, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 191, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 192, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 193, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 195, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 196, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "literal", - "value": "UPDATE" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 197, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 198, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 199, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 200, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "typeArguments": [ - { - "type": "reference", - "id": 194, - "name": "T" - } - ], - "name": "RealtimePostgresUpdatePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 201, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 205, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 202, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 203, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 204, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "parameters": [ - { - "id": 206, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "literal", - "value": "postgres_changes" - } - }, - { - "id": 207, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 464, - "typeArguments": [ - { - "type": "literal", - "value": "DELETE" - } - ], - "name": "RealtimePostgresChangesFilter" - } - }, - { - "id": 208, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 209, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 210, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 211, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 495, - "typeArguments": [ - { - "type": "reference", - "id": 205, - "name": "T" - } - ], - "name": "RealtimePostgresDeletePayload" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 212, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe." - }, - "parameters": [ - { - "id": 213, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "One of \"broadcast\", \"presence\", or \"postgres_changes\"." - }, - "type": { - "type": "literal", - "value": "broadcast" - } - }, - { - "id": 214, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Custom object specific to the Realtime feature detailing which payloads to receive." - }, - "type": { - "type": "reflection", - "declaration": { - "id": 215, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 216, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 381, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [216] - } - ] - } - } - }, - { - "id": 217, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Function to be invoked when event handler is triggered.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 218, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 219, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 220, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 221, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 223, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 384, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 222, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 383, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "broadcast" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [223, 222] - } - ], - "indexSignature": { - "id": 224, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 225, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - } - ] - }, - { - "id": 110, - "name": "presenceState", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 303, - "character": 2 - } - ], - "signatures": [ - { - "id": 111, - "name": "presenceState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 116, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 112, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 113, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 114, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 115, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - } - ], - "type": { - "type": "reference", - "id": 525, - "typeArguments": [ - { - "type": "reference", - "id": 116, - "name": "T" - } - ], - "name": "RealtimePresenceState" - } - } - ] - }, - { - "id": 226, - "name": "send", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 396, - "character": 2 - } - ], - "signatures": [ - { - "id": 227, - "name": "send", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 228, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 229, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 230, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 397, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [230] - } - ], - "indexSignature": { - "id": 231, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 232, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 233, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 234, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 235, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 236, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 327, - "name": "RealtimeChannelSendResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 102, - "name": "subscribe", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 190, - "character": 2 - } - ], - "signatures": [ - { - "id": 103, - "name": "subscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Subscribe registers your client with the server" - }, - "parameters": [ - { - "id": 104, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 106, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 107, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "SUBSCRIBED" - }, - { - "type": "literal", - "value": "TIMED_OUT" - }, - { - "type": "literal", - "value": "CLOSED" - }, - { - "type": "literal", - "value": "CHANNEL_ERROR" - } - ] - } - }, - { - "id": 108, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 109, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - } - ] - }, - { - "id": 117, - "name": "track", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 309, - "character": 8 - } - ], - "signatures": [ - { - "id": 118, - "name": "track", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 119, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 120, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 121, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 122, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 123, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 125, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 126, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 327, - "name": "RealtimeChannelSendResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 243, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 436, - "character": 2 - } - ], - "signatures": [ - { - "id": 244, - "name": "unsubscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Leaves the channel.", - "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n" - }, - "parameters": [ - { - "id": 245, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 127, - "name": "untrack", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 323, - "character": 8 - } - ], - "signatures": [ - { - "id": 128, - "name": "untrack", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 129, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 130, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 131, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 132, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 327, - "name": "RealtimeChannelSendResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 237, - "name": "updateJoinPayload", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 423, - "character": 2 - } - ], - "signatures": [ - { - "id": 238, - "name": "updateJoinPayload", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 239, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 240, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 241, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 242, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [75] - }, - { - "title": "Properties", - "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] - }, - { - "title": "Methods", - "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 113, - "character": 21 - } - ] - }, - { - "id": 328, - "name": "RealtimeClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 329, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 89, - "character": 2 - } - ], - "signatures": [ - { - "id": 330, - "name": "new RealtimeClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Initializes the Socket." - }, - "parameters": [ - { - "id": 331, - "name": "endPoint", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 332, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 440, - "name": "RealtimeClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 328, - "name": "default" - } - } - ] - }, - { - "id": 333, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 334, - "name": "channels", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - "defaultValue": "[]" - }, - { - "id": 355, - "name": "conn", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 58, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 353, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 352, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 55, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 335, - "name": "endPoint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "''" - }, - { - "id": 364, - "name": "eventsPerSecondLimitMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "100" - }, - { - "id": 336, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 337, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 338, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 339, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "DEFAULT_HEADERS" - }, - { - "id": 346, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 347, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "qualifiedName": "global.NodeJS.Timer", - "package": "@types/node", - "name": "Timer" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 365, - "name": "inThrottle", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 351, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 340, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 342, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 343, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 348, - "name": "pendingHeartbeatRef", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 354, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 350, - "name": "reconnectTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 349, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "0" - }, - { - "id": 356, - "name": "sendBuffer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 357, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 60, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 358, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 61, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 361, - "name": "close", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 63, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 362, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 64, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 363, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 65, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 360, - "name": "open", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [361, 362, 363, 360] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 345, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": "w3cwebsocket" - }, - { - "id": 388, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 389, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 390, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 391, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 316, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - } - ] - }, - { - "id": 366, - "name": "connect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 126, - "character": 2 - } - ], - "signatures": [ - { - "id": 367, - "name": "connect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Connects the socket, unless already connected." - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 384, - "name": "connectionState", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 207, - "character": 2 - } - ], - "signatures": [ - { - "id": 385, - "name": "connectionState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the current state of the socket." - }, - "type": { - "type": "reference", - "name": "CONNECTION_STATE" - } - } - ] - }, - { - "id": 368, - "name": "disconnect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 148, - "character": 2 - } - ], - "signatures": [ - { - "id": 369, - "name": "disconnect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Disconnects the socket." - }, - "parameters": [ - { - "id": 370, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A numeric status code to send on disconnect." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 371, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom reason for the disconnect.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 372, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 166, - "character": 2 - } - ], - "signatures": [ - { - "id": 373, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns all created channels" - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 64, - "name": "default" - } - } - } - ] - }, - { - "id": 386, - "name": "isConnected", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 223, - "character": 2 - } - ], - "signatures": [ - { - "id": 387, - "name": "isConnected", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns `true` is the connection is open." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 379, - "name": "log", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 200, - "character": 2 - } - ], - "signatures": [ - { - "id": 380, - "name": "log", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs the message.", - "text": "For customized logging, `this.logger` can be overridden.\n" - }, - "parameters": [ - { - "id": 381, - "name": "kind", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 382, - "name": "msg", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 383, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 392, - "name": "push", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 245, - "character": 2 - } - ], - "signatures": [ - { - "id": 393, - "name": "push", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Push out a message if the socket is connected.", - "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n" - }, - "parameters": [ - { - "id": 394, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 457, - "name": "RealtimeMessage" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "literal", - "value": "rate limited" - } - ] - } - } - ] - }, - { - "id": 377, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 187, - "character": 8 - } - ], - "signatures": [ - { - "id": 378, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribes and removes all channels" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 534, - "name": "RealtimeRemoveChannelResponse" - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 374, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 174, - "character": 8 - } - ], - "signatures": [ - { - "id": 375, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribes and removes a single channel" - }, - "parameters": [ - { - "id": 376, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A RealtimeChannel instance\n" - }, - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 534, - "name": "RealtimeRemoveChannelResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 395, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 272, - "character": 2 - } - ], - "signatures": [ - { - "id": 396, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." - }, - "parameters": [ - { - "id": 397, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A JWT string.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [329] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349, - 356, 357, 358, 344, 345 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 41, - "character": 21 - } - ] - }, - { - "id": 1, - "name": "RealtimePresence", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 36, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 84, - "character": 2 - } - ], - "signatures": [ - { - "id": 37, - "name": "new RealtimePresence", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Initializes the Presence." - }, - "parameters": [ - { - "id": 38, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The RealtimeChannel" - }, - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 39, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOpts", - "package": "@types/phoenix", - "name": "PresenceOpts" - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 44, - "name": "caller", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 45, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 46, - "name": "onJoin", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 68, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 47, - "name": "onLeave", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 69, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - }, - { - "id": 48, - "name": "onSync", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 70, - "character": 4 - } - ], - "signatures": [ - { - "id": 49, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [46, 47] - }, - { - "title": "Methods", - "kind": 2048, - "children": [48] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 50, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 64, - "name": "default" - } - }, - { - "id": 43, - "name": "joinRef", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 66, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 42, - "name": "pendingDiffs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 65, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "RawPresenceDiff" - } - }, - "defaultValue": "[]" - }, - { - "id": 40, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 64, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 525, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ], - "name": "RealtimePresenceState" - }, - "defaultValue": "{}" - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [36] - }, - { - "title": "Properties", - "kind": 1024, - "children": [44, 50, 43, 42, 40] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 63, - "character": 21 - } - ] - }, - { - "id": 316, - "name": "RealtimeChannelOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 317, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 318, - "name": "config", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 319, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 320, - "name": "broadcast", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received" - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 321, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 323, - "name": "ack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 21, - "character": 34 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 322, - "name": "self", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 21, - "character": 18 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [323, 322] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 21, - "character": 16 - } - ] - } - } - }, - { - "id": 324, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "key option is used to track presence payload across clients" - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 25, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 325, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 326, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 25, - "character": 17 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [326] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 25, - "character": 15 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [320, 324] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 16, - "character": 10 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [318] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 15, - "character": 37 - } - ] - } - } - }, - { - "id": 327, - "name": "RealtimeChannelSendResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 83, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - }, - { - "type": "literal", - "value": "rate limited" - } - ] - } - }, - { - "id": 440, - "name": "RealtimeClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 441, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 447, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 446, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 449, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 12 - } - ], - "indexSignature": { - "id": 451, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 452, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 444, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 445, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 453, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 454, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 26, - "character": 11 - } - ], - "indexSignature": { - "id": 455, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 456, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 448, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 443, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 442, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 36 - } - ] - } - } - }, - { - "id": 457, - "name": "RealtimeMessage", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 458, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 460, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 463, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 461, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 462, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 459, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [460, 463, 461, 462, 459] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 30 - } - ] - } - } - }, - { - "id": 464, - "name": "RealtimePostgresChangesFilter", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 62, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 470, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 539, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" - }, - "" - ] - ] - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 465, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 466, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The type of database change to listen to." - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 470, - "name": "T" - } - }, - { - "id": 469, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Receive database changes when filter is matched." - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 80, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 467, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The database schema to listen to." - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 468, - "name": "table", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The database table to listen to." - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 76, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [466, 469, 467, 468] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 64, - "character": 4 - } - ] - } - } - }, - { - "id": 471, - "name": "RealtimePostgresChangesPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 57, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 475, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 472, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 57, - "character": 53 - } - ], - "indexSignature": { - "id": 473, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 474, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "typeArguments": [ - { - "type": "reference", - "id": 475, - "name": "T" - } - ], - "name": "RealtimePostgresInsertPayload" - }, - { - "type": "reference", - "id": 486, - "typeArguments": [ - { - "type": "reference", - "id": 475, - "name": "T" - } - ], - "name": "RealtimePostgresUpdatePayload" - }, - { - "type": "reference", - "id": 495, - "typeArguments": [ - { - "type": "reference", - "id": 475, - "name": "T" - } - ], - "name": "RealtimePostgresDeletePayload" - } - ] - } - }, - { - "id": 495, - "name": "RealtimePostgresDeletePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 504, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 501, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 52 - } - ], - "indexSignature": { - "id": 502, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 503, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 496, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 497, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 543, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 498, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 53, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 499, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 53, - "character": 9 - } - ] - } - } - }, - { - "id": 500, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 504, - "name": "T" - } - ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [497, 498, 500] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 476, - "name": "RealtimePostgresInsertPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 485, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 482, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 52 - } - ], - "indexSignature": { - "id": 483, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 484, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 477, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 478, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 38, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 541, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 479, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 39, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 485, - "name": "T" - } - }, - { - "id": 480, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 40, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 481, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 40, - "character": 9 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [478, 479, 480] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 486, - "name": "RealtimePostgresUpdatePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 494, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 491, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 52 - } - ], - "indexSignature": { - "id": 492, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 493, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "RealtimePostgresChangesPayloadBase" - }, - { - "type": "reflection", - "declaration": { - "id": 487, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 488, - "name": "eventType", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 45, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 542, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 489, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 46, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "T" - } - }, - { - "id": 490, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 47, - "character": 4 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 494, - "name": "T" - } - ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [488, 489, 490] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 39 - } - ] - } - } - ] - } - }, - { - "id": 505, - "name": "RealtimePresenceJoinPayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 514, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 511, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 50 - } - ], - "indexSignature": { - "id": 512, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 513, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 506, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 509, - "name": "currentPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 514, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 507, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 546, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" - }, - "" - ] - ] - } - }, - { - "id": 508, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 510, - "name": "newPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 514, - "name": "T" - } - ], - "name": "Presence" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [509, 507, 508, 510] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 76 - } - ] - } - } - }, - { - "id": 515, - "name": "RealtimePresenceLeavePayload", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 524, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 521, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 51 - } - ], - "indexSignature": { - "id": 522, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 523, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 516, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 519, - "name": "currentPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 524, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 517, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 547, - "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" - }, - "" - ] - ] - } - }, - { - "id": 518, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 520, - "name": "leftPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 524, - "name": "T" - } - ], - "name": "Presence" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [519, 517, 518, 520] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 77 - } - ] - } - } - }, - { - "id": 525, - "name": "RealtimePresenceState", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 17, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 533, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 529, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 17, - "character": 44 - } - ], - "indexSignature": { - "id": 530, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 531, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 17, - "character": 69 - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 526, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 17, - "character": 75 - } - ], - "indexSignature": { - "id": 527, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 528, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 533, - "name": "T" - } - ], - "name": "Presence" - } - } - } - } - } - }, - { - "id": 534, - "name": "RealtimeRemoveChannelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 37, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - }, - { - "type": "literal", - "value": "error" - } - ] - } - } - ], - "groups": [ - { - "title": "Enumerations", - "kind": 8, - "children": [535, 539, 544, 548] - }, - { - "title": "Classes", - "kind": 128, - "children": [64, 328, 1] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 1, - "character": 0 - } - ] -} + "id": 0, + "name": "@supabase/realtime-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 535, + "name": "REALTIME_LISTEN_TYPES", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 536, + "name": "BROADCAST", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 93, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "broadcast" + }, + "defaultValue": "\"broadcast\"" + }, + { + "id": 538, + "name": "POSTGRES_CHANGES", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "comment": { + "shortText": "listen to Postgres changes." + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 98, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "postgres_changes" + }, + "defaultValue": "\"postgres_changes\"" + }, + { + "id": 537, + "name": "PRESENCE", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 94, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "presence" + }, + "defaultValue": "\"presence\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 536, + 538, + 537 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 539, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 540, + "name": "ALL", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "*" + }, + "defaultValue": "\"*\"" + }, + { + "id": 543, + "name": "DELETE", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "DELETE" + }, + "defaultValue": "\"DELETE\"" + }, + { + "id": 541, + "name": "INSERT", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 87, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "INSERT" + }, + "defaultValue": "\"INSERT\"" + }, + { + "id": 542, + "name": "UPDATE", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 88, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "UPDATE" + }, + "defaultValue": "\"UPDATE\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 540, + 543, + 541, + 542 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 85, + "character": 12 + } + ] + }, + { + "id": 544, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 546, + "name": "JOIN", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "join" + }, + "defaultValue": "\"join\"" + }, + { + "id": 547, + "name": "LEAVE", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 38, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "leave" + }, + "defaultValue": "\"leave\"" + }, + { + "id": 545, + "name": "SYNC", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 36, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "sync" + }, + "defaultValue": "\"sync\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 546, + 547, + 545 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 35, + "character": 12 + } + ] + }, + { + "id": 548, + "name": "REALTIME_SUBSCRIBE_STATES", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 552, + "name": "CHANNEL_ERROR", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 105, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "CHANNEL_ERROR" + }, + "defaultValue": "\"CHANNEL_ERROR\"" + }, + { + "id": 551, + "name": "CLOSED", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 104, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "CLOSED" + }, + "defaultValue": "\"CLOSED\"" + }, + { + "id": 549, + "name": "SUBSCRIBED", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 102, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "SUBSCRIBED" + }, + "defaultValue": "\"SUBSCRIBED\"" + }, + { + "id": 550, + "name": "TIMED_OUT", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 103, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "TIMED_OUT" + }, + "defaultValue": "\"TIMED_OUT\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 552, + 551, + 549, + 550 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 101, + "character": 12 + } + ] + }, + { + "id": 64, + "name": "RealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages." + }, + "children": [ + { + "id": 75, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 76, + "name": "new RealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 77, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 78, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 316, + "name": "RealtimeChannelOptions" + }, + "defaultValue": "..." + }, + { + "id": 79, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 328, + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + } + ] + }, + { + "id": 80, + "name": "bindings", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 114, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 82, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 83, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 90, + "name": "callback", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 118, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 86, + "name": "filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 117, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 117, + "character": 14 + } + ], + "indexSignature": { + "id": 88, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 89, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 91, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 119, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 85, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 116, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 90, + 86, + 91, + 85 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 115, + "character": 19 + } + ] + } + } + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 95, + "name": "joinPush", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 125, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 94, + "name": "joinedOnce", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 124, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 100, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reference", + "id": 316, + "name": "RealtimeChannelOptions" + }, + "defaultValue": "..." + }, + { + "id": 98, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 128, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + }, + { + "id": 97, + "name": "pushBuffer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 127, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "default" + } + }, + "defaultValue": "[]" + }, + { + "id": 96, + "name": "rejoinTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 126, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 101, + "name": "socket", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reference", + "id": 328, + "name": "default" + } + }, + { + "id": 93, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 123, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "CHANNEL_STATES" + }, + "defaultValue": "CHANNEL_STATES.closed" + }, + { + "id": 92, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 122, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 99, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 133, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 338, + "character": 2 + } + ], + "signatures": [ + { + "id": 134, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates an event handler that listens to changes." + }, + "parameters": [ + { + "id": 135, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 136, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 138, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 340, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 138 + ] + } + ] + } + } + }, + { + "id": 139, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 141, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 142, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 146, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 143, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 144, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 145, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 147, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 148, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 345, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": "join" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 150 + ] + } + ] + } + } + }, + { + "id": 151, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 152, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 153, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 154, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 505, + "typeArguments": [ + { + "type": "reference", + "id": 146, + "name": "T" + } + ], + "name": "RealtimePresenceJoinPayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 155, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 159, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 157, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 158, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 160, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 161, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 163, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 350, + "character": 14 + } + ], + "type": { + "type": "literal", + "value": "leave" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 163 + ] + } + ] + } + } + }, + { + "id": 164, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 166, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 167, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 515, + "typeArguments": [ + { + "type": "reference", + "id": 159, + "name": "T" + } + ], + "name": "RealtimePresenceLeavePayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 168, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 172, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 170, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 171, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 173, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 174, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 464, + "typeArguments": [ + { + "type": "literal", + "value": "*" + } + ], + "name": "RealtimePostgresChangesFilter" + } + }, + { + "id": 175, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 177, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 178, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 471, + "typeArguments": [ + { + "type": "reference", + "id": 172, + "name": "T" + } + ], + "name": "RealtimePostgresChangesPayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 179, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 183, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 180, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 181, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 182, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 184, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 185, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 464, + "typeArguments": [ + { + "type": "literal", + "value": "INSERT" + } + ], + "name": "RealtimePostgresChangesFilter" + } + }, + { + "id": 186, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 188, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 189, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 476, + "typeArguments": [ + { + "type": "reference", + "id": 183, + "name": "T" + } + ], + "name": "RealtimePostgresInsertPayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 190, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 194, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 191, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 192, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 193, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 195, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 196, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 464, + "typeArguments": [ + { + "type": "literal", + "value": "UPDATE" + } + ], + "name": "RealtimePostgresChangesFilter" + } + }, + { + "id": 197, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 198, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 199, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 200, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 194, + "name": "T" + } + ], + "name": "RealtimePostgresUpdatePayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 201, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 205, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 202, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 203, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 204, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "parameters": [ + { + "id": 206, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "literal", + "value": "postgres_changes" + } + }, + { + "id": 207, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 464, + "typeArguments": [ + { + "type": "literal", + "value": "DELETE" + } + ], + "name": "RealtimePostgresChangesFilter" + } + }, + { + "id": 208, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 210, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 211, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 495, + "typeArguments": [ + { + "type": "reference", + "id": 205, + "name": "T" + } + ], + "name": "RealtimePostgresDeletePayload" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 212, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe." + }, + "parameters": [ + { + "id": 213, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "One of \"broadcast\", \"presence\", or \"postgres_changes\"." + }, + "type": { + "type": "literal", + "value": "broadcast" + } + }, + { + "id": 214, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Custom object specific to the Realtime feature detailing which payloads to receive." + }, + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 216, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 381, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 216 + ] + } + ] + } + } + }, + { + "id": 217, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Function to be invoked when event handler is triggered.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 219, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 220, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 223, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 384, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 222, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 383, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "broadcast" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 223, + 222 + ] + } + ], + "indexSignature": { + "id": 224, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 225, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + } + ] + }, + { + "id": 110, + "name": "presenceState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 303, + "character": 2 + } + ], + "signatures": [ + { + "id": 111, + "name": "presenceState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 116, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 112, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 113, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 114, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + } + ], + "type": { + "type": "reference", + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], + "name": "RealtimePresenceState" + } + } + ] + }, + { + "id": 226, + "name": "send", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 396, + "character": 2 + } + ], + "signatures": [ + { + "id": 227, + "name": "send", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 228, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 229, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 230, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 397, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 230 + ] + } + ], + "indexSignature": { + "id": 231, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 232, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 233, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 235, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 236, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 327, + "name": "RealtimeChannelSendResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 102, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 190, + "character": 2 + } + ], + "signatures": [ + { + "id": 103, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Subscribe registers your client with the server" + }, + "parameters": [ + { + "id": 104, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 105, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 106, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 107, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "SUBSCRIBED" + }, + { + "type": "literal", + "value": "TIMED_OUT" + }, + { + "type": "literal", + "value": "CLOSED" + }, + { + "type": "literal", + "value": "CHANNEL_ERROR" + } + ] + } + }, + { + "id": 108, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 109, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + } + ] + }, + { + "id": 117, + "name": "track", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 309, + "character": 8 + } + ], + "signatures": [ + { + "id": 118, + "name": "track", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 119, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 121, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 122, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 123, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 124, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 125, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 126, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 327, + "name": "RealtimeChannelSendResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 243, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 436, + "character": 2 + } + ], + "signatures": [ + { + "id": 244, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Leaves the channel.", + "text": "Unsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a `receive` hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )\n" + }, + "parameters": [ + { + "id": 245, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 127, + "name": "untrack", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 323, + "character": 8 + } + ], + "signatures": [ + { + "id": 128, + "name": "untrack", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 129, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 130, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 131, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 132, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 327, + "name": "RealtimeChannelSendResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 237, + "name": "updateJoinPayload", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 423, + "character": 2 + } + ], + "signatures": [ + { + "id": 238, + "name": "updateJoinPayload", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 239, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 240, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 241, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 242, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 75 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 113, + "character": 21 + } + ] + }, + { + "id": 328, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 329, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 89, + "character": 2 + } + ], + "signatures": [ + { + "id": 330, + "name": "new RealtimeClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Initializes the Socket." + }, + "parameters": [ + { + "id": 331, + "name": "endPoint", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 332, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 440, + "name": "RealtimeClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 328, + "name": "default" + } + } + ] + }, + { + "id": 333, + "name": "accessToken", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 42, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 334, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + "defaultValue": "[]" + }, + { + "id": 355, + "name": "conn", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 58, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 353, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 352, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 335, + "name": "endPoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + }, + { + "id": 364, + "name": "eventsPerSecondLimitMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "100" + }, + { + "id": 336, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 338, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 339, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "DEFAULT_HEADERS" + }, + { + "id": 346, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 347, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "qualifiedName": "global.NodeJS.Timer", + "package": "@types/node", + "name": "Timer" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 365, + "name": "inThrottle", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 351, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 54, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 340, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 342, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 343, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 348, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 354, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 350, + "name": "reconnectTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 53, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 349, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 52, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0" + }, + { + "id": 356, + "name": "sendBuffer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 357, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 60, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + }, + "defaultValue": "..." + }, + { + "id": 358, + "name": "stateChangeCallbacks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 359, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 361, + "name": "close", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 63, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 362, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 64, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 363, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 360, + "name": "open", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 62, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 361, + 362, + 363, + 360 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 344, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "DEFAULT_TIMEOUT" + }, + { + "id": 345, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": "w3cwebsocket" + }, + { + "id": 388, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 227, + "character": 2 + } + ], + "signatures": [ + { + "id": 389, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 390, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 391, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 316, + "name": "RealtimeChannelOptions" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + } + ] + }, + { + "id": 366, + "name": "connect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 126, + "character": 2 + } + ], + "signatures": [ + { + "id": 367, + "name": "connect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Connects the socket, unless already connected." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 384, + "name": "connectionState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 207, + "character": 2 + } + ], + "signatures": [ + { + "id": 385, + "name": "connectionState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the current state of the socket." + }, + "type": { + "type": "reference", + "name": "CONNECTION_STATE" + } + } + ] + }, + { + "id": 368, + "name": "disconnect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 148, + "character": 2 + } + ], + "signatures": [ + { + "id": 369, + "name": "disconnect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Disconnects the socket." + }, + "parameters": [ + { + "id": 370, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A numeric status code to send on disconnect." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 371, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom reason for the disconnect.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 372, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 166, + "character": 2 + } + ], + "signatures": [ + { + "id": 373, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns all created channels" + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 64, + "name": "default" + } + } + } + ] + }, + { + "id": 386, + "name": "isConnected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 223, + "character": 2 + } + ], + "signatures": [ + { + "id": 387, + "name": "isConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns `true` is the connection is open." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 379, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 200, + "character": 2 + } + ], + "signatures": [ + { + "id": 380, + "name": "log", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Logs the message.", + "text": "For customized logging, `this.logger` can be overridden.\n" + }, + "parameters": [ + { + "id": 381, + "name": "kind", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 382, + "name": "msg", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 383, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 392, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 245, + "character": 2 + } + ], + "signatures": [ + { + "id": 393, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Push out a message if the socket is connected.", + "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n" + }, + "parameters": [ + { + "id": 394, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 457, + "name": "RealtimeMessage" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "literal", + "value": "rate limited" + } + ] + } + } + ] + }, + { + "id": 377, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 187, + "character": 8 + } + ], + "signatures": [ + { + "id": 378, + "name": "removeAllChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribes and removes all channels" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 534, + "name": "RealtimeRemoveChannelResponse" + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 374, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 174, + "character": 8 + } + ], + "signatures": [ + { + "id": 375, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribes and removes a single channel" + }, + "parameters": [ + { + "id": 376, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A RealtimeChannel instance\n" + }, + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 534, + "name": "RealtimeRemoveChannelResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 395, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 272, + "character": 2 + } + ], + "signatures": [ + { + "id": 396, + "name": "setAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." + }, + "parameters": [ + { + "id": 397, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A JWT string.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 329 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 41, + "character": 21 + } + ] + }, + { + "id": 1, + "name": "RealtimePresence", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 36, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 84, + "character": 2 + } + ], + "signatures": [ + { + "id": 37, + "name": "new RealtimePresence", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Initializes the Presence." + }, + "parameters": [ + { + "id": 38, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The RealtimeChannel" + }, + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 39, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOpts", + "package": "@types/phoenix", + "name": "PresenceOpts" + } + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ] + }, + { + "id": 44, + "name": "caller", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 67, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 45, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 46, + "name": "onJoin", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 68, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 47, + "name": "onLeave", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 69, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + }, + { + "id": 48, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 70, + "character": 4 + } + ], + "signatures": [ + { + "id": 49, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 46, + 47 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 48 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 50, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reference", + "id": 64, + "name": "default" + } + }, + { + "id": 43, + "name": "joinRef", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 66, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 42, + "name": "pendingDiffs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 65, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "RawPresenceDiff" + } + }, + "defaultValue": "[]" + }, + { + "id": 40, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 64, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], + "name": "RealtimePresenceState" + }, + "defaultValue": "{}" + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 36 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 44, + 50, + 43, + 42, + 40 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 63, + "character": 21 + } + ] + }, + { + "id": 316, + "name": "RealtimeChannelOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 317, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 318, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 320, + "name": "broadcast", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received" + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 321, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 323, + "name": "ack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 21, + "character": 34 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 322, + "name": "self", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 21, + "character": 18 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 323, + 322 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 21, + "character": 16 + } + ] + } + } + }, + { + "id": 324, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "key option is used to track presence payload across clients" + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 325, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 326, + "name": "key", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 25, + "character": 17 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 326 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 25, + "character": 15 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 320, + 324 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 16, + "character": 10 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 318 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 15, + "character": 37 + } + ] + } + } + }, + { + "id": 327, + "name": "RealtimeChannelSendResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + }, + { + "type": "literal", + "value": "rate limited" + } + ] + } + }, + { + "id": 440, + "name": "RealtimeClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 17, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 441, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 447, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 446, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 449, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 450, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 12 + } + ], + "indexSignature": { + "id": 451, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 452, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 444, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 445, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 453, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 454, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 26, + "character": 11 + } + ], + "indexSignature": { + "id": 455, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 456, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 448, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 443, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 442, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 17, + "character": 36 + } + ] + } + } + }, + { + "id": 457, + "name": "RealtimeMessage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 458, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 460, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 463, + "name": "join_ref", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "payload", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 462, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 460, + 463, + 461, + 462, + 459 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 30 + } + ] + } + } + }, + { + "id": 464, + "name": "RealtimePostgresChangesFilter", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 62, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 470, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 539, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" + }, + "" + ] + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 466, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of database change to listen to." + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 68, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 470, + "name": "T" + } + }, + { + "id": 469, + "name": "filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Receive database changes when filter is matched." + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 467, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The database schema to listen to." + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 468, + "name": "table", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The database table to listen to." + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 76, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 466, + 469, + 467, + 468 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 64, + "character": 4 + } + ] + } + } + }, + { + "id": 471, + "name": "RealtimePostgresChangesPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 57, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 475, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 472, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 57, + "character": 53 + } + ], + "indexSignature": { + "id": 473, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 474, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 476, + "typeArguments": [ + { + "type": "reference", + "id": 475, + "name": "T" + } + ], + "name": "RealtimePostgresInsertPayload" + }, + { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 475, + "name": "T" + } + ], + "name": "RealtimePostgresUpdatePayload" + }, + { + "type": "reference", + "id": 495, + "typeArguments": [ + { + "type": "reference", + "id": 475, + "name": "T" + } + ], + "name": "RealtimePostgresDeletePayload" + } + ] + } + }, + { + "id": 495, + "name": "RealtimePostgresDeletePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 50, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 504, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 501, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 50, + "character": 52 + } + ], + "indexSignature": { + "id": 502, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 503, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RealtimePostgresChangesPayloadBase" + }, + { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 497, + "name": "eventType", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 543, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" + }, + "" + ] + ] + } + }, + { + "id": 498, + "name": "new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 53, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 53, + "character": 9 + } + ] + } + } + }, + { + "id": 500, + "name": "old", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "T" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 497, + 498, + 500 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 51, + "character": 39 + } + ] + } + } + ] + } + }, + { + "id": 476, + "name": "RealtimePostgresInsertPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 36, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 485, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 482, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 36, + "character": 52 + } + ], + "indexSignature": { + "id": 483, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 484, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RealtimePostgresChangesPayloadBase" + }, + { + "type": "reflection", + "declaration": { + "id": 477, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 478, + "name": "eventType", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 541, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" + }, + "" + ] + ] + } + }, + { + "id": 479, + "name": "new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 485, + "name": "T" + } + }, + { + "id": 480, + "name": "old", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 40, + "character": 9 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 478, + 479, + 480 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 37, + "character": 39 + } + ] + } + } + ] + } + }, + { + "id": 486, + "name": "RealtimePostgresUpdatePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 43, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 494, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 43, + "character": 52 + } + ], + "indexSignature": { + "id": 492, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 493, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RealtimePostgresChangesPayloadBase" + }, + { + "type": "reflection", + "declaration": { + "id": 487, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 488, + "name": "eventType", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 45, + "character": 4 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 542, + "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" + }, + "" + ] + ] + } + }, + { + "id": 489, + "name": "new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 46, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "T" + } + }, + { + "id": 490, + "name": "old", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 47, + "character": 4 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 494, + "name": "T" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 488, + 489, + 490 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 44, + "character": 39 + } + ] + } + } + ] + } + }, + { + "id": 505, + "name": "RealtimePresenceJoinPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 21, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 514, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 511, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 21, + "character": 50 + } + ], + "indexSignature": { + "id": 512, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 513, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 509, + "name": "currentPresences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "name": "T" + } + ], + "name": "Presence" + } + } + }, + { + "id": 507, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 546, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" + }, + "" + ] + ] + } + }, + { + "id": 508, + "name": "key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 510, + "name": "newPresences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "name": "T" + } + ], + "name": "Presence" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 509, + 507, + 508, + 510 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 21, + "character": 76 + } + ] + } + } + }, + { + "id": 515, + "name": "RealtimePresenceLeavePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 28, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 524, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 521, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 28, + "character": 51 + } + ], + "indexSignature": { + "id": 522, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 523, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 519, + "name": "currentPresences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 524, + "name": "T" + } + ], + "name": "Presence" + } + } + }, + { + "id": 517, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 29, + "character": 2 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 547, + "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" + }, + "" + ] + ] + } + }, + { + "id": 518, + "name": "key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 520, + "name": "leftPresences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 524, + "name": "T" + } + ], + "name": "Presence" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 519, + 517, + 518, + 520 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 28, + "character": 77 + } + ] + } + } + }, + { + "id": 525, + "name": "RealtimePresenceState", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 17, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 533, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 529, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 17, + "character": 44 + } + ], + "indexSignature": { + "id": 530, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 531, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 17, + "character": 69 + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 526, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 17, + "character": 75 + } + ], + "indexSignature": { + "id": 527, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 528, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], + "name": "Presence" + } + } + } + } + } + }, + { + "id": 534, + "name": "RealtimeRemoveChannelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + }, + { + "type": "literal", + "value": "error" + } + ] + } + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [ + 535, + 539, + 544, + 548 + ] + }, + { + "title": "Classes", + "kind": 128, + "children": [ + 64, + 328, + 1 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 316, + 327, + 440, + 457, + 464, + 471, + 495, + 476, + 486, + 505, + 515, + 525, + 534 + ] + } + ], + "sources": [ + { + "fileName": "index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json index a8cb87730dd..ad50c2c7a13 100644 --- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json @@ -78,7 +78,11 @@ { "title": "Enumeration Members", "kind": 16, - "children": [536, 538, 537] + "children": [ + 536, + 538, + 537 + ] } ], "sources": [ @@ -177,7 +181,12 @@ { "title": "Enumeration Members", "kind": 16, - "children": [540, 543, 541, 542] + "children": [ + 540, + 543, + 541, + 542 + ] } ], "sources": [ @@ -257,7 +266,11 @@ { "title": "Enumeration Members", "kind": 16, - "children": [546, 547, 545] + "children": [ + 546, + 547, + 545 + ] } ], "sources": [ @@ -356,7 +369,12 @@ { "title": "Enumeration Members", "kind": 16, - "children": [552, 551, 549, 550] + "children": [ + 552, + 551, + 549, + 550 + ] } ], "sources": [ @@ -535,7 +553,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -600,7 +621,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -618,7 +641,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -636,7 +662,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -1009,7 +1037,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -1629,7 +1665,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -1832,7 +1873,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -1897,7 +1941,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -1915,7 +1961,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -1933,7 +1982,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -2368,7 +2419,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -2493,17 +2550,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -2593,20 +2673,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, - 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -2795,7 +2909,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -2978,7 +3097,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -3043,7 +3165,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -3061,7 +3185,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -3079,7 +3206,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -3170,17 +3299,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -3314,12 +3466,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -3352,17 +3509,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -3592,12 +3772,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -4008,7 +4196,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -4627,7 +4825,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -4830,7 +5033,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -4895,7 +5101,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -4913,7 +5121,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -4931,7 +5142,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -5366,7 +5579,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -5491,17 +5710,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -5591,20 +5833,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, - 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -5740,7 +6016,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -5881,7 +6159,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -6043,7 +6323,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -6323,7 +6605,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -6612,7 +6899,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -6901,7 +7193,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -7190,7 +7487,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -7328,7 +7630,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -7415,7 +7719,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -7609,7 +7916,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -8156,17 +8465,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -8523,7 +8855,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -9142,7 +9484,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -9345,7 +9692,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -9410,7 +9760,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -9428,7 +9780,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -9446,7 +9801,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -9881,7 +10238,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -10160,7 +10523,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -10225,7 +10591,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -10243,7 +10611,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -10261,7 +10632,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -10298,21 +10671,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, - 351, 340, 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -10502,7 +10907,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -10685,7 +11095,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -10750,7 +11163,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -10768,7 +11183,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -10786,7 +11204,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -10987,12 +11407,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -11231,12 +11656,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -11312,21 +11745,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, - 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -11463,7 +11928,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -11604,7 +12071,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -11766,7 +12235,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -12046,7 +12517,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -12335,7 +12811,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -12624,7 +13105,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -12913,7 +13399,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -13051,7 +13542,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -13138,7 +13631,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -13332,7 +13828,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -13879,17 +14377,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -13979,20 +14500,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, 354, 350, 349, - 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -14215,7 +14770,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -14280,7 +14838,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -14298,7 +14858,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -14316,7 +14879,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -14689,8 +15254,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, - 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -15310,7 +15882,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -15513,7 +16090,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -15578,7 +16158,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -15596,7 +16178,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -15614,7 +16199,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -16049,7 +16636,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -16240,21 +16833,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, - 351, 340, 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -16444,7 +17069,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -16627,7 +17257,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -16692,7 +17325,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -16710,7 +17345,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -16728,7 +17366,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -16772,12 +17412,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -17189,7 +17837,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -17809,7 +18465,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -18012,7 +18673,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -18077,7 +18741,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -18095,7 +18761,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -18113,7 +18782,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -18548,7 +19219,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -18739,21 +19416,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, - 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -18890,7 +19599,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -19031,7 +19742,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -19193,7 +19906,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -19473,7 +20188,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -19762,7 +20482,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -20051,7 +20776,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -20340,7 +21070,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -20478,7 +21213,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -20565,7 +21302,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -20759,7 +21499,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -21306,17 +22048,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -21450,12 +22215,17 @@ { "title": "Properties", "kind": 1024, - "children": [46, 47] + "children": [ + 46, + 47 + ] }, { "title": "Methods", "kind": 2048, - "children": [48] + "children": [ + 48 + ] } ] } @@ -21642,7 +22412,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -21707,7 +22480,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -21725,7 +22500,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -21743,7 +22521,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -22116,7 +22896,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -22736,7 +23524,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -22939,7 +23732,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -23004,7 +23800,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -23022,7 +23820,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -23040,7 +23841,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -23475,7 +24278,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -23666,21 +24475,53 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, - 348, 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, "children": [ - 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 ] } ], @@ -23870,7 +24711,12 @@ { "title": "Properties", "kind": 1024, - "children": [90, 86, 91, 85] + "children": [ + 90, + 86, + 91, + 85 + ] } ], "sources": [ @@ -24053,7 +24899,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -24118,7 +24967,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -24136,7 +24987,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -24154,7 +25008,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -24198,12 +25054,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -24615,7 +25479,15 @@ "title": "Properties", "kind": 1024, "children": [ - 447, 446, 449, 444, 445, 453, 448, 443, 442 + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 ] } ], @@ -25235,7 +26107,12 @@ { "title": "Properties", "kind": 1024, - "children": [361, 362, 363, 360] + "children": [ + 361, + 362, + 363, + 360 + ] } ] } @@ -25438,7 +26315,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -25503,7 +26383,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -25521,7 +26403,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -25539,7 +26424,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -25974,7 +26861,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -26165,20 +27058,54 @@ { "title": "Constructors", "kind": 512, - "children": [329] + "children": [ + 329 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 333, 334, 355, 353, 352, 335, 364, 336, 346, 347, 365, 351, 340, 348, - 354, 350, 349, 356, 357, 358, 344, 345 + 333, + 334, + 355, + 353, + 352, + 335, + 364, + 336, + 346, + 347, + 365, + 351, + 340, + 348, + 354, + 350, + 349, + 356, + 357, + 358, + 344, + 345 ] }, { "title": "Methods", "kind": 2048, - "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] + "children": [ + 388, + 366, + 384, + 368, + 372, + 386, + 379, + 392, + 377, + 374, + 395 + ] } ], "sources": [ @@ -26314,7 +27241,9 @@ { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 138 + ] } ] } @@ -26455,7 +27384,9 @@ { "title": "Properties", "kind": 1024, - "children": [150] + "children": [ + 150 + ] } ] } @@ -26617,7 +27548,9 @@ { "title": "Properties", "kind": 1024, - "children": [163] + "children": [ + 163 + ] } ] } @@ -26897,7 +27830,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -27186,7 +28124,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -27475,7 +28418,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -27764,7 +28712,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -27902,7 +28855,9 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [ + 216 + ] } ] } @@ -27989,7 +28944,10 @@ { "title": "Properties", "kind": 1024, - "children": [223, 222] + "children": [ + 223, + 222 + ] } ], "indexSignature": { @@ -28183,7 +29141,9 @@ { "title": "Properties", "kind": 1024, - "children": [230] + "children": [ + 230 + ] } ], "indexSignature": { @@ -28730,17 +29690,40 @@ { "title": "Constructors", "kind": 512, - "children": [75] + "children": [ + 75 + ] }, { "title": "Properties", "kind": 1024, - "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] + "children": [ + 80, + 95, + 94, + 100, + 98, + 97, + 96, + 101, + 93, + 92, + 99 + ] }, { "title": "Methods", "kind": 2048, - "children": [133, 110, 226, 102, 117, 243, 127, 237] + "children": [ + 133, + 110, + 226, + 102, + 117, + 243, + 127, + 237 + ] } ], "sources": [ @@ -28970,12 +29953,20 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [44, 50, 43, 42, 40] + "children": [ + 44, + 50, + 43, + 42, + 40 + ] } ], "sources": [ @@ -29102,7 +30093,10 @@ { "title": "Properties", "kind": 1024, - "children": [323, 322] + "children": [ + 323, + 322 + ] } ], "sources": [ @@ -29167,7 +30161,9 @@ { "title": "Properties", "kind": 1024, - "children": [326] + "children": [ + 326 + ] } ], "sources": [ @@ -29185,7 +30181,10 @@ { "title": "Properties", "kind": 1024, - "children": [320, 324] + "children": [ + 320, + 324 + ] } ], "sources": [ @@ -29203,7 +30202,9 @@ { "title": "Properties", "kind": 1024, - "children": [318] + "children": [ + 318 + ] } ], "sources": [ @@ -29536,7 +30537,17 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] + "children": [ + 447, + 446, + 449, + 444, + 445, + 453, + 448, + 443, + 442 + ] } ], "sources": [ @@ -29668,7 +30679,13 @@ { "title": "Properties", "kind": 1024, - "children": [460, 463, 461, 462, 459] + "children": [ + 460, + 463, + 461, + 462, + 459 + ] } ], "sources": [ @@ -29821,7 +30838,12 @@ { "title": "Properties", "kind": 1024, - "children": [466, 469, 467, 468] + "children": [ + 466, + 469, + 467, + 468 + ] } ], "sources": [ @@ -30060,7 +31082,11 @@ { "title": "Properties", "kind": 1024, - "children": [478, 479, 480] + "children": [ + 478, + 479, + 480 + ] } ], "sources": [ @@ -30232,7 +31258,11 @@ { "title": "Properties", "kind": 1024, - "children": [488, 489, 490] + "children": [ + 488, + 489, + 490 + ] } ], "sources": [ @@ -30416,7 +31446,11 @@ { "title": "Properties", "kind": 1024, - "children": [497, 498, 500] + "children": [ + 497, + 498, + 500 + ] } ], "sources": [ @@ -30603,7 +31637,11 @@ { "title": "Properties", "kind": 1024, - "children": [497, 498, 500] + "children": [ + 497, + 498, + 500 + ] } ], "sources": [ @@ -30779,7 +31817,11 @@ { "title": "Properties", "kind": 1024, - "children": [478, 479, 480] + "children": [ + 478, + 479, + 480 + ] } ], "sources": [ @@ -30951,7 +31993,11 @@ { "title": "Properties", "kind": 1024, - "children": [488, 489, 490] + "children": [ + 488, + 489, + 490 + ] } ], "sources": [ @@ -31144,7 +32190,12 @@ { "title": "Properties", "kind": 1024, - "children": [509, 507, 508, 510] + "children": [ + 509, + 507, + 508, + 510 + ] } ], "sources": [ @@ -31335,7 +32386,12 @@ { "title": "Properties", "kind": 1024, - "children": [519, 517, 518, 520] + "children": [ + 519, + 517, + 518, + 520 + ] } ], "sources": [ @@ -31514,17 +32570,40 @@ { "title": "Enumerations", "kind": 8, - "children": [535, 539, 544, 548] + "children": [ + 535, + 539, + 544, + 548 + ] }, { "title": "Classes", "kind": 128, - "children": [64, 328, 1] + "children": [ + 64, + 328, + 1 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] + "children": [ + 316, + 327, + 440, + 457, + 464, + 471, + 495, + 476, + 486, + 505, + 515, + 525, + 534 + ] } ], "sources": [ @@ -31534,4 +32613,4 @@ "character": 0 } ] -} +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json index 79756f23f4a..24cc94a246a 100644 --- a/spec/enrichments/tsdoc_v2/storage.json +++ b/spec/enrichments/tsdoc_v2/storage.json @@ -1,7670 +1,7986 @@ { - "id": 0, - "name": "@supabase/storage-js", - "kind": 1, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 442, - "name": "StorageApiError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 443, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 17, - "character": 2 - } - ], - "signatures": [ - { - "id": 444, - "name": "new StorageApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 445, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 446, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 442, - "name": "StorageApiError" - }, - "overwrites": { - "type": "reference", - "id": 439, - "name": "StorageError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 438, - "name": "StorageError.constructor" - } - }, - { - "id": 447, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 448, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 23, - "character": 2 - } - ], - "signatures": [ - { - "id": 449, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 452, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 26, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 451, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 453, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 27, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [452, 451, 453] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [443] - }, - { - "title": "Properties", - "kind": 1024, - "children": [447] - }, - { - "title": "Methods", - "kind": 2048, - "children": [448] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 437, - "name": "StorageError" - } - ] - }, - { - "id": 297, - "name": "StorageClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 298, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 6, - "character": 2 - } - ], - "signatures": [ - { - "id": 299, - "name": "new StorageClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 300, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 301, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 303, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 304, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 305, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 306, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 307, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 308, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 309, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 297, - "name": "StorageClient" - }, - "overwrites": { - "type": "reference", - "id": 5, - "name": "default.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 4, - "name": "default.constructor" - } - }, - { - "id": 340, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, - "character": 8 - } - ], - "signatures": [ - { - "id": 341, - "name": "createBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" - }, - "parameters": [ - { - "id": 342, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are creating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 343, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 347, - "name": "allowedMimeTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 346, - "name": "fileSizeLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 345, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [347, 346, 345] - } - ] - } - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 348, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 349, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 392, - "name": "Bucket" - }, - { - "type": "literal", - "value": "name" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 350, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [349, 350] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 351, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 352, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 353, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [352, 353] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 44, - "name": "default.createBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "default.createBucket" - } - }, - { - "id": 381, - "name": "deleteBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, - "character": 8 - } - ], - "signatures": [ - { - "id": 382, - "name": "deleteBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." - }, - "parameters": [ - { - "id": 383, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to delete.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 384, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 385, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 386, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 387, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [387] - } - ] - } - } - }, - { - "id": 388, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [385, 388] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 389, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 390, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 391, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [390, 391] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 85, - "name": "default.deleteBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 84, - "name": "default.deleteBucket" - } - }, - { - "id": 370, - "name": "emptyBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, - "character": 8 - } - ], - "signatures": [ - { - "id": 371, - "name": "emptyBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes all objects inside a single bucket." - }, - "parameters": [ - { - "id": 372, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to empty.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 373, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 374, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 375, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 376, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [376] - } - ] - } - } - }, - { - "id": 377, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [374, 377] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 379, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 380, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [379, 380] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 74, - "name": "default.emptyBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 73, - "name": "default.emptyBucket" - } - }, - { - "id": 310, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 15, - "character": 2 - } - ], - "signatures": [ - { - "id": 311, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform file operation in a bucket." - }, - "parameters": [ - { - "id": 312, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The bucket id to operate on.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 96, - "name": "default" - } - } - ] - }, - { - "id": 331, - "name": "getBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 8 - } - ], - "signatures": [ - { - "id": 332, - "name": "getBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of an existing Storage bucket." - }, - "parameters": [ - { - "id": 333, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to retrieve.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 334, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 335, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 392, - "name": "Bucket" - } - }, - { - "id": 336, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [335, 336] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 337, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 338, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 339, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [338, 339] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "default.getBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 34, - "name": "default.getBucket" - } - }, - { - "id": 323, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, - "character": 8 - } - ], - "signatures": [ - { - "id": 324, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing project." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 325, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 326, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 392, - "name": "Bucket" - } - } - }, - { - "id": 327, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [326, 327] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 328, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 329, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 330, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [329, 330] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 27, - "name": "default.listBuckets" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 26, - "name": "default.listBuckets" - } - }, - { - "id": 354, - "name": "updateBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, - "character": 8 - } - ], - "signatures": [ - { - "id": 355, - "name": "updateBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates a Storage bucket" - }, - "parameters": [ - { - "id": 356, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are updating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 357, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 358, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 361, - "name": "allowedMimeTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n" - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 360, - "name": "fileSizeLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 359, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [361, 360, 359] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 362, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 363, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 364, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 365, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365] - } - ] - } - } - }, - { - "id": 366, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [363, 366] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 367, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 368, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 369, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [368, 369] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 58, - "name": "default.updateBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 57, - "name": "default.updateBucket" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [298] - }, - { - "title": "Methods", - "kind": 2048, - "children": [340, 381, 370, 310, 331, 323, 354] - } - ], - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 5, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 3, - "name": "default" - } - ] - }, - { - "id": 437, - "name": "StorageError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 438, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 2 - } - ], - "signatures": [ - { - "id": 439, - "name": "new StorageError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 440, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [438] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 1, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 442, - "name": "StorageApiError" - }, - { - "type": "reference", - "id": 455, - "name": "StorageUnknownError" - } - ] - }, - { - "id": 455, - "name": "StorageUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 456, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 35, - "character": 2 - } - ], - "signatures": [ - { - "id": 457, - "name": "new StorageUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 458, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 459, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 455, - "name": "StorageUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 439, - "name": "StorageError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 438, - "name": "StorageError.constructor" - } - }, - { - "id": 460, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [456] - }, - { - "title": "Properties", - "kind": 1024, - "children": [460] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 32, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 437, - "name": "StorageError" - } - ] - }, - { - "id": 392, - "name": "Bucket", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 397, - "name": "allowed_mime_types", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 398, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 7, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 396, - "name": "file_size_limit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 5, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 395, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 4, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 399, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [397, 398, 396, 393, 394, 395, 400, 399] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 17 - } - ] - }, - { - "id": 424, - "name": "FetchParameters", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 425, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Pass in an AbortController's signal to cancel the request." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [425] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 17 - } - ] - }, - { - "id": 401, - "name": "FileObject", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 403, - "name": "bucket_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "buckets", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 392, - "name": "Bucket" - } - }, - { - "id": 407, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 408, - "name": "last_accessed_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 402, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 13, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [403, 410, 407, 405, 408, 409, 402, 404, 406] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 17 - } - ] - }, - { - "id": 414, - "name": "FileOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 415, - "name": "cacheControl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the `Cache-Control: max-age=` header. Defaults to 3600 seconds." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 416, - "name": "contentType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 37, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 418, - "name": "duplex", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 417, - "name": "upsert", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 41, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [415, 416, 418, 417] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 29, - "character": 17 - } - ] - }, - { - "id": 426, - "name": "Metadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 427, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [427] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 17 - } - ] - }, - { - "id": 419, - "name": "SearchOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 420, - "name": "limit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": " The number of files you want to be returned." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 421, - "name": "offset", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The starting position." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 423, - "name": "search", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The search string to filter files by." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 422, - "name": "sortBy", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The column to sort by. Can be any column inside a FileObject." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 411, - "name": "SortBy" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [420, 421, 423, 422] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 17 - } - ] - }, - { - "id": 411, - "name": "SortBy", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 412, - "name": "column", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "order", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [412, 413] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 17 - } - ] - }, - { - "id": 428, - "name": "TransformOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 433, - "name": "format", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Specify the format of the image requested.", - "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "origin" - } - }, - { - "id": 430, - "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": 90, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 432, - "name": "quality", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 103, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "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": 97, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "cover" - }, - { - "type": "literal", - "value": "contain" - }, - { - "type": "literal", - "value": "fill" - } - ] - } - }, - { - "id": 429, - "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": 86, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [433, 430, 432, 431, 429] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 17 - } - ] - }, - { - "id": 434, - "name": "isStorageError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 435, - "name": "isStorageError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 436, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [442, 297, 437, 455] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [392, 424, 401, 414, 426, 419, 411, 428] - }, - { - "title": "Functions", - "kind": 64, - "children": [434] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 2, - "name": "packages/StorageBucketApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 3, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 4, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, - "character": 2 - } - ], - "signatures": [ - { - "id": 5, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 6, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 7, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 9, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 10, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 11, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 15, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 3, - "name": "default" - } - } - ] - }, - { - "id": 43, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, - "character": 8 - } - ], - "signatures": [ - { - "id": 44, - "name": "createBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" - }, - "parameters": [ - { - "id": 45, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are creating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 46, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 47, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 50, - "name": "allowedMimeTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 49, - "name": "fileSizeLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 48, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [50, 49, 48] - } - ] - } - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 52, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 392, - "name": "Bucket" - }, - { - "type": "literal", - "value": "name" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 53, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [52, 53] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 54, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 55, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 56, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [55, 56] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 84, - "name": "deleteBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, - "character": 8 - } - ], - "signatures": [ - { - "id": 85, - "name": "deleteBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." - }, - "parameters": [ - { - "id": 86, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to delete.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 87, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 88, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 90, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [90] - } - ] - } - } - }, - { - "id": 91, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [88, 91] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 92, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 93, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 94, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [93, 94] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 73, - "name": "emptyBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, - "character": 8 - } - ], - "signatures": [ - { - "id": 74, - "name": "emptyBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes all objects inside a single bucket." - }, - "parameters": [ - { - "id": 75, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to empty.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 77, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 78, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 79, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [79] - } - ] - } - } - }, - { - "id": 80, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [77, 80] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 82, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 83, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [82, 83] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 34, - "name": "getBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 8 - } - ], - "signatures": [ - { - "id": 35, - "name": "getBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of an existing Storage bucket." - }, - "parameters": [ - { - "id": 36, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique identifier of the bucket you would like to retrieve.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 392, - "name": "Bucket" - } - }, - { - "id": 39, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [38, 39] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 40, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 41, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 42, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [41, 42] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 26, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, - "character": 8 - } - ], - "signatures": [ - { - "id": 27, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing project." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 28, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 29, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 392, - "name": "Bucket" - } - } - }, - { - "id": 30, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [29, 30] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 32, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 33, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [32, 33] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 57, - "name": "updateBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, - "character": 8 - } - ], - "signatures": [ - { - "id": 58, - "name": "updateBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates a Storage bucket" - }, - "parameters": [ - { - "id": 59, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are updating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 60, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 61, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 64, - "name": "allowedMimeTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n" - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 63, - "name": "fileSizeLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 62, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [64, 63, 62] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 65, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 66, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 67, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 68, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [68] - } - ] - } - } - }, - { - "id": 69, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [66, 69] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 70, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 71, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 72, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [71, 72] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [4] - }, - { - "title": "Methods", - "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 7, - "character": 21 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 297, - "name": "StorageClient" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [3] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 95, - "name": "packages/StorageFileApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 96, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 97, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 45, - "character": 2 - } - ], - "signatures": [ - { - "id": 98, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 99, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 100, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 101, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 102, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 103, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 104, - "name": "bucketId", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 105, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 106, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 107, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 108, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 109, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 96, - "name": "default" - } - } - ] - }, - { - "id": 200, - "name": "copy", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 334, - "character": 8 - } - ], - "signatures": [ - { - "id": 201, - "name": "copy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Copies an existing file to a new path in the same bucket." - }, - "parameters": [ - { - "id": 202, - "name": "fromPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The original file path, including the current file name. For example `folder/image.png`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 203, - "name": "toPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 204, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 205, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 339, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 206, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 207, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 339, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [207] - } - ] - } - } - }, - { - "id": 208, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 340, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [205, 208] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 209, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 210, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 343, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 211, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 344, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [210, 211] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 162, - "name": "createSignedUploadUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 219, - "character": 8 - } - ], - "signatures": [ - { - "id": 163, - "name": "createSignedUploadUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours." - }, - "parameters": [ - { - "id": 164, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file path, including the current file name. For example `folder/image.png`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 166, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 223, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 167, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 170, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 223, - "character": 50 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 168, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 223, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 169, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 223, - "character": 35 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [170, 168, 169] - } - ] - } - } - }, - { - "id": 171, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 224, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [166, 171] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 172, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 173, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 227, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 174, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 228, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [173, 174] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 212, - "name": "createSignedUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 372, - "character": 8 - } - ], - "signatures": [ - { - "id": 213, - "name": "createSignedUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." - }, - "parameters": [ - { - "id": 214, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file path, including the current file name. For example `folder/image.png`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 215, - "name": "expiresIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 216, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 217, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 218, - "name": "download", - "kind": 1024, - "kindString": "Property", - "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." - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 375, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - }, - { - "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": 375, - "character": 45 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "TransformOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [218, 219] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 220, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 221, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 378, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 222, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 223, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 378, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [223] - } - ] - } - } - }, - { - "id": 224, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 379, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [221, 224] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 225, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 226, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 382, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 227, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 383, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [226, 227] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 228, - "name": "createSignedUrls", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 417, - "character": 8 - } - ], - "signatures": [ - { - "id": 229, - "name": "createSignedUrls", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." - }, - "parameters": [ - { - "id": 230, - "name": "paths", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`." - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 231, - "name": "expiresIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 232, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 233, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 234, - "name": "download", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "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" - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 420, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [234] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 235, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 236, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 423, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 238, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 423, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 239, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 423, - "character": 38 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 240, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 423, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [238, 239, 240] - } - ] - } - } - } - }, - { - "id": 241, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 424, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [236, 241] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 242, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 243, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 427, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 244, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 428, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [243, 244] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 245, - "name": "download", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 466, - "character": 8 - } - ], - "signatures": [ - { - "id": 246, - "name": "download", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead." - }, - "parameters": [ - { - "id": 247, - "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`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 248, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 249, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 250, - "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": 468, - "character": 16 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "TransformOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [250] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 251, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 252, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 471, - "character": 8 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - } - }, - { - "id": 253, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 472, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [252, 253] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 254, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 255, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 475, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 256, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 476, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [255, 256] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 257, - "name": "getPublicUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 509, - "character": 2 - } - ], - "signatures": [ - { - "id": 258, - "name": "getPublicUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." - }, - "parameters": [ - { - "id": 259, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 260, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 261, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 262, - "name": "download", - "kind": 1024, - "kindString": "Property", - "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." - }, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 511, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - }, - { - "id": 263, - "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": 511, - "character": 45 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "TransformOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [262, 263] - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 265, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 512, - "character": 7 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 266, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 267, - "name": "publicUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 512, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [267] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [265] - } - ] - } - } - } - ] - }, - { - "id": 277, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 643, - "character": 8 - } - ], - "signatures": [ - { - "id": 278, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Lists all the files within a bucket." - }, - "parameters": [ - { - "id": 279, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The folder path.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 280, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 419, - "name": "SearchOptions" - } - }, - { - "id": 281, - "name": "parameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 424, - "name": "FetchParameters" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 282, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 283, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 649, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 401, - "name": "FileObject" - } - } - }, - { - "id": 284, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 650, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [283, 284] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 285, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 286, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 653, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 287, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 654, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [286, 287] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 188, - "name": "move", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 298, - "character": 8 - } - ], - "signatures": [ - { - "id": 189, - "name": "move", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Moves an existing file to a new path in the same bucket." - }, - "parameters": [ - { - "id": 190, - "name": "fromPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The original file path, including the current file name. For example `folder/image.png`." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 191, - "name": "toPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 192, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 193, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 303, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 194, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 195, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 303, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [195] - } - ] - } - } - }, - { - "id": 196, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 304, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [193, 196] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 198, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 307, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 199, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 308, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [198, 199] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 268, - "name": "remove", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 547, - "character": 8 - } - ], - "signatures": [ - { - "id": 269, - "name": "remove", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes files within the same bucket" - }, - "parameters": [ - { - "id": 270, - "name": "paths", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 271, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 272, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 551, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 401, - "name": "FileObject" - } - } - }, - { - "id": 273, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 552, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [272, 273] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 275, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 555, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 276, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 556, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [275, 276] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 175, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 265, - "character": 8 - } - ], - "signatures": [ - { - "id": 176, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Replaces an existing file at the specified path with a new one." - }, - "parameters": [ - { - "id": 177, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 178, - "name": "fileBody", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "ArrayBuffer", - "package": "typescript", - "name": "ArrayBuffer" - }, - { - "type": "reference", - "qualifiedName": "ArrayBufferView", - "package": "typescript", - "name": "ArrayBufferView" - }, - { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - }, - { - "type": "reference", - "qualifiedName": "Buffer", - "package": "@types/node", - "name": "Buffer" - }, - { - "type": "reference", - "qualifiedName": "File", - "package": "typescript", - "name": "File" - }, - { - "type": "reference", - "qualifiedName": "FormData", - "package": "typescript", - "name": "FormData" - }, - { - "type": "reference", - "qualifiedName": "NodeJS.ReadableStream", - "package": "@types/node", - "name": "ReadableStream" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" - } - ], - "qualifiedName": "ReadableStream", - "package": "typescript", - "name": "ReadableStream" - }, - { - "type": "reference", - "qualifiedName": "URLSearchParams", - "package": "typescript", - "name": "URLSearchParams" - } - ] - } - }, - { - "id": 179, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 414, - "name": "FileOptions" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 281, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 183, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 281, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [183] - } - ] - } - } - }, - { - "id": 184, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 282, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [181, 184] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 185, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 186, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 285, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 286, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [186, 187] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 135, - "name": "upload", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 133, - "character": 8 - } - ], - "signatures": [ - { - "id": 136, - "name": "upload", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Uploads a file to an existing bucket." - }, - "parameters": [ - { - "id": 137, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 138, - "name": "fileBody", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "reference", - "name": "FileBody" - } - }, - { - "id": 139, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 414, - "name": "FileOptions" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 140, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 141, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 139, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 142, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 143, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 139, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [143] - } - ] - } - } - }, - { - "id": 144, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 140, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [141, 144] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 145, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 146, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 143, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 147, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 144, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 437, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [146, 147] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 148, - "name": "uploadToSignedUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 156, - "character": 8 - } - ], - "signatures": [ - { - "id": 149, - "name": "uploadToSignedUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Upload a file with a token generated from `createSignedUploadUrl`." - }, - "parameters": [ - { - "id": 150, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 151, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The token generated from `createSignedUploadUrl`" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 152, - "name": "fileBody", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "reference", - "name": "FileBody" - } - }, - { - "id": 153, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 414, - "name": "FileOptions" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 154, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 155, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 197, - "character": 10 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 157, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 197, - "character": 18 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "cleanPath" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [157] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 158, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 198, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [155, 158] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 160, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 202, - "character": 17 - } - ], - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 161, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [160, 161] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [97] - }, - { - "title": "Methods", - "kind": 2048, - "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 39, - "character": 21 - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [96] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 1, - "character": 0 - } - ] - } - ], - "groups": [ - { - "title": "Modules", - "kind": 2, - "children": [1, 2, 95] - } - ] -} + "id": 0, + "name": "@supabase/storage-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 442, + "name": "StorageApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 443, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "signatures": [ + { + "id": 444, + "name": "new StorageApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 445, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 446, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 442, + "name": "StorageApiError" + }, + "overwrites": { + "type": "reference", + "id": 439, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 438, + "name": "StorageError.constructor" + } + }, + { + "id": 447, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 448, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2 + } + ], + "signatures": [ + { + "id": 449, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 450, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 452, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 451, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 453, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 27, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 452, + 451, + 453 + ] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 443 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 447 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 448 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 437, + "name": "StorageError" + } + ] + }, + { + "id": 297, + "name": "StorageClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 298, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 6, + "character": 2 + } + ], + "signatures": [ + { + "id": 299, + "name": "new StorageClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 300, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 301, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 302, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 303, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 304, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 305, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 306, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 307, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 308, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 309, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 297, + "name": "StorageClient" + }, + "overwrites": { + "type": "reference", + "id": 5, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 4, + "name": "default.constructor" + } + }, + { + "id": 340, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 85, + "character": 8 + } + ], + "signatures": [ + { + "id": 341, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Storage bucket", + "returns": "newly created bucket id\n" + }, + "parameters": [ + { + "id": 342, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are creating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 343, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 347, + "name": "allowedMimeTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 346, + "name": "fileSizeLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 89, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 345, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 88, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 347, + 346, + 345 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 348, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 349, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 96, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 392, + "name": "Bucket" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 350, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 97, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 349, + 350 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 352, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 100, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 353, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 101, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 352, + 353 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 44, + "name": "default.createBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 43, + "name": "default.createBucket" + } + }, + { + "id": 381, + "name": "deleteBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 219, + "character": 8 + } + ], + "signatures": [ + { + "id": 382, + "name": "deleteBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." + }, + "parameters": [ + { + "id": 383, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to delete.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 384, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 385, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 223, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 386, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 387, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 223, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 387 + ] + } + ] + } + } + }, + { + "id": 388, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 224, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 385, + 388 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 390, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 391, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 228, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 390, + 391 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 85, + "name": "default.deleteBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 84, + "name": "default.deleteBucket" + } + }, + { + "id": 370, + "name": "emptyBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 184, + "character": 8 + } + ], + "signatures": [ + { + "id": 371, + "name": "emptyBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes all objects inside a single bucket." + }, + "parameters": [ + { + "id": 372, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to empty.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 374, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 375, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 376, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 376 + ] + } + ] + } + } + }, + { + "id": 377, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 189, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 374, + 377 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 379, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 380, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 193, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 379, + 380 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 74, + "name": "default.emptyBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 73, + "name": "default.emptyBucket" + } + }, + { + "id": 310, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 15, + "character": 2 + } + ], + "signatures": [ + { + "id": 311, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform file operation in a bucket." + }, + "parameters": [ + { + "id": 312, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The bucket id to operate on.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 96, + "name": "default" + } + } + ] + }, + { + "id": 331, + "name": "getBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 48, + "character": 8 + } + ], + "signatures": [ + { + "id": 332, + "name": "getBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves the details of an existing Storage bucket." + }, + "parameters": [ + { + "id": 333, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to retrieve.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 335, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 392, + "name": "Bucket" + } + }, + { + "id": 336, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 335, + 336 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 338, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 339, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 338, + 339 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 35, + "name": "default.getBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 34, + "name": "default.getBucket" + } + }, + { + "id": 323, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 21, + "character": 8 + } + ], + "signatures": [ + { + "id": 324, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing project." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 325, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 326, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 23, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "Bucket" + } + } + }, + { + "id": 327, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 326, + 327 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 328, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 329, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 27, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 330, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 28, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 329, + 330 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 27, + "name": "default.listBuckets" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 26, + "name": "default.listBuckets" + } + }, + { + "id": 354, + "name": "updateBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 139, + "character": 8 + } + ], + "signatures": [ + { + "id": 355, + "name": "updateBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates a Storage bucket" + }, + "parameters": [ + { + "id": 356, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are updating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 357, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 358, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 361, + "name": "allowedMimeTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 144, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 360, + "name": "fileSizeLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 143, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 359, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 142, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 361, + 360, + 359 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 363, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 364, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 365, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 365 + ] + } + ] + } + } + }, + { + "id": 366, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 149, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 363, + 366 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 367, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 369, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 368, + 369 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 58, + "name": "default.updateBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 57, + "name": "default.updateBucket" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 298 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 340, + 381, + 370, + 310, + 331, + 323, + 354 + ] + } + ], + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 5, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3, + "name": "default" + } + ] + }, + { + "id": 437, + "name": "StorageError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 438, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2 + } + ], + "signatures": [ + { + "id": 439, + "name": "new StorageError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 440, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 438 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 442, + "name": "StorageApiError" + }, + { + "type": "reference", + "id": 455, + "name": "StorageUnknownError" + } + ] + }, + { + "id": 455, + "name": "StorageUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 456, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 457, + "name": "new StorageUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 458, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 455, + "name": "StorageUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 439, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 438, + "name": "StorageError.constructor" + } + }, + { + "id": 460, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 456 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 460 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 437, + "name": "StorageError" + } + ] + }, + { + "id": 392, + "name": "Bucket", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 397, + "name": "allowed_mime_types", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 398, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 396, + "name": "file_size_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 393, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 2, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 3, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 400, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 399, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 8, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 397, + 398, + 396, + 393, + 394, + 395, + 400, + 399 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 17 + } + ] + }, + { + "id": 424, + "name": "FetchParameters", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 425, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Pass in an AbortController's signal to cancel the request." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 425 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 17 + } + ] + }, + { + "id": 401, + "name": "FileObject", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 403, + "name": "bucket_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 410, + "name": "buckets", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 392, + "name": "Bucket" + } + }, + { + "id": 407, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 405, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 408, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 409, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 20, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 402, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 13, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 404, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 406, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 403, + 410, + 407, + 405, + 408, + 409, + 402, + 404, + 406 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 414, + "name": "FileOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 415, + "name": "cacheControl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the `Cache-Control: max-age=` header. Defaults to 3600 seconds." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 416, + "name": "contentType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 418, + "name": "duplex", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "name": "upsert", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When upsert is set to true, the file is overwritten if it exists. When set to false, an error is thrown if the object already exists. Defaults to false." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 415, + 416, + 418, + 417 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 426, + "name": "Metadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 427, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 427 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 17 + } + ] + }, + { + "id": 419, + "name": "SearchOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 420, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": " The number of files you want to be returned." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 421, + "name": "offset", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The starting position." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 423, + "name": "search", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The search string to filter files by." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "sortBy", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The column to sort by. Can be any column inside a FileObject." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 411, + "name": "SortBy" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 420, + 421, + 423, + 422 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 411, + "name": "SortBy", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 412, + "name": "column", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 413, + "name": "order", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 412, + 413 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 24, + "character": 17 + } + ] + }, + { + "id": 428, + "name": "TransformOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 433, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Specify the format of the image requested.", + "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 110, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "origin" + } + }, + { + "id": 430, + "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": 90, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 432, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 103, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 431, + "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": 97, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "cover" + }, + { + "type": "literal", + "value": "contain" + }, + { + "type": "literal", + "value": "fill" + } + ] + } + }, + { + "id": 429, + "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": 86, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 433, + 430, + 432, + 431, + 429 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 17 + } + ] + }, + { + "id": 434, + "name": "isStorageError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 435, + "name": "isStorageError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 436, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 442, + 297, + 437, + 455 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 392, + 424, + 401, + 414, + 426, + 419, + 411, + 428 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 434 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 2, + "name": "packages/StorageBucketApi", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 3, + "name": "default", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 4, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 12, + "character": 2 + } + ], + "signatures": [ + { + "id": 5, + "name": "new default", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 6, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 9, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 10, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 11, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 13, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 15, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 3, + "name": "default" + } + } + ] + }, + { + "id": 43, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 85, + "character": 8 + } + ], + "signatures": [ + { + "id": 44, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Storage bucket", + "returns": "newly created bucket id\n" + }, + "parameters": [ + { + "id": 45, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are creating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 46, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 47, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 50, + "name": "allowedMimeTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 49, + "name": "fileSizeLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 89, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 48, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 88, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 50, + 49, + 48 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 51, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 52, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 96, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 392, + "name": "Bucket" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 53, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 97, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 52, + 53 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 54, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 55, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 100, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 56, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 101, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 55, + 56 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 84, + "name": "deleteBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 219, + "character": 8 + } + ], + "signatures": [ + { + "id": 85, + "name": "deleteBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket." + }, + "parameters": [ + { + "id": 86, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to delete.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 88, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 223, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 89, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 90, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 223, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 90 + ] + } + ] + } + } + }, + { + "id": 91, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 224, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 88, + 91 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 92, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 93, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 227, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 94, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 228, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 93, + 94 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 73, + "name": "emptyBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 184, + "character": 8 + } + ], + "signatures": [ + { + "id": 74, + "name": "emptyBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes all objects inside a single bucket." + }, + "parameters": [ + { + "id": 75, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to empty.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 76, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 77, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 79, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 79 + ] + } + ] + } + } + }, + { + "id": 80, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 189, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 77, + 80 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 82, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 83, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 193, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 82, + 83 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 34, + "name": "getBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 48, + "character": 8 + } + ], + "signatures": [ + { + "id": 35, + "name": "getBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves the details of an existing Storage bucket." + }, + "parameters": [ + { + "id": 36, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique identifier of the bucket you would like to retrieve.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 38, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 392, + "name": "Bucket" + } + }, + { + "id": 39, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 38, + 39 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 40, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 41, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 42, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 41, + 42 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 26, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 21, + "character": 8 + } + ], + "signatures": [ + { + "id": 27, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing project." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 23, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "Bucket" + } + } + }, + { + "id": 30, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 29, + 30 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 32, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 27, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 33, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 28, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 32, + 33 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 57, + "name": "updateBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 139, + "character": 8 + } + ], + "signatures": [ + { + "id": 58, + "name": "updateBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates a Storage bucket" + }, + "parameters": [ + { + "id": 59, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are updating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 60, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 61, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 64, + "name": "allowedMimeTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png.\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 144, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 63, + "name": "fileSizeLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 143, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 62, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 142, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 64, + 63, + 62 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 65, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 66, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 67, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 68, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 68 + ] + } + ] + } + } + }, + { + "id": 69, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 149, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 66, + 69 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 70, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 71, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 72, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 71, + 72 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 4 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 43, + 84, + 73, + 34, + 26, + 57 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 7, + "character": 21 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 297, + "name": "StorageClient" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 3 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 95, + "name": "packages/StorageFileApi", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 96, + "name": "default", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 97, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 98, + "name": "new default", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 99, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 100, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 101, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 102, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 103, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 104, + "name": "bucketId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 105, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 106, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 107, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 108, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 109, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 96, + "name": "default" + } + } + ] + }, + { + "id": 200, + "name": "copy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 334, + "character": 8 + } + ], + "signatures": [ + { + "id": 201, + "name": "copy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Copies an existing file to a new path in the same bucket." + }, + "parameters": [ + { + "id": 202, + "name": "fromPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The original file path, including the current file name. For example `folder/image.png`." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, + "name": "toPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 204, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 205, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 339, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 206, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 207, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 339, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 207 + ] + } + ] + } + } + }, + { + "id": 208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 340, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 205, + 208 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 343, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 344, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 210, + 211 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 162, + "name": "createSignedUploadUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 219, + "character": 8 + } + ], + "signatures": [ + { + "id": 163, + "name": "createSignedUploadUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a signed upload URL.\nSigned upload URLs can be used to upload files to the bucket without further authentication.\nThey are valid for 2 hours." + }, + "parameters": [ + { + "id": 164, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file path, including the current file name. For example `folder/image.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 166, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 223, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 167, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 170, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 223, + "character": 50 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 168, + "name": "signedUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 223, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 169, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 223, + "character": 35 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 170, + 168, + 169 + ] + } + ] + } + } + }, + { + "id": 171, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 224, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 166, + 171 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 172, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 173, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 227, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 174, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 228, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 173, + 174 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 212, + "name": "createSignedUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 372, + "character": 8 + } + ], + "signatures": [ + { + "id": 213, + "name": "createSignedUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a signed URL. Use a signed URL to share a file for a fixed amount of time." + }, + "parameters": [ + { + "id": 214, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file path, including the current file name. For example `folder/image.png`." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 215, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 216, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 217, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 218, + "name": "download", + "kind": 1024, + "kindString": "Property", + "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." + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 375, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "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": 375, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 428, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 218, + 219 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 220, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 221, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 378, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 222, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 223, + "name": "signedUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 378, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 223 + ] + } + ] + } + } + }, + { + "id": 224, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 379, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 221, + 224 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 225, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 226, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 382, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 227, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 383, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 226, + 227 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 228, + "name": "createSignedUrls", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 417, + "character": 8 + } + ], + "signatures": [ + { + "id": 229, + "name": "createSignedUrls", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates multiple signed URLs. Use a signed URL to share a file for a fixed amount of time." + }, + "parameters": [ + { + "id": 230, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`." + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 231, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 232, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 234, + "name": "download", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "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" + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 420, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 234 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 235, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 236, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 423, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 237, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 238, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 423, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 239, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 423, + "character": 38 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 240, + "name": "signedUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 423, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 238, + 239, + 240 + ] + } + ] + } + } + } + }, + { + "id": 241, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 424, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 236, + 241 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 242, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 243, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 427, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 244, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 428, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 243, + 244 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 245, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 466, + "character": 8 + } + ], + "signatures": [ + { + "id": 246, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead." + }, + "parameters": [ + { + "id": 247, + "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`." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 250, + "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": 468, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 428, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 250 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 251, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 252, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 471, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Blob", + "package": "typescript", + "name": "Blob" + } + }, + { + "id": 253, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 472, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 252, + 253 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 254, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 255, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 475, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 256, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 476, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 255, + 256 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 257, + "name": "getPublicUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 509, + "character": 2 + } + ], + "signatures": [ + { + "id": 258, + "name": "getPublicUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A simple convenience function to get the URL for an asset in a public bucket. If you do not want to use this function, you can construct the public URL by concatenating the bucket URL with the path to the asset.\nThis function does not verify if the bucket is public. If a public URL is created for a bucket which is not public, you will not be able to download the asset." + }, + "parameters": [ + { + "id": 259, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The path and name of the file to generate the public URL for. For example `folder/image.png`." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 260, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 261, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 262, + "name": "download", + "kind": 1024, + "kindString": "Property", + "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." + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 511, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 263, + "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": 511, + "character": 45 + } + ], + "type": { + "type": "reference", + "id": 428, + "name": "TransformOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 262, + 263 + ] + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 265, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 512, + "character": 7 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 266, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 267, + "name": "publicUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 512, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 267 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 265 + ] + } + ] + } + } + } + ] + }, + { + "id": 277, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 643, + "character": 8 + } + ], + "signatures": [ + { + "id": 278, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Lists all the files within a bucket." + }, + "parameters": [ + { + "id": 279, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The folder path.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 419, + "name": "SearchOptions" + } + }, + { + "id": 281, + "name": "parameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 424, + "name": "FetchParameters" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 282, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 283, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 649, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 401, + "name": "FileObject" + } + } + }, + { + "id": 284, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 650, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 283, + 284 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 285, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 286, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 653, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 287, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 654, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 286, + 287 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 188, + "name": "move", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 298, + "character": 8 + } + ], + "signatures": [ + { + "id": 189, + "name": "move", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Moves an existing file to a new path in the same bucket." + }, + "parameters": [ + { + "id": 190, + "name": "fromPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The original file path, including the current file name. For example `folder/image.png`." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 191, + "name": "toPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 192, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 193, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 303, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 194, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 195, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 303, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 195 + ] + } + ] + } + } + }, + { + "id": 196, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 304, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 193, + 196 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 307, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 199, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 308, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 198, + 199 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 268, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 547, + "character": 8 + } + ], + "signatures": [ + { + "id": 269, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Deletes files within the same bucket" + }, + "parameters": [ + { + "id": 270, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "An array of files to delete, including the path and file name. For example [`'folder/image.png'`].\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 272, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 551, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 401, + "name": "FileObject" + } + } + }, + { + "id": 273, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 552, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 272, + 273 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 275, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 555, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 276, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 556, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 275, + 276 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 175, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 265, + "character": 8 + } + ], + "signatures": [ + { + "id": 176, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Replaces an existing file at the specified path with a new one." + }, + "parameters": [ + { + "id": 177, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 178, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The body of the file to be stored in the bucket.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + }, + { + "type": "reference", + "qualifiedName": "ArrayBufferView", + "package": "typescript", + "name": "ArrayBufferView" + }, + { + "type": "reference", + "qualifiedName": "Blob", + "package": "typescript", + "name": "Blob" + }, + { + "type": "reference", + "qualifiedName": "Buffer", + "package": "@types/node", + "name": "Buffer" + }, + { + "type": "reference", + "qualifiedName": "File", + "package": "typescript", + "name": "File" + }, + { + "type": "reference", + "qualifiedName": "FormData", + "package": "typescript", + "name": "FormData" + }, + { + "type": "reference", + "qualifiedName": "NodeJS.ReadableStream", + "package": "@types/node", + "name": "ReadableStream" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + ], + "qualifiedName": "ReadableStream", + "package": "typescript", + "name": "ReadableStream" + }, + { + "type": "reference", + "qualifiedName": "URLSearchParams", + "package": "typescript", + "name": "URLSearchParams" + } + ] + } + }, + { + "id": 179, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 414, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 180, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 181, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 281, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 182, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 183, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 281, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 183 + ] + } + ] + } + } + }, + { + "id": 184, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 282, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 181, + 184 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 186, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 285, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 187, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 286, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 186, + 187 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 135, + "name": "upload", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 133, + "character": 8 + } + ], + "signatures": [ + { + "id": 136, + "name": "upload", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Uploads a file to an existing bucket." + }, + "parameters": [ + { + "id": 137, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 138, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The body of the file to be stored in the bucket.\n" + }, + "type": { + "type": "reference", + "name": "FileBody" + } + }, + { + "id": 139, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 414, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 141, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 139, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 143, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 139, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 143 + ] + } + ] + } + } + }, + { + "id": 144, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 140, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 141, + 144 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 145, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 146, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 143, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 147, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 144, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 437, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 146, + 147 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 148, + "name": "uploadToSignedUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 156, + "character": 8 + } + ], + "signatures": [ + { + "id": 149, + "name": "uploadToSignedUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Upload a file with a token generated from `createSignedUploadUrl`." + }, + "parameters": [ + { + "id": 150, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 151, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The token generated from `createSignedUploadUrl`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 152, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The body of the file to be stored in the bucket.\n" + }, + "type": { + "type": "reference", + "name": "FileBody" + } + }, + { + "id": 153, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 414, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 155, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 197, + "character": 10 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 157, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 197, + "character": 18 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "cleanPath" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 157 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 158, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 198, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 155, + 158 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 160, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 202, + "character": 17 + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 161, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 160, + 161 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 97 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 200, + 162, + 212, + 228, + 245, + 257, + 277, + 188, + 268, + 175, + 135, + 148 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 39, + "character": 21 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 96 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [ + 1, + 2, + 95 + ] + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json index 82ee225ed96..a056a4da26a 100644 --- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json @@ -190,7 +190,11 @@ { "title": "Properties", "kind": 1024, - "children": [452, 451, 453] + "children": [ + 452, + 451, + 453 + ] } ] } @@ -203,17 +207,23 @@ { "title": "Constructors", "kind": 512, - "children": [443] + "children": [ + 443 + ] }, { "title": "Properties", "kind": 1024, - "children": [447] + "children": [ + 447 + ] }, { "title": "Methods", "kind": 2048, - "children": [448] + "children": [ + 448 + ] } ], "sources": [ @@ -553,7 +563,11 @@ { "title": "Properties", "kind": 1024, - "children": [347, 346, 345] + "children": [ + 347, + 346, + 345 + ] } ] } @@ -630,7 +644,10 @@ { "title": "Properties", "kind": 1024, - "children": [349, 350] + "children": [ + 349, + 350 + ] } ] } @@ -686,7 +703,10 @@ { "title": "Properties", "kind": 1024, - "children": [352, 353] + "children": [ + 352, + 353 + ] } ] } @@ -810,7 +830,9 @@ { "title": "Properties", "kind": 1024, - "children": [387] + "children": [ + 387 + ] } ] } @@ -839,7 +861,10 @@ { "title": "Properties", "kind": 1024, - "children": [385, 388] + "children": [ + 385, + 388 + ] } ] } @@ -895,7 +920,10 @@ { "title": "Properties", "kind": 1024, - "children": [390, 391] + "children": [ + 390, + 391 + ] } ] } @@ -1019,7 +1047,9 @@ { "title": "Properties", "kind": 1024, - "children": [376] + "children": [ + 376 + ] } ] } @@ -1048,7 +1078,10 @@ { "title": "Properties", "kind": 1024, - "children": [374, 377] + "children": [ + 374, + 377 + ] } ] } @@ -1104,7 +1137,10 @@ { "title": "Properties", "kind": 1024, - "children": [379, 380] + "children": [ + 379, + 380 + ] } ] } @@ -1272,7 +1308,10 @@ { "title": "Properties", "kind": 1024, - "children": [335, 336] + "children": [ + 335, + 336 + ] } ] } @@ -1328,7 +1367,10 @@ { "title": "Properties", "kind": 1024, - "children": [338, 339] + "children": [ + 338, + 339 + ] } ] } @@ -1436,7 +1478,10 @@ { "title": "Properties", "kind": 1024, - "children": [326, 327] + "children": [ + 326, + 327 + ] } ] } @@ -1492,7 +1537,10 @@ { "title": "Properties", "kind": 1024, - "children": [329, 330] + "children": [ + 329, + 330 + ] } ] } @@ -1667,7 +1715,11 @@ { "title": "Properties", "kind": 1024, - "children": [361, 360, 359] + "children": [ + 361, + 360, + 359 + ] } ] } @@ -1734,7 +1786,9 @@ { "title": "Properties", "kind": 1024, - "children": [365] + "children": [ + 365 + ] } ] } @@ -1763,7 +1817,10 @@ { "title": "Properties", "kind": 1024, - "children": [363, 366] + "children": [ + 363, + 366 + ] } ] } @@ -1819,7 +1876,10 @@ { "title": "Properties", "kind": 1024, - "children": [368, 369] + "children": [ + 368, + 369 + ] } ] } @@ -1849,12 +1909,22 @@ { "title": "Constructors", "kind": 512, - "children": [298] + "children": [ + 298 + ] }, { "title": "Methods", "kind": 2048, - "children": [340, 381, 370, 310, 331, 323, 354] + "children": [ + 340, + 381, + 370, + 310, + 331, + 323, + 354 + ] } ], "sources": [ @@ -1933,7 +2003,9 @@ { "title": "Constructors", "kind": 512, - "children": [438] + "children": [ + 438 + ] } ], "sources": [ @@ -2056,12 +2128,16 @@ { "title": "Constructors", "kind": 512, - "children": [456] + "children": [ + 456 + ] }, { "title": "Properties", "kind": 1024, - "children": [460] + "children": [ + 460 + ] } ], "sources": [ @@ -2242,7 +2318,16 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398, 396, 393, 394, 395, 400, 399] + "children": [ + 397, + 398, + 396, + 393, + 394, + 395, + 400, + 399 + ] } ], "sources": [ @@ -2290,7 +2375,9 @@ { "title": "Properties", "kind": 1024, - "children": [425] + "children": [ + 425 + ] } ], "sources": [ @@ -2506,7 +2593,16 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398, 396, 393, 394, 395, 400, 399] + "children": [ + 397, + 398, + 396, + 393, + 394, + 395, + 400, + 399 + ] } ], "sources": [ @@ -2662,7 +2758,17 @@ { "title": "Properties", "kind": 1024, - "children": [403, 410, 407, 405, 408, 409, 402, 404, 406] + "children": [ + 403, + 410, + 407, + 405, + 408, + 409, + 402, + 404, + 406 + ] } ], "sources": [ @@ -2777,7 +2883,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -2818,7 +2929,9 @@ { "title": "Properties", "kind": 1024, - "children": [427] + "children": [ + 427 + ] } ], "sources": [ @@ -2979,7 +3092,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -2997,7 +3113,12 @@ { "title": "Properties", "kind": 1024, - "children": [420, 421, 423, 422] + "children": [ + 420, + 421, + 423, + 422 + ] } ], "sources": [ @@ -3060,7 +3181,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -3212,7 +3336,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -3274,17 +3404,33 @@ { "title": "Classes", "kind": 128, - "children": [442, 297, 437, 455] + "children": [ + 442, + 297, + 437, + 455 + ] }, { "title": "Interfaces", "kind": 256, - "children": [392, 424, 401, 414, 426, 419, 411, 428] + "children": [ + 392, + 424, + 401, + 414, + 426, + 419, + 411, + 428 + ] }, { "title": "Functions", "kind": 64, - "children": [434] + "children": [ + 434 + ] } ], "sources": [ @@ -3614,7 +3760,11 @@ { "title": "Properties", "kind": 1024, - "children": [50, 49, 48] + "children": [ + 50, + 49, + 48 + ] } ] } @@ -3691,7 +3841,10 @@ { "title": "Properties", "kind": 1024, - "children": [52, 53] + "children": [ + 52, + 53 + ] } ] } @@ -3747,7 +3900,10 @@ { "title": "Properties", "kind": 1024, - "children": [55, 56] + "children": [ + 55, + 56 + ] } ] } @@ -3861,7 +4017,9 @@ { "title": "Properties", "kind": 1024, - "children": [90] + "children": [ + 90 + ] } ] } @@ -3890,7 +4048,10 @@ { "title": "Properties", "kind": 1024, - "children": [88, 91] + "children": [ + 88, + 91 + ] } ] } @@ -3946,7 +4107,10 @@ { "title": "Properties", "kind": 1024, - "children": [93, 94] + "children": [ + 93, + 94 + ] } ] } @@ -4060,7 +4224,9 @@ { "title": "Properties", "kind": 1024, - "children": [79] + "children": [ + 79 + ] } ] } @@ -4089,7 +4255,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 80] + "children": [ + 77, + 80 + ] } ] } @@ -4145,7 +4314,10 @@ { "title": "Properties", "kind": 1024, - "children": [82, 83] + "children": [ + 82, + 83 + ] } ] } @@ -4256,7 +4428,10 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [ + 38, + 39 + ] } ] } @@ -4312,7 +4487,10 @@ { "title": "Properties", "kind": 1024, - "children": [41, 42] + "children": [ + 41, + 42 + ] } ] } @@ -4410,7 +4588,10 @@ { "title": "Properties", "kind": 1024, - "children": [29, 30] + "children": [ + 29, + 30 + ] } ] } @@ -4466,7 +4647,10 @@ { "title": "Properties", "kind": 1024, - "children": [32, 33] + "children": [ + 32, + 33 + ] } ] } @@ -4631,7 +4815,11 @@ { "title": "Properties", "kind": 1024, - "children": [64, 63, 62] + "children": [ + 64, + 63, + 62 + ] } ] } @@ -4698,7 +4886,9 @@ { "title": "Properties", "kind": 1024, - "children": [68] + "children": [ + 68 + ] } ] } @@ -4727,7 +4917,10 @@ { "title": "Properties", "kind": 1024, - "children": [66, 69] + "children": [ + 66, + 69 + ] } ] } @@ -4783,7 +4976,10 @@ { "title": "Properties", "kind": 1024, - "children": [71, 72] + "children": [ + 71, + 72 + ] } ] } @@ -4803,12 +4999,21 @@ { "title": "Constructors", "kind": 512, - "children": [4] + "children": [ + 4 + ] }, { "title": "Methods", "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] + "children": [ + 43, + 84, + 73, + 34, + 26, + 57 + ] } ], "sources": [ @@ -4831,7 +5036,9 @@ { "title": "Classes", "kind": 128, - "children": [3] + "children": [ + 3 + ] } ], "sources": [ @@ -5136,7 +5343,9 @@ { "title": "Properties", "kind": 1024, - "children": [207] + "children": [ + 207 + ] } ] } @@ -5165,7 +5374,10 @@ { "title": "Properties", "kind": 1024, - "children": [205, 208] + "children": [ + 205, + 208 + ] } ] } @@ -5221,7 +5433,10 @@ { "title": "Properties", "kind": 1024, - "children": [210, 211] + "children": [ + 210, + 211 + ] } ] } @@ -5371,7 +5586,11 @@ { "title": "Properties", "kind": 1024, - "children": [170, 168, 169] + "children": [ + 170, + 168, + 169 + ] } ] } @@ -5400,7 +5619,10 @@ { "title": "Properties", "kind": 1024, - "children": [166, 171] + "children": [ + 166, + 171 + ] } ] } @@ -5456,7 +5678,10 @@ { "title": "Properties", "kind": 1024, - "children": [173, 174] + "children": [ + 173, + 174 + ] } ] } @@ -5735,7 +5960,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -5753,7 +5984,10 @@ { "title": "Properties", "kind": 1024, - "children": [218, 219] + "children": [ + 218, + 219 + ] } ] } @@ -5820,7 +6054,9 @@ { "title": "Properties", "kind": 1024, - "children": [223] + "children": [ + 223 + ] } ] } @@ -5849,7 +6085,10 @@ { "title": "Properties", "kind": 1024, - "children": [221, 224] + "children": [ + 221, + 224 + ] } ] } @@ -5905,7 +6144,10 @@ { "title": "Properties", "kind": 1024, - "children": [226, 227] + "children": [ + 226, + 227 + ] } ] } @@ -6027,7 +6269,9 @@ { "title": "Properties", "kind": 1024, - "children": [234] + "children": [ + 234 + ] } ] } @@ -6150,7 +6394,11 @@ { "title": "Properties", "kind": 1024, - "children": [238, 239, 240] + "children": [ + 238, + 239, + 240 + ] } ] } @@ -6180,7 +6428,10 @@ { "title": "Properties", "kind": 1024, - "children": [236, 241] + "children": [ + 236, + 241 + ] } ] } @@ -6236,7 +6487,10 @@ { "title": "Properties", "kind": 1024, - "children": [243, 244] + "children": [ + 243, + 244 + ] } ] } @@ -6469,7 +6723,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -6487,7 +6747,9 @@ { "title": "Properties", "kind": 1024, - "children": [250] + "children": [ + 250 + ] } ] } @@ -6552,7 +6814,10 @@ { "title": "Properties", "kind": 1024, - "children": [252, 253] + "children": [ + 252, + 253 + ] } ] } @@ -6608,7 +6873,10 @@ { "title": "Properties", "kind": 1024, - "children": [255, 256] + "children": [ + 255, + 256 + ] } ] } @@ -6873,7 +7141,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 430, 432, 431, 429] + "children": [ + 433, + 430, + 432, + 431, + 429 + ] } ], "sources": [ @@ -6891,7 +7165,10 @@ { "title": "Properties", "kind": 1024, - "children": [262, 263] + "children": [ + 262, + 263 + ] } ] } @@ -6952,7 +7229,9 @@ { "title": "Properties", "kind": 1024, - "children": [267] + "children": [ + 267 + ] } ] } @@ -6963,7 +7242,9 @@ { "title": "Properties", "kind": 1024, - "children": [265] + "children": [ + 265 + ] } ] } @@ -7173,7 +7454,10 @@ { "title": "Properties", "kind": 1024, - "children": [412, 413] + "children": [ + 412, + 413 + ] } ], "sources": [ @@ -7191,7 +7475,12 @@ { "title": "Properties", "kind": 1024, - "children": [420, 421, 423, 422] + "children": [ + 420, + 421, + 423, + 422 + ] } ], "sources": [ @@ -7253,7 +7542,9 @@ { "title": "Properties", "kind": 1024, - "children": [425] + "children": [ + 425 + ] } ], "sources": [ @@ -7327,7 +7618,10 @@ { "title": "Properties", "kind": 1024, - "children": [283, 284] + "children": [ + 283, + 284 + ] } ] } @@ -7383,7 +7677,10 @@ { "title": "Properties", "kind": 1024, - "children": [286, 287] + "children": [ + 286, + 287 + ] } ] } @@ -7511,7 +7808,9 @@ { "title": "Properties", "kind": 1024, - "children": [195] + "children": [ + 195 + ] } ] } @@ -7540,7 +7839,10 @@ { "title": "Properties", "kind": 1024, - "children": [193, 196] + "children": [ + 193, + 196 + ] } ] } @@ -7596,7 +7898,10 @@ { "title": "Properties", "kind": 1024, - "children": [198, 199] + "children": [ + 198, + 199 + ] } ] } @@ -7713,7 +8018,10 @@ { "title": "Properties", "kind": 1024, - "children": [272, 273] + "children": [ + 272, + 273 + ] } ] } @@ -7769,7 +8077,10 @@ { "title": "Properties", "kind": 1024, - "children": [275, 276] + "children": [ + 275, + 276 + ] } ] } @@ -8019,7 +8330,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -8093,7 +8409,9 @@ { "title": "Properties", "kind": 1024, - "children": [183] + "children": [ + 183 + ] } ] } @@ -8122,7 +8440,10 @@ { "title": "Properties", "kind": 1024, - "children": [181, 184] + "children": [ + 181, + 184 + ] } ] } @@ -8178,7 +8499,10 @@ { "title": "Properties", "kind": 1024, - "children": [186, 187] + "children": [ + 186, + 187 + ] } ] } @@ -8361,7 +8685,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -8435,7 +8764,9 @@ { "title": "Properties", "kind": 1024, - "children": [143] + "children": [ + 143 + ] } ] } @@ -8464,7 +8795,10 @@ { "title": "Properties", "kind": 1024, - "children": [141, 144] + "children": [ + 141, + 144 + ] } ] } @@ -8520,7 +8854,10 @@ { "title": "Properties", "kind": 1024, - "children": [146, 147] + "children": [ + 146, + 147 + ] } ] } @@ -8717,7 +9054,12 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416, 418, 417] + "children": [ + 415, + 416, + 418, + 417 + ] } ], "sources": [ @@ -8792,7 +9134,9 @@ { "title": "Properties", "kind": 1024, - "children": [157] + "children": [ + 157 + ] } ] } @@ -8823,7 +9167,10 @@ { "title": "Properties", "kind": 1024, - "children": [155, 158] + "children": [ + 155, + 158 + ] } ] } @@ -8872,7 +9219,10 @@ { "title": "Properties", "kind": 1024, - "children": [160, 161] + "children": [ + 160, + 161 + ] } ] } @@ -8892,12 +9242,27 @@ { "title": "Constructors", "kind": 512, - "children": [97] + "children": [ + 97 + ] }, { "title": "Methods", "kind": 2048, - "children": [200, 162, 212, 228, 245, 257, 277, 188, 268, 175, 135, 148] + "children": [ + 200, + 162, + 212, + 228, + 245, + 257, + 277, + 188, + 268, + 175, + 135, + 148 + ] } ], "sources": [ @@ -8913,7 +9278,9 @@ { "title": "Classes", "kind": 128, - "children": [96] + "children": [ + 96 + ] } ], "sources": [ @@ -8929,7 +9296,11 @@ { "title": "Modules", "kind": 2, - "children": [1, 2, 95] + "children": [ + 1, + 2, + 95 + ] } ] -} +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json index a4d002a1dcf..eba29df7edc 100644 --- a/spec/enrichments/tsdoc_v2/supabase.json +++ b/spec/enrichments/tsdoc_v2/supabase.json @@ -1,4107 +1,4214 @@ { - "id": 0, - "name": "@supabase/supabase-js", - "kind": 1, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 195, - "name": "SupabaseClientOptions", - "kind": 16777216, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 20, - "character": 14 - } - ], - "target": 61 - }, - { - "id": 105, - "name": "SupabaseClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "Supabase Client.", - "text": "An isomorphic Javascript client for interacting with Postgres.\n" - }, - "children": [ - { - "id": 106, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 107, - "name": "new SupabaseClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Create a new client for use in the browser." - }, - "typeParameter": [ - { - "id": 108, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 109, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 108, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 110, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 111, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 112, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 113, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 61, - "typeArguments": [ - { - "type": "reference", - "id": 109, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 105, - "typeArguments": [ - { - "type": "reference", - "id": 108, - "name": "Database" - }, - { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 110, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 114, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 55, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } - }, - { - "id": 117, - "name": "authUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "changedAccessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 65, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 122, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 64, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 123, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 124, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 125, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 126, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 119, - "name": "functionsUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 61, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 128, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 67, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 130, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 131, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 115, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 116, - "name": "realtimeUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 58, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 120, - "name": "rest", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 62, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 108, - "name": "Database" - }, - { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "qualifiedName": "GenericSchema", - "package": "@supabase/postgrest-js", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "qualifiedName": "PostgrestClient", - "package": "@supabase/postgrest-js", - "name": "default" - } - }, - { - "id": 121, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 63, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 118, - "name": "storageUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 133, - "name": "supabaseKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 132, - "name": "supabaseUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "functions", - "kind": 262144, - "kindString": "Accessor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 138, - "character": 6 - } - ], - "getSignature": [ - { - "id": 135, - "name": "functions", - "kind": 524288, - "kindString": "Get signature", - "flags": {}, - "comment": { - "shortText": "Supabase Functions allows you to deploy and invoke edge functions." - }, - "type": { - "type": "reference", - "qualifiedName": "FunctionsClient", - "package": "@supabase/functions-js", - "name": "FunctionsClient" - } - } - ] - }, - { - "id": 136, - "name": "storage", - "kind": 262144, - "kindString": "Accessor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 148, - "character": 6 - } - ], - "getSignature": [ - { - "id": 137, - "name": "storage", - "kind": 524288, - "kindString": "Get signature", - "flags": {}, - "comment": { - "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos." - }, - "type": { - "type": "reference", - "qualifiedName": "StorageClient", - "package": "@supabase/storage-js", - "name": "StorageClient" - } - } - ] - }, - { - "id": 170, - "name": "_getAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 235, - "character": 16 - } - ], - "signatures": [ - { - "id": 171, - "name": "_getAccessToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 187, - "name": "_handleTokenChanged", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 284, - "character": 10 - } - ], - "signatures": [ - { - "id": 188, - "name": "_handleTokenChanged", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 189, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/gotrue-js", - "name": "AuthChangeEvent" - } - }, - { - "id": 190, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 191, - "name": "source", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "CLIENT" - }, - { - "type": "literal", - "value": "STORAGE" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 181, - "name": "_initRealtimeClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 270, - "character": 10 - } - ], - "signatures": [ - { - "id": 182, - "name": "_initRealtimeClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 183, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js", - "name": "RealtimeClientOptions" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 172, - "name": "_initSupabaseAuthClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 241, - "character": 10 - } - ], - "signatures": [ - { - "id": 173, - "name": "_initSupabaseAuthClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 174, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 59, - "name": "SupabaseAuthClientOptions" - } - }, - { - "id": 175, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 176, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 177, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 178, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 179, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 180, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } - } - ] - }, - { - "id": 184, - "name": "_listenForAuthEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 277, - "character": 10 - } - ], - "signatures": [ - { - "id": 185, - "name": "_listenForAuthEvents", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 186, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - } - ] - }, - { - "id": 159, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 207, - "character": 2 - } - ], - "signatures": [ - { - "id": 160, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." - }, - "parameters": [ - { - "id": 161, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The name of the Realtime channel." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 162, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The options to pass to the Realtime channel.\n\n" - }, - "type": { - "type": "reference", - "qualifiedName": "RealtimeChannelOptions", - "package": "@supabase/realtime-js", - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 138, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 157, - "character": 2 - } - ], - "signatures": [ - { - "id": 139, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "id": 140, - "name": "TableName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 141, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 80, - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 142, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 140, - "name": "TableName" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 110, - "name": "Schema" - }, - { - "type": "reference", - "id": 141, - "name": "Table" - } - ], - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - }, - { - "id": 143, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 144, - "name": "ViewName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 145, - "name": "View", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 93, - "name": "GenericView" - } - } - ], - "parameters": [ - { - "id": 146, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 144, - "name": "ViewName" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 110, - "name": "Schema" - }, - { - "type": "reference", - "id": 145, - "name": "View" - } - ], - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - }, - { - "id": 147, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 148, - "name": "relation", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 110, - "name": "Schema" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - } - ] - }, - { - "id": 163, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 214, - "character": 2 - } - ], - "signatures": [ - { - "id": 164, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns all Realtime channels." - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - } - ] - }, - { - "id": 168, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 231, - "character": 2 - } - ], - "signatures": [ - { - "id": 169, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribes and removes all Realtime channels from Realtime client." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 165, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 224, - "character": 2 - } - ], - "signatures": [ - { - "id": 166, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribes and removes Realtime channel from Realtime client." - }, - "parameters": [ - { - "id": 167, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The name of the Realtime channel.\n\n" - }, - "type": { - "type": "reference", - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 149, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 178, - "character": 2 - } - ], - "signatures": [ - { - "id": 150, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 151, - "name": "FunctionName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 152, - "name": "Function_", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 94, - "name": "GenericFunction" - } - } - ], - "parameters": [ - { - "id": 153, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The function name to call." - }, - "type": { - "type": "reference", - "id": 151, - "name": "FunctionName" - } - }, - { - "id": 154, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The parameters to pass to the function call." - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Args" - }, - "objectType": { - "type": "reference", - "id": 152, - "name": "Function_" - } - }, - "defaultValue": "{}" - }, - { - "id": 155, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 158, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table.\n\n" - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 186, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 157, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When set to true, no data will be returned." - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 185, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [158, 157] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 110, - "name": "Schema" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 152, - "name": "Function_" - } - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - }, - "extendsType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 152, - "name": "Function_" - } - } - ], - "qualifiedName": "PostgrestFilterBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [106] - }, - { - "title": "Properties", - "kind": 1024, - "children": [114, 117, 127, 122, 119, 128, 115, 116, 120, 121, 118, 133, 132] - }, - { - "title": "Accessors", - "kind": 262144, - "children": [134, 136] - }, - { - "title": "Methods", - "kind": 2048, - "children": [170, 187, 181, 172, 184, 159, 138, 163, 168, 165, 149] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 43, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 192, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 193, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 108, - "name": "Database" - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 108, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 194, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 109, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 108, - "name": "Database" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ] - }, - { - "id": 2, - "name": "createClient", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 25, - "character": 13 - } - ], - "signatures": [ - { - "id": 3, - "name": "createClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Supabase Client." - }, - "typeParameter": [ - { - "id": 4, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 5, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 6, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 98, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 7, - "name": "supabaseUrl", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 8, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 9, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 61, - "typeArguments": [ - { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 105, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 6, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "References", - "kind": 16777216, - "children": [195] - }, - { - "title": "Classes", - "kind": 128, - "children": [105] - }, - { - "title": "Functions", - "kind": 64, - "children": [2] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 10, - "name": "lib/constants", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 11, - "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 3, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 13, - "name": "X-Client-Info", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 3, - "character": 33 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [13] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [11] - } - ], - "sources": [ - { - "fileName": "src/lib/constants.ts", - "line": 2, - "character": 0 - } - ] - }, - { - "id": 14, - "name": "lib/fetch", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 29, - "name": "fetchWithAuth", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 25, - "character": 13 - } - ], - "signatures": [ - { - "id": 30, - "name": "fetchWithAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 31, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 32, - "name": "getAccessToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 33, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 34, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 35, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 36, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 37, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 38, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 39, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 40, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 41, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 42, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 43, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ] - }, - { - "id": 15, - "name": "resolveFetch", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 5, - "character": 13 - } - ], - "signatures": [ - { - "id": 16, - "name": "resolveFetch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 17, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 18, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 19, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 20, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 21, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 22, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 23, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 24, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 25, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - } - ] - }, - { - "id": 26, - "name": "resolveHeadersConstructor", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 17, - "character": 13 - } - ], - "signatures": [ - { - "id": 27, - "name": "resolveHeadersConstructor", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 28, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "kind": 64, - "children": [29, 15, 26] - } - ], - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 44, - "name": "lib/helpers", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 50, - "name": "applySettingDefaults", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 18, - "character": 16 - } - ], - "signatures": [ - { - "id": 51, - "name": "applySettingDefaults", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 52, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 53, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 52, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 52, - "name": "Database" - } - } - ] - } - } - } - ], - "parameters": [ - { - "id": 54, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 61, - "typeArguments": [ - { - "type": "reference", - "id": 53, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - }, - { - "id": 55, - "name": "defaults", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 61, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 61, - "typeArguments": [ - { - "type": "reference", - "id": 53, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ] - }, - { - "id": 56, - "name": "isBrowser", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 16, - "character": 13 - } - ], - "signatures": [ - { - "id": 57, - "name": "isBrowser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 47, - "name": "stripTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 48, - "name": "stripTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 49, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 45, - "name": "uuid", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 4, - "character": 16 - } - ], - "signatures": [ - { - "id": 46, - "name": "uuid", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "kind": 64, - "children": [50, 56, 47, 45] - } - ], - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 2, - "character": 0 - } - ] - }, - { - "id": 58, - "name": "lib/types", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 59, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "GoTrueClientOptions" - } - ] - }, - { - "id": 60, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 18, - "qualifiedName": "fetch", - "package": "typescript", - "name": "fetch" - } - } - }, - { - "id": 94, - "name": "GenericFunction", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 95, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 96, - "name": "Args", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 97, - "name": "Returns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 80, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [96, 97] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 30 - } - ] - } - } - }, - { - "id": 90, - "name": "GenericNonUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 91, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 92, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [92] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 38 - } - ] - } - } - }, - { - "id": 98, - "name": "GenericSchema", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 83, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 99, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 102, - "name": "Functions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 86, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 94, - "name": "GenericFunction" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 100, - "name": "Tables", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 84, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 80, - "name": "GenericTable" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 101, - "name": "Views", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 85, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 93, - "name": "GenericView" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [102, 100, 101] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 83, - "character": 28 - } - ] - } - } - }, - { - "id": 80, - "name": "GenericTable", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 83, - "name": "Insert", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 82, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 61, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 84, - "name": "Update", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 63, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [83, 82, 84] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 27 - } - ] - } - } - }, - { - "id": 85, - "name": "GenericUpdatableView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 88, - "name": "Insert", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 87, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 89, - "name": "Update", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [88, 87, 89] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 35 - } - ] - } - } - }, - { - "id": 93, - "name": "GenericView", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 76, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 85, - "name": "GenericUpdatableView" - }, - { - "type": "reference", - "id": 90, - "name": "GenericNonUpdatableView" - } - ] - } - }, - { - "id": 61, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 79, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 62, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 66, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 67, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 68, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Automatically refreshes the token for logged-in users. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 71, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 73, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 42, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "flowType" - }, - "objectType": { - "type": "reference", - "id": 59, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 70, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Whether to persist a logged-in session to storage. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 30, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 72, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A storage provider. Used to store the logged-in session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 38, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "storage" - }, - "objectType": { - "type": "reference", - "id": 59, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 69, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional key name used for storing tokens in local storage." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 9 - } - ] - } - } - }, - { - "id": 63, - "name": "db", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 64, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 65, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 79, - "name": "SchemaName" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [65] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 7 - } - ] - } - } - }, - { - "id": 75, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 77, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom `fetch` implementation." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 60, - "name": "Fetch" - } - }, - { - "id": 78, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional headers for initializing the client." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 4 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [77, 78] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 11 - } - ] - } - } - }, - { - "id": 74, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Options passed to the realtime-js instance" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "RealtimeClientOptions", - "package": "@supabase/realtime-js", - "name": "RealtimeClientOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [66, 63, 75, 74] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 48 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Interfaces", - "kind": 256, - "children": [59] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [60, 94, 90, 98, 80, 85, 93, 61] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 103, - "name": "lib/version", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 104, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 13 - } - ], - "type": { - "type": "literal", - "value": "0.0.0-automated" - }, - "defaultValue": "'0.0.0-automated'" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [104] - } - ], - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 0 - } - ] - } - ], - "groups": [ - { - "title": "Modules", - "kind": 2, - "children": [1, 10, 14, 44, 58, 103] - } - ] -} + "id": 0, + "name": "@supabase/supabase-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 195, + "name": "SupabaseClientOptions", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 20, + "character": 14 + } + ], + "target": 61 + }, + { + "id": 105, + "name": "SupabaseClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Supabase Client.", + "text": "An isomorphic Javascript client for interacting with Postgres.\n" + }, + "children": [ + { + "id": 106, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 107, + "name": "new SupabaseClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "typeParameter": [ + { + "id": 108, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 109, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 108, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 110, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 111, + "name": "supabaseUrl", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 112, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 113, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 61, + "typeArguments": [ + { + "type": "reference", + "id": 109, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 105, + "typeArguments": [ + { + "type": "reference", + "id": 108, + "name": "Database" + }, + { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 110, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 114, + "name": "auth", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies." + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "SupabaseAuthClient" + } + }, + { + "id": 117, + "name": "authUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 127, + "name": "changedAccessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 65, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 122, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 64, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 124, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 125, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 126, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 119, + "name": "functionsUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 128, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 67, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 129, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 130, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 131, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 115, + "name": "realtime", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 116, + "name": "realtimeUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 120, + "name": "rest", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 108, + "name": "Database" + }, + { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "qualifiedName": "GenericSchema", + "package": "@supabase/postgrest-js", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "qualifiedName": "PostgrestClient", + "package": "@supabase/postgrest-js", + "name": "default" + } + }, + { + "id": 121, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 63, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 118, + "name": "storageUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 133, + "name": "supabaseKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 132, + "name": "supabaseUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 134, + "name": "functions", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 138, + "character": 6 + } + ], + "getSignature": [ + { + "id": 135, + "name": "functions", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "comment": { + "shortText": "Supabase Functions allows you to deploy and invoke edge functions." + }, + "type": { + "type": "reference", + "qualifiedName": "FunctionsClient", + "package": "@supabase/functions-js", + "name": "FunctionsClient" + } + } + ] + }, + { + "id": 136, + "name": "storage", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 148, + "character": 6 + } + ], + "getSignature": [ + { + "id": 137, + "name": "storage", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "comment": { + "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos." + }, + "type": { + "type": "reference", + "qualifiedName": "StorageClient", + "package": "@supabase/storage-js", + "name": "StorageClient" + } + } + ] + }, + { + "id": 170, + "name": "_getAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 235, + "character": 16 + } + ], + "signatures": [ + { + "id": 171, + "name": "_getAccessToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 187, + "name": "_handleTokenChanged", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 284, + "character": 10 + } + ], + "signatures": [ + { + "id": 188, + "name": "_handleTokenChanged", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 189, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 190, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 191, + "name": "source", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "CLIENT" + }, + { + "type": "literal", + "value": "STORAGE" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 181, + "name": "_initRealtimeClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 270, + "character": 10 + } + ], + "signatures": [ + { + "id": 182, + "name": "_initRealtimeClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 183, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RealtimeClientOptions", + "package": "@supabase/realtime-js", + "name": "RealtimeClientOptions" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 172, + "name": "_initSupabaseAuthClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 241, + "character": 10 + } + ], + "signatures": [ + { + "id": 173, + "name": "_initSupabaseAuthClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 174, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 59, + "name": "SupabaseAuthClientOptions" + } + }, + { + "id": 175, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 176, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 178, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 179, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 180, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "name": "SupabaseAuthClient" + } + } + ] + }, + { + "id": 184, + "name": "_listenForAuthEvents", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 277, + "character": 10 + } + ], + "signatures": [ + { + "id": 185, + "name": "_listenForAuthEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 186, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + } + ] + }, + { + "id": 159, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 207, + "character": 2 + } + ], + "signatures": [ + { + "id": 160, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." + }, + "parameters": [ + { + "id": 161, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The name of the Realtime channel." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 162, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The options to pass to the Realtime channel.\n\n" + }, + "type": { + "type": "reference", + "qualifiedName": "RealtimeChannelOptions", + "package": "@supabase/realtime-js", + "name": "RealtimeChannelOptions" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 138, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 157, + "character": 2 + } + ], + "signatures": [ + { + "id": 139, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "id": 140, + "name": "TableName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 141, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 80, + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 142, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 140, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 110, + "name": "Schema" + }, + { + "type": "reference", + "id": 141, + "name": "Table" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + }, + { + "id": 143, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 144, + "name": "ViewName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 145, + "name": "View", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 93, + "name": "GenericView" + } + } + ], + "parameters": [ + { + "id": 146, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 144, + "name": "ViewName" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 110, + "name": "Schema" + }, + { + "type": "reference", + "id": 145, + "name": "View" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + }, + { + "id": 147, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 148, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 110, + "name": "Schema" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + }, + { + "id": 163, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 214, + "character": 2 + } + ], + "signatures": [ + { + "id": 164, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns all Realtime channels." + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + } + ] + }, + { + "id": 168, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 231, + "character": 2 + } + ], + "signatures": [ + { + "id": 169, + "name": "removeAllChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribes and removes all Realtime channels from Realtime client." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 165, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 224, + "character": 2 + } + ], + "signatures": [ + { + "id": 166, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribes and removes Realtime channel from Realtime client." + }, + "parameters": [ + { + "id": 167, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The name of the Realtime channel.\n\n" + }, + "type": { + "type": "reference", + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 149, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 178, + "character": 2 + } + ], + "signatures": [ + { + "id": 150, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 151, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 152, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 94, + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 153, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call." + }, + "type": { + "type": "reference", + "id": 151, + "name": "FunctionName" + } + }, + { + "id": 154, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The parameters to pass to the function call." + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 152, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 155, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 158, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table.\n\n" + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 186, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 157, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 185, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 158, + 157 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 110, + "name": "Schema" + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 152, + "name": "Function_" + } + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + }, + "extendsType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 152, + "name": "Function_" + } + } + ], + "qualifiedName": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 106 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 114, + 117, + 127, + 122, + 119, + 128, + 115, + 116, + 120, + 121, + 118, + 133, + 132 + ] + }, + { + "title": "Accessors", + "kind": 262144, + "children": [ + 134, + 136 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 170, + 187, + 181, + 172, + 184, + 159, + 138, + 163, + 168, + 165, + 149 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 43, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 192, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 193, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 108, + "name": "Database" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 108, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 194, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 109, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 108, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 2, + "name": "createClient", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 25, + "character": 13 + } + ], + "signatures": [ + { + "id": 3, + "name": "createClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Supabase Client." + }, + "typeParameter": [ + { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 98, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 7, + "name": "supabaseUrl", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 61, + "typeArguments": [ + { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 105, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 195 + ] + }, + { + "title": "Classes", + "kind": 128, + "children": [ + 105 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 10, + "name": "lib/constants", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 11, + "name": "DEFAULT_HEADERS", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 13, + "name": "X-Client-Info", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 33 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 13 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 11 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 2, + "character": 0 + } + ] + }, + { + "id": 14, + "name": "lib/fetch", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 29, + "name": "fetchWithAuth", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 25, + "character": 13 + } + ], + "signatures": [ + { + "id": 30, + "name": "fetchWithAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 31, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 32, + "name": "getAccessToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 33, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 34, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 35, + "name": "customFetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 36, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 37, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 38, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 39, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 40, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 41, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 42, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 43, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ] + }, + { + "id": 15, + "name": "resolveFetch", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 5, + "character": 13 + } + ], + "signatures": [ + { + "id": 16, + "name": "resolveFetch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 17, + "name": "customFetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 19, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 20, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 21, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 22, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 23, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 24, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 25, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ] + }, + { + "id": 26, + "name": "resolveHeadersConstructor", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 17, + "character": 13 + } + ], + "signatures": [ + { + "id": 27, + "name": "resolveHeadersConstructor", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 29, + 15, + 26 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 44, + "name": "lib/helpers", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 50, + "name": "applySettingDefaults", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 18, + "character": 16 + } + ], + "signatures": [ + { + "id": 51, + "name": "applySettingDefaults", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 52, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 53, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 52, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 52, + "name": "Database" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 54, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 61, + "typeArguments": [ + { + "type": "reference", + "id": 53, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + }, + { + "id": 55, + "name": "defaults", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 61, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 61, + "typeArguments": [ + { + "type": "reference", + "id": 53, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ] + }, + { + "id": 56, + "name": "isBrowser", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 16, + "character": 13 + } + ], + "signatures": [ + { + "id": 57, + "name": "isBrowser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 47, + "name": "stripTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 48, + "name": "stripTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 49, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 45, + "name": "uuid", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 4, + "character": 16 + } + ], + "signatures": [ + { + "id": 46, + "name": "uuid", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 50, + 56, + 47, + 45 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 2, + "character": 0 + } + ] + }, + { + "id": 58, + "name": "lib/types", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 59, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "GoTrueClientOptions" + } + ] + }, + { + "id": 60, + "name": "Fetch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "id": 18, + "qualifiedName": "fetch", + "package": "typescript", + "name": "fetch" + } + } + }, + { + "id": 94, + "name": "GenericFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 95, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 96, + "name": "Args", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 97, + "name": "Returns", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 96, + 97 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 30 + } + ] + } + } + }, + { + "id": 90, + "name": "GenericNonUpdatableView", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 91, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 92, + "name": "Row", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 38 + } + ] + } + } + }, + { + "id": 98, + "name": "GenericSchema", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 99, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 102, + "name": "Functions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 94, + "name": "GenericFunction" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 100, + "name": "Tables", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 80, + "name": "GenericTable" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 101, + "name": "Views", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 93, + "name": "GenericView" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 102, + 100, + 101 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 28 + } + ] + } + } + }, + { + "id": 80, + "name": "GenericTable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 83, + "name": "Insert", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 82, + "name": "Row", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 84, + "name": "Update", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 63, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 83, + 82, + 84 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 27 + } + ] + } + } + }, + { + "id": 85, + "name": "GenericUpdatableView", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 86, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 88, + "name": "Insert", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 87, + "name": "Row", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 89, + "name": "Update", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 88, + 87, + 89 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 35 + } + ] + } + } + }, + { + "id": 93, + "name": "GenericView", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 85, + "name": "GenericUpdatableView" + }, + { + "type": "reference", + "id": 90, + "name": "GenericNonUpdatableView" + } + ] + } + }, + { + "id": 61, + "name": "SupabaseClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 79, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 62, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 66, + "name": "auth", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 67, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 68, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Automatically refreshes the token for logged-in users. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 71, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Detect a session from the URL. Used for OAuth login callbacks. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 73, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "flowType" + }, + "objectType": { + "type": "reference", + "id": 59, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 70, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to persist a logged-in session to storage. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 30, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 72, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A storage provider. Used to store the logged-in session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "storage" + }, + "objectType": { + "type": "reference", + "id": 59, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 69, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional key name used for storing tokens in local storage." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 9 + } + ] + } + } + }, + { + "id": 63, + "name": "db", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 64, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 65, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 79, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 65 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 7 + } + ] + } + } + }, + { + "id": 75, + "name": "global", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 76, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 77, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom `fetch` implementation." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 60, + "name": "Fetch" + } + }, + { + "id": 78, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional headers for initializing the client." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 4 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 77, + 78 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 11 + } + ] + } + } + }, + { + "id": 74, + "name": "realtime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Options passed to the realtime-js instance" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RealtimeClientOptions", + "package": "@supabase/realtime-js", + "name": "RealtimeClientOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 66, + 63, + 75, + 74 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 48 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 59 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 60, + 94, + 90, + 98, + 80, + 85, + 93, + 61 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 103, + "name": "lib/version", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 104, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "0.0.0-automated" + }, + "defaultValue": "'0.0.0-automated'" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 104 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [ + 1, + 10, + 14, + 44, + 58, + 103 + ] + } + ] +} \ No newline at end of file diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json index e77794b6363..51e4395c221 100644 --- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json @@ -433,7 +433,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -500,7 +507,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -625,7 +634,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -668,7 +680,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -2140,7 +2157,10 @@ { "title": "Properties", "kind": 1024, - "children": [158, 157] + "children": [ + 158, + 157 + ] } ] } @@ -2258,22 +2278,53 @@ { "title": "Constructors", "kind": 512, - "children": [106] + "children": [ + 106 + ] }, { "title": "Properties", "kind": 1024, - "children": [114, 117, 127, 122, 119, 128, 115, 116, 120, 121, 118, 133, 132] + "children": [ + 114, + 117, + 127, + 122, + 119, + 128, + 115, + 116, + 120, + 121, + 118, + 133, + 132 + ] }, { "title": "Accessors", "kind": 262144, - "children": [134, 136] + "children": [ + 134, + 136 + ] }, { "title": "Methods", "kind": 2048, - "children": [170, 187, 181, 172, 184, 159, 138, 163, 168, 165, 149] + "children": [ + 170, + 187, + 181, + 172, + 184, + 159, + 138, + 163, + 168, + 165, + 149 + ] } ], "sources": [ @@ -2799,7 +2850,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -2866,7 +2924,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -2991,7 +3051,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -3034,7 +3097,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -3080,17 +3148,23 @@ { "title": "References", "kind": 16777216, - "children": [195] + "children": [ + 195 + ] }, { "title": "Classes", "kind": 128, - "children": [105] + "children": [ + 105 + ] }, { "title": "Functions", "kind": 64, - "children": [2] + "children": [ + 2 + ] } ], "sources": [ @@ -3156,7 +3230,9 @@ { "title": "Properties", "kind": 1024, - "children": [13] + "children": [ + 13 + ] } ] } @@ -3168,7 +3244,9 @@ { "title": "Variables", "kind": 32, - "children": [11] + "children": [ + 11 + ] } ], "sources": [ @@ -3646,7 +3724,11 @@ { "title": "Functions", "kind": 64, - "children": [29, 15, 26] + "children": [ + 29, + 15, + 26 + ] } ], "sources": [ @@ -3978,7 +4060,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -4045,7 +4134,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -4170,7 +4261,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -4213,7 +4307,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -4458,7 +4557,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -4525,7 +4631,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -4650,7 +4758,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -4693,7 +4804,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -4823,7 +4939,12 @@ { "title": "Functions", "kind": 64, - "children": [50, 56, 47, 45] + "children": [ + 50, + 56, + 47, + 45 + ] } ], "sources": [ @@ -4960,7 +5081,10 @@ { "title": "Properties", "kind": 1024, - "children": [96, 97] + "children": [ + 96, + 97 + ] } ], "sources": [ @@ -5030,7 +5154,9 @@ { "title": "Properties", "kind": 1024, - "children": [92] + "children": [ + 92 + ] } ], "sources": [ @@ -5163,7 +5289,11 @@ { "title": "Properties", "kind": 1024, - "children": [102, 100, 101] + "children": [ + 102, + 100, + 101 + ] } ], "sources": [ @@ -5293,7 +5423,11 @@ { "title": "Properties", "kind": 1024, - "children": [83, 82, 84] + "children": [ + 83, + 82, + 84 + ] } ], "sources": [ @@ -5423,7 +5557,11 @@ { "title": "Properties", "kind": 1024, - "children": [88, 87, 89] + "children": [ + 88, + 87, + 89 + ] } ], "sources": [ @@ -5569,7 +5707,11 @@ { "title": "Properties", "kind": 1024, - "children": [88, 87, 89] + "children": [ + 88, + 87, + 89 + ] } ], "sources": [ @@ -5639,7 +5781,9 @@ { "title": "Properties", "kind": 1024, - "children": [92] + "children": [ + 92 + ] } ], "sources": [ @@ -5869,7 +6013,14 @@ { "title": "Properties", "kind": 1024, - "children": [68, 71, 73, 70, 72, 69] + "children": [ + 68, + 71, + 73, + 70, + 72, + 69 + ] } ], "sources": [ @@ -5936,7 +6087,9 @@ { "title": "Properties", "kind": 1024, - "children": [65] + "children": [ + 65 + ] } ], "sources": [ @@ -6061,7 +6214,10 @@ { "title": "Properties", "kind": 1024, - "children": [77, 78] + "children": [ + 77, + 78 + ] } ], "sources": [ @@ -6104,7 +6260,12 @@ { "title": "Properties", "kind": 1024, - "children": [66, 63, 75, 74] + "children": [ + 66, + 63, + 75, + 74 + ] } ], "sources": [ @@ -6122,12 +6283,23 @@ { "title": "Interfaces", "kind": 256, - "children": [59] + "children": [ + 59 + ] }, { "title": "Type Aliases", "kind": 4194304, - "children": [60, 94, 90, 98, 80, 85, 93, 61] + "children": [ + 60, + 94, + 90, + 98, + 80, + 85, + 93, + 61 + ] } ], "sources": [ @@ -6171,7 +6343,9 @@ { "title": "Variables", "kind": 32, - "children": [104] + "children": [ + 104 + ] } ], "sources": [ @@ -6187,7 +6361,14 @@ { "title": "Modules", "kind": 2, - "children": [1, 10, 14, 44, 58, 103] + "children": [ + 1, + 10, + 14, + 44, + 58, + 103 + ] } ] -} +} \ No newline at end of file diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml index c7d7bc7947f..81d284826f8 100644 --- a/spec/supabase_js_v2.yml +++ b/spec/supabase_js_v2.yml @@ -465,6 +465,82 @@ functions: data: { hello: 'world' } }) ``` + - id: update-password-with-reauthentication + name: Update the user's password with a nonce + description: If "Secure password change" is enabled, updating the user's password would require a nonce. The nonce is sent to the user's email or phone number. + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.updateUser({ + password: 'new password', + nonce: '123456' + }) + ``` + - id: send-password-reauthentication + title: 'reauthenticate()' + $ref: '@supabase/gotrue-js.GoTrueClient.reauthenticate' + notes: | + - This method is used together with `updateUser()` when a user's password needs to be updated. + - This method will send a nonce to the user's email. If the user doesn't have a confirmed email address, the method will send the nonce to the user's confirmed phone number instead. + examples: + - id: send-reauthentication-nonce + name: Send reauthentication nonce + description: Sends a reauthentication nonce to the user's email or phone number. + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.reauthenticate() + ``` + - id: resend-email-or-phone-otps + title: 'resend()' + $ref: '@supabase/gotrue-js.GoTrueClient.resend' + notes: | + - Resends a signup confirmation, email change or phone change email to the user. + - Passwordless sign-ins can be resent by calling the `signInWithOtp()` method again. + - Password recovery emails can be resent by calling the `resetPassswordForEmail()` method again. + - This method will only resend an email or phone OTP to the user if there was an initial signup, email change or phone change request being made. + examples: + - id: resend-email-signup-confirmation + name: Resend an email signup confirmation + description: Resends the email signup confirmation to the user + isSpotlight: true + code: | + ```js + const { data, error } = await supabase.auth.resend({ + type: 'signup', + email: 'email@example.com' + }) + ``` + - id: resend-phone-signup-confirmation + name: Resend a phone signup confirmation + description: Resends the phone signup confirmation email to the user + code: | + ```js + const { data, error } = await supabase.auth.resend({ + type: 'sms', + phone: '1234567890' + }) + ``` + - id: resend-email-change-email + name: Resend email change email + description: Resends the email change email to the user + code: | + ```js + const { data, error } = await supabase.auth.resend({ + type: 'email_change', + email: 'email@example.com' + }) + ``` + - id: resend-phone-change + name: Resend phone change OTP + description: Resends the phone change OTP to the user + code: | + ```js + const { data, error } = await supabase.auth.resend({ + type: 'phone_change', + phone: '1234567890' + }) + ``` - id: set-session title: 'setSession()' $ref: '@supabase/gotrue-js.GoTrueClient.setSession' @@ -583,7 +659,14 @@ functions: ```js supabase.auth.exchangeCodeForSession('34e770dd-9ff9-416c-87fa-43b31d7ef225') ``` + - id: auth-mfa-api + title: 'Overview' + notes: | + This section contains methods commonly used for Multi-Factor Authentication (MFA) and are invoked behind the `supabase.auth.mfa` namespace. + Currently, we only support time-based one-time password (TOTP) as the 2nd factor. We don't support recovery codes but we allow users to enroll more than 1 TOTP factor, with an upper limit of 10. + + Having a 2nd TOTP factor for recovery frees the user of the burden of having to store their recovery codes somewhere. It also reduces the attack surface since multiple recovery codes are usually generated compared to just having 1 backup TOTP factor. - id: mfa-enroll title: 'mfa.enroll()' $ref: '@supabase/gotrue-js.GoTrueMFAApi.enroll' @@ -757,6 +840,8 @@ functions: $ref: '@supabase/gotrue-js.GoTrueAdminApi.createUser' notes: | - To confirm the user's email address or phone number, set `email_confirm` or `phone_confirm` to true. Both arguments default to false. + - `createUser()` will not send a confirmation email to the user. You can use [`inviteUserByEmail()`](/docs/reference/javascript/auth-admin-inviteuserbyemail) if you want to send them an email invite instead. + - If you are sure that the created user's email or phone number is legitimate and verified, you can set the `email_confirm` or `phone_confirm` param to `true`. examples: - id: create-a-new-user-with-custom-user-metadata name: With custom user metadata @@ -878,6 +963,10 @@ functions: - id: generate-link title: 'generateLink()' $ref: '@supabase/gotrue-js.GoTrueAdminApi.generateLink' + notes: | + - The following types can be passed into `generateLink()`: `signup`, `magiclink`, `invite`, `recovery`, `email_change_current`, `email_change_new`, `phone_change`. + - `generateLink()` only generates the email link for `email_change_email` if the "Secure email change" setting is enabled under the "Email" provider in your Supabase project. + - `generateLink()` handles the creation of the user for `signup`, `invite` and `magiclink`. examples: - id: generate-a-signup-link name: Generate a signup link