Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

update tsdocs

Kang Ming0b3a4be047cc
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index f1db0fa316e..04a0e27726b 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -405,7 +405,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -471,7 +477,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -572,7 +580,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -615,7 +626,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -2067,7 +2083,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [157, 156]
+ "children": [
+ 157,
+ 156
+ ]
}
]
}
@@ -2185,22 +2204,53 @@
{
"title": "Constructors",
"kind": 512,
- "children": [105]
+ "children": [
+ 105
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
+ "children": [
+ 113,
+ 115,
+ 126,
+ 121,
+ 117,
+ 127,
+ 118,
+ 114,
+ 119,
+ 120,
+ 116,
+ 132,
+ 131
+ ]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [133, 135]
+ "children": [
+ 133,
+ 135
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
+ "children": [
+ 169,
+ 186,
+ 180,
+ 171,
+ 183,
+ 158,
+ 137,
+ 162,
+ 167,
+ 164,
+ 148
+ ]
}
],
"sources": [
@@ -2695,7 +2745,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -2761,7 +2817,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -2862,7 +2920,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -2905,7 +2966,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -2951,17 +3017,23 @@
{
"title": "References",
"kind": 16777216,
- "children": [194]
+ "children": [
+ 194
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [104]
+ "children": [
+ 104
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -3027,7 +3099,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [13]
+ "children": [
+ 13
+ ]
}
]
}
@@ -3039,7 +3113,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [11]
+ "children": [
+ 11
+ ]
}
],
"sources": [
@@ -3473,7 +3549,11 @@
{
"title": "Functions",
"kind": 64,
- "children": [29, 15, 26]
+ "children": [
+ 29,
+ 15,
+ 26
+ ]
}
],
"sources": [
@@ -3774,7 +3854,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -3840,7 +3926,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -3941,7 +4029,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -3984,7 +4075,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -4198,7 +4294,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -4264,7 +4366,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -4365,7 +4469,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -4408,7 +4515,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -4538,7 +4650,12 @@
{
"title": "Functions",
"kind": 64,
- "children": [50, 56, 47, 45]
+ "children": [
+ 50,
+ 56,
+ 47,
+ 45
+ ]
}
],
"sources": [
@@ -4675,7 +4792,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [
+ 95,
+ 96
+ ]
}
],
"sources": [
@@ -4745,7 +4865,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [91]
+ "children": [
+ 91
+ ]
}
],
"sources": [
@@ -4878,7 +5000,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [101, 99, 100]
+ "children": [
+ 101,
+ 99,
+ 100
+ ]
}
],
"sources": [
@@ -5008,7 +5134,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [82, 81, 83]
+ "children": [
+ 82,
+ 81,
+ 83
+ ]
}
],
"sources": [
@@ -5138,7 +5268,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [87, 86, 88]
+ "children": [
+ 87,
+ 86,
+ 88
+ ]
}
],
"sources": [
@@ -5284,7 +5418,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [87, 86, 88]
+ "children": [
+ 87,
+ 86,
+ 88
+ ]
}
],
"sources": [
@@ -5354,7 +5492,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [91]
+ "children": [
+ 91
+ ]
}
],
"sources": [
@@ -5553,7 +5693,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -5619,7 +5765,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -5720,7 +5868,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -5763,7 +5914,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -5781,12 +5937,23 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [59]
+ "children": [
+ 59
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [60, 93, 89, 97, 79, 84, 92, 61]
+ "children": [
+ 60,
+ 93,
+ 89,
+ 97,
+ 79,
+ 84,
+ 92,
+ 61
+ ]
}
],
"sources": [
@@ -5830,7 +5997,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [103]
+ "children": [
+ 103
+ ]
}
],
"sources": [
@@ -5846,7 +6015,14 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 10, 14, 44, 58, 102]
+ "children": [
+ 1,
+ 10,
+ 14,
+ 44,
+ 58,
+ 102
+ ]
}
]
},
@@ -6036,7 +6212,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [737, 736, 738]
+ "children": [
+ 737,
+ 736,
+ 738
+ ]
}
]
}
@@ -6049,17 +6229,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [728]
+ "children": [
+ 728
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [732]
+ "children": [
+ 732
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [733]
+ "children": [
+ 733
+ ]
}
],
"sources": [
@@ -6138,7 +6324,9 @@
{
"title": "Constructors",
"kind": 512,
- "children": [723]
+ "children": [
+ 723
+ ]
}
],
"sources": [
@@ -6276,7 +6464,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [794, 793]
+ "children": [
+ 794,
+ 793
+ ]
}
]
}
@@ -6374,7 +6565,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [798, 797]
+ "children": [
+ 798,
+ 797
+ ]
}
]
}
@@ -6528,7 +6722,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [808, 807]
+ "children": [
+ 808,
+ 807
+ ]
}
]
}
@@ -6599,7 +6796,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [805, 803, 802, 804]
+ "children": [
+ 805,
+ 803,
+ 802,
+ 804
+ ]
}
]
}
@@ -6622,17 +6824,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [788]
+ "children": [
+ 788
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [795, 809, 810]
+ "children": [
+ 795,
+ 809,
+ 810
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [799]
+ "children": [
+ 799
+ ]
}
],
"sources": [
@@ -6845,7 +7055,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [784, 783, 785]
+ "children": [
+ 784,
+ 783,
+ 785
+ ]
}
]
}
@@ -6868,17 +7082,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [775]
+ "children": [
+ 775
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [778, 779]
+ "children": [
+ 778,
+ 779
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [780]
+ "children": [
+ 780
+ ]
}
],
"sources": [
@@ -7102,7 +7323,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [823, 822, 824]
+ "children": [
+ 823,
+ 822,
+ 824
+ ]
}
]
}
@@ -7125,17 +7350,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [813]
+ "children": [
+ 813
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [817, 818]
+ "children": [
+ 817,
+ 818
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [819]
+ "children": [
+ 819
+ ]
}
],
"sources": [
@@ -7335,7 +7567,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [771, 770, 772]
+ "children": [
+ 771,
+ 770,
+ 772
+ ]
}
]
}
@@ -7358,17 +7594,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [763]
+ "children": [
+ 763
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [765, 766]
+ "children": [
+ 765,
+ 766
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [767]
+ "children": [
+ 767
+ ]
}
],
"sources": [
@@ -7478,12 +7721,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [741]
+ "children": [
+ 741
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [745]
+ "children": [
+ 745
+ ]
}
],
"sources": [
@@ -7712,7 +7959,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [759, 758, 760]
+ "children": [
+ 759,
+ 758,
+ 760
+ ]
}
]
}
@@ -7725,17 +7976,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [748]
+ "children": [
+ 748
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [753, 754]
+ "children": [
+ 753,
+ 754
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [755]
+ "children": [
+ 755
+ ]
}
],
"sources": [
@@ -7980,7 +8238,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [11, 7, 6]
+ "children": [
+ 11,
+ 7,
+ 6
+ ]
}
]
}
@@ -8296,7 +8558,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -8561,7 +8833,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -8691,7 +8968,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -8803,7 +9084,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -8945,7 +9230,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -9139,7 +9429,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [39, 38]
+ "children": [
+ 39,
+ 38
+ ]
}
]
}
@@ -9251,7 +9544,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [51]
+ "children": [
+ 51
+ ]
}
]
}
@@ -9280,7 +9575,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [49, 52]
+ "children": [
+ 49,
+ 52
+ ]
}
]
}
@@ -9338,7 +9636,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [56]
+ "children": [
+ 56
+ ]
}
]
}
@@ -9368,7 +9668,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [54, 57]
+ "children": [
+ 54,
+ 57
+ ]
}
]
}
@@ -9485,7 +9788,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [31, 32]
+ "children": [
+ 31,
+ 32
+ ]
}
]
}
@@ -9791,7 +10097,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -9833,17 +10149,30 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [16]
+ "children": [
+ 16
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [43, 65, 40, 58, 33, 46, 27, 61]
+ "children": [
+ 43,
+ 65,
+ 40,
+ 58,
+ 33,
+ 46,
+ 27,
+ 61
+ ]
}
],
"sources": [
@@ -10119,7 +10448,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 295, 299, 290, 297, 298, 294, 289]
+ "children": [
+ 296,
+ 295,
+ 299,
+ 290,
+ 297,
+ 298,
+ 294,
+ 289
+ ]
}
],
"sources": [
@@ -10271,7 +10609,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [128]
+ "children": [
+ 128
+ ]
}
]
}
@@ -10300,7 +10640,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [126, 129]
+ "children": [
+ 126,
+ 129
+ ]
}
]
}
@@ -10359,7 +10702,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [133]
+ "children": [
+ 133
+ ]
}
]
}
@@ -10389,7 +10734,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 134]
+ "children": [
+ 131,
+ 134
+ ]
}
]
}
@@ -10448,7 +10796,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -10477,7 +10827,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136, 139]
+ "children": [
+ 136,
+ 139
+ ]
}
]
}
@@ -10736,7 +11089,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [194]
+ "children": [
+ 194
+ ]
}
]
}
@@ -10747,7 +11102,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [192]
+ "children": [
+ 192
+ ]
}
]
}
@@ -10822,7 +11179,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [163]
+ "children": [
+ 163
+ ]
}
]
}
@@ -10949,7 +11308,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [201, 200]
+ "children": [
+ 201,
+ 200
+ ]
}
]
}
@@ -11019,7 +11381,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [203, 205]
+ "children": [
+ 203,
+ 205
+ ]
}
]
}
@@ -11075,7 +11440,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [207, 208]
+ "children": [
+ 207,
+ 208
+ ]
}
]
}
@@ -11173,7 +11541,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [157, 158]
+ "children": [
+ 157,
+ 158
+ ]
}
]
}
@@ -11386,7 +11757,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [484, 482, 483]
+ "children": [
+ 484,
+ 482,
+ 483
+ ]
}
],
"sources": [
@@ -11426,7 +11801,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [480, 479]
+ "children": [
+ 480,
+ 479
+ ]
}
],
"sources": [
@@ -11660,7 +12038,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468, 466, 467]
+ "children": [
+ 469,
+ 468,
+ 466,
+ 467
+ ]
}
],
"sources": [
@@ -11678,7 +12061,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [
+ 463,
+ 464
+ ]
}
],
"sources": [
@@ -11798,7 +12184,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [476, 475, 474]
+ "children": [
+ 476,
+ 475,
+ 474
+ ]
}
],
"sources": [
@@ -11837,7 +12227,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 471]
+ "children": [
+ 472,
+ 471
+ ]
}
],
"sources": [
@@ -12027,7 +12420,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [453, 452]
+ "children": [
+ 453,
+ 452
+ ]
}
],
"sources": [
@@ -12066,7 +12462,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [448, 450, 449]
+ "children": [
+ 448,
+ 450,
+ 449
+ ]
}
],
"sources": [
@@ -12163,7 +12563,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [460, 459]
+ "children": [
+ 460,
+ 459
+ ]
}
],
"sources": [
@@ -12223,7 +12626,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 456, 455]
+ "children": [
+ 457,
+ 456,
+ 455
+ ]
}
],
"sources": [
@@ -12398,7 +12805,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [512, 511]
+ "children": [
+ 512,
+ 511
+ ]
}
],
"sources": [
@@ -12416,7 +12826,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509]
+ "children": [
+ 509
+ ]
}
],
"sources": [
@@ -12466,7 +12878,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514]
+ "children": [
+ 514
+ ]
}
],
"sources": [
@@ -12513,7 +12927,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [516]
+ "children": [
+ 516
+ ]
}
],
"sources": [
@@ -12618,7 +13034,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [183]
+ "children": [
+ 183
+ ]
}
]
}
@@ -12811,7 +13229,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 437, 436]
+ "children": [
+ 438,
+ 437,
+ 436
+ ]
}
],
"sources": [
@@ -12850,7 +13272,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432, 434, 433]
+ "children": [
+ 432,
+ 434,
+ 433
+ ]
}
],
"sources": [
@@ -12947,7 +13373,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [445, 444]
+ "children": [
+ 445,
+ 444
+ ]
}
],
"sources": [
@@ -13007,7 +13436,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 441, 440]
+ "children": [
+ 442,
+ 441,
+ 440
+ ]
}
],
"sources": [
@@ -13180,7 +13613,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [409, 406, 408, 407]
+ "children": [
+ 409,
+ 406,
+ 408,
+ 407
+ ]
}
],
"sources": [
@@ -13355,7 +13793,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -13430,7 +13871,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -13544,7 +13990,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -13598,7 +14047,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -13636,18 +14090,37 @@
{
"title": "Constructors",
"kind": 512,
- "children": [75]
+ "children": [
+ 75
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [
+ 78,
+ 79
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117
+ 123,
+ 140,
+ 101,
+ 184,
+ 159,
+ 195,
+ 153,
+ 111,
+ 114,
+ 108,
+ 120,
+ 180,
+ 105,
+ 143,
+ 117
]
}
],
@@ -13723,7 +14196,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [356, 357]
+ "children": [
+ 356,
+ 357
+ ]
}
],
"sources": [
@@ -13979,7 +14455,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -14157,7 +14643,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 372, 371, 370, 373, 375]
+ "children": [
+ 374,
+ 372,
+ 371,
+ 370,
+ 373,
+ 375
+ ]
}
],
"sources": [
@@ -14227,7 +14720,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [540, 541]
+ "children": [
+ 540,
+ 541
+ ]
}
],
"sources": [
@@ -14268,7 +14764,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.",
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
"tags": [
{
"tag": "see",
@@ -14308,7 +14804,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 12
}
],
@@ -14333,7 +14829,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 844,
"character": 2
}
],
@@ -14354,7 +14850,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 860,
+ "line": 847,
"character": 2
}
],
@@ -14368,13 +14864,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [684, 685]
+ "children": [
+ 684,
+ 685
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 45
}
]
@@ -14414,7 +14913,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Lists all factors attached to a user."
+ "shortText": "Lists all factors associated to a user."
},
"parameters": [
{
@@ -14444,7 +14943,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 12
}
],
@@ -14464,12 +14963,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the user for which to list all MFA factors."
+ "shortText": "ID of the user."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 868,
"character": 2
}
],
@@ -14483,13 +14982,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [697]
+ "children": [
+ 697
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 44
}
]
@@ -14520,13 +15021,16 @@
{
"title": "Methods",
"kind": 2048,
- "children": [702, 699]
+ "children": [
+ 702,
+ 699
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 876,
"character": 17
}
]
@@ -14555,7 +15059,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}."
+ "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
},
"parameters": [
{
@@ -14577,7 +15081,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 12
}
],
@@ -14597,12 +15101,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor to be challenged."
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 624,
"character": 2
}
],
@@ -14616,13 +15120,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [579]
+ "children": [
+ 579
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 33
}
]
@@ -14662,13 +15168,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n"
- }
- ]
+ "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
},
"parameters": [
{
@@ -14690,7 +15190,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 12
}
],
@@ -14715,7 +15215,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 628,
+ "line": 631,
"character": 2
}
],
@@ -14731,12 +15231,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 629,
"character": 2
}
],
@@ -14750,13 +15250,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [583, 582]
+ "children": [
+ 583,
+ 582
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 42
}
]
@@ -14796,22 +15299,8 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.",
- "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#verify}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n"
- }
- ]
+ "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
+ "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
},
"parameters": [
{
@@ -14852,10 +15341,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 599,
"character": 2
}
],
@@ -14872,10 +15364,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 600,
+ "line": 603,
"character": 2
}
],
@@ -14892,10 +15387,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 601,
"character": 2
}
],
@@ -14909,7 +15407,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 568, 567]
+ "children": [
+ 566,
+ 568,
+ 567
+ ]
}
],
"sources": [
@@ -15034,7 +15536,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level."
+ "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
},
"parameters": [
{
@@ -15056,7 +15558,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 12
}
],
@@ -15081,7 +15583,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 608,
"character": 2
}
],
@@ -15095,13 +15597,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [571]
+ "children": [
+ 571
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 32
}
]
@@ -15141,13 +15645,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n\n"
- }
- ]
+ "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
},
"parameters": [
{
@@ -15169,7 +15667,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 12
}
],
@@ -15189,12 +15687,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the challenge being verified."
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 616,
"character": 2
}
],
@@ -15215,7 +15713,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 619,
"character": 2
}
],
@@ -15231,12 +15729,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 613,
"character": 2
}
],
@@ -15250,13 +15748,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [575, 576, 574]
+ "children": [
+ 575,
+ 576,
+ 574
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 30
}
]
@@ -15287,13 +15789,21 @@
{
"title": "Methods",
"kind": 2048,
- "children": [657, 666, 654, 671, 669, 663, 660]
+ "children": [
+ 657,
+ 666,
+ 654,
+ 671,
+ 669,
+ 663,
+ 660
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 756,
+ "line": 759,
"character": 17
}
]
@@ -15497,7 +16007,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 352, 351, 348, 347, 350, 353, 354]
+ "children": [
+ 349,
+ 352,
+ 351,
+ 348,
+ 347,
+ 350,
+ 353,
+ 354
+ ]
}
],
"sources": [
@@ -15697,12 +16216,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [421]
+ "children": [
+ 421
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [422, 426]
+ "children": [
+ 422,
+ 426
+ ]
}
],
"sources": [
@@ -15743,7 +16267,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [429]
+ "children": [
+ 429
+ ]
}
],
"sources": [
@@ -16187,8 +16713,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399,
- 389, 401, 402, 386
+ 393,
+ 385,
+ 387,
+ 388,
+ 397,
+ 396,
+ 394,
+ 390,
+ 398,
+ 404,
+ 384,
+ 403,
+ 392,
+ 400,
+ 391,
+ 395,
+ 399,
+ 389,
+ 401,
+ 402,
+ 386
]
}
],
@@ -16232,7 +16777,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [377]
+ "children": [
+ 377
+ ]
}
],
"sources": [
@@ -16371,7 +16918,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [409, 406, 408, 407]
+ "children": [
+ 409,
+ 406,
+ 408,
+ 407
+ ]
}
],
"sources": [
@@ -16558,7 +17110,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [366, 359, 361, 367, 365, 368, 360]
+ "children": [
+ 366,
+ 359,
+ 361,
+ 367,
+ 365,
+ 368,
+ 360
+ ]
}
],
"sources": [
@@ -16709,7 +17269,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -16763,7 +17326,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -16862,7 +17430,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -16937,7 +17508,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -17044,7 +17620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 12
}
],
@@ -17069,7 +17645,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 844,
"character": 2
}
],
@@ -17090,7 +17666,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 860,
+ "line": 847,
"character": 2
}
],
@@ -17104,13 +17680,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [684, 685]
+ "children": [
+ 684,
+ 685
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 45
}
]
@@ -17134,7 +17713,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 829,
"character": 12
}
],
@@ -17159,7 +17738,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 844,
+ "line": 831,
"character": 6
}
],
@@ -17184,7 +17763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 846,
+ "line": 833,
"character": 8
}
],
@@ -17198,13 +17777,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [677]
+ "children": [
+ 677
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 844,
+ "line": 831,
"character": 12
}
]
@@ -17220,7 +17801,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 848,
+ "line": 835,
"character": 6
}
],
@@ -17234,13 +17815,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [675, 678]
+ "children": [
+ 675,
+ 678
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 843,
+ "line": 830,
"character": 4
}
]
@@ -17264,7 +17848,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 6
}
],
@@ -17282,7 +17866,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 18
}
],
@@ -17297,13 +17881,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [680, 681]
+ "children": [
+ 680,
+ 681
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 4
}
]
@@ -17329,7 +17916,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 12
}
],
@@ -17349,12 +17936,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the user for which to list all MFA factors."
+ "shortText": "ID of the user."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 868,
"character": 2
}
],
@@ -17368,13 +17955,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [697]
+ "children": [
+ 697
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 44
}
]
@@ -17398,7 +17987,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 853,
"character": 12
}
],
@@ -17423,7 +18012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 868,
+ "line": 855,
"character": 6
}
],
@@ -17448,7 +18037,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 870,
+ "line": 857,
"character": 8
}
],
@@ -17466,13 +18055,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [690]
+ "children": [
+ 690
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 868,
+ "line": 855,
"character": 12
}
]
@@ -17488,7 +18079,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 872,
+ "line": 859,
"character": 6
}
],
@@ -17502,13 +18093,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [688, 691]
+ "children": [
+ 688,
+ 691
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 867,
+ "line": 854,
"character": 4
}
]
@@ -17532,7 +18126,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 6
}
],
@@ -17550,7 +18144,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 18
}
],
@@ -17565,13 +18159,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [693, 694]
+ "children": [
+ 693,
+ 694
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 4
}
]
@@ -17589,7 +18186,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 699,
+ "line": 702,
"character": 12
}
],
@@ -17614,7 +18211,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 701,
+ "line": 704,
"character": 6
}
],
@@ -17639,7 +18236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 709,
"character": 8
}
],
@@ -17660,7 +18257,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 703,
+ "line": 706,
"character": 8
}
],
@@ -17674,13 +18271,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [626, 625]
+ "children": [
+ 626,
+ 625
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 701,
+ "line": 704,
"character": 12
}
]
@@ -17696,7 +18296,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 708,
+ "line": 711,
"character": 6
}
],
@@ -17710,13 +18310,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [623, 627]
+ "children": [
+ 623,
+ 627
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 700,
+ "line": 703,
"character": 4
}
]
@@ -17740,7 +18343,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 6
}
],
@@ -17758,7 +18361,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 18
}
],
@@ -17773,13 +18376,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 630]
+ "children": [
+ 629,
+ 630
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 4
}
]
@@ -17797,7 +18403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 656,
+ "line": 659,
"character": 12
}
],
@@ -17822,7 +18428,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 661,
"character": 6
}
],
@@ -17847,7 +18453,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 660,
+ "line": 663,
"character": 8
}
],
@@ -17868,7 +18474,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 666,
+ "line": 669,
"character": 8
}
],
@@ -17893,7 +18499,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 670,
+ "line": 673,
"character": 10
}
],
@@ -17914,7 +18520,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 678,
"character": 10
}
],
@@ -17935,7 +18541,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 679,
+ "line": 682,
"character": 10
}
],
@@ -17949,13 +18555,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 606, 607]
+ "children": [
+ 605,
+ 606,
+ 607
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 666,
+ "line": 669,
"character": 14
}
]
@@ -17974,7 +18584,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 666,
"character": 8
}
],
@@ -17988,13 +18598,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [601, 603, 602]
+ "children": [
+ 601,
+ 603,
+ 602
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 661,
"character": 12
}
]
@@ -18010,7 +18624,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 682,
+ "line": 685,
"character": 6
}
],
@@ -18024,13 +18638,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [599, 608]
+ "children": [
+ 599,
+ 608
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 660,
"character": 4
}
]
@@ -18054,7 +18671,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 688,
"character": 6
}
],
@@ -18072,7 +18689,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 686,
+ "line": 689,
"character": 6
}
],
@@ -18087,13 +18704,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [610, 611]
+ "children": [
+ 610,
+ 611
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 684,
+ "line": 687,
"character": 4
}
]
@@ -18111,7 +18731,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 727,
+ "line": 730,
"character": 12
}
],
@@ -18136,7 +18756,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 732,
"character": 6
}
],
@@ -18161,7 +18781,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 746,
+ "line": 749,
"character": 8
}
],
@@ -18186,7 +18806,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 731,
+ "line": 734,
"character": 8
}
],
@@ -18223,7 +18843,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 739,
+ "line": 742,
"character": 8
}
],
@@ -18247,13 +18867,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [648, 646, 647]
+ "children": [
+ 648,
+ 646,
+ 647
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 732,
"character": 12
}
]
@@ -18269,7 +18893,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 748,
+ "line": 751,
"character": 6
}
],
@@ -18283,13 +18907,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [644, 649]
+ "children": [
+ 644,
+ 649
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 731,
"character": 4
}
]
@@ -18313,7 +18940,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 6
}
],
@@ -18331,7 +18958,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 18
}
],
@@ -18346,13 +18973,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [651, 652]
+ "children": [
+ 651,
+ 652
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 4
}
]
@@ -18370,7 +19000,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 712,
+ "line": 715,
"character": 12
}
],
@@ -18395,7 +19025,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 714,
+ "line": 717,
"character": 6
}
],
@@ -18420,7 +19050,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 716,
+ "line": 719,
"character": 8
}
],
@@ -18445,7 +19075,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 722,
"character": 8
}
],
@@ -18463,13 +19093,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [635, 636]
+ "children": [
+ 635,
+ 636
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 714,
+ "line": 717,
"character": 12
}
]
@@ -18485,7 +19118,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 721,
+ "line": 724,
"character": 6
}
],
@@ -18499,13 +19132,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [633, 637]
+ "children": [
+ 633,
+ 637
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 713,
+ "line": 716,
"character": 4
}
]
@@ -18529,7 +19165,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 6
}
],
@@ -18547,7 +19183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 18
}
],
@@ -18562,13 +19198,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [639, 640]
+ "children": [
+ 639,
+ 640
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 4
}
]
@@ -18586,7 +19225,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 689,
+ "line": 692,
"character": 12
}
],
@@ -18611,7 +19250,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 694,
"character": 6
}
],
@@ -18636,7 +19275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 693,
+ "line": 696,
"character": 8
}
],
@@ -18650,13 +19289,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [616]
+ "children": [
+ 616
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 694,
"character": 12
}
]
@@ -18672,7 +19313,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 695,
+ "line": 698,
"character": 6
}
],
@@ -18686,13 +19327,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [614, 617]
+ "children": [
+ 614,
+ 617
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 690,
+ "line": 693,
"character": 4
}
]
@@ -18716,7 +19360,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 6
}
],
@@ -18734,7 +19378,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 18
}
],
@@ -18749,13 +19393,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [619, 620]
+ "children": [
+ 619,
+ 620
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 4
}
]
@@ -18773,7 +19420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 634,
"character": 12
}
],
@@ -18798,7 +19445,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 636,
"character": 6
}
],
@@ -18823,7 +19470,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 635,
+ "line": 638,
"character": 8
}
],
@@ -18844,7 +19491,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 641,
+ "line": 644,
"character": 8
}
],
@@ -18865,7 +19512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 644,
+ "line": 647,
"character": 8
}
],
@@ -18886,7 +19533,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 641,
"character": 8
}
],
@@ -18907,7 +19554,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 647,
+ "line": 650,
"character": 8
}
],
@@ -18922,13 +19569,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [588, 590, 591, 589, 592]
+ "children": [
+ 588,
+ 590,
+ 591,
+ 589,
+ 592
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 636,
"character": 12
}
]
@@ -18944,7 +19597,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 649,
+ "line": 652,
"character": 6
}
],
@@ -18958,13 +19611,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [586, 593]
+ "children": [
+ 586,
+ 593
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 632,
+ "line": 635,
"character": 4
}
]
@@ -18988,7 +19644,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 652,
+ "line": 655,
"character": 6
}
],
@@ -19006,7 +19662,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 656,
"character": 6
}
],
@@ -19021,13 +19677,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [595, 596]
+ "children": [
+ 595,
+ 596
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 651,
+ "line": 654,
"character": 4
}
]
@@ -19144,7 +19803,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [305, 304]
+ "children": [
+ 305,
+ 304
+ ]
}
],
"sources": [
@@ -19180,7 +19842,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [302, 306]
+ "children": [
+ 302,
+ 306
+ ]
}
],
"sources": [
@@ -19264,7 +19929,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 310]
+ "children": [
+ 311,
+ 310
+ ]
}
],
"sources": [
@@ -19301,7 +19969,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [308, 312]
+ "children": [
+ 308,
+ 312
+ ]
}
],
"sources": [
@@ -19325,7 +19996,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 728,
"character": 12
}
],
@@ -19352,7 +20023,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 921,
+ "line": 907,
"character": 12
}
],
@@ -19377,7 +20048,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 910,
"character": 6
}
],
@@ -19395,7 +20066,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 923,
+ "line": 909,
"character": 6
}
],
@@ -19410,13 +20081,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [712, 711]
+ "children": [
+ 712,
+ 711
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 908,
"character": 4
}
]
@@ -19440,7 +20114,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 914,
"character": 6
}
],
@@ -19459,7 +20133,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 927,
+ "line": 913,
"character": 6
}
],
@@ -19473,13 +20147,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [715, 714]
+ "children": [
+ 715,
+ 714
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 912,
"character": 4
}
]
@@ -19656,7 +20333,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -19786,7 +20468,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -19938,7 +20624,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -20068,7 +20759,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -20180,7 +20875,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -20322,7 +21021,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -20474,7 +21178,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [558, 559, 560, 561, 562]
+ "children": [
+ 558,
+ 559,
+ 560,
+ 561,
+ 562
+ ]
}
],
"sources": [
@@ -20577,7 +21287,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [547, 548]
+ "children": [
+ 547,
+ 548
+ ]
}
],
"sources": [
@@ -20613,7 +21326,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [545, 549]
+ "children": [
+ 545,
+ 549
+ ]
}
],
"sources": [
@@ -20697,7 +21413,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [553, 554]
+ "children": [
+ 553,
+ 554
+ ]
}
],
"sources": [
@@ -20734,7 +21453,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [551, 555]
+ "children": [
+ 551,
+ 555
+ ]
}
],
"sources": [
@@ -20891,7 +21613,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -21027,7 +21753,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -21264,7 +21995,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 295, 299, 290, 297, 298, 294, 289]
+ "children": [
+ 296,
+ 295,
+ 299,
+ 290,
+ 297,
+ 298,
+ 294,
+ 289
+ ]
}
],
"sources": [
@@ -21286,7 +22026,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 12
}
],
@@ -21308,7 +22048,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 33
}
],
@@ -21332,13 +22072,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [708]
+ "children": [
+ 708
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 31
}
]
@@ -21354,7 +22096,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 12
}
],
@@ -21379,7 +22121,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 628,
+ "line": 631,
"character": 2
}
],
@@ -21395,12 +22137,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 629,
"character": 2
}
],
@@ -21414,13 +22156,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [583, 582]
+ "children": [
+ 583,
+ 582
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 42
}
]
@@ -21436,7 +22181,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 12
}
],
@@ -21456,12 +22201,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor to be challenged."
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 624,
"character": 2
}
],
@@ -21475,13 +22220,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [579]
+ "children": [
+ 579
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 33
}
]
@@ -21516,10 +22263,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 599,
"character": 2
}
],
@@ -21536,10 +22286,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 600,
+ "line": 603,
"character": 2
}
],
@@ -21556,10 +22309,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 601,
"character": 2
}
],
@@ -21573,7 +22329,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 568, 567]
+ "children": [
+ 566,
+ 568,
+ 567
+ ]
}
],
"sources": [
@@ -21595,7 +22355,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 12
}
],
@@ -21620,7 +22380,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 608,
"character": 2
}
],
@@ -21634,13 +22394,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [571]
+ "children": [
+ 571
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 32
}
]
@@ -21656,7 +22418,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 12
}
],
@@ -21676,12 +22438,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the challenge being verified."
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 616,
"character": 2
}
],
@@ -21702,7 +22464,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 619,
"character": 2
}
],
@@ -21718,12 +22480,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 613,
"character": 2
}
],
@@ -21737,13 +22499,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [575, 576, 574]
+ "children": [
+ 575,
+ 576,
+ 574
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 30
}
]
@@ -21866,7 +22632,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [317, 318]
+ "children": [
+ 317,
+ 318
+ ]
}
],
"sources": [
@@ -21902,7 +22671,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [315, 319]
+ "children": [
+ 315,
+ 319
+ ]
}
],
"sources": [
@@ -21987,7 +22759,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [323, 324]
+ "children": [
+ 323,
+ 324
+ ]
}
],
"sources": [
@@ -22024,7 +22799,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [321, 325]
+ "children": [
+ 321,
+ 325
+ ]
}
],
"sources": [
@@ -22198,7 +22976,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [
+ 330
+ ]
}
],
"sources": [
@@ -22234,7 +23014,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [328, 331]
+ "children": [
+ 328,
+ 331
+ ]
}
],
"sources": [
@@ -22297,7 +23080,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 334]
+ "children": [
+ 333,
+ 334
+ ]
}
],
"sources": [
@@ -22468,7 +23254,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [484, 482, 483]
+ "children": [
+ 484,
+ 482,
+ 483
+ ]
}
],
"sources": [
@@ -22508,7 +23298,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [480, 479]
+ "children": [
+ 480,
+ 479
+ ]
}
],
"sources": [
@@ -22643,7 +23436,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [453, 452]
+ "children": [
+ 453,
+ 452
+ ]
}
],
"sources": [
@@ -22682,7 +23478,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [448, 450, 449]
+ "children": [
+ 448,
+ 450,
+ 449
+ ]
}
],
"sources": [
@@ -22779,7 +23579,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [460, 459]
+ "children": [
+ 460,
+ 459
+ ]
}
],
"sources": [
@@ -22839,7 +23642,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 456, 455]
+ "children": [
+ 457,
+ 456,
+ 455
+ ]
}
],
"sources": [
@@ -23022,7 +23829,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468, 466, 467]
+ "children": [
+ 469,
+ 468,
+ 466,
+ 467
+ ]
}
],
"sources": [
@@ -23040,7 +23852,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [
+ 463,
+ 464
+ ]
}
],
"sources": [
@@ -23160,7 +23975,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [476, 475, 474]
+ "children": [
+ 476,
+ 475,
+ 474
+ ]
}
],
"sources": [
@@ -23199,7 +24018,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 471]
+ "children": [
+ 472,
+ 471
+ ]
}
],
"sources": [
@@ -23314,7 +24136,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [512, 511]
+ "children": [
+ 512,
+ 511
+ ]
}
],
"sources": [
@@ -23332,7 +24157,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509]
+ "children": [
+ 509
+ ]
}
],
"sources": [
@@ -23382,7 +24209,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514]
+ "children": [
+ 514
+ ]
}
],
"sources": [
@@ -23429,7 +24258,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [516]
+ "children": [
+ 516
+ ]
}
],
"sources": [
@@ -23591,7 +24422,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 437, 436]
+ "children": [
+ 438,
+ 437,
+ 436
+ ]
}
],
"sources": [
@@ -23630,7 +24465,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432, 434, 433]
+ "children": [
+ 432,
+ 434,
+ 433
+ ]
}
],
"sources": [
@@ -23727,7 +24566,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [445, 444]
+ "children": [
+ 445,
+ 444
+ ]
}
],
"sources": [
@@ -23787,7 +24629,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 441, 440]
+ "children": [
+ 442,
+ 441,
+ 440
+ ]
}
],
"sources": [
@@ -23811,7 +24657,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 917,
+ "line": 903,
"character": 12
}
],
@@ -23924,7 +24770,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339]
+ "children": [
+ 339
+ ]
}
],
"sources": [
@@ -23960,7 +24808,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337, 340]
+ "children": [
+ 337,
+ 340
+ ]
}
],
"sources": [
@@ -24026,7 +24877,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
],
"sources": [
@@ -24063,7 +24916,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 345]
+ "children": [
+ 342,
+ 345
+ ]
}
],
"sources": [
@@ -24182,7 +25038,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -24257,7 +25116,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -24371,7 +25235,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -24425,7 +25292,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -24536,28 +25408,97 @@
{
"title": "Classes",
"kind": 128,
- "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74]
+ "children": [
+ 727,
+ 722,
+ 787,
+ 774,
+ 812,
+ 762,
+ 740,
+ 747,
+ 1,
+ 74
+ ]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489
+ 355,
+ 410,
+ 369,
+ 539,
+ 698,
+ 653,
+ 346,
+ 420,
+ 428,
+ 383,
+ 376,
+ 405,
+ 358,
+ 380,
+ 497,
+ 489
]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533,
- 523, 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284,
- 326, 477, 446, 461, 507, 430, 705, 335, 488
+ 286,
+ 285,
+ 682,
+ 673,
+ 695,
+ 686,
+ 621,
+ 597,
+ 642,
+ 631,
+ 612,
+ 584,
+ 300,
+ 641,
+ 709,
+ 506,
+ 533,
+ 523,
+ 542,
+ 556,
+ 543,
+ 563,
+ 528,
+ 517,
+ 287,
+ 706,
+ 580,
+ 577,
+ 564,
+ 569,
+ 572,
+ 505,
+ 313,
+ 284,
+ 326,
+ 477,
+ 446,
+ 461,
+ 507,
+ 430,
+ 705,
+ 335,
+ 488
]
},
{
"title": "Functions",
"kind": 64,
- "children": [719, 716]
+ "children": [
+ 719,
+ 716
+ ]
}
],
"sources": [
@@ -24645,17 +25586,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -25299,17 +26255,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -25690,7 +26661,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [12, 10, 11]
+ "children": [
+ 12,
+ 10,
+ 11
+ ]
}
]
}
@@ -26248,7 +27223,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [45, 44]
+ "children": [
+ 45,
+ 44
+ ]
}
]
}
@@ -26366,17 +27344,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": [
@@ -27250,17 +28238,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -28615,7 +29618,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [360, 363, 365, 362, 361, 364]
+ "children": [
+ 360,
+ 363,
+ 365,
+ 362,
+ 361,
+ 364
+ ]
}
]
}
@@ -30162,7 +31172,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337]
+ "children": [
+ 337
+ ]
}
]
}
@@ -31190,7 +32202,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [300]
+ "children": [
+ 300
+ ]
}
]
}
@@ -31371,7 +32385,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322, 324, 323]
+ "children": [
+ 322,
+ 324,
+ 323
+ ]
}
]
}
@@ -31523,7 +32541,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [329, 331, 330]
+ "children": [
+ 329,
+ 331,
+ 330
+ ]
}
]
}
@@ -31852,7 +32874,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
]
}
@@ -33131,7 +34155,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [270, 271]
+ "children": [
+ 270,
+ 271
+ ]
}
]
}
@@ -33283,7 +34310,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [277, 278]
+ "children": [
+ 277,
+ 278
+ ]
}
]
}
@@ -33623,20 +34653,66 @@
{
"title": "Constructors",
"kind": 512,
- "children": [113]
+ "children": [
+ 113
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
+ "children": [
+ 383,
+ 375,
+ 378,
+ 373,
+ 371,
+ 374,
+ 376,
+ 377,
+ 372
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
- 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
- 263, 386, 384
+ 345,
+ 207,
+ 199,
+ 352,
+ 119,
+ 356,
+ 301,
+ 354,
+ 135,
+ 143,
+ 175,
+ 191,
+ 183,
+ 167,
+ 332,
+ 151,
+ 159,
+ 279,
+ 350,
+ 127,
+ 285,
+ 295,
+ 316,
+ 255,
+ 338,
+ 247,
+ 215,
+ 223,
+ 231,
+ 239,
+ 368,
+ 366,
+ 311,
+ 348,
+ 263,
+ 386,
+ 384
]
}
],
@@ -33951,7 +35027,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [59, 57, 58]
+ "children": [
+ 59,
+ 57,
+ 58
+ ]
}
]
}
@@ -34245,7 +35325,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [109]
+ "children": [
+ 109
+ ]
}
]
}
@@ -34422,7 +35504,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [88]
+ "children": [
+ 88
+ ]
}
]
}
@@ -34638,7 +35722,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 80]
+ "children": [
+ 81,
+ 80
+ ]
}
]
}
@@ -34804,7 +35891,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [104]
+ "children": [
+ 104
+ ]
}
]
}
@@ -35027,7 +36116,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [97, 96, 95]
+ "children": [
+ 97,
+ 96,
+ 95
+ ]
}
]
}
@@ -35071,17 +36164,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": [105, 82, 73, 98, 89]
+ "children": [
+ 105,
+ 82,
+ 73,
+ 98,
+ 89
+ ]
}
],
"sources": [
@@ -35858,17 +36965,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -36597,7 +37719,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 460, 462, 459, 458, 461]
+ "children": [
+ 457,
+ 460,
+ 462,
+ 459,
+ 458,
+ 461
+ ]
}
]
}
@@ -36805,7 +37934,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [434]
+ "children": [
+ 434
+ ]
}
]
}
@@ -37033,7 +38164,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 421, 420]
+ "children": [
+ 419,
+ 421,
+ 420
+ ]
}
]
}
@@ -37180,7 +38315,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [426, 428, 427]
+ "children": [
+ 426,
+ 428,
+ 427
+ ]
}
]
}
@@ -37311,7 +38450,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441]
+ "children": [
+ 441
+ ]
}
]
}
@@ -37922,17 +39063,44 @@
{
"title": "Constructors",
"kind": 512,
- "children": [402]
+ "children": [
+ 402
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
+ "children": [
+ 480,
+ 472,
+ 475,
+ 470,
+ 468,
+ 471,
+ 473,
+ 474,
+ 469
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
+ "children": [
+ 442,
+ 449,
+ 453,
+ 451,
+ 429,
+ 447,
+ 413,
+ 435,
+ 465,
+ 463,
+ 408,
+ 445,
+ 483,
+ 481
+ ]
}
],
"sources": [
@@ -38110,7 +39278,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [542, 540, 541, 539]
+ "children": [
+ 542,
+ 540,
+ 541,
+ 539
+ ]
}
],
"sources": [
@@ -38191,7 +39364,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
},
{
@@ -38218,7 +39394,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
}
],
@@ -38226,12 +39405,23 @@
{
"title": "Classes",
"kind": 128,
- "children": [498, 1, 112, 49, 401]
+ "children": [
+ 498,
+ 1,
+ 112,
+ 49,
+ 401
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [537, 535, 531, 533]
+ "children": [
+ 537,
+ 535,
+ 531,
+ 533
+ ]
}
],
"sources": [
@@ -38319,7 +39509,11 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [501, 503, 502]
+ "children": [
+ 501,
+ 503,
+ 502
+ ]
}
],
"sources": [
@@ -38418,7 +39612,12 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [505, 508, 506, 507]
+ "children": [
+ 505,
+ 508,
+ 506,
+ 507
+ ]
}
],
"sources": [
@@ -38498,7 +39697,11 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [511, 512, 510]
+ "children": [
+ 511,
+ 512,
+ 510
+ ]
}
],
"sources": [
@@ -38597,7 +39800,12 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [517, 516, 514, 515]
+ "children": [
+ 517,
+ 516,
+ 514,
+ 515
+ ]
}
],
"sources": [
@@ -38776,7 +39984,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -38841,7 +40052,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -38859,7 +40072,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -38877,7 +40093,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -39250,7 +40468,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425, 424, 427, 422, 423, 431, 426, 421, 420
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
]
}
],
@@ -39870,7 +41096,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -40073,7 +41304,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -40138,7 +41372,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -40156,7 +41392,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -40174,7 +41413,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -40606,7 +41847,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -40722,19 +41969,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -40824,20 +42092,54 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
- 326, 332, 328, 327, 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ "children": [
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
+ ]
}
],
"sources": [
@@ -41026,7 +42328,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -41292,7 +42599,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -41376,7 +42685,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -41478,7 +42790,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -41577,7 +42891,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -41690,7 +43006,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -41940,7 +43258,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -42206,7 +43529,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -42472,7 +43800,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -42738,7 +44071,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -42900,7 +44238,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -43447,17 +44787,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -43814,7 +45177,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ "children": [
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
+ ]
}
],
"sources": [
@@ -44433,7 +45806,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -44636,7 +46014,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -44701,7 +46082,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -44719,7 +46102,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -44737,7 +46123,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -45169,7 +46557,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -45439,7 +46833,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -45504,7 +46901,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -45522,7 +46921,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -45540,7 +46942,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -45577,22 +46981,52 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325,
- 343, 329, 318, 326, 332, 328, 327, 334, 335, 336,
- 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 366, 344, 362, 346, 350, 364, 357, 370, 355, 352,
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
373
]
}
@@ -45783,7 +47217,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -46049,7 +47488,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -46133,7 +47574,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -46235,7 +47679,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -46334,7 +47780,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -46447,7 +47895,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -46697,7 +48147,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -46963,7 +48418,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -47229,7 +48689,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -47495,7 +48960,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -47657,7 +49127,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -48204,17 +49676,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -48304,20 +49799,54 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
- 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ "children": [
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
+ ]
}
],
"sources": [
@@ -48540,7 +50069,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -48605,7 +50137,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -48623,7 +50157,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -48641,7 +50178,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -49014,8 +50553,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425, 424, 427, 422, 423, 431,
- 426, 421, 420
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
]
}
],
@@ -49635,7 +51181,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -49839,7 +51390,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 301, 300
+ 301,
+ 300
]
}
],
@@ -49905,7 +51457,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -49923,7 +51477,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -49941,7 +51498,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -50374,7 +51933,11 @@
"title": "Properties",
"kind": 1024,
"children": [
- 438, 441, 439, 440, 437
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
]
}
],
@@ -50557,22 +52120,52 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325,
- 343, 329, 318, 326, 332, 328, 327, 334, 335, 336,
- 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 366, 344, 362, 346, 350, 364, 357, 370, 355, 352,
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
373
]
}
@@ -50763,7 +52356,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -51029,7 +52627,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -51113,7 +52713,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -51215,7 +52818,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -51314,7 +52919,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -51427,7 +53034,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -51677,7 +53286,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -51943,7 +53557,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -52209,7 +53828,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -52475,7 +54099,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -52637,7 +54266,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -53184,17 +54815,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -53328,12 +54982,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [37, 38]
+ "children": [
+ 37,
+ 38
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [39]
+ "children": [
+ 39
+ ]
}
]
}
@@ -53429,12 +55088,20 @@
{
"title": "Constructors",
"kind": 512,
- "children": [28]
+ "children": [
+ 28
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [35, 41, 34, 33, 32]
+ "children": [
+ 35,
+ 41,
+ 34,
+ 33,
+ 32
+ ]
}
],
"sources": [
@@ -53561,7 +55228,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -53626,7 +55296,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -53644,7 +55316,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -53662,7 +55337,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -53995,7 +55672,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ "children": [
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
+ ]
}
],
"sources": [
@@ -54127,7 +55814,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -54257,7 +55950,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -54496,7 +56194,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457, 458]
+ "children": [
+ 456,
+ 457,
+ 458
+ ]
}
],
"sources": [
@@ -54668,7 +56370,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 467, 468]
+ "children": [
+ 466,
+ 467,
+ 468
+ ]
}
],
"sources": [
@@ -54852,7 +56558,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [475, 476, 478]
+ "children": [
+ 475,
+ 476,
+ 478
+ ]
}
],
"sources": [
@@ -55039,7 +56749,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [475, 476, 478]
+ "children": [
+ 475,
+ 476,
+ 478
+ ]
}
],
"sources": [
@@ -55215,7 +56929,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457, 458]
+ "children": [
+ 456,
+ 457,
+ 458
+ ]
}
],
"sources": [
@@ -55387,7 +57105,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 467, 468]
+ "children": [
+ 466,
+ 467,
+ 468
+ ]
}
],
"sources": [
@@ -55517,7 +57239,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [487, 485, 486, 488]
+ "children": [
+ 487,
+ 485,
+ 486,
+ 488
+ ]
}
],
"sources": [
@@ -55645,7 +57372,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 494]
+ "children": [
+ 493,
+ 491,
+ 492,
+ 494
+ ]
}
],
"sources": [
@@ -55751,17 +57483,40 @@
{
"title": "Enumerations",
"kind": 8,
- "children": [500, 504, 509, 513]
+ "children": [
+ 500,
+ 504,
+ 509,
+ 513
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [55, 306, 1]
+ "children": [
+ 55,
+ 306,
+ 1
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
+ "children": [
+ 294,
+ 305,
+ 418,
+ 435,
+ 442,
+ 449,
+ 473,
+ 454,
+ 464,
+ 483,
+ 489,
+ 495,
+ 499
+ ]
}
],
"sources": [
@@ -55964,7 +57719,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [400, 399, 401]
+ "children": [
+ 400,
+ 399,
+ 401
+ ]
}
]
}
@@ -55977,17 +57736,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [391]
+ "children": [
+ 391
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [395]
+ "children": [
+ 395
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [396]
+ "children": [
+ 396
+ ]
}
],
"sources": [
@@ -56256,7 +58021,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306]
+ "children": [
+ 306
+ ]
}
]
}
@@ -56333,7 +58100,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [308, 309]
+ "children": [
+ 308,
+ 309
+ ]
}
]
}
@@ -56389,7 +58159,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 312]
+ "children": [
+ 311,
+ 312
+ ]
}
]
}
@@ -56513,7 +58286,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
]
}
@@ -56542,7 +58317,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 345]
+ "children": [
+ 342,
+ 345
+ ]
}
]
}
@@ -56598,7 +58376,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348]
+ "children": [
+ 347,
+ 348
+ ]
}
]
}
@@ -56722,7 +58503,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333]
+ "children": [
+ 333
+ ]
}
]
}
@@ -56751,7 +58534,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [331, 334]
+ "children": [
+ 331,
+ 334
+ ]
}
]
}
@@ -56807,7 +58593,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [336, 337]
+ "children": [
+ 336,
+ 337
+ ]
}
]
}
@@ -56975,7 +58764,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 297]
+ "children": [
+ 296,
+ 297
+ ]
}
]
}
@@ -57031,7 +58823,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [299, 300]
+ "children": [
+ 299,
+ 300
+ ]
}
]
}
@@ -57139,7 +58934,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [287, 288]
+ "children": [
+ 287,
+ 288
+ ]
}
]
}
@@ -57195,7 +58993,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [290, 291]
+ "children": [
+ 290,
+ 291
+ ]
}
]
}
@@ -57299,7 +59100,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [318]
+ "children": [
+ 318
+ ]
}
]
}
@@ -57366,7 +59169,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322]
+ "children": [
+ 322
+ ]
}
]
}
@@ -57395,7 +59200,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [320, 323]
+ "children": [
+ 320,
+ 323
+ ]
}
]
}
@@ -57451,7 +59259,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [325, 326]
+ "children": [
+ 325,
+ 326
+ ]
}
]
}
@@ -57481,12 +59292,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [259]
+ "children": [
+ 259
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [301, 338, 327, 271, 292, 284, 313]
+ "children": [
+ 301,
+ 338,
+ 327,
+ 271,
+ 292,
+ 284,
+ 313
+ ]
}
],
"sources": [
@@ -57565,7 +59386,9 @@
{
"title": "Constructors",
"kind": 512,
- "children": [386]
+ "children": [
+ 386
+ ]
}
],
"sources": [
@@ -57688,12 +59511,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [404]
+ "children": [
+ 404
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [408]
+ "children": [
+ 408
+ ]
}
],
"sources": [
@@ -57831,7 +59658,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353, 350, 351, 352, 355, 354]
+ "children": [
+ 353,
+ 350,
+ 351,
+ 352,
+ 355,
+ 354
+ ]
}
],
"sources": [
@@ -57879,7 +59713,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [379]
+ "children": [
+ 379
+ ]
}
],
"sources": [
@@ -58077,7 +59913,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
+ "children": [
+ 358,
+ 365,
+ 362,
+ 360,
+ 363,
+ 364,
+ 357,
+ 359,
+ 361
+ ]
}
],
"sources": [
@@ -58169,7 +60015,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -58210,7 +60060,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [381]
+ "children": [
+ 381
+ ]
}
],
"sources": [
@@ -58326,7 +60178,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 375, 377, 376]
+ "children": [
+ 374,
+ 375,
+ 377,
+ 376
+ ]
}
],
"sources": [
@@ -58389,7 +60246,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [367, 368]
+ "children": [
+ 367,
+ 368
+ ]
}
],
"sources": [
@@ -58451,17 +60311,32 @@
{
"title": "Classes",
"kind": 128,
- "children": [390, 258, 385, 403]
+ "children": [
+ 390,
+ 258,
+ 385,
+ 403
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [349, 378, 356, 369, 380, 373, 366]
+ "children": [
+ 349,
+ 378,
+ 356,
+ 369,
+ 380,
+ 373,
+ 366
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [382]
+ "children": [
+ 382
+ ]
}
],
"sources": [
@@ -58720,7 +60595,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [48]
+ "children": [
+ 48
+ ]
}
]
}
@@ -58797,7 +60674,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [50, 51]
+ "children": [
+ 50,
+ 51
+ ]
}
]
}
@@ -58853,7 +60733,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54]
+ "children": [
+ 53,
+ 54
+ ]
}
]
}
@@ -58967,7 +60850,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86]
+ "children": [
+ 86
+ ]
}
]
}
@@ -58996,7 +60881,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 87]
+ "children": [
+ 84,
+ 87
+ ]
}
]
}
@@ -59052,7 +60940,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89, 90]
+ "children": [
+ 89,
+ 90
+ ]
}
]
}
@@ -59166,7 +61057,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75]
+ "children": [
+ 75
+ ]
}
]
}
@@ -59195,7 +61088,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73, 76]
+ "children": [
+ 73,
+ 76
+ ]
}
]
}
@@ -59251,7 +61147,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [
+ 78,
+ 79
+ ]
}
]
}
@@ -59362,7 +61261,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [38, 39]
+ "children": [
+ 38,
+ 39
+ ]
}
]
}
@@ -59418,7 +61320,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [41, 42]
+ "children": [
+ 41,
+ 42
+ ]
}
]
}
@@ -59516,7 +61421,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [29, 30]
+ "children": [
+ 29,
+ 30
+ ]
}
]
}
@@ -59572,7 +61480,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [32, 33]
+ "children": [
+ 32,
+ 33
+ ]
}
]
}
@@ -59666,7 +61577,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [60]
+ "children": [
+ 60
+ ]
}
]
}
@@ -59733,7 +61646,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64]
+ "children": [
+ 64
+ ]
}
]
}
@@ -59762,7 +61677,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62, 65]
+ "children": [
+ 62,
+ 65
+ ]
}
]
}
@@ -59818,7 +61736,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [67, 68]
+ "children": [
+ 67,
+ 68
+ ]
}
]
}
@@ -59838,12 +61759,21 @@
{
"title": "Constructors",
"kind": 512,
- "children": [4]
+ "children": [
+ 4
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
+ "children": [
+ 43,
+ 80,
+ 69,
+ 34,
+ 26,
+ 55
+ ]
}
],
"sources": [
@@ -59866,7 +61796,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [3]
+ "children": [
+ 3
+ ]
}
],
"sources": [
@@ -60171,7 +62103,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [176]
+ "children": [
+ 176
+ ]
}
]
}
@@ -60200,7 +62134,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [174, 177]
+ "children": [
+ 174,
+ 177
+ ]
}
]
}
@@ -60256,7 +62193,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179, 180]
+ "children": [
+ 179,
+ 180
+ ]
}
]
}
@@ -60375,7 +62315,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [187]
+ "children": [
+ 187
+ ]
}
]
}
@@ -60442,7 +62384,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191]
+ "children": [
+ 191
+ ]
}
]
}
@@ -60471,7 +62415,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [189, 192]
+ "children": [
+ 189,
+ 192
+ ]
}
]
}
@@ -60527,7 +62474,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [194, 195]
+ "children": [
+ 194,
+ 195
+ ]
}
]
}
@@ -60649,7 +62599,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [
+ 202
+ ]
}
]
}
@@ -60772,7 +62724,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [206, 207, 208]
+ "children": [
+ 206,
+ 207,
+ 208
+ ]
}
]
}
@@ -60802,7 +62758,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [204, 209]
+ "children": [
+ 204,
+ 209
+ ]
}
]
}
@@ -60858,7 +62817,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [211, 212]
+ "children": [
+ 211,
+ 212
+ ]
}
]
}
@@ -60970,7 +62932,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [217, 218]
+ "children": [
+ 217,
+ 218
+ ]
}
]
}
@@ -61026,7 +62991,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [220, 221]
+ "children": [
+ 220,
+ 221
+ ]
}
]
}
@@ -61131,7 +63099,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [227]
+ "children": [
+ 227
+ ]
}
]
}
@@ -61192,7 +63162,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231]
+ "children": [
+ 231
+ ]
}
]
}
@@ -61203,7 +63175,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [229]
+ "children": [
+ 229
+ ]
}
]
}
@@ -61368,7 +63342,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 375, 377, 376]
+ "children": [
+ 374,
+ 375,
+ 377,
+ 376
+ ]
}
],
"sources": [
@@ -61430,7 +63409,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [379]
+ "children": [
+ 379
+ ]
}
],
"sources": [
@@ -61504,7 +63485,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [247, 248]
+ "children": [
+ 247,
+ 248
+ ]
}
]
}
@@ -61560,7 +63544,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 251]
+ "children": [
+ 250,
+ 251
+ ]
}
]
}
@@ -61688,7 +63675,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [164]
+ "children": [
+ 164
+ ]
}
]
}
@@ -61717,7 +63706,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [162, 165]
+ "children": [
+ 162,
+ 165
+ ]
}
]
}
@@ -61773,7 +63765,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [
+ 167,
+ 168
+ ]
}
]
}
@@ -61890,7 +63885,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [236, 237]
+ "children": [
+ 236,
+ 237
+ ]
}
]
}
@@ -61946,7 +63944,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [239, 240]
+ "children": [
+ 239,
+ 240
+ ]
}
]
}
@@ -62173,7 +64174,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -62247,7 +64252,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [152]
+ "children": [
+ 152
+ ]
}
]
}
@@ -62276,7 +64283,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 153]
+ "children": [
+ 150,
+ 153
+ ]
}
]
}
@@ -62332,7 +64342,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 156]
+ "children": [
+ 155,
+ 156
+ ]
}
]
}
@@ -62559,7 +64572,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -62633,7 +64650,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [139]
+ "children": [
+ 139
+ ]
}
]
}
@@ -62662,7 +64681,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137, 140]
+ "children": [
+ 137,
+ 140
+ ]
}
]
}
@@ -62718,7 +64740,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [142, 143]
+ "children": [
+ 142,
+ 143
+ ]
}
]
}
@@ -62738,12 +64763,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [93]
+ "children": [
+ 93
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
+ "children": [
+ 169,
+ 181,
+ 196,
+ 213,
+ 222,
+ 241,
+ 157,
+ 232,
+ 144,
+ 131
+ ]
}
],
"sources": [
@@ -62759,7 +64797,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [92]
+ "children": [
+ 92
+ ]
}
],
"sources": [
@@ -62775,7 +64815,11 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 2, 91]
+ "children": [
+ 1,
+ 2,
+ 91
+ ]
}
]
},
@@ -62968,7 +65012,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [8, 7]
+ "children": [
+ 8,
+ 7
+ ]
}
]
}
@@ -63135,7 +65182,7 @@
"sources": [
{
"fileName": "src/FunctionsClient.ts",
- "line": 43,
+ "line": 44,
"character": 8
}
],
@@ -63170,7 +65217,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "the name of the function to invoke\n"
+ "shortText": "The name of the Function to invoke."
},
"type": {
"type": "intrinsic",
@@ -63179,13 +65226,201 @@
},
{
"id": 27,
- "name": "invokeOptions",
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "Options for invoking the Function.\n"
+ },
"type": {
"type": "reference",
- "name": "FunctionInvokeOptions"
+ "id": 28,
+ "name": "FunctionInvokeOptions",
+ "dereferenced": {
+ "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": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "{}"
}
@@ -63195,7 +65430,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 50,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -63264,17 +65499,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": [
@@ -63286,14 +65530,14 @@
]
},
{
- "id": 28,
+ "id": 35,
"name": "FunctionsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 29,
+ "id": 36,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63307,14 +65551,14 @@
],
"signatures": [
{
- "id": 30,
+ "id": 37,
"name": "new FunctionsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 31,
+ "id": 38,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -63325,7 +65569,7 @@
}
},
{
- "id": 32,
+ "id": 39,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -63337,7 +65581,7 @@
"defaultValue": "'FunctionsError'"
},
{
- "id": 33,
+ "id": 40,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -63352,7 +65596,7 @@
],
"type": {
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
},
"overwrites": {
@@ -63367,7 +65611,7 @@
}
},
{
- "id": 34,
+ "id": 41,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -63389,12 +65633,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [29]
+ "children": [
+ 36
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [34]
+ "children": [
+ 41
+ ]
}
],
"sources": [
@@ -63415,30 +65663,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError"
},
{
"type": "reference",
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError"
},
{
"type": "reference",
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError"
}
]
},
{
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 36,
+ "id": 43,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63452,14 +65700,14 @@
],
"signatures": [
{
- "id": 37,
+ "id": 44,
"name": "new FunctionsFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 38,
+ "id": 45,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -63472,24 +65720,24 @@
],
"type": {
"type": "reference",
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 39,
+ "id": 46,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -63507,7 +65755,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -63516,12 +65764,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [36]
+ "children": [
+ 43
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [39]
+ "children": [
+ 46
+ ]
}
],
"sources": [
@@ -63534,20 +65786,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 41,
+ "id": 48,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63561,14 +65813,14 @@
],
"signatures": [
{
- "id": 42,
+ "id": 49,
"name": "new FunctionsHttpError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 43,
+ "id": 50,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -63581,24 +65833,24 @@
],
"type": {
"type": "reference",
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 44,
+ "id": 51,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -63616,7 +65868,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -63625,12 +65877,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [41]
+ "children": [
+ 48
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [44]
+ "children": [
+ 51
+ ]
}
],
"sources": [
@@ -63643,20 +65899,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 46,
+ "id": 53,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63670,14 +65926,14 @@
],
"signatures": [
{
- "id": 47,
+ "id": 54,
"name": "new FunctionsRelayError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 48,
+ "id": 55,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -63690,24 +65946,24 @@
],
"type": {
"type": "reference",
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 49,
+ "id": 56,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -63725,7 +65981,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -63734,12 +65990,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [46]
+ "children": [
+ 53
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [49]
+ "children": [
+ 56
+ ]
}
],
"sources": [
@@ -63752,13 +66012,197 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 50,
+ "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": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
"name": "FunctionsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -63772,7 +66216,7 @@
],
"typeParameter": [
{
- "id": 51,
+ "id": 58,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -63781,7 +66225,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
}
],
@@ -63789,12 +66236,21 @@
{
"title": "Classes",
"kind": 128,
- "children": [1, 28, 35, 40, 45]
+ "children": [
+ 1,
+ 35,
+ 42,
+ 47,
+ 52
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [50]
+ "children": [
+ 28,
+ 57
+ ]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json
index 11d88bd4d89..882d2ab3ef4 100644
--- a/spec/enrichments/tsdoc_v2/functions.json
+++ b/spec/enrichments/tsdoc_v2/functions.json
@@ -1,1042 +1,1267 @@
{
- "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": 43,
- "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\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 27,
- "name": "invokeOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "FunctionInvokeOptions"
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 50,
- "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": 28,
- "name": "FunctionsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 29,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 30,
- "name": "new FunctionsError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 31,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 32,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'FunctionsError'"
- },
- {
- "id": 33,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 28,
- "name": "FunctionsError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- },
- {
- "id": 34,
- "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": [29]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [34]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 17,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 35,
- "name": "FunctionsFetchError"
- },
- {
- "type": "reference",
- "id": 40,
- "name": "FunctionsHttpError"
- },
- {
- "type": "reference",
- "id": 45,
- "name": "FunctionsRelayError"
- }
- ]
- },
- {
- "id": 35,
- "name": "FunctionsFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 36,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 37,
- "name": "new FunctionsFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 38,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 35,
- "name": "FunctionsFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 29,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 39,
- "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": 34,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [36]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [39]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 26,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 28,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 40,
- "name": "FunctionsHttpError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 41,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 42,
- "name": "new FunctionsHttpError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 43,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 40,
- "name": "FunctionsHttpError"
- },
- "overwrites": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 29,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 44,
- "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": 34,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [41]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [44]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 38,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 28,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 45,
- "name": "FunctionsRelayError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 46,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 47,
- "name": "new FunctionsRelayError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 48,
- "name": "context",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 45,
- "name": "FunctionsRelayError"
- },
- "overwrites": {
- "type": "reference",
- "id": 30,
- "name": "FunctionsError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 29,
- "name": "FunctionsError.constructor"
- }
- },
- {
- "id": 49,
- "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": 34,
- "name": "FunctionsError.context"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [46]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 28,
- "name": "FunctionsError"
- }
- ]
- },
- {
- "id": 50,
- "name": "FunctionsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 15,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 51,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 51,
- "name": "T"
- }
- ],
- "name": "FunctionsResponseSuccess"
- },
- {
- "type": "reference",
- "name": "FunctionsResponseFailure"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [1, 28, 35, 40, 45]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [50]
- }
- ],
- "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": 57,
+ "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": 35,
+ "name": "FunctionsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 36,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 37,
+ "name": "new FunctionsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 38,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 39,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "'FunctionsError'"
+ },
+ {
+ "id": 40,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ },
+ {
+ "id": 41,
+ "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": [
+ 36
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 41
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 42,
+ "name": "FunctionsFetchError"
+ },
+ {
+ "type": "reference",
+ "id": 47,
+ "name": "FunctionsHttpError"
+ },
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "FunctionsRelayError"
+ }
+ ]
+ },
+ {
+ "id": 42,
+ "name": "FunctionsFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 43,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "new FunctionsFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 45,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 42,
+ "name": "FunctionsFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 46,
+ "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": 41,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 43
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 46
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 26,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 47,
+ "name": "FunctionsHttpError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 48,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 49,
+ "name": "new FunctionsHttpError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 50,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "name": "FunctionsHttpError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 51,
+ "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": 41,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 48
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 51
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 38,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 35,
+ "name": "FunctionsError"
+ }
+ ]
+ },
+ {
+ "id": 52,
+ "name": "FunctionsRelayError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 53,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 54,
+ "name": "new FunctionsRelayError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 55,
+ "name": "context",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 52,
+ "name": "FunctionsRelayError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 37,
+ "name": "FunctionsError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 36,
+ "name": "FunctionsError.constructor"
+ }
+ },
+ {
+ "id": 56,
+ "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": 41,
+ "name": "FunctionsError.context"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 53
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 56
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 35,
+ "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": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
+ "name": "FunctionsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 58,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 58,
+ "name": "T"
+ }
+ ],
+ "name": "FunctionsResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "FunctionsResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 1,
+ 35,
+ 42,
+ 47,
+ 52
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 28,
+ 57
+ ]
+ }
+ ],
+ "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 7f41fc61034..7f6bc89331e 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
+ ]
}
]
}
@@ -354,7 +357,7 @@
"sources": [
{
"fileName": "src/FunctionsClient.ts",
- "line": 43,
+ "line": 44,
"character": 8
}
],
@@ -389,7 +392,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "the name of the function to invoke\n"
+ "shortText": "The name of the Function to invoke."
},
"type": {
"type": "intrinsic",
@@ -398,13 +401,201 @@
},
{
"id": 27,
- "name": "invokeOptions",
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
+ "comment": {
+ "shortText": "Options for invoking the Function.\n"
+ },
"type": {
"type": "reference",
- "name": "FunctionInvokeOptions"
+ "id": 28,
+ "name": "FunctionInvokeOptions",
+ "dereferenced": {
+ "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": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "{}"
}
@@ -414,7 +605,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 50,
+ "id": 57,
"typeArguments": [
{
"type": "reference",
@@ -483,17 +674,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": [
@@ -505,14 +705,14 @@
]
},
{
- "id": 28,
+ "id": 35,
"name": "FunctionsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 29,
+ "id": 36,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -526,14 +726,14 @@
],
"signatures": [
{
- "id": 30,
+ "id": 37,
"name": "new FunctionsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 31,
+ "id": 38,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -544,7 +744,7 @@
}
},
{
- "id": 32,
+ "id": 39,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -556,7 +756,7 @@
"defaultValue": "'FunctionsError'"
},
{
- "id": 33,
+ "id": 40,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -571,7 +771,7 @@
],
"type": {
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
},
"overwrites": {
@@ -586,7 +786,7 @@
}
},
{
- "id": 34,
+ "id": 41,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -608,12 +808,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [29]
+ "children": [
+ 36
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [34]
+ "children": [
+ 41
+ ]
}
],
"sources": [
@@ -634,30 +838,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError"
},
{
"type": "reference",
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError"
},
{
"type": "reference",
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError"
}
]
},
{
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 36,
+ "id": 43,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -671,14 +875,14 @@
],
"signatures": [
{
- "id": 37,
+ "id": 44,
"name": "new FunctionsFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 38,
+ "id": 45,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -691,24 +895,24 @@
],
"type": {
"type": "reference",
- "id": 35,
+ "id": 42,
"name": "FunctionsFetchError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 39,
+ "id": 46,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -726,7 +930,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -735,12 +939,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [36]
+ "children": [
+ 43
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [39]
+ "children": [
+ 46
+ ]
}
],
"sources": [
@@ -753,20 +961,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 41,
+ "id": 48,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -780,14 +988,14 @@
],
"signatures": [
{
- "id": 42,
+ "id": 49,
"name": "new FunctionsHttpError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 43,
+ "id": 50,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -800,24 +1008,24 @@
],
"type": {
"type": "reference",
- "id": 40,
+ "id": 47,
"name": "FunctionsHttpError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 44,
+ "id": 51,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -835,7 +1043,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -844,12 +1052,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [41]
+ "children": [
+ 48
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [44]
+ "children": [
+ 51
+ ]
}
],
"sources": [
@@ -862,20 +1074,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 46,
+ "id": 53,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -889,14 +1101,14 @@
],
"signatures": [
{
- "id": 47,
+ "id": 54,
"name": "new FunctionsRelayError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 48,
+ "id": 55,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -909,24 +1121,24 @@
],
"type": {
"type": "reference",
- "id": 45,
+ "id": 52,
"name": "FunctionsRelayError"
},
"overwrites": {
"type": "reference",
- "id": 30,
+ "id": 37,
"name": "FunctionsError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 29,
+ "id": 36,
"name": "FunctionsError.constructor"
}
},
{
- "id": 49,
+ "id": 56,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -944,7 +1156,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 41,
"name": "FunctionsError.context"
}
}
@@ -953,12 +1165,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [46]
+ "children": [
+ 53
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [49]
+ "children": [
+ 56
+ ]
}
],
"sources": [
@@ -971,13 +1187,197 @@
"extendedTypes": [
{
"type": "reference",
- "id": 28,
+ "id": 35,
"name": "FunctionsError"
}
]
},
{
- "id": 50,
+ "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": 34,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The body of the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 52,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 34,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 44,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
"name": "FunctionsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -991,7 +1391,7 @@
],
"typeParameter": [
{
- "id": 51,
+ "id": 58,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -1000,7 +1400,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
}
],
@@ -1008,12 +1411,21 @@
{
"title": "Classes",
"kind": 128,
- "children": [1, 28, 35, 40, 45]
+ "children": [
+ 1,
+ 35,
+ 42,
+ 47,
+ 52
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [50]
+ "children": [
+ 28,
+ 57
+ ]
}
],
"sources": [
@@ -1023,4 +1435,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 136c9963a19..afd0f1d5758 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -1,13968 +1,14546 @@
{
- "id": 0,
- "name": "@supabase/gotrue-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 727,
- "name": "AuthApiError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 728,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 17,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 729,
- "name": "new AuthApiError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 730,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 731,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 727,
- "name": "AuthApiError"
- },
- "overwrites": {
- "type": "reference",
- "id": 724,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 723,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 732,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 733,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 23,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 734,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 735,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 737,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 26,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 736,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 738,
- "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": [737, 736, 738]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [728]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [732]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [733]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 14,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- ]
- },
- {
- "id": 722,
- "name": "AuthError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 723,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 724,
- "name": "new AuthError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 725,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [723]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 1,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 727,
- "name": "AuthApiError"
- },
- {
- "type": "reference",
- "id": 740,
- "name": "AuthUnknownError"
- },
- {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 787,
- "name": "AuthImplicitGrantRedirectError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 788,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 78,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 789,
- "name": "new AuthImplicitGrantRedirectError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 790,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 791,
- "name": "details",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 792,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 794,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 78,
- "character": 57
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 793,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 78,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [794, 793]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- }
- ],
- "type": {
- "type": "reference",
- "id": 787,
- "name": "AuthImplicitGrantRedirectError"
- },
- "overwrites": {
- "type": "reference",
- "id": 749,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 748,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 795,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 77,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 796,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 798,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 77,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 797,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 77,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [798, 797]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 809,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 753,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 810,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 754,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 799,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 800,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 801,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 805,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 88,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 806,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 808,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 77,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 807,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 77,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [808, 807]
- }
- ]
- }
- }
- ]
- },
- "defaultValue": "..."
- },
- {
- "id": 803,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 86,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 802,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 85,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 804,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 87,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [805, 803, 802, 804]
- }
- ]
- }
- },
- "overwrites": {
- "type": "reference",
- "id": 756,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 755,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [788]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [795, 809, 810]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [799]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 76,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 774,
- "name": "AuthInvalidCredentialsError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 775,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 71,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 776,
- "name": "new AuthInvalidCredentialsError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 777,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 774,
- "name": "AuthInvalidCredentialsError"
- },
- "overwrites": {
- "type": "reference",
- "id": 749,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 748,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 778,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 753,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 779,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 754,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 780,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 781,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 782,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 784,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 783,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 785,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [784, 783, 785]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 756,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 755,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [775]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [778, 779]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [780]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 70,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 812,
- "name": "AuthRetryableFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 813,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 94,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 814,
- "name": "new AuthRetryableFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 815,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 816,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 812,
- "name": "AuthRetryableFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 749,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 748,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 817,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 753,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 818,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 754,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 819,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 820,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 821,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 823,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 822,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 824,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [823, 822, 824]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 756,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 755,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [813]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [817, 818]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [819]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 93,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 762,
- "name": "AuthSessionMissingError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 763,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 65,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 764,
- "name": "new AuthSessionMissingError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 762,
- "name": "AuthSessionMissingError"
- },
- "overwrites": {
- "type": "reference",
- "id": 749,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 748,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 765,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 753,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 766,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 754,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 767,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 768,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 769,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 771,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 770,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 772,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [771, 770, 772]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 756,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 755,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [763]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [765, 766]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [767]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 64,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 740,
- "name": "AuthUnknownError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 741,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 39,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 742,
- "name": "new AuthUnknownError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 743,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 744,
- "name": "originalError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 740,
- "name": "AuthUnknownError"
- },
- "overwrites": {
- "type": "reference",
- "id": 724,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 723,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 745,
- "name": "originalError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [741]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [745]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 36,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- ]
- },
- {
- "id": 747,
- "name": "CustomAuthError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 748,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 749,
- "name": "new CustomAuthError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 750,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 751,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 752,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 747,
- "name": "CustomAuthError"
- },
- "overwrites": {
- "type": "reference",
- "id": 724,
- "name": "AuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 723,
- "name": "AuthError.constructor"
- }
- },
- {
- "id": 753,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "overwrites": {
- "type": "reference",
- "name": "AuthError.name"
- }
- },
- {
- "id": 754,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 755,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 55,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 756,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 757,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 759,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 58,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 758,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 760,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [759, 758, 760]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [748]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [753, 754]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [755]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 46,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 762,
- "name": "AuthSessionMissingError"
- },
- {
- "type": "reference",
- "id": 774,
- "name": "AuthInvalidCredentialsError"
- },
- {
- "type": "reference",
- "id": 787,
- "name": "AuthImplicitGrantRedirectError"
- },
- {
- "type": "reference",
- "id": 812,
- "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": 27,
- "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": 36,
- "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": 33,
- "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": 32,
- "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": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 698,
- "name": "GoTrueAdminMFAApi"
- }
- },
- {
- "id": 43,
- "name": "createUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 138,
- "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": 410,
- "name": "AdminUserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 65,
- "name": "deleteUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 228,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 66,
- "name": "deleteUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Delete a user. Requires a `service_role` key."
- },
- "parameters": [
- {
- "id": 67,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The user id you want to remove.\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": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 40,
- "name": "generateLink",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 104,
- "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": 542,
- "name": "GenerateLinkParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 543,
- "name": "GenerateLinkResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 58,
- "name": "getUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 183,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 59,
- "name": "getUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Get user by id."
- },
- "parameters": [
- {
- "id": 60,
- "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": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 33,
- "name": "inviteUserByEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 74,
- "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": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 37,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 39,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional user metadata\n"
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 38,
- "name": "redirectTo",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."
- },
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 77,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [39, 38]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 46,
- "name": "listUsers",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 159,
- "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.\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 48,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 49,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 50,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 51,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 14
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 383,
- "name": "User"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [51]
- }
- ]
- }
- }
- },
- {
- "id": 52,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 31
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [49, 52]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 53,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 54,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 49
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 55,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 56,
- "name": "users",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 57
- }
- ],
- "type": {
- "type": "tuple"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [56]
- }
- ]
- }
- }
- },
- {
- "id": 57,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 160,
- "character": 70
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [54, 57]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 27,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 51,
- "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": 51,
- "character": 40
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 32,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 51,
- "character": 52
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [31, 32]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 61,
- "name": "updateUserById",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 205,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 62,
- "name": "updateUserById",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates the user data."
- },
- "parameters": [
- {
- "id": 63,
- "name": "uid",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 64,
- "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": 410,
- "name": "AdminUserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 335,
- "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, 65, 40, 58, 33, 46, 27, 61]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueAdminApi.ts",
- "line": 17,
- "character": 21
- }
- ]
- },
- {
- "id": 74,
- "name": "GoTrueClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 75,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 127,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 76,
- "name": "new GoTrueClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "parameters": [
- {
- "id": 77,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 287,
- "name": "GoTrueClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 74,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 78,
- "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": 87,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- },
- {
- "id": 79,
- "name": "mfa",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Namespace for the MFA methods."
- },
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 91,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 653,
- "name": "GoTrueMFAApi"
- }
- },
- {
- "id": 123,
- "name": "getSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 487,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 124,
- "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": 125,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 126,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 489,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 127,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 128,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 490,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "id": 346,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [128]
- }
- ]
- }
- }
- },
- {
- "id": 129,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 492,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [126, 129]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 130,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 131,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 495,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 132,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 133,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 496,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [133]
- }
- ]
- }
- }
- },
- {
- "id": 134,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 498,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [131, 134]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 135,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 136,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 501,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 137,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 138,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 502,
- "character": 10
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [138]
- }
- ]
- }
- }
- },
- {
- "id": 139,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 504,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [136, 139]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 140,
- "name": "getUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 550,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 141,
- "name": "getUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Gets the current user details if there is an existing session."
- },
- "parameters": [
- {
- "id": 142,
- "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": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 101,
- "name": "initialize",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 162,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 102,
- "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": 706,
- "name": "InitializeResult"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 184,
- "name": "onAuthStateChange",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 834,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 185,
- "name": "onAuthStateChange",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Receive a notification every time an auth event happens."
- },
- "parameters": [
- {
- "id": 186,
- "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": 187,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 188,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 189,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 286,
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 190,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 346,
- "name": "Session"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 191,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 192,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 835,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 193,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 194,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 835,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "id": 420,
- "name": "Subscription"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [194]
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [192]
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 159,
- "name": "refreshSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 689,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 160,
- "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": 161,
- "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": 162,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 163,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 689,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [163]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 195,
- "name": "resetPasswordForEmail",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 857,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 196,
- "name": "resetPasswordForEmail",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Sends a password reset request to an email address."
- },
- "parameters": [
- {
- "id": 197,
- "name": "email",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The email address of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 198,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 199,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 201,
- "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": 861,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 200,
- "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": 860,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [201, 200]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 202,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 203,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 865,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 204,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- },
- {
- "id": 205,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 866,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [203, 205]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 206,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 207,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 868,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 208,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 868,
- "character": 20
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [207, 208]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 153,
- "name": "setSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 626,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 154,
- "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": 155,
- "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": 156,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 157,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 627,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 158,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 628,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [157, 158]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 111,
- "name": "signInWithOAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 340,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 112,
- "name": "signInWithOAuth",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user via a third-party provider."
- },
- "parameters": [
- {
- "id": 113,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 477,
- "name": "SignInWithOAuthCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 313,
- "name": "OAuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 114,
- "name": "signInWithOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 355,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 115,
- "name": "signInWithOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf 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."
- },
- "parameters": [
- {
- "id": 116,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 461,
- "name": "SignInWithPasswordlessCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 108,
- "name": "signInWithPassword",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 288,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 109,
- "name": "signInWithPassword",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in an existing user with an email and password or phone and password."
- },
- "parameters": [
- {
- "id": 110,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 446,
- "name": "SignInWithPasswordCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 120,
- "name": "signInWithSSO",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 458,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 121,
- "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\nThis API is experimental and availability is conditional on correct\nsettings on the Auth service.\n",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 122,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 507,
- "name": "SignInWithSSO"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 326,
- "name": "SSOResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 180,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 809,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 181,
- "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": 182,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 183,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 809,
- "character": 29
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [183]
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 105,
- "name": "signUp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 225,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 106,
- "name": "signUp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new user.",
- "returns": "A logged-in session if the server has \"autoconfirm\" ON"
- },
- "parameters": [
- {
- "id": 107,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 430,
- "name": "SignUpWithPasswordCredentials"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 143,
- "name": "updateUser",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 579,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 144,
- "name": "updateUser",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates user data, if there is a logged in user."
- },
- "parameters": [
- {
- "id": 145,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 405,
- "name": "UserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 335,
- "name": "UserResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 117,
- "name": "verifyOtp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 399,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 118,
- "name": "verifyOtp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Log in a user given a User supplied OTP received via mobile."
- },
- "parameters": [
- {
- "id": 119,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 488,
- "name": "VerifyOtpParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 300,
- "name": "AuthResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [75]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [78, 79]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117]
- }
- ],
- "sources": [
- {
- "fileName": "src/GoTrueClient.ts",
- "line": 82,
- "character": 21
- }
- ]
- },
- {
- "id": 355,
- "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": 356,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Authentication method name."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 152,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 357,
- "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": 158,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [356, 357]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 150,
- "character": 17
- }
- ]
- },
- {
- "id": 410,
- "name": "AdminUserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 412,
- "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": 280,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 415,
- "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": 306,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 419,
- "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": 255,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 409,
- "name": "UserAttributes.data"
- }
- },
- {
- "id": 416,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 406,
- "name": "UserAttributes.email"
- }
- },
- {
- "id": 413,
- "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": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 418,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 408,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 417,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 407,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 414,
- "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": 294,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 411,
- "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": "Only a service role can modify.\n\nThe `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": 270,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 258,
- "character": 17
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 405,
- "name": "UserAttributes"
- }
- ]
- },
- {
- "id": 369,
- "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": 374,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 196,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 372,
- "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": 191,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 371,
- "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": 185,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 370,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 182,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 373,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Factor's status."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 194,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "verified"
- },
- {
- "type": "literal",
- "value": "unverified"
- }
- ]
- }
- },
- {
- "id": 375,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 197,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [374, 372, 371, 370, 373, 375]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 180,
- "character": 17
- }
- ]
- },
- {
- "id": 539,
- "name": "GenerateLinkOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 540,
- "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": 540,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 541,
- "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": 542,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [540, 541]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 534,
- "character": 17
- }
- ]
- },
- {
- "id": 698,
- "name": "GoTrueAdminMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication administration API.",
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "children": [
- {
- "id": 702,
- "name": "deleteFactor",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 703,
- "name": "deleteFactor",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#unenroll}\n"
- },
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 704,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 682,
- "name": "AuthMFAAdminDeleteFactorParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 673,
- "name": "AuthMFAAdminDeleteFactorResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 699,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 700,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Lists all factors attached to a user."
- },
- "parameters": [
- {
- "id": 701,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 695,
- "name": "AuthMFAAdminListFactorsParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 686,
- "name": "AuthMFAAdminListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [702, 699]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 889,
- "character": 17
- }
- ]
- },
- {
- "id": 653,
- "name": "GoTrueMFAApi",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "comment": {
- "shortText": "Contains the full multi-factor authentication API."
- },
- "children": [
- {
- "id": 657,
- "name": "challenge",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 658,
- "name": "challenge",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}."
- },
- "parameters": [
- {
- "id": 659,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 577,
- "name": "MFAChallengeParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 621,
- "name": "AuthMFAChallengeResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 666,
- "name": "challengeAndVerify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 667,
- "name": "challengeAndVerify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 668,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 580,
- "name": "MFAChallengeAndVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 584,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 654,
- "name": "enroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 655,
- "name": "enroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.",
- "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#verify}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 656,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 564,
- "name": "MFAEnrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 597,
- "name": "AuthMFAEnrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 671,
- "name": "getAuthenticatorAssuranceLevel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 672,
- "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": 642,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 669,
- "name": "listFactors",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 670,
- "name": "listFactors",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the list of MFA factors enabled for this user. For most use cases\nyou should consider using {@link\nGoTrueMFAApi#getAuthenticatorAssuranceLevel}. This uses a cached version\nof the factors and avoids incurring a network call. If you need to update\nthis list, call {@link GoTrueClient#getUser} first.",
- "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": 631,
- "name": "AuthMFAListFactorsResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 663,
- "name": "unenroll",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 664,
- "name": "unenroll",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level."
- },
- "parameters": [
- {
- "id": 665,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 569,
- "name": "MFAUnenrollParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 612,
- "name": "AuthMFAUnenrollResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 660,
- "name": "verify",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "signatures": [
- {
- "id": 661,
- "name": "verify",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n\n"
- }
- ]
- },
- "parameters": [
- {
- "id": 662,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 572,
- "name": "MFAVerifyParams"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 584,
- "name": "AuthMFAVerifyResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "kind": 2048,
- "children": [657, 666, 654, 671, 669, 663, 660]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 756,
- "character": 17
- }
- ]
- },
- {
- "id": 346,
- "name": "Session",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 349,
- "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": 125,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 352,
- "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": 137,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 351,
- "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": 133,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 348,
- "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": 121,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 347,
- "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": 116,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 350,
- "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": 129,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 353,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 138,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 354,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 139,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 383,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [349, 352, 351, 348, 347, 350, 353, 354]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 112,
- "character": 17
- }
- ]
- },
- {
- "id": 420,
- "name": "Subscription",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 421,
- "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": 313,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 422,
- "name": "callback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 317,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 423,
- "name": "callback",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
- },
- "parameters": [
- {
- "id": 424,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 286,
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 425,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "id": 346,
- "name": "Session"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 426,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 321,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 427,
- "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": [421]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [422, 426]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 309,
- "character": 17
- }
- ]
- },
- {
- "id": 428,
- "name": "UpdatableFactorAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 429,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 325,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [429]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 324,
- "character": 17
- }
- ]
- },
- {
- "id": 383,
- "name": "User",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 393,
- "name": "action_link",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 219,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 385,
- "name": "app_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 211,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 376,
- "name": "UserAppMetadata"
- }
- },
- {
- "id": 387,
- "name": "aud",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 213,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 388,
- "name": "confirmation_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 214,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 397,
- "name": "confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 223,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 396,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 222,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 394,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 220,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 390,
- "name": "email_change_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 216,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "email_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 224,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 404,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 230,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 369,
- "name": "Factor"
- }
- }
- },
- {
- "id": 384,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 210,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 403,
- "name": "identities",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 229,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 358,
- "name": "UserIdentity"
- }
- }
- },
- {
- "id": 392,
- "name": "invited_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 218,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 400,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 226,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 391,
- "name": "new_email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 217,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 395,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 399,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 389,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 401,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 227,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 402,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 228,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 386,
- "name": "user_metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 212,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 380,
- "name": "UserMetadata"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399,
- 389, 401, 402, 386
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 209,
- "character": 17
- }
- ]
- },
- {
- "id": 376,
- "name": "UserAppMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 377,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 201,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [377]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 200,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 378,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 379,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 405,
- "name": "UserAttributes",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 409,
- "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": 255,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 406,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's email."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 237,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [409, 406, 408, 407]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 233,
- "character": 17
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 410,
- "name": "AdminUserAttributes"
- }
- ]
- },
- {
- "id": 358,
- "name": "UserIdentity",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 366,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 168,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 359,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 162,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 361,
- "name": "identity_data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 164,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 362,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 363,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 364,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 367,
- "name": "last_sign_in_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 169,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 365,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 167,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 368,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 170,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 360,
- "name": "user_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 163,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [366, 359, 361, 367, 365, 368, 360]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 161,
- "character": 17
- }
- ]
- },
- {
- "id": 380,
- "name": "UserMetadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 205,
- "character": 17
- }
- ],
- "indexSignature": {
- "id": 381,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 382,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- },
- {
- "id": 497,
- "name": "VerifyEmailOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 498,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 468,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 501,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 473,
- "character": 2
- }
- ],
- "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": 477,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 503,
- "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": 475,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [504, 503]
- }
- ]
- }
- }
- },
- {
- "id": 499,
- "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": 470,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 500,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 472,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 506,
- "name": "EmailOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [498, 501, 499, 500]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 466,
- "character": 17
- }
- ]
- },
- {
- "id": 489,
- "name": "VerifyMobileOtpParams",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 493,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 454,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 494,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 496,
- "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": 463,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 495,
- "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": 456,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [496, 495]
- }
- ]
- }
- }
- },
- {
- "id": 490,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 449,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 491,
- "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": 451,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 492,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's verification type."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 453,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 505,
- "name": "MobileOtpType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [493, 490, 491, 492]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 447,
- "character": 17
- }
- ]
- },
- {
- "id": 286,
- "name": "AuthChangeEvent",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "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": "literal",
- "value": "USER_DELETED"
- },
- {
- "type": "reference",
- "id": 285,
- "name": "AuthChangeEventMFA"
- }
- ]
- }
- },
- {
- "id": 285,
- "name": "AuthChangeEventMFA",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "literal",
- "value": "MFA_CHALLENGE_VERIFIED"
- }
- },
- {
- "id": 682,
- "name": "AuthMFAAdminDeleteFactorParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 855,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 683,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 684,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the MFA factor to delete."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 857,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 685,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user whose factor is being deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 860,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [684, 685]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 855,
- "character": 45
- }
- ]
- }
- }
- },
- {
- "id": 673,
- "name": "AuthMFAAdminDeleteFactorResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 842,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 674,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 675,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 844,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 676,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 677,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully deleted."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 846,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [677]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 844,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 678,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 848,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [675, 678]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 843,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 679,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 680,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 850,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 681,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 850,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [680, 681]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 850,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 695,
- "name": "AuthMFAAdminListFactorsParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 879,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 696,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 697,
- "name": "userId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the user for which to list all MFA factors."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 881,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [697]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 879,
- "character": 44
- }
- ]
- }
- }
- },
- {
- "id": 686,
- "name": "AuthMFAAdminListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "comment": {
- "tags": [
- {
- "tag": "expermental",
- "text": "\n"
- }
- ]
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 866,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 687,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 688,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 868,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 689,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 690,
- "name": "factors",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All factors attached to the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 870,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 369,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [690]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 868,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 691,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 872,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [688, 691]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 867,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 692,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 693,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 874,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 694,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 874,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [693, 694]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 874,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 621,
- "name": "AuthMFAChallengeResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 699,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 622,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 623,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 701,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 624,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 626,
- "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": 706,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 625,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the newly created challenge."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 703,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [626, 625]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 701,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 627,
- "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": [623, 627]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 700,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 628,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 629,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 630,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [629, 630]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 710,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 597,
- "name": "AuthMFAEnrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 656,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 598,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 599,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 658,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 600,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 601,
- "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": 660,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 603,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "TOTP enrollment information."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 666,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 604,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 605,
- "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": 670,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 606,
- "name": "secret",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 675,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 607,
- "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": 679,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [605, 606, 607]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 666,
- "character": 14
- }
- ]
- }
- }
- },
- {
- "id": 602,
- "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": 663,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [601, 603, 602]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 658,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 608,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 682,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [599, 608]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 657,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 609,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 610,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 685,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 611,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 686,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [610, 611]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 684,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 642,
- "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 727,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 643,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 644,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 729,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 645,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 648,
- "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": 746,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 355,
- "name": "AMREntry"
- }
- }
- },
- {
- "id": 646,
- "name": "currentLevel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Current AAL level of the session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 731,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 641,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 647,
- "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": 739,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 641,
- "name": "AuthenticatorAssuranceLevels"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [648, 646, 647]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 729,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 649,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 748,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [644, 649]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 728,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 650,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 651,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 652,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [651, 652]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 750,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 631,
- "name": "AuthMFAListFactorsResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 712,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 632,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 633,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 714,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 634,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 635,
- "name": "all",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "All available factors (verified and unverified)."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 716,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 369,
- "name": "Factor"
- }
- }
- },
- {
- "id": 636,
- "name": "totp",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Only verified TOTP factors. (A subset of `all`.)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 719,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 369,
- "name": "Factor"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [635, 636]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 714,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 637,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 721,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [633, 637]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 713,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 638,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 639,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 723,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 640,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 723,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [639, 640]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 723,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 612,
- "name": "AuthMFAUnenrollResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 689,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 613,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 614,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 691,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 615,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 616,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor that was successfully unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 693,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [616]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 691,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 617,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 695,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [614, 617]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 690,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 618,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 619,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 620,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 18
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [619, 620]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 697,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 584,
- "name": "AuthMFAVerifyResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 631,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 585,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 586,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 633,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 587,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 588,
- "name": "access_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "New access token (JWT) after successful verification."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 635,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 590,
- "name": "expires_in",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Number of seconds in which the access token will expire."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 641,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 591,
- "name": "refresh_token",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Refresh token you can use to obtain new access tokens when expired."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 644,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 589,
- "name": "token_type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Type of token, typically `Bearer`."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 638,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 592,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Updated user profile."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 647,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 383,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [588, 590, 591, 589, 592]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 633,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 593,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 649,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [586, 593]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 632,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 594,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 595,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 652,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 596,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 653,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [595, 596]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 651,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 300,
- "name": "AuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 53,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 301,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 302,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 303,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 305,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 346,
- "name": "Session"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- },
- {
- "id": 304,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 383,
- "name": "User"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [305, 304]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 55,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 306,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [302, 306]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 54,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 307,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 308,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 309,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 311,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 310,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 63,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [311, 310]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 312,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 66,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [308, 312]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 61,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 641,
- "name": "AuthenticatorAssuranceLevels",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 725,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "aal1"
- },
- {
- "type": "literal",
- "value": "aal2"
- }
- ]
- }
- },
- {
- "id": 709,
- "name": "CallRefreshTokenResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 921,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 710,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 712,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 924,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 711,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 923,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 346,
- "name": "Session"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [712, 711]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 922,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 713,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 715,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 928,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- },
- {
- "id": 714,
- "name": "session",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 927,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [715, 714]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 926,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 506,
- "name": "EmailOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 482,
- "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"
- }
- ]
- }
- },
- {
- "id": 533,
- "name": "GenerateEmailChangeLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 523,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 534,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 536,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 526,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 537,
- "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": 530,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 538,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 531,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 535,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 524,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "email_change_current"
- },
- {
- "type": "literal",
- "value": "email_change_new"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [536, 537, 538, 535]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 523,
- "character": 44
- }
- ]
- }
- }
- },
- {
- "id": 523,
- "name": "GenerateInviteOrMagiclinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 509,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 524,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 512,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 527,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 513,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 525,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 510,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "invite"
- },
- {
- "type": "literal",
- "value": "magiclink"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526, 527, 525]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 509,
- "character": 46
- }
- ]
- }
- }
- },
- {
- "id": 542,
- "name": "GenerateLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 545,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 517,
- "name": "GenerateSignupLinkParams"
- },
- {
- "type": "reference",
- "id": 523,
- "name": "GenerateInviteOrMagiclinkParams"
- },
- {
- "type": "reference",
- "id": 528,
- "name": "GenerateRecoveryLinkParams"
- },
- {
- "type": "reference",
- "id": 533,
- "name": "GenerateEmailChangeLinkParams"
- }
- ]
- }
- },
- {
- "id": 556,
- "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": 568,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 557,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 558,
- "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": 573,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 559,
- "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": 578,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 560,
- "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": 582,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 561,
- "name": "redirect_to",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The URL appended to the action link."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 584,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 562,
- "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": 586,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 563,
- "name": "GenerateLinkType"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [558, 559, 560, 561, 562]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 568,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 543,
- "name": "GenerateLinkResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 551,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 544,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 545,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 553,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 546,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 547,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 554,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 556,
- "name": "GenerateLinkProperties"
- }
- },
- {
- "id": 548,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 555,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 383,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [547, 548]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 553,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 549,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 557,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [545, 549]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 552,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 550,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 551,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 560,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 552,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 553,
- "name": "properties",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 561,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 554,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 562,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [553, 554]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 560,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 555,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 564,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [551, 555]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 559,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 563,
- "name": "GenerateLinkType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 589,
- "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": 528,
- "name": "GenerateRecoveryLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 516,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 529,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 531,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 519,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 532,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 520,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 530,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 517,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "recovery"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [531, 532, 530]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 516,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 517,
- "name": "GenerateSignupLinkParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 502,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 518,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 520,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 504,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 522,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 506,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 539,
- "name": "GenerateLinkOptions"
- },
- {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "data"
- },
- {
- "type": "literal",
- "value": "redirectTo"
- }
- ]
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 521,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 505,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 519,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 503,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "signup"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [520, 522, 521, 519]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 502,
- "character": 39
- }
- ]
- }
- }
- },
- {
- "id": 287,
- "name": "GoTrueClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 288,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 296,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 44,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 295,
- "name": "detectSessionInUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 42,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 299,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "Fetch"
- }
- },
- {
- "id": 290,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 291,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 38,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 292,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 293,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 297,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 46,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 298,
- "name": "storage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 705,
- "name": "SupportedStorage"
- }
- },
- {
- "id": 294,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 40,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 289,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 36,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [296, 295, 299, 290, 297, 298, 294, 289]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 34
- }
- ]
- }
- }
- },
- {
- "id": 706,
- "name": "InitializeResult",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 919,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 707,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 708,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 919,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [708]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 919,
- "character": 31
- }
- ]
- }
- }
- },
- {
- "id": 580,
- "name": "MFAChallengeAndVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 624,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 581,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 583,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 628,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 582,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 626,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [583, 582]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 624,
- "character": 42
- }
- ]
- }
- }
- },
- {
- "id": 577,
- "name": "MFAChallengeParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 619,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 578,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 579,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor to be challenged."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 621,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [579]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 619,
- "character": 33
- }
- ]
- }
- }
- },
- {
- "id": 564,
- "name": "MFAEnrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 597,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 565,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 566,
- "name": "factorType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 598,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "totp"
- }
- },
- {
- "id": 568,
- "name": "friendlyName",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 600,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 567,
- "name": "issuer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 599,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [566, 568, 567]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 597,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 569,
- "name": "MFAUnenrollParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 603,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 570,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 571,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being unenrolled."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 605,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [571]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 603,
- "character": 32
- }
- ]
- }
- }
- },
- {
- "id": 572,
- "name": "MFAVerifyParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 608,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 573,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 575,
- "name": "challengeId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the challenge being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 613,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 576,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Verification code provided by the user."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 616,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 574,
- "name": "factorId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "ID of the factor being verified."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 610,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [575, 576, 574]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 608,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 505,
- "name": "MobileOtpType",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 481,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "phone_change"
- }
- ]
- }
- },
- {
- "id": 313,
- "name": "OAuthResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 69,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 314,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 315,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 71,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 316,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 317,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 284,
- "name": "Provider"
- }
- },
- {
- "id": 318,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 73,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [317, 318]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 71,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 319,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 75,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [315, 319]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 70,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 320,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 321,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 322,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 323,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 284,
- "name": "Provider"
- }
- },
- {
- "id": 324,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [323, 324]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 78,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 325,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [321, 325]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 77,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 284,
- "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"
- }
- ]
- }
- },
- {
- "id": 326,
- "name": "SSOResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 85,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 327,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 328,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 87,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 329,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 330,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "URL to take the user to (in a browser) to complete SSO."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 89,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [330]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 87,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 331,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 91,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [328, 331]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 86,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 332,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 333,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 94,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 334,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 95,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [333, 334]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 93,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 477,
- "name": "SignInWithOAuthCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 433,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 478,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 480,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 436,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 481,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 484,
- "name": "queryParams",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "An object of query params"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 442,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 485,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 442,
- "character": 18
- }
- ],
- "indexSignature": {
- "id": 486,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 487,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 482,
- "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": 438,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 483,
- "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": 440,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [484, 482, 483]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 436,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 479,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "One of the providers supported by GoTrue."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 435,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 284,
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [480, 479]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 433,
- "character": 41
- }
- ]
- }
- }
- },
- {
- "id": 446,
- "name": "SignInWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 363,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 447,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 448,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 366,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 450,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 369,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 451,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 453,
- "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": 377,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 452,
- "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": 375,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [453, 452]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 369,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 449,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 368,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [448, 450, 449]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 364,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 454,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 457,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 385,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 458,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 460,
- "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": 393,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "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": 391,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [460, 459]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 385,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 456,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 384,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 455,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 382,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [457, 456, 455]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 380,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 461,
- "name": "SignInWithPasswordlessCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 397,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 462,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 463,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 400,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 464,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 401,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 465,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 469,
- "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": 413,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 468,
- "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": 411,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 466,
- "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": 403,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 467,
- "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": 405,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [469, 468, 466, 467]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 401,
- "character": 16
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [463, 464]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 398,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 470,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 472,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 419,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 473,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 476,
- "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": 429,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 475,
- "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": 427,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 474,
- "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": 421,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [476, 475, 474]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 419,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 471,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 418,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [472, 471]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 416,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 507,
- "name": "SignInWithSSO",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 484,
- "character": 12
- }
- ],
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 508,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 509,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 485,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 510,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 512,
- "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": 489,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 511,
- "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": 487,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [512, 511]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 485,
- "character": 12
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [509]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 484,
- "character": 28
- }
- ]
- }
- },
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 513,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 514,
- "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": 494,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [514]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 492,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 515,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 516,
- "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": 498,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [516]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- ]
- }
- },
- {
- "id": 430,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 328,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 431,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 432,
- "name": "email",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's email address."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 331,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 434,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 334,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 435,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 438,
- "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": 344,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 437,
- "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": 342,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 436,
- "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": 336,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [438, 437, 436]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 334,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 433,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 333,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [432, 434, 433]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 329,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 439,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 442,
- "name": "options",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 352,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 443,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 445,
- "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": 444,
- "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"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [445, 444]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 352,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 441,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 351,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 440,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 349,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [442, 441, 440]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 347,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 705,
- "name": "SupportedStorage",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 917,
- "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": 335,
- "name": "UserResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 98,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 336,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 337,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 100,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 338,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 339,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 101,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 383,
- "name": "User"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [339]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 100,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 340,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 103,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [337, 340]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 99,
- "character": 4
- }
- ]
- }
- },
- {
- "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": 106,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "name": "user",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 107,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [344]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 106,
- "character": 12
- }
- ]
- }
- }
- },
- {
- "id": 345,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 109,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [342, 345]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 105,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 488,
- "name": "VerifyOtpParams",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 446,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 489,
- "name": "VerifyMobileOtpParams"
- },
- {
- "type": "reference",
- "id": 497,
- "name": "VerifyEmailOtpParams"
- }
- ]
- }
- },
- {
- "id": 719,
- "name": "isAuthApiError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 32,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 720,
- "name": "isAuthApiError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 721,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 727,
- "name": "AuthApiError"
- }
- }
- }
- ]
- },
- {
- "id": 716,
- "name": "isAuthError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 10,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 717,
- "name": "isAuthError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 718,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 722,
- "name": "AuthError"
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [
- 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533, 523,
- 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284, 326, 477,
- 446, 461, 507, 430, 705, 335, 488
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [719, 716]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 727,
+ "name": "AuthApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 728,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 729,
+ "name": "new AuthApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 730,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 731,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 724,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 723,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 732,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 733,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 734,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 735,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 737,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 736,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 738,
+ "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": [
+ 737,
+ 736,
+ 738
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 728
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 732
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 733
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 722,
+ "name": "AuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 723,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 724,
+ "name": "new AuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 725,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 723
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthApiError"
+ },
+ {
+ "type": "reference",
+ "id": 740,
+ "name": "AuthUnknownError"
+ },
+ {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 787,
+ "name": "AuthImplicitGrantRedirectError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 788,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 789,
+ "name": "new AuthImplicitGrantRedirectError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 790,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 791,
+ "name": "details",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 792,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 794,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 78,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 793,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 78,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 794,
+ 793
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 787,
+ "name": "AuthImplicitGrantRedirectError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 749,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 748,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 795,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 796,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 798,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 77,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 797,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 77,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 798,
+ 797
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 809,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 753,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 810,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 754,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 799,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 800,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 801,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 805,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 88,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 806,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 808,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 77,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 807,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 77,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 808,
+ 807
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 803,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 86,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 802,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 85,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 804,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 87,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 805,
+ 803,
+ 802,
+ 804
+ ]
+ }
+ ]
+ }
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 756,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 755,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 788
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 795,
+ 809,
+ 810
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 799
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 76,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 774,
+ "name": "AuthInvalidCredentialsError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 775,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 776,
+ "name": "new AuthInvalidCredentialsError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 777,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 774,
+ "name": "AuthInvalidCredentialsError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 749,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 748,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 778,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 753,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 779,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 754,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 780,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 781,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 782,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 784,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 783,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 785,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 784,
+ 783,
+ 785
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 756,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 755,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 775
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 778,
+ 779
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 780
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 70,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 812,
+ "name": "AuthRetryableFetchError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 813,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 94,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 814,
+ "name": "new AuthRetryableFetchError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 815,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 816,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 812,
+ "name": "AuthRetryableFetchError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 749,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 748,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 817,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 753,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 818,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 754,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 819,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 820,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 821,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 823,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 822,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 824,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 823,
+ 822,
+ 824
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 756,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 755,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 813
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 817,
+ 818
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 819
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 93,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 762,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 763,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 764,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 762,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 749,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 748,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 765,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 753,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 766,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 754,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 767,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 768,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 769,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 771,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 770,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 772,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 771,
+ 770,
+ 772
+ ]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 756,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 755,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 763
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 765,
+ 766
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 767
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 64,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 740,
+ "name": "AuthUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 741,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 39,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 742,
+ "name": "new AuthUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 743,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 744,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 740,
+ "name": "AuthUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 724,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 723,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 745,
+ "name": "originalError",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 741
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 745
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 36,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ ]
+ },
+ {
+ "id": 747,
+ "name": "CustomAuthError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 748,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 749,
+ "name": "new CustomAuthError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 750,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 751,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 752,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 747,
+ "name": "CustomAuthError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 724,
+ "name": "AuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 723,
+ "name": "AuthError.constructor"
+ }
+ },
+ {
+ "id": 753,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "AuthError.name"
+ }
+ },
+ {
+ "id": 754,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 755,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 756,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 757,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 759,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 58,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 758,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 760,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 759,
+ 758,
+ 760
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 748
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 753,
+ 754
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 755
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 46,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 762,
+ "name": "AuthSessionMissingError"
+ },
+ {
+ "type": "reference",
+ "id": 774,
+ "name": "AuthInvalidCredentialsError"
+ },
+ {
+ "type": "reference",
+ "id": 787,
+ "name": "AuthImplicitGrantRedirectError"
+ },
+ {
+ "type": "reference",
+ "id": 812,
+ "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": 27,
+ "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": 36,
+ "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": 33,
+ "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": 32,
+ "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": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 698,
+ "name": "GoTrueAdminMFAApi"
+ }
+ },
+ {
+ "id": 43,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 138,
+ "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": 410,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 65,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 228,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 66,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key."
+ },
+ "parameters": [
+ {
+ "id": 67,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user id you want to remove.\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": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 104,
+ "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": 542,
+ "name": "GenerateLinkParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 543,
+ "name": "GenerateLinkResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 58,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 183,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 59,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 60,
+ "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": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 74,
+ "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": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 39,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 78,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 38,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 77,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 39,
+ 38
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 159,
+ "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.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 48,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 49,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 50,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 51,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 51
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 52,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 49,
+ 52
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 54,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 49
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 55,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 56,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 57
+ }
+ ],
+ "type": {
+ "type": "tuple"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 56
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 160,
+ "character": 70
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 54,
+ 57
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 27,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 51,
+ "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": 51,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 32,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 51,
+ "character": 52
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 31,
+ 32
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 61,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 205,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 62,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 63,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 64,
+ "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": 410,
+ "name": "AdminUserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 335,
+ "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,
+ 65,
+ 40,
+ 58,
+ 33,
+ 46,
+ 27,
+ 61
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 17,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 74,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 75,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 127,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 76,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 287,
+ "name": "GoTrueClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 74,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 78,
+ "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": 87,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 79,
+ "name": "mfa",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Namespace for the MFA methods."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 653,
+ "name": "GoTrueMFAApi"
+ }
+ },
+ {
+ "id": 123,
+ "name": "getSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 487,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 124,
+ "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": 125,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 126,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 489,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 127,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 128,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 490,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 346,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 128
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 129,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 492,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 126,
+ 129
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 495,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 132,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 133,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 496,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 133
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 134,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 498,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 131,
+ 134
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 136,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 501,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 502,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 138
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 504,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 136,
+ 139
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 550,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 141,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Gets the current user details if there is an existing session."
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "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": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 101,
+ "name": "initialize",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 102,
+ "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": 706,
+ "name": "InitializeResult"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 184,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 834,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 185,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens."
+ },
+ "parameters": [
+ {
+ "id": 186,
+ "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": 187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 188,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 189,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 286,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 190,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 346,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 191,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 192,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 835,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 194,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 835,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 420,
+ "name": "Subscription"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 194
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 192
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 689,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 160,
+ "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": 161,
+ "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": 162,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 163,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 689,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 163
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 857,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 196,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends a password reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 197,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 198,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 199,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 201,
+ "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": 861,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 200,
+ "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": 860,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 201,
+ 200
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 202,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 203,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 865,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 204,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ },
+ {
+ "id": 205,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 866,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 203,
+ 205
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 206,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 207,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 868,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 208,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 868,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 207,
+ 208
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 153,
+ "name": "setSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 626,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 154,
+ "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": 155,
+ "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": 156,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 157,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 627,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 628,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 157,
+ 158
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 111,
+ "name": "signInWithOAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 340,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 112,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 113,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 477,
+ "name": "SignInWithOAuthCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 313,
+ "name": "OAuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 114,
+ "name": "signInWithOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 355,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 115,
+ "name": "signInWithOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user using magiclink or a one-time password (OTP).\nIf 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."
+ },
+ "parameters": [
+ {
+ "id": 116,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 461,
+ "name": "SignInWithPasswordlessCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 108,
+ "name": "signInWithPassword",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 109,
+ "name": "signInWithPassword",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user with an email and password or phone and password."
+ },
+ "parameters": [
+ {
+ "id": 110,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 446,
+ "name": "SignInWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 120,
+ "name": "signInWithSSO",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 458,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 121,
+ "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\nThis API is experimental and availability is conditional on correct\nsettings on the Auth service.\n",
+ "tags": [
+ {
+ "tag": "experimental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 122,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 507,
+ "name": "SignInWithSSO"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 326,
+ "name": "SSOResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 180,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 809,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 181,
+ "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": 182,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 183,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 809,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 183
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 105,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 225,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 106,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.",
+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"
+ },
+ "parameters": [
+ {
+ "id": 107,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 430,
+ "name": "SignUpWithPasswordCredentials"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 579,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 144,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 145,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 405,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 335,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "verifyOtp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 399,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 118,
+ "name": "verifyOtp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in a user given a User supplied OTP received via mobile."
+ },
+ "parameters": [
+ {
+ "id": 119,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 488,
+ "name": "VerifyOtpParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 300,
+ "name": "AuthResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 75
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 78,
+ 79
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 123,
+ 140,
+ 101,
+ 184,
+ 159,
+ 195,
+ 153,
+ 111,
+ 114,
+ 108,
+ 120,
+ 180,
+ 105,
+ 143,
+ 117
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 82,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "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": 356,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Authentication method name."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 152,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "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": 158,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 356,
+ 357
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 150,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 410,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 412,
+ "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": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 415,
+ "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": 306,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 419,
+ "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": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 416,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 406,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 413,
+ "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": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 418,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 417,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 414,
+ "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": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 411,
+ "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": "Only a service role can modify.\n\nThe `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": 270,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "UserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 369,
+ "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": 374,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 196,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 372,
+ "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": 191,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "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": 185,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 370,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 182,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 373,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Factor's status."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 194,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "verified"
+ },
+ {
+ "type": "literal",
+ "value": "unverified"
+ }
+ ]
+ }
+ },
+ {
+ "id": 375,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 197,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 374,
+ 372,
+ 371,
+ 370,
+ 373,
+ 375
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 180,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 539,
+ "name": "GenerateLinkOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 540,
+ "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": 540,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 541,
+ "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": 542,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 540,
+ 541
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 534,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 698,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 702,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 703,
+ "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": 704,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 682,
+ "name": "AuthMFAAdminDeleteFactorParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 673,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 699,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 700,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 701,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 695,
+ "name": "AuthMFAAdminListFactorsParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 686,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 702,
+ 699
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 876,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 653,
+ "name": "GoTrueMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication API."
+ },
+ "children": [
+ {
+ "id": 657,
+ "name": "challenge",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 658,
+ "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": 659,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 577,
+ "name": "MFAChallengeParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 621,
+ "name": "AuthMFAChallengeResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 666,
+ "name": "challengeAndVerify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 667,
+ "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": 668,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 580,
+ "name": "MFAChallengeAndVerifyParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 584,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 654,
+ "name": "enroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 655,
+ "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": 656,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 564,
+ "name": "MFAEnrollParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 597,
+ "name": "AuthMFAEnrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 671,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 672,
+ "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": 642,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 669,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 670,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the list of MFA factors enabled for this user. For most use cases\nyou should consider using {@link\nGoTrueMFAApi#getAuthenticatorAssuranceLevel}. This uses a cached version\nof the factors and avoids incurring a network call. If you need to update\nthis list, call {@link GoTrueClient#getUser} first.",
+ "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": 631,
+ "name": "AuthMFAListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 663,
+ "name": "unenroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 664,
+ "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": 665,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 569,
+ "name": "MFAUnenrollParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 612,
+ "name": "AuthMFAUnenrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 660,
+ "name": "verify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 661,
+ "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": 662,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 572,
+ "name": "MFAVerifyParams"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 584,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 657,
+ 666,
+ 654,
+ 671,
+ 669,
+ 663,
+ 660
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 759,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 349,
+ "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": 125,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
+ "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": 137,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 351,
+ "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": 133,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 348,
+ "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": 121,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 347,
+ "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": 116,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 350,
+ "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": 129,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 353,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 138,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 354,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 139,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 349,
+ 352,
+ 351,
+ 348,
+ 347,
+ 350,
+ 353,
+ 354
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 112,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 420,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 421,
+ "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": 313,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 317,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 423,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 424,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 286,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 425,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 346,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 426,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 321,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 427,
+ "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": [
+ 421
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 422,
+ 426
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 309,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 428,
+ "name": "UpdatableFactorAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 429,
+ "name": "friendlyName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 325,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 429
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 324,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 383,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 393,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 219,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 211,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 376,
+ "name": "UserAppMetadata"
+ }
+ },
+ {
+ "id": 387,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 213,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 388,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 396,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 394,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 216,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 398,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 369,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 384,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 210,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 403,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 358,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 392,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 391,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 217,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 395,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 399,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 389,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 215,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 401,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 228,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 386,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 212,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 380,
+ "name": "UserMetadata"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 393,
+ 385,
+ 387,
+ 388,
+ 397,
+ 396,
+ 394,
+ 390,
+ 398,
+ 404,
+ 384,
+ 403,
+ 392,
+ 400,
+ 391,
+ 395,
+ 399,
+ 389,
+ 401,
+ 402,
+ 386
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 209,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 376,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 377,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 377
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 378,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 379,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 405,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 409,
+ "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": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 406,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 409,
+ 406,
+ 408,
+ 407
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 233,
+ "character": 17
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 410,
+ "name": "AdminUserAttributes"
+ }
+ ]
+ },
+ {
+ "id": 358,
+ "name": "UserIdentity",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 366,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 168,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "identity_data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 164,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 362,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 363,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 364,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 367,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 169,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 365,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 167,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 170,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "user_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 163,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 366,
+ 359,
+ 361,
+ 367,
+ 365,
+ 368,
+ 360
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 161,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 380,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 381,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 382,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ },
+ {
+ "id": 497,
+ "name": "VerifyEmailOtpParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 498,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 468,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 473,
+ "character": 2
+ }
+ ],
+ "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": 477,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 503,
+ "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": 475,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 504,
+ 503
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 499,
+ "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": 470,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 500,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 472,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 506,
+ "name": "EmailOtpType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 466,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 489,
+ "name": "VerifyMobileOtpParams",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 454,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 494,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 496,
+ "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": 463,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 495,
+ "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": 456,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 496,
+ 495
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 490,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 449,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 491,
+ "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": 451,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's verification type."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 453,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 505,
+ "name": "MobileOtpType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 447,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 286,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "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": "literal",
+ "value": "USER_DELETED"
+ },
+ {
+ "type": "reference",
+ "id": 285,
+ "name": "AuthChangeEventMFA"
+ }
+ ]
+ }
+ },
+ {
+ "id": 285,
+ "name": "AuthChangeEventMFA",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "MFA_CHALLENGE_VERIFIED"
+ }
+ },
+ {
+ "id": 682,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 683,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 684,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 685,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 684,
+ 685
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 45
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 673,
+ "name": "AuthMFAAdminDeleteFactorResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 829,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 674,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 675,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 831,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 676,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 677,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 833,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 677
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 831,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 678,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 835,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 675,
+ 678
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 830,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 679,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 680,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 837,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 681,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 837,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 680,
+ 681
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 837,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 695,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 696,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 697,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 868,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 697
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 686,
+ "name": "AuthMFAAdminListFactorsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 853,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 687,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 688,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 855,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 689,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 690,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "All factors attached to the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 857,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 369,
+ "name": "Factor"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 690
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 855,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 691,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 859,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 688,
+ 691
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 854,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 692,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 693,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 861,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 694,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 861,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 693,
+ 694
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 861,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 621,
+ "name": "AuthMFAChallengeResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 702,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 622,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 623,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 704,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 624,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 626,
+ "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": 709,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 625,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the newly created challenge."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 706,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 626,
+ 625
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 704,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 627,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 711,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 623,
+ 627
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 703,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 628,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 629,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 713,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 630,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 713,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 629,
+ 630
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 713,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 597,
+ "name": "AuthMFAEnrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 659,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 598,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 599,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 661,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 600,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 601,
+ "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": 663,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 603,
+ "name": "totp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "TOTP enrollment information."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 669,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 604,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 605,
+ "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": 673,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 606,
+ "name": "secret",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 678,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 607,
+ "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": 682,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 605,
+ 606,
+ 607
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 669,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 602,
+ "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": 666,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 601,
+ 603,
+ 602
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 661,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 608,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 685,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 599,
+ 608
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 660,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 609,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 610,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 688,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 611,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 689,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 610,
+ 611
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 687,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 642,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 730,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 643,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 644,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 732,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 645,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 648,
+ "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": 749,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 355,
+ "name": "AMREntry"
+ }
+ }
+ },
+ {
+ "id": 646,
+ "name": "currentLevel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Current AAL level of the session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 734,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 641,
+ "name": "AuthenticatorAssuranceLevels"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 647,
+ "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": 742,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 641,
+ "name": "AuthenticatorAssuranceLevels"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 648,
+ 646,
+ 647
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 732,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 649,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 751,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 644,
+ 649
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 731,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 650,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 651,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 753,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 652,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 753,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 651,
+ 652
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 753,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 631,
+ "name": "AuthMFAListFactorsResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 715,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 632,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 633,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 717,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 634,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 635,
+ "name": "all",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "All available factors (verified and unverified)."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 719,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 369,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 636,
+ "name": "totp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Only verified TOTP factors. (A subset of `all`.)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 722,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 369,
+ "name": "Factor"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 635,
+ 636
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 717,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 637,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 724,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 633,
+ 637
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 716,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 638,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 639,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 726,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 640,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 726,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 639,
+ 640
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 726,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 612,
+ "name": "AuthMFAUnenrollResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 692,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 613,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 614,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 694,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 615,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 616,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor that was successfully unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 696,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 616
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 694,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 617,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 698,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 614,
+ 617
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 693,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 618,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 619,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 700,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 620,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 700,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 619,
+ 620
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 700,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 584,
+ "name": "AuthMFAVerifyResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 634,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 585,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 586,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 636,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 587,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 588,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "New access token (JWT) after successful verification."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 638,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 590,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Number of seconds in which the access token will expire."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 644,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 591,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Refresh token you can use to obtain new access tokens when expired."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 647,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 589,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Type of token, typically `Bearer`."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 641,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 592,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Updated user profile."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 650,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 588,
+ 590,
+ 591,
+ 589,
+ 592
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 636,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 593,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 652,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 586,
+ 593
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 635,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 594,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 595,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 655,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 596,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 656,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 595,
+ 596
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 654,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 300,
+ "name": "AuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 301,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 302,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 305,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 346,
+ "name": "Session"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ },
+ {
+ "id": 304,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 305,
+ 304
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 55,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 306,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 302,
+ 306
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 54,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 311,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 310,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 63,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311,
+ 310
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 312,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 66,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 308,
+ 312
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 61,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 641,
+ "name": "AuthenticatorAssuranceLevels",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 728,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "aal1"
+ },
+ {
+ "type": "literal",
+ "value": "aal2"
+ }
+ ]
+ }
+ },
+ {
+ "id": 709,
+ "name": "CallRefreshTokenResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 907,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 710,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 712,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 910,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 711,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 909,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 346,
+ "name": "Session"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 712,
+ 711
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 908,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 713,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 715,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 914,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ },
+ {
+ "id": 714,
+ "name": "session",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 913,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 715,
+ 714
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 912,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 506,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "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"
+ }
+ ]
+ }
+ },
+ {
+ "id": 533,
+ "name": "GenerateEmailChangeLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 534,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 536,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 526,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 537,
+ "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": 530,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 531,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 535,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 524,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 44
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 523,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 524,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 526,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 527,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 525,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 510,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 46
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 542,
+ "name": "GenerateLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 545,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 517,
+ "name": "GenerateSignupLinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 523,
+ "name": "GenerateInviteOrMagiclinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 528,
+ "name": "GenerateRecoveryLinkParams"
+ },
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "GenerateEmailChangeLinkParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 556,
+ "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": 568,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 557,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 558,
+ "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": 573,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 559,
+ "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": 578,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 560,
+ "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": 582,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 561,
+ "name": "redirect_to",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The URL appended to the action link."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 584,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 562,
+ "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": 586,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 563,
+ "name": "GenerateLinkType"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 558,
+ 559,
+ 560,
+ 561,
+ 562
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 568,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 543,
+ "name": "GenerateLinkResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 551,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 544,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 545,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 553,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 546,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 547,
+ "name": "properties",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 554,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 556,
+ "name": "GenerateLinkProperties"
+ }
+ },
+ {
+ "id": 548,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 555,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 547,
+ 548
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 553,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 549,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 557,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 545,
+ 549
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 552,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 550,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 551,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 560,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 552,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 553,
+ "name": "properties",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 561,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 554,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 562,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 553,
+ 554
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 560,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 555,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 564,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 551,
+ 555
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 559,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 563,
+ "name": "GenerateLinkType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 589,
+ "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": 528,
+ "name": "GenerateRecoveryLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 529,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 531,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 519,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 532,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 520,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 530,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 517,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "recovery"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 517,
+ "name": "GenerateSignupLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 518,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 520,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 504,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 522,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 506,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 539,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 521,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 505,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 519,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 503,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "signup"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 287,
+ "name": "GoTrueClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 295,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 299,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 290,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 291,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 38,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 292,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 293,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 297,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 298,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 705,
+ "name": "SupportedStorage"
+ }
+ },
+ {
+ "id": 294,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 40,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 289,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 296,
+ 295,
+ 299,
+ 290,
+ 297,
+ 298,
+ 294,
+ 289
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 34
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 706,
+ "name": "InitializeResult",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 905,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 707,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 708,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 905,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 708
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 905,
+ "character": 31
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 580,
+ "name": "MFAChallengeAndVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 581,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 583,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 631,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 582,
+ "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": 629,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 583,
+ 582
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 577,
+ "name": "MFAChallengeParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 578,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 579,
+ "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": 624,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 579
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 33
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 564,
+ "name": "MFAEnrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 565,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 566,
+ "name": "factorType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 599,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ },
+ {
+ "id": 568,
+ "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": 603,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 567,
+ "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": 601,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 566,
+ 568,
+ 567
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 569,
+ "name": "MFAUnenrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 570,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 571,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 608,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 571
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 32
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 572,
+ "name": "MFAVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 573,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 575,
+ "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": 616,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 576,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 619,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 574,
+ "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": 613,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 575,
+ 576,
+ 574
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 505,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ },
+ {
+ "id": 313,
+ "name": "OAuthResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 69,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 314,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 315,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 316,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 317,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 284,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 318,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 317,
+ 318
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 71,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 319,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 315,
+ 319
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 70,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 320,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 321,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 322,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 323,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 284,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 324,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 323,
+ 324
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 78,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 325,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 321,
+ 325
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 77,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 284,
+ "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"
+ }
+ ]
+ }
+ },
+ {
+ "id": 326,
+ "name": "SSOResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 85,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 327,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 328,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 330,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "URL to take the user to (in a browser) to complete SSO."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 89,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 330
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 87,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 331,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 328,
+ 331
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 86,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 333,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 94,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 334,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 95,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 333,
+ 334
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 93,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 477,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 433,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 478,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 480,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 436,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 481,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 484,
+ "name": "queryParams",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object of query params"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 485,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 18
+ }
+ ],
+ "indexSignature": {
+ "id": 486,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 487,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 482,
+ "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": 438,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 483,
+ "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": 440,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 484,
+ 482,
+ 483
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 436,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 479,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 435,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 284,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 480,
+ 479
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 433,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 446,
+ "name": "SignInWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 363,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 447,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 448,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 366,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 450,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 451,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 453,
+ "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": 377,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 452,
+ "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": 375,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 453,
+ 452
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 449,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 368,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 448,
+ 450,
+ 449
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 364,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 454,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 457,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 385,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 458,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 460,
+ "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": 393,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 459,
+ "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": 391,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 460,
+ 459
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 385,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 456,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 384,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 455,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 382,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 457,
+ 456,
+ 455
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 380,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 461,
+ "name": "SignInWithPasswordlessCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 397,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 462,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 463,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 400,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 464,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 401,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 469,
+ "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": 413,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 468,
+ "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": 411,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 466,
+ "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": 403,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 467,
+ "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": 405,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 469,
+ 468,
+ 466,
+ 467
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 401,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 463,
+ 464
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 398,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 470,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 472,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 419,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 473,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 476,
+ "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": 429,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 475,
+ "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": 427,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 474,
+ "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": 421,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 476,
+ 475,
+ 474
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 419,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 471,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 418,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 472,
+ 471
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 416,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 507,
+ "name": "SignInWithSSO",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 484,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 508,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 509,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 485,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 510,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 512,
+ "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": 489,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 511,
+ "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": 487,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 512,
+ 511
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 485,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 509
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 484,
+ "character": 28
+ }
+ ]
+ }
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 513,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 514,
+ "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": 494,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 514
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 492,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 515,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "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": 498,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 516
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 496,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "id": 430,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 328,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 431,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 432,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 331,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 434,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 334,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 435,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "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": 344,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "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": 342,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 436,
+ "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": 336,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 438,
+ 437,
+ 436
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 334,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 433,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 333,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 432,
+ 434,
+ 433
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 329,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 439,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 442,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 352,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 445,
+ "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": 444,
+ "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"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 445,
+ 444
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 352,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 441,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 351,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 440,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 349,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 442,
+ 441,
+ 440
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 347,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 705,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 903,
+ "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": 335,
+ "name": "UserResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 98,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 336,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 337,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 100,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 338,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 101,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 383,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 339
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 100,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 103,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 337,
+ 340
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 99,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "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": 106,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 343,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 344,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 107,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 106,
+ "character": 12
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 345,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 109,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 342,
+ 345
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 105,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 488,
+ "name": "VerifyOtpParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 446,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 489,
+ "name": "VerifyMobileOtpParams"
+ },
+ {
+ "type": "reference",
+ "id": 497,
+ "name": "VerifyEmailOtpParams"
+ }
+ ]
+ }
+ },
+ {
+ "id": 719,
+ "name": "isAuthApiError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 720,
+ "name": "isAuthApiError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 721,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthApiError"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 716,
+ "name": "isAuthError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 717,
+ "name": "isAuthError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 718,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 722,
+ "name": "AuthError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 727,
+ 722,
+ 787,
+ 774,
+ 812,
+ 762,
+ 740,
+ 747,
+ 1,
+ 74
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 355,
+ 410,
+ 369,
+ 539,
+ 698,
+ 653,
+ 346,
+ 420,
+ 428,
+ 383,
+ 376,
+ 405,
+ 358,
+ 380,
+ 497,
+ 489
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 286,
+ 285,
+ 682,
+ 673,
+ 695,
+ 686,
+ 621,
+ 597,
+ 642,
+ 631,
+ 612,
+ 584,
+ 300,
+ 641,
+ 709,
+ 506,
+ 533,
+ 523,
+ 542,
+ 556,
+ 543,
+ 563,
+ 528,
+ 517,
+ 287,
+ 706,
+ 580,
+ 577,
+ 564,
+ 569,
+ 572,
+ 505,
+ 313,
+ 284,
+ 326,
+ 477,
+ 446,
+ 461,
+ 507,
+ 430,
+ 705,
+ 335,
+ 488
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 719,
+ 716
+ ]
+ }
+ ],
+ "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 1a4fcae7163..582dd1651b4 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -184,7 +184,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [737, 736, 738]
+ "children": [
+ 737,
+ 736,
+ 738
+ ]
}
]
}
@@ -197,17 +201,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [728]
+ "children": [
+ 728
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [732]
+ "children": [
+ 732
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [733]
+ "children": [
+ 733
+ ]
}
],
"sources": [
@@ -286,7 +296,9 @@
{
"title": "Constructors",
"kind": 512,
- "children": [723]
+ "children": [
+ 723
+ ]
}
],
"sources": [
@@ -424,7 +436,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [794, 793]
+ "children": [
+ 794,
+ 793
+ ]
}
]
}
@@ -522,7 +537,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [798, 797]
+ "children": [
+ 798,
+ 797
+ ]
}
]
}
@@ -676,7 +694,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [808, 807]
+ "children": [
+ 808,
+ 807
+ ]
}
]
}
@@ -747,7 +768,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [805, 803, 802, 804]
+ "children": [
+ 805,
+ 803,
+ 802,
+ 804
+ ]
}
]
}
@@ -770,17 +796,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [788]
+ "children": [
+ 788
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [795, 809, 810]
+ "children": [
+ 795,
+ 809,
+ 810
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [799]
+ "children": [
+ 799
+ ]
}
],
"sources": [
@@ -993,7 +1027,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [784, 783, 785]
+ "children": [
+ 784,
+ 783,
+ 785
+ ]
}
]
}
@@ -1016,17 +1054,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [775]
+ "children": [
+ 775
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [778, 779]
+ "children": [
+ 778,
+ 779
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [780]
+ "children": [
+ 780
+ ]
}
],
"sources": [
@@ -1250,7 +1295,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [823, 822, 824]
+ "children": [
+ 823,
+ 822,
+ 824
+ ]
}
]
}
@@ -1273,17 +1322,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [813]
+ "children": [
+ 813
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [817, 818]
+ "children": [
+ 817,
+ 818
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [819]
+ "children": [
+ 819
+ ]
}
],
"sources": [
@@ -1483,7 +1539,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [771, 770, 772]
+ "children": [
+ 771,
+ 770,
+ 772
+ ]
}
]
}
@@ -1506,17 +1566,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [763]
+ "children": [
+ 763
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [765, 766]
+ "children": [
+ 765,
+ 766
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [767]
+ "children": [
+ 767
+ ]
}
],
"sources": [
@@ -1626,12 +1693,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [741]
+ "children": [
+ 741
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [745]
+ "children": [
+ 745
+ ]
}
],
"sources": [
@@ -1860,7 +1931,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [759, 758, 760]
+ "children": [
+ 759,
+ 758,
+ 760
+ ]
}
]
}
@@ -1873,17 +1948,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [748]
+ "children": [
+ 748
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [753, 754]
+ "children": [
+ 753,
+ 754
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [755]
+ "children": [
+ 755
+ ]
}
],
"sources": [
@@ -2128,7 +2210,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [11, 7, 6]
+ "children": [
+ 11,
+ 7,
+ 6
+ ]
}
]
}
@@ -2444,7 +2530,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -2709,7 +2805,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -2839,7 +2940,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -2951,7 +3056,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -3093,7 +3202,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -3287,7 +3401,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [39, 38]
+ "children": [
+ 39,
+ 38
+ ]
}
]
}
@@ -3399,7 +3516,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [51]
+ "children": [
+ 51
+ ]
}
]
}
@@ -3428,7 +3547,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [49, 52]
+ "children": [
+ 49,
+ 52
+ ]
}
]
}
@@ -3486,7 +3608,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [56]
+ "children": [
+ 56
+ ]
}
]
}
@@ -3516,7 +3640,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [54, 57]
+ "children": [
+ 54,
+ 57
+ ]
}
]
}
@@ -3633,7 +3760,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [31, 32]
+ "children": [
+ 31,
+ 32
+ ]
}
]
}
@@ -3939,7 +4069,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -3981,17 +4121,30 @@
{
"title": "Constructors",
"kind": 512,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [16]
+ "children": [
+ 16
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [43, 65, 40, 58, 33, 46, 27, 61]
+ "children": [
+ 43,
+ 65,
+ 40,
+ 58,
+ 33,
+ 46,
+ 27,
+ 61
+ ]
}
],
"sources": [
@@ -4267,7 +4420,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 295, 299, 290, 297, 298, 294, 289]
+ "children": [
+ 296,
+ 295,
+ 299,
+ 290,
+ 297,
+ 298,
+ 294,
+ 289
+ ]
}
],
"sources": [
@@ -4419,7 +4581,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [128]
+ "children": [
+ 128
+ ]
}
]
}
@@ -4448,7 +4612,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [126, 129]
+ "children": [
+ 126,
+ 129
+ ]
}
]
}
@@ -4507,7 +4674,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [133]
+ "children": [
+ 133
+ ]
}
]
}
@@ -4537,7 +4706,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 134]
+ "children": [
+ 131,
+ 134
+ ]
}
]
}
@@ -4596,7 +4768,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -4625,7 +4799,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136, 139]
+ "children": [
+ 136,
+ 139
+ ]
}
]
}
@@ -4884,7 +5061,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [194]
+ "children": [
+ 194
+ ]
}
]
}
@@ -4895,7 +5074,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [192]
+ "children": [
+ 192
+ ]
}
]
}
@@ -4970,7 +5151,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [163]
+ "children": [
+ 163
+ ]
}
]
}
@@ -5097,7 +5280,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [201, 200]
+ "children": [
+ 201,
+ 200
+ ]
}
]
}
@@ -5167,7 +5353,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [203, 205]
+ "children": [
+ 203,
+ 205
+ ]
}
]
}
@@ -5223,7 +5412,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [207, 208]
+ "children": [
+ 207,
+ 208
+ ]
}
]
}
@@ -5321,7 +5513,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [157, 158]
+ "children": [
+ 157,
+ 158
+ ]
}
]
}
@@ -5534,7 +5729,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [484, 482, 483]
+ "children": [
+ 484,
+ 482,
+ 483
+ ]
}
],
"sources": [
@@ -5574,7 +5773,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [480, 479]
+ "children": [
+ 480,
+ 479
+ ]
}
],
"sources": [
@@ -5808,7 +6010,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468, 466, 467]
+ "children": [
+ 469,
+ 468,
+ 466,
+ 467
+ ]
}
],
"sources": [
@@ -5826,7 +6033,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [
+ 463,
+ 464
+ ]
}
],
"sources": [
@@ -5946,7 +6156,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [476, 475, 474]
+ "children": [
+ 476,
+ 475,
+ 474
+ ]
}
],
"sources": [
@@ -5985,7 +6199,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 471]
+ "children": [
+ 472,
+ 471
+ ]
}
],
"sources": [
@@ -6175,7 +6392,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [453, 452]
+ "children": [
+ 453,
+ 452
+ ]
}
],
"sources": [
@@ -6214,7 +6434,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [448, 450, 449]
+ "children": [
+ 448,
+ 450,
+ 449
+ ]
}
],
"sources": [
@@ -6311,7 +6535,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [460, 459]
+ "children": [
+ 460,
+ 459
+ ]
}
],
"sources": [
@@ -6371,7 +6598,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 456, 455]
+ "children": [
+ 457,
+ 456,
+ 455
+ ]
}
],
"sources": [
@@ -6546,7 +6777,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [512, 511]
+ "children": [
+ 512,
+ 511
+ ]
}
],
"sources": [
@@ -6564,7 +6798,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509]
+ "children": [
+ 509
+ ]
}
],
"sources": [
@@ -6614,7 +6850,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514]
+ "children": [
+ 514
+ ]
}
],
"sources": [
@@ -6661,7 +6899,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [516]
+ "children": [
+ 516
+ ]
}
],
"sources": [
@@ -6766,7 +7006,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [183]
+ "children": [
+ 183
+ ]
}
]
}
@@ -6959,7 +7201,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 437, 436]
+ "children": [
+ 438,
+ 437,
+ 436
+ ]
}
],
"sources": [
@@ -6998,7 +7244,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432, 434, 433]
+ "children": [
+ 432,
+ 434,
+ 433
+ ]
}
],
"sources": [
@@ -7095,7 +7345,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [445, 444]
+ "children": [
+ 445,
+ 444
+ ]
}
],
"sources": [
@@ -7155,7 +7408,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 441, 440]
+ "children": [
+ 442,
+ 441,
+ 440
+ ]
}
],
"sources": [
@@ -7328,7 +7585,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [409, 406, 408, 407]
+ "children": [
+ 409,
+ 406,
+ 408,
+ 407
+ ]
}
],
"sources": [
@@ -7503,7 +7765,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -7578,7 +7843,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -7692,7 +7962,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -7746,7 +8019,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -7784,17 +8062,38 @@
{
"title": "Constructors",
"kind": 512,
- "children": [75]
+ "children": [
+ 75
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [
+ 78,
+ 79
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [123, 140, 101, 184, 159, 195, 153, 111, 114, 108, 120, 180, 105, 143, 117]
+ "children": [
+ 123,
+ 140,
+ 101,
+ 184,
+ 159,
+ 195,
+ 153,
+ 111,
+ 114,
+ 108,
+ 120,
+ 180,
+ 105,
+ 143,
+ 117
+ ]
}
],
"sources": [
@@ -7869,7 +8168,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [356, 357]
+ "children": [
+ 356,
+ 357
+ ]
}
],
"sources": [
@@ -8125,7 +8427,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [412, 415, 419, 416, 413, 418, 417, 414, 411]
+ "children": [
+ 412,
+ 415,
+ 419,
+ 416,
+ 413,
+ 418,
+ 417,
+ 414,
+ 411
+ ]
}
],
"sources": [
@@ -8303,7 +8615,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 372, 371, 370, 373, 375]
+ "children": [
+ 374,
+ 372,
+ 371,
+ 370,
+ 373,
+ 375
+ ]
}
],
"sources": [
@@ -8373,7 +8692,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [540, 541]
+ "children": [
+ 540,
+ 541
+ ]
}
],
"sources": [
@@ -8414,7 +8736,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions (if the deleted factor was verified). There's no need to delete\nunverified factors.",
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
"tags": [
{
"tag": "see",
@@ -8454,7 +8776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 12
}
],
@@ -8479,7 +8801,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 844,
"character": 2
}
],
@@ -8500,7 +8822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 860,
+ "line": 847,
"character": 2
}
],
@@ -8514,13 +8836,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [684, 685]
+ "children": [
+ 684,
+ 685
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 45
}
]
@@ -8560,7 +8885,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Lists all factors attached to a user."
+ "shortText": "Lists all factors associated to a user."
},
"parameters": [
{
@@ -8590,7 +8915,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 12
}
],
@@ -8610,12 +8935,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the user for which to list all MFA factors."
+ "shortText": "ID of the user."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 868,
"character": 2
}
],
@@ -8629,13 +8954,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [697]
+ "children": [
+ 697
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 44
}
]
@@ -8666,13 +8993,16 @@
{
"title": "Methods",
"kind": 2048,
- "children": [702, 699]
+ "children": [
+ 702,
+ 699
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 889,
+ "line": 876,
"character": 17
}
]
@@ -8701,7 +9031,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor. Provide the challenge ID and verification code by calling\n{@link GoTrueMFAApi#verify}."
+ "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
},
"parameters": [
{
@@ -8723,7 +9053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 12
}
],
@@ -8743,12 +9073,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor to be challenged."
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 624,
"character": 2
}
],
@@ -8762,13 +9092,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [579]
+ "children": [
+ 579
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 33
}
]
@@ -8808,13 +9140,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challengeAndVerify}\n\n"
- }
- ]
+ "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
},
"parameters": [
{
@@ -8836,7 +9162,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 12
}
],
@@ -8861,7 +9187,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 628,
+ "line": 631,
"character": 2
}
],
@@ -8877,12 +9203,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 629,
"character": 2
}
],
@@ -8896,13 +9222,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [583, 582]
+ "children": [
+ 583,
+ 582
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 42
}
]
@@ -8942,22 +9271,8 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Starts the enrollment process for a new Multi-Factor Authentication\nfactor. This method creates a new factor in the 'unverified' state.\nPresent the QR code or secret to the user and ask them to add it to their\nauthenticator app. Ask the user to provide you with an authenticator code\nfrom their app and verify it by calling challenge and then verify.",
- "text": "The first successful verification of an unverified factor activates the\nfactor. All other sessions are logged out and the current one gets an\n`aal2` authenticator level.\n",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#verify}"
- },
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}\n\n"
- }
- ]
+ "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
+ "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
},
"parameters": [
{
@@ -8998,10 +9313,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 599,
"character": 2
}
],
@@ -9018,10 +9336,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 600,
+ "line": 603,
"character": 2
}
],
@@ -9038,10 +9359,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 601,
"character": 2
}
],
@@ -9055,7 +9379,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 568, 567]
+ "children": [
+ 566,
+ 568,
+ 567
+ ]
}
],
"sources": [
@@ -9180,7 +9508,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Unenroll removes a MFA factor. Unverified factors can safely be ignored\nand it's not necessary to unenroll them. Unenrolling a verified MFA factor\ncannot be done from a session with an `aal1` authenticator level."
+ "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
},
"parameters": [
{
@@ -9202,7 +9530,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 12
}
],
@@ -9227,7 +9555,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 608,
"character": 2
}
],
@@ -9241,13 +9569,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [571]
+ "children": [
+ 571
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 32
}
]
@@ -9287,13 +9617,7 @@
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Verifies a verification code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app.",
- "tags": [
- {
- "tag": "see",
- "text": "{@link GoTrueMFAApi#challenge}\n\n"
- }
- ]
+ "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
},
"parameters": [
{
@@ -9315,7 +9639,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 12
}
],
@@ -9335,12 +9659,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the challenge being verified."
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 616,
"character": 2
}
],
@@ -9361,7 +9685,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 619,
"character": 2
}
],
@@ -9377,12 +9701,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 613,
"character": 2
}
],
@@ -9396,13 +9720,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [575, 576, 574]
+ "children": [
+ 575,
+ 576,
+ 574
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 30
}
]
@@ -9433,13 +9761,21 @@
{
"title": "Methods",
"kind": 2048,
- "children": [657, 666, 654, 671, 669, 663, 660]
+ "children": [
+ 657,
+ 666,
+ 654,
+ 671,
+ 669,
+ 663,
+ 660
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 756,
+ "line": 759,
"character": 17
}
]
@@ -9643,7 +9979,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [349, 352, 351, 348, 347, 350, 353, 354]
+ "children": [
+ 349,
+ 352,
+ 351,
+ 348,
+ 347,
+ 350,
+ 353,
+ 354
+ ]
}
],
"sources": [
@@ -9843,12 +10188,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [421]
+ "children": [
+ 421
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [422, 426]
+ "children": [
+ 422,
+ 426
+ ]
}
],
"sources": [
@@ -9889,7 +10239,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [429]
+ "children": [
+ 429
+ ]
}
],
"sources": [
@@ -10333,8 +10685,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399,
- 389, 401, 402, 386
+ 393,
+ 385,
+ 387,
+ 388,
+ 397,
+ 396,
+ 394,
+ 390,
+ 398,
+ 404,
+ 384,
+ 403,
+ 392,
+ 400,
+ 391,
+ 395,
+ 399,
+ 389,
+ 401,
+ 402,
+ 386
]
}
],
@@ -10378,7 +10749,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [377]
+ "children": [
+ 377
+ ]
}
],
"sources": [
@@ -10517,7 +10890,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [409, 406, 408, 407]
+ "children": [
+ 409,
+ 406,
+ 408,
+ 407
+ ]
}
],
"sources": [
@@ -10704,7 +11082,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [366, 359, 361, 367, 365, 368, 360]
+ "children": [
+ 366,
+ 359,
+ 361,
+ 367,
+ 365,
+ 368,
+ 360
+ ]
}
],
"sources": [
@@ -10855,7 +11241,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -10909,7 +11298,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -11008,7 +11402,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -11083,7 +11480,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -11190,7 +11592,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 12
}
],
@@ -11215,7 +11617,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 844,
"character": 2
}
],
@@ -11236,7 +11638,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 860,
+ "line": 847,
"character": 2
}
],
@@ -11250,13 +11652,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [684, 685]
+ "children": [
+ 684,
+ 685
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 842,
"character": 45
}
]
@@ -11280,7 +11685,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 829,
"character": 12
}
],
@@ -11305,7 +11710,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 844,
+ "line": 831,
"character": 6
}
],
@@ -11330,7 +11735,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 846,
+ "line": 833,
"character": 8
}
],
@@ -11344,13 +11749,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [677]
+ "children": [
+ 677
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 844,
+ "line": 831,
"character": 12
}
]
@@ -11366,7 +11773,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 848,
+ "line": 835,
"character": 6
}
],
@@ -11380,13 +11787,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [675, 678]
+ "children": [
+ 675,
+ 678
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 843,
+ "line": 830,
"character": 4
}
]
@@ -11410,7 +11820,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 6
}
],
@@ -11428,7 +11838,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 18
}
],
@@ -11443,13 +11853,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [680, 681]
+ "children": [
+ 680,
+ 681
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 850,
+ "line": 837,
"character": 4
}
]
@@ -11475,7 +11888,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 12
}
],
@@ -11495,12 +11908,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the user for which to list all MFA factors."
+ "shortText": "ID of the user."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 881,
+ "line": 868,
"character": 2
}
],
@@ -11514,13 +11927,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [697]
+ "children": [
+ 697
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 879,
+ "line": 866,
"character": 44
}
]
@@ -11544,7 +11959,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 853,
"character": 12
}
],
@@ -11569,7 +11984,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 868,
+ "line": 855,
"character": 6
}
],
@@ -11594,7 +12009,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 870,
+ "line": 857,
"character": 8
}
],
@@ -11612,13 +12027,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [690]
+ "children": [
+ 690
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 868,
+ "line": 855,
"character": 12
}
]
@@ -11634,7 +12051,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 872,
+ "line": 859,
"character": 6
}
],
@@ -11648,13 +12065,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [688, 691]
+ "children": [
+ 688,
+ 691
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 867,
+ "line": 854,
"character": 4
}
]
@@ -11678,7 +12098,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 6
}
],
@@ -11696,7 +12116,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 18
}
],
@@ -11711,13 +12131,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [693, 694]
+ "children": [
+ 693,
+ 694
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 861,
"character": 4
}
]
@@ -11735,7 +12158,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 699,
+ "line": 702,
"character": 12
}
],
@@ -11760,7 +12183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 701,
+ "line": 704,
"character": 6
}
],
@@ -11785,7 +12208,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 709,
"character": 8
}
],
@@ -11806,7 +12229,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 703,
+ "line": 706,
"character": 8
}
],
@@ -11820,13 +12243,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [626, 625]
+ "children": [
+ 626,
+ 625
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 701,
+ "line": 704,
"character": 12
}
]
@@ -11842,7 +12268,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 708,
+ "line": 711,
"character": 6
}
],
@@ -11856,13 +12282,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [623, 627]
+ "children": [
+ 623,
+ 627
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 700,
+ "line": 703,
"character": 4
}
]
@@ -11886,7 +12315,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 6
}
],
@@ -11904,7 +12333,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 18
}
],
@@ -11919,13 +12348,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 630]
+ "children": [
+ 629,
+ 630
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 710,
+ "line": 713,
"character": 4
}
]
@@ -11943,7 +12375,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 656,
+ "line": 659,
"character": 12
}
],
@@ -11968,7 +12400,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 661,
"character": 6
}
],
@@ -11993,7 +12425,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 660,
+ "line": 663,
"character": 8
}
],
@@ -12014,7 +12446,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 666,
+ "line": 669,
"character": 8
}
],
@@ -12039,7 +12471,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 670,
+ "line": 673,
"character": 10
}
],
@@ -12060,7 +12492,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 678,
"character": 10
}
],
@@ -12081,7 +12513,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 679,
+ "line": 682,
"character": 10
}
],
@@ -12095,13 +12527,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 606, 607]
+ "children": [
+ 605,
+ 606,
+ 607
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 666,
+ "line": 669,
"character": 14
}
]
@@ -12120,7 +12556,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 666,
"character": 8
}
],
@@ -12134,13 +12570,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [601, 603, 602]
+ "children": [
+ 601,
+ 603,
+ 602
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 661,
"character": 12
}
]
@@ -12156,7 +12596,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 682,
+ "line": 685,
"character": 6
}
],
@@ -12170,13 +12610,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [599, 608]
+ "children": [
+ 599,
+ 608
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 660,
"character": 4
}
]
@@ -12200,7 +12643,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 685,
+ "line": 688,
"character": 6
}
],
@@ -12218,7 +12661,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 686,
+ "line": 689,
"character": 6
}
],
@@ -12233,13 +12676,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [610, 611]
+ "children": [
+ 610,
+ 611
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 684,
+ "line": 687,
"character": 4
}
]
@@ -12257,7 +12703,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 727,
+ "line": 730,
"character": 12
}
],
@@ -12282,7 +12728,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 732,
"character": 6
}
],
@@ -12307,7 +12753,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 746,
+ "line": 749,
"character": 8
}
],
@@ -12332,7 +12778,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 731,
+ "line": 734,
"character": 8
}
],
@@ -12369,7 +12815,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 739,
+ "line": 742,
"character": 8
}
],
@@ -12393,13 +12839,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [648, 646, 647]
+ "children": [
+ 648,
+ 646,
+ 647
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 729,
+ "line": 732,
"character": 12
}
]
@@ -12415,7 +12865,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 748,
+ "line": 751,
"character": 6
}
],
@@ -12429,13 +12879,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [644, 649]
+ "children": [
+ 644,
+ 649
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 731,
"character": 4
}
]
@@ -12459,7 +12912,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 6
}
],
@@ -12477,7 +12930,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 18
}
],
@@ -12492,13 +12945,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [651, 652]
+ "children": [
+ 651,
+ 652
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 750,
+ "line": 753,
"character": 4
}
]
@@ -12516,7 +12972,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 712,
+ "line": 715,
"character": 12
}
],
@@ -12541,7 +12997,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 714,
+ "line": 717,
"character": 6
}
],
@@ -12566,7 +13022,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 716,
+ "line": 719,
"character": 8
}
],
@@ -12591,7 +13047,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 722,
"character": 8
}
],
@@ -12609,13 +13065,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [635, 636]
+ "children": [
+ 635,
+ 636
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 714,
+ "line": 717,
"character": 12
}
]
@@ -12631,7 +13090,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 721,
+ "line": 724,
"character": 6
}
],
@@ -12645,13 +13104,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [633, 637]
+ "children": [
+ 633,
+ 637
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 713,
+ "line": 716,
"character": 4
}
]
@@ -12675,7 +13137,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 6
}
],
@@ -12693,7 +13155,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 18
}
],
@@ -12708,13 +13170,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [639, 640]
+ "children": [
+ 639,
+ 640
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 723,
+ "line": 726,
"character": 4
}
]
@@ -12732,7 +13197,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 689,
+ "line": 692,
"character": 12
}
],
@@ -12757,7 +13222,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 694,
"character": 6
}
],
@@ -12782,7 +13247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 693,
+ "line": 696,
"character": 8
}
],
@@ -12796,13 +13261,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [616]
+ "children": [
+ 616
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 694,
"character": 12
}
]
@@ -12818,7 +13285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 695,
+ "line": 698,
"character": 6
}
],
@@ -12832,13 +13299,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [614, 617]
+ "children": [
+ 614,
+ 617
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 690,
+ "line": 693,
"character": 4
}
]
@@ -12862,7 +13332,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 6
}
],
@@ -12880,7 +13350,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 18
}
],
@@ -12895,13 +13365,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [619, 620]
+ "children": [
+ 619,
+ 620
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 697,
+ "line": 700,
"character": 4
}
]
@@ -12919,7 +13392,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 634,
"character": 12
}
],
@@ -12944,7 +13417,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 636,
"character": 6
}
],
@@ -12969,7 +13442,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 635,
+ "line": 638,
"character": 8
}
],
@@ -12990,7 +13463,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 641,
+ "line": 644,
"character": 8
}
],
@@ -13011,7 +13484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 644,
+ "line": 647,
"character": 8
}
],
@@ -13032,7 +13505,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 641,
"character": 8
}
],
@@ -13053,7 +13526,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 647,
+ "line": 650,
"character": 8
}
],
@@ -13068,13 +13541,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [588, 590, 591, 589, 592]
+ "children": [
+ 588,
+ 590,
+ 591,
+ 589,
+ 592
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 636,
"character": 12
}
]
@@ -13090,7 +13569,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 649,
+ "line": 652,
"character": 6
}
],
@@ -13104,13 +13583,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [586, 593]
+ "children": [
+ 586,
+ 593
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 632,
+ "line": 635,
"character": 4
}
]
@@ -13134,7 +13616,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 652,
+ "line": 655,
"character": 6
}
],
@@ -13152,7 +13634,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 653,
+ "line": 656,
"character": 6
}
],
@@ -13167,13 +13649,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [595, 596]
+ "children": [
+ 595,
+ 596
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 651,
+ "line": 654,
"character": 4
}
]
@@ -13290,7 +13775,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [305, 304]
+ "children": [
+ 305,
+ 304
+ ]
}
],
"sources": [
@@ -13326,7 +13814,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [302, 306]
+ "children": [
+ 302,
+ 306
+ ]
}
],
"sources": [
@@ -13410,7 +13901,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 310]
+ "children": [
+ 311,
+ 310
+ ]
}
],
"sources": [
@@ -13447,7 +13941,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [308, 312]
+ "children": [
+ 308,
+ 312
+ ]
}
],
"sources": [
@@ -13471,7 +13968,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 725,
+ "line": 728,
"character": 12
}
],
@@ -13498,7 +13995,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 921,
+ "line": 907,
"character": 12
}
],
@@ -13523,7 +14020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 910,
"character": 6
}
],
@@ -13541,7 +14038,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 923,
+ "line": 909,
"character": 6
}
],
@@ -13556,13 +14053,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [712, 711]
+ "children": [
+ 712,
+ 711
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 908,
"character": 4
}
]
@@ -13586,7 +14086,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 928,
+ "line": 914,
"character": 6
}
],
@@ -13605,7 +14105,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 927,
+ "line": 913,
"character": 6
}
],
@@ -13619,13 +14119,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [715, 714]
+ "children": [
+ 715,
+ 714
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 912,
"character": 4
}
]
@@ -13802,7 +14305,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -13932,7 +14440,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -14084,7 +14596,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -14214,7 +14731,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [526, 527, 525]
+ "children": [
+ 526,
+ 527,
+ 525
+ ]
}
],
"sources": [
@@ -14326,7 +14847,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -14468,7 +14993,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 538, 535]
+ "children": [
+ 536,
+ 537,
+ 538,
+ 535
+ ]
}
],
"sources": [
@@ -14620,7 +15150,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [558, 559, 560, 561, 562]
+ "children": [
+ 558,
+ 559,
+ 560,
+ 561,
+ 562
+ ]
}
],
"sources": [
@@ -14723,7 +15259,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [547, 548]
+ "children": [
+ 547,
+ 548
+ ]
}
],
"sources": [
@@ -14759,7 +15298,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [545, 549]
+ "children": [
+ 545,
+ 549
+ ]
}
],
"sources": [
@@ -14843,7 +15385,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [553, 554]
+ "children": [
+ 553,
+ 554
+ ]
}
],
"sources": [
@@ -14880,7 +15425,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [551, 555]
+ "children": [
+ 551,
+ 555
+ ]
}
],
"sources": [
@@ -15037,7 +15585,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [531, 532, 530]
+ "children": [
+ 531,
+ 532,
+ 530
+ ]
}
],
"sources": [
@@ -15173,7 +15725,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [520, 522, 521, 519]
+ "children": [
+ 520,
+ 522,
+ 521,
+ 519
+ ]
}
],
"sources": [
@@ -15410,7 +15967,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 295, 299, 290, 297, 298, 294, 289]
+ "children": [
+ 296,
+ 295,
+ 299,
+ 290,
+ 297,
+ 298,
+ 294,
+ 289
+ ]
}
],
"sources": [
@@ -15432,7 +15998,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 12
}
],
@@ -15454,7 +16020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 33
}
],
@@ -15478,13 +16044,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [708]
+ "children": [
+ 708
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 905,
"character": 31
}
]
@@ -15500,7 +16068,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 12
}
],
@@ -15525,7 +16093,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 628,
+ "line": 631,
"character": 2
}
],
@@ -15541,12 +16109,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 629,
"character": 2
}
],
@@ -15560,13 +16128,16 @@
{
"title": "Properties",
"kind": 1024,
- "children": [583, 582]
+ "children": [
+ 583,
+ 582
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 627,
"character": 42
}
]
@@ -15582,7 +16153,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 12
}
],
@@ -15602,12 +16173,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor to be challenged."
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 624,
"character": 2
}
],
@@ -15621,13 +16192,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [579]
+ "children": [
+ 579
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 619,
+ "line": 622,
"character": 33
}
]
@@ -15662,10 +16235,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 598,
+ "line": 599,
"character": 2
}
],
@@ -15682,10 +16258,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 600,
+ "line": 603,
"character": 2
}
],
@@ -15702,10 +16281,13 @@
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 601,
"character": 2
}
],
@@ -15719,7 +16301,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [566, 568, 567]
+ "children": [
+ 566,
+ 568,
+ 567
+ ]
}
],
"sources": [
@@ -15741,7 +16327,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 12
}
],
@@ -15766,7 +16352,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 608,
"character": 2
}
],
@@ -15780,13 +16366,15 @@
{
"title": "Properties",
"kind": 1024,
- "children": [571]
+ "children": [
+ 571
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 606,
"character": 32
}
]
@@ -15802,7 +16390,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 12
}
],
@@ -15822,12 +16410,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the challenge being verified."
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 616,
"character": 2
}
],
@@ -15848,7 +16436,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 616,
+ "line": 619,
"character": 2
}
],
@@ -15864,12 +16452,12 @@
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "ID of the factor being verified."
+ "shortText": "ID of the factor being verified. Returned in enroll()."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 613,
"character": 2
}
],
@@ -15883,13 +16471,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [575, 576, 574]
+ "children": [
+ 575,
+ 576,
+ 574
+ ]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 611,
"character": 30
}
]
@@ -16012,7 +16604,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [317, 318]
+ "children": [
+ 317,
+ 318
+ ]
}
],
"sources": [
@@ -16048,7 +16643,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [315, 319]
+ "children": [
+ 315,
+ 319
+ ]
}
],
"sources": [
@@ -16133,7 +16731,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [323, 324]
+ "children": [
+ 323,
+ 324
+ ]
}
],
"sources": [
@@ -16170,7 +16771,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [321, 325]
+ "children": [
+ 321,
+ 325
+ ]
}
],
"sources": [
@@ -16344,7 +16948,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [
+ 330
+ ]
}
],
"sources": [
@@ -16380,7 +16986,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [328, 331]
+ "children": [
+ 328,
+ 331
+ ]
}
],
"sources": [
@@ -16443,7 +17052,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 334]
+ "children": [
+ 333,
+ 334
+ ]
}
],
"sources": [
@@ -16614,7 +17226,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [484, 482, 483]
+ "children": [
+ 484,
+ 482,
+ 483
+ ]
}
],
"sources": [
@@ -16654,7 +17270,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [480, 479]
+ "children": [
+ 480,
+ 479
+ ]
}
],
"sources": [
@@ -16789,7 +17408,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [453, 452]
+ "children": [
+ 453,
+ 452
+ ]
}
],
"sources": [
@@ -16828,7 +17450,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [448, 450, 449]
+ "children": [
+ 448,
+ 450,
+ 449
+ ]
}
],
"sources": [
@@ -16925,7 +17551,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [460, 459]
+ "children": [
+ 460,
+ 459
+ ]
}
],
"sources": [
@@ -16985,7 +17614,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 456, 455]
+ "children": [
+ 457,
+ 456,
+ 455
+ ]
}
],
"sources": [
@@ -17168,7 +17801,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468, 466, 467]
+ "children": [
+ 469,
+ 468,
+ 466,
+ 467
+ ]
}
],
"sources": [
@@ -17186,7 +17824,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [463, 464]
+ "children": [
+ 463,
+ 464
+ ]
}
],
"sources": [
@@ -17306,7 +17947,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [476, 475, 474]
+ "children": [
+ 476,
+ 475,
+ 474
+ ]
}
],
"sources": [
@@ -17345,7 +17990,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 471]
+ "children": [
+ 472,
+ 471
+ ]
}
],
"sources": [
@@ -17460,7 +18108,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [512, 511]
+ "children": [
+ 512,
+ 511
+ ]
}
],
"sources": [
@@ -17478,7 +18129,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [509]
+ "children": [
+ 509
+ ]
}
],
"sources": [
@@ -17528,7 +18181,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514]
+ "children": [
+ 514
+ ]
}
],
"sources": [
@@ -17575,7 +18230,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [516]
+ "children": [
+ 516
+ ]
}
],
"sources": [
@@ -17737,7 +18394,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 437, 436]
+ "children": [
+ 438,
+ 437,
+ 436
+ ]
}
],
"sources": [
@@ -17776,7 +18437,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [432, 434, 433]
+ "children": [
+ 432,
+ 434,
+ 433
+ ]
}
],
"sources": [
@@ -17873,7 +18538,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [445, 444]
+ "children": [
+ 445,
+ 444
+ ]
}
],
"sources": [
@@ -17933,7 +18601,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [442, 441, 440]
+ "children": [
+ 442,
+ 441,
+ 440
+ ]
}
],
"sources": [
@@ -17957,7 +18629,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 917,
+ "line": 903,
"character": 12
}
],
@@ -18070,7 +18742,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339]
+ "children": [
+ 339
+ ]
}
],
"sources": [
@@ -18106,7 +18780,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337, 340]
+ "children": [
+ 337,
+ 340
+ ]
}
],
"sources": [
@@ -18172,7 +18849,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
],
"sources": [
@@ -18209,7 +18888,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 345]
+ "children": [
+ 342,
+ 345
+ ]
}
],
"sources": [
@@ -18328,7 +19010,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [496, 495]
+ "children": [
+ 496,
+ 495
+ ]
}
]
}
@@ -18403,7 +19088,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 490, 491, 492]
+ "children": [
+ 493,
+ 490,
+ 491,
+ 492
+ ]
}
],
"sources": [
@@ -18517,7 +19207,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [504, 503]
+ "children": [
+ 504,
+ 503
+ ]
}
]
}
@@ -18571,7 +19264,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [498, 501, 499, 500]
+ "children": [
+ 498,
+ 501,
+ 499,
+ 500
+ ]
}
],
"sources": [
@@ -18682,26 +19380,97 @@
{
"title": "Classes",
"kind": 128,
- "children": [727, 722, 787, 774, 812, 762, 740, 747, 1, 74]
+ "children": [
+ 727,
+ 722,
+ 787,
+ 774,
+ 812,
+ 762,
+ 740,
+ 747,
+ 1,
+ 74
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [355, 410, 369, 539, 698, 653, 346, 420, 428, 383, 376, 405, 358, 380, 497, 489]
+ "children": [
+ 355,
+ 410,
+ 369,
+ 539,
+ 698,
+ 653,
+ 346,
+ 420,
+ 428,
+ 383,
+ 376,
+ 405,
+ 358,
+ 380,
+ 497,
+ 489
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
"children": [
- 286, 285, 682, 673, 695, 686, 621, 597, 642, 631, 612, 584, 300, 641, 709, 506, 533, 523,
- 542, 556, 543, 563, 528, 517, 287, 706, 580, 577, 564, 569, 572, 505, 313, 284, 326, 477,
- 446, 461, 507, 430, 705, 335, 488
+ 286,
+ 285,
+ 682,
+ 673,
+ 695,
+ 686,
+ 621,
+ 597,
+ 642,
+ 631,
+ 612,
+ 584,
+ 300,
+ 641,
+ 709,
+ 506,
+ 533,
+ 523,
+ 542,
+ 556,
+ 543,
+ 563,
+ 528,
+ 517,
+ 287,
+ 706,
+ 580,
+ 577,
+ 564,
+ 569,
+ 572,
+ 505,
+ 313,
+ 284,
+ 326,
+ 477,
+ 446,
+ 461,
+ 507,
+ 430,
+ 705,
+ 335,
+ 488
]
},
{
"title": "Functions",
"kind": 64,
- "children": [719, 716]
+ "children": [
+ 719,
+ 716
+ ]
}
],
"sources": [
@@ -18711,4 +19480,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 bdb5893958f..3802fc61535 100644
--- a/spec/enrichments/tsdoc_v2/postgrest.json
+++ b/spec/enrichments/tsdoc_v2/postgrest.json
@@ -1,12182 +1,12380 @@
{
- "id": 0,
- "name": "@supabase/postgrest-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 498,
- "name": "PostgrestBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isAbstract": true
- },
- "children": [
- {
- "id": 499,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 18,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 500,
- "name": "new PostgrestBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 501,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 502,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 515,
- "name": "allowEmpty",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 16,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 507,
- "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": 510,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 511,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 512,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 513,
- "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": 514,
- "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": 505,
- "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": 503,
- "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": 506,
- "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": 508,
- "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": 509,
- "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": 504,
- "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": 518,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 519,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 520,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 521,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 522,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 524,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 525,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 526,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 527,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 528,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 529,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "name": "PromiseLike.then"
- }
- },
- {
- "id": 516,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 517,
- "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": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [499]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [518, 516]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 5,
- "character": 30
- }
- ],
- "typeParameter": [
- {
- "id": 530,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 401,
- "name": "PostgrestTransformBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 501,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "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": 112,
- "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": 112,
- "name": "PostgrestFilterBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 113,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "new PostgrestFilterBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 115,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 116,
- "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": 117,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 118,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 403,
- "name": "default.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 402,
- "name": "default.constructor"
- }
- },
- {
- "id": 383,
- "name": "allowEmpty",
- "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": 480,
- "name": "default.allowEmpty"
- }
- },
- {
- "id": 375,
- "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": 472,
- "name": "default.body"
- }
- },
- {
- "id": 378,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 379,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 380,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 381,
- "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": 382,
- "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": 475,
- "name": "default.fetch"
- }
- },
- {
- "id": 373,
- "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": 470,
- "name": "default.headers"
- }
- },
- {
- "id": 371,
- "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": 468,
- "name": "default.method"
- }
- },
- {
- "id": 374,
- "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": 471,
- "name": "default.schema"
- }
- },
- {
- "id": 376,
- "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": 473,
- "name": "default.shouldThrowOnError"
- }
- },
- {
- "id": 377,
- "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": 474,
- "name": "default.signal"
- }
- },
- {
- "id": 372,
- "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": 469,
- "name": "default.url"
- }
- },
- {
- "id": 345,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 130,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 346,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the AbortSignal for the fetch request."
- },
- "parameters": [
- {
- "id": 347,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 443,
- "name": "default.abortSignal"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 442,
- "name": "default.abortSignal"
- }
- },
- {
- "id": 207,
- "name": "containedBy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 209,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 208,
- "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": 209,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 210,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 209,
- "name": "ColumnName"
- }
- },
- {
- "id": 211,
- "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": 209,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 212,
- "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": 213,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 214,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 199,
- "name": "contains",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 182,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 200,
- "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": 201,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 202,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 201,
- "name": "ColumnName"
- }
- },
- {
- "id": 203,
- "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": 201,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 204,
- "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": 205,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The jsonb, array, or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 206,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 352,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 161,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 353,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as a string in CSV format."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 450,
- "name": "default.csv"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 449,
- "name": "default.csv"
- }
- },
- {
- "id": 119,
- "name": "eq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 33,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 120,
- "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": 121,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 122,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 121,
- "name": "ColumnName"
- }
- },
- {
- "id": 123,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 121,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 124,
- "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": 125,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 126,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 356,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 195,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 357,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
- },
- "parameters": [
- {
- "id": 358,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 359,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 360,
- "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": 203,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 363,
- "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": 206,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 365,
- "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": 208,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "text"
- },
- {
- "type": "literal",
- "value": "json"
- }
- ]
- }
- },
- {
- "id": 362,
- "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": 205,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 361,
- "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": 204,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 364,
- "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": 207,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [360, 363, 365, 362, 361, 364]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 454,
- "name": "default.explain"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 453,
- "name": "default.explain"
- }
- },
- {
- "id": 301,
- "name": "filter",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 428,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 302,
- "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": 303,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 304,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 303,
- "name": "ColumnName"
- }
- },
- {
- "id": 305,
- "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": 306,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 307,
- "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": 308,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 309,
- "name": "operator",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The operator to filter with, following PostgREST syntax"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 310,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 354,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 169,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 355,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 452,
- "name": "default.geojson"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 451,
- "name": "default.geojson"
- }
- },
- {
- "id": 135,
- "name": "gt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 61,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 136,
- "name": "gt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
- },
- "typeParameter": [
- {
- "id": 137,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 138,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 137,
- "name": "ColumnName"
- }
- },
- {
- "id": 139,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 137,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 140,
- "name": "gt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than `value`."
- },
- "parameters": [
- {
- "id": 141,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 142,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 143,
- "name": "gte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 144,
- "name": "gte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
- },
- "typeParameter": [
- {
- "id": 145,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 146,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 145,
- "name": "ColumnName"
- }
- },
- {
- "id": 147,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 145,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 148,
- "name": "gte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is greater than or equal to `value`."
- },
- "parameters": [
- {
- "id": 149,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 150,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 175,
- "name": "ilike",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 126,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 176,
- "name": "ilike",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
- },
- "typeParameter": [
- {
- "id": 177,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 178,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 177,
- "name": "ColumnName"
- }
- },
- {
- "id": 179,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 180,
- "name": "ilike",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
- },
- "parameters": [
- {
- "id": 181,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 182,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 191,
- "name": "in",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 161,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 192,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "typeParameter": [
- {
- "id": 193,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 194,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 193,
- "name": "ColumnName"
- }
- },
- {
- "id": 195,
- "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": 193,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 196,
- "name": "in",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is included in the `values` array."
- },
- "parameters": [
- {
- "id": 197,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 198,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 183,
- "name": "is",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 139,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 184,
- "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": 185,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 186,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 185,
- "name": "ColumnName"
- }
- },
- {
- "id": 187,
- "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": 185,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- },
- {
- "type": "intersection",
- "types": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 185,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": false
- }
- ]
- },
- {
- "type": "intersection",
- "types": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 185,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- },
- {
- "type": "literal",
- "value": true
- }
- ]
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 188,
- "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": 189,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 190,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 167,
- "name": "like",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 113,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 168,
- "name": "like",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
- },
- "typeParameter": [
- {
- "id": 169,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 170,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 169,
- "name": "ColumnName"
- }
- },
- {
- "id": 171,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 172,
- "name": "like",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
- },
- "parameters": [
- {
- "id": 173,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 174,
- "name": "pattern",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The pattern to match with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 332,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 101,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 333,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `count`."
- },
- "parameters": [
- {
- "id": 334,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum number of rows to return"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 335,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 336,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 337,
- "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": 101,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [337]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 430,
- "name": "default.limit"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 429,
- "name": "default.limit"
- }
- },
- {
- "id": 151,
- "name": "lt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 87,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 152,
- "name": "lt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than `value`."
- },
- "typeParameter": [
- {
- "id": 153,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 154,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 153,
- "name": "ColumnName"
- }
- },
- {
- "id": 155,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 153,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 156,
- "name": "lt",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than `value`."
- },
- "parameters": [
- {
- "id": 157,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 158,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 159,
- "name": "lte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 100,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 160,
- "name": "lte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
- },
- "typeParameter": [
- {
- "id": 161,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 162,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 161,
- "name": "ColumnName"
- }
- },
- {
- "id": 163,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 161,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 164,
- "name": "lte",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is less than or equal to `value`."
- },
- "parameters": [
- {
- "id": 165,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 166,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 279,
- "name": "match",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 369,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 280,
- "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": 281,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 282,
- "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": 281,
- "name": "ColumnName"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 281,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 283,
- "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": 284,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 350,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 152,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 351,
- "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"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 535,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "PostgrestMaybeSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 448,
- "name": "default.maybeSingle"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 447,
- "name": "default.maybeSingle"
- }
- },
- {
- "id": 127,
- "name": "neq",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 128,
- "name": "neq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
- },
- "typeParameter": [
- {
- "id": 129,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 130,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 129,
- "name": "ColumnName"
- }
- },
- {
- "id": 131,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 129,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 132,
- "name": "neq",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Match only rows where `column` is not equal to `value`."
- },
- "parameters": [
- {
- "id": 133,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 134,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The value to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 285,
- "name": "not",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 385,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 286,
- "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": 287,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 288,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 287,
- "name": "ColumnName"
- }
- },
- {
- "id": 289,
- "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": 290,
- "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": 287,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 291,
- "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": 292,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 293,
- "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": 294,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 295,
- "name": "or",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 422,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 296,
- "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": 297,
- "name": "filters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The filters to use, following PostgREST syntax"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 298,
- "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": 299,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 300,
- "name": "foreignTable",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 422,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [300]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 316,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 49,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 317,
- "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": 318,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 319,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "reference",
- "id": 318,
- "name": "ColumnName"
- }
- },
- {
- "id": 320,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 321,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 322,
- "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": 51,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 324,
- "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": 51,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 323,
- "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": 51,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [322, 324, 323]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 414,
- "name": "default.order"
- }
- },
- {
- "id": 325,
- "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": 326,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 327,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 328,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 329,
- "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": 55,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 331,
- "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": 55,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 330,
- "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": 55,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [329, 331, 330]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 422,
- "name": "default.order"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 413,
- "name": "default.order"
- }
- },
- {
- "id": 255,
- "name": "overlaps",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 308,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 256,
- "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": 257,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 258,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 257,
- "name": "ColumnName"
- }
- },
- {
- "id": 259,
- "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": 257,
- "name": "ColumnName"
- },
- "objectType": {
- "type": "reference",
- "id": 116,
- "name": "Row"
- }
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 260,
- "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": 261,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The array or range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 262,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 338,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 116,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 339,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
- },
- "parameters": [
- {
- "id": 340,
- "name": "from",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The starting index from which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 341,
- "name": "to",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The last index to which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 342,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "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": 116,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [344]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 436,
- "name": "default.range"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 435,
- "name": "default.range"
- }
- },
- {
- "id": 247,
- "name": "rangeAdjacent",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 293,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 248,
- "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": 249,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 250,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 249,
- "name": "ColumnName"
- }
- },
- {
- "id": 251,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 252,
- "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": 253,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 254,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 215,
- "name": "rangeGt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 235,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 216,
- "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": 217,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 218,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 217,
- "name": "ColumnName"
- }
- },
- {
- "id": 219,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 220,
- "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": 221,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 222,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 223,
- "name": "rangeGte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 249,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 224,
- "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": 225,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 226,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 225,
- "name": "ColumnName"
- }
- },
- {
- "id": 227,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 228,
- "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": 229,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 230,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 231,
- "name": "rangeLt",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 264,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 232,
- "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": 233,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 234,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 233,
- "name": "ColumnName"
- }
- },
- {
- "id": 235,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 236,
- "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": 237,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 238,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 239,
- "name": "rangeLte",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 278,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 240,
- "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": 241,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 242,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 241,
- "name": "ColumnName"
- }
- },
- {
- "id": 243,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 244,
- "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": 245,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 246,
- "name": "range",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The range to filter with\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 368,
- "name": "returns",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 249,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 369,
- "name": "returns",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Override the type of the returned `data`."
- },
- "typeParameter": [
- {
- "id": 370,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "comment": {
- "shortText": "The new result type to override with\n"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 370,
- "name": "NewResult"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 466,
- "name": "default.returns"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 465,
- "name": "default.returns"
- }
- },
- {
- "id": 366,
- "name": "rollback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 235,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 464,
- "name": "default.rollback"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 463,
- "name": "default.rollback"
- }
- },
- {
- "id": 311,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 24,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 312,
- "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": 313,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 314,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 313,
- "name": "Query"
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 315,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
- },
- "type": {
- "type": "reference",
- "id": 313,
- "name": "Query"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 314,
- "name": "NewResult"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 409,
- "name": "default.select"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 408,
- "name": "default.select"
- }
- },
- {
- "id": 348,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 141,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 349,
- "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"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 446,
- "name": "default.single"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 445,
- "name": "default.single"
- }
- },
- {
- "id": 263,
- "name": "textSearch",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 331,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 264,
- "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": 265,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 266,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text or tsvector column to filter on"
- },
- "type": {
- "type": "reference",
- "id": 265,
- "name": "ColumnName"
- }
- },
- {
- "id": 267,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The query text to match with"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 268,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 269,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 270,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The text search configuration to use"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 334,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 271,
- "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": 334,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [270, 271]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 272,
- "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": 273,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The text or tsvector column to filter on"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 274,
- "name": "query",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The query text to match with"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 275,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 276,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 277,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The text search configuration to use"
- },
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 339,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 278,
- "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": 339,
- "character": 33
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "plain"
- },
- {
- "type": "literal",
- "value": "phrase"
- },
- {
- "type": "literal",
- "value": "websearch"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [277, 278]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 386,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 387,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 388,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 389,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 390,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 391,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 392,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 393,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 394,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 395,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 396,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 397,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 484,
- "name": "default.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 483,
- "name": "default.then"
- }
- },
- {
- "id": 384,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 385,
- "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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 482,
- "name": "default.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 481,
- "name": "default.throwOnError"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [113]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
- 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
- 263, 386, 384
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestFilterBuilder.ts",
- "line": 28,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 398,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 399,
- "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": 400,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 115,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 116,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 117,
- "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": 105,
- "name": "delete",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 296,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 106,
- "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": 107,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 109,
- "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": 299,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [109]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 82,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 117,
- "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": 122,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [88]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "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": "Result",
- "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\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": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "reference",
- "id": 76,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 98,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 247,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 99,
- "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": 100,
- "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": 101,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The values to update with\n"
- },
- "type": {
- "type": "reference",
- "id": 100,
- "name": "Row"
- }
- },
- {
- "id": 102,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 103,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 104,
- "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": 252,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [104]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 89,
- "name": "upsert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 189,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 90,
- "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": 91,
- "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": 92,
- "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": 91,
- "name": "Row"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 91,
- "name": "Row"
- }
- }
- ]
- }
- },
- {
- "id": 93,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 94,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 97,
- "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": 198,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 96,
- "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": 197,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 95,
- "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": 196,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [97, 96, 95]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "typeArguments": [
- {
- "type": "reference",
- "id": 52,
- "name": "Schema"
- },
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Row"
- },
- "objectType": {
- "type": "reference",
- "id": 53,
- "name": "Relation"
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- }
- ],
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [50]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [68, 65, 66, 67, 64]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [105, 82, 73, 98, 89]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestQueryBuilder.ts",
- "line": 6,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 110,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 111,
- "name": "Relation",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "GenericTable"
- },
- {
- "type": "reference",
- "name": "GenericView"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 401,
- "name": "PostgrestTransformBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 402,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "signatures": [
- {
- "id": 403,
- "name": "new PostgrestTransformBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 404,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 405,
- "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": 406,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 407,
- "name": "builder",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 500,
- "name": "default.constructor"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 499,
- "name": "default.constructor"
- }
- },
- {
- "id": 480,
- "name": "allowEmpty",
- "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": 515,
- "name": "default.allowEmpty"
- }
- },
- {
- "id": 472,
- "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": 507,
- "name": "default.body"
- }
- },
- {
- "id": 475,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 476,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 477,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 478,
- "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": 479,
- "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": 510,
- "name": "default.fetch"
- }
- },
- {
- "id": 470,
- "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": 505,
- "name": "default.headers"
- }
- },
- {
- "id": 468,
- "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": 503,
- "name": "default.method"
- }
- },
- {
- "id": 471,
- "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": 506,
- "name": "default.schema"
- }
- },
- {
- "id": 473,
- "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": 508,
- "name": "default.shouldThrowOnError"
- }
- },
- {
- "id": 474,
- "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": 509,
- "name": "default.signal"
- }
- },
- {
- "id": 469,
- "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": 504,
- "name": "default.url"
- }
- },
- {
- "id": 442,
- "name": "abortSignal",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 130,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 443,
- "name": "abortSignal",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Set the AbortSignal for the fetch request."
- },
- "parameters": [
- {
- "id": 444,
- "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": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 449,
- "name": "csv",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 161,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 450,
- "name": "csv",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as a string in CSV format."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- }
- ]
- },
- {
- "id": 453,
- "name": "explain",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 195,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 454,
- "name": "explain",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as the EXPLAIN plan for the query."
- },
- "parameters": [
- {
- "id": 455,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters\n"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 456,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 457,
- "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": 203,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 460,
- "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": 206,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 462,
- "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": 208,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "text"
- },
- {
- "type": "literal",
- "value": "json"
- }
- ]
- }
- },
- {
- "id": 459,
- "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": 205,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 458,
- "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": 204,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 461,
- "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": 207,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [457, 460, 462, 459, 458, 461]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 451,
- "name": "geojson",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 169,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 452,
- "name": "geojson",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- }
- ]
- },
- {
- "id": 429,
- "name": "limit",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 101,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 430,
- "name": "limit",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `count`."
- },
- "parameters": [
- {
- "id": 431,
- "name": "count",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The maximum number of rows to return"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 432,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 433,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 434,
- "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": 101,
- "character": 43
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [434]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 447,
- "name": "maybeSingle",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 152,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 448,
- "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"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 535,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "PostgrestMaybeSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- }
- ]
- },
- {
- "id": 413,
- "name": "order",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 49,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 414,
- "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": 415,
- "name": "ColumnName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "parameters": [
- {
- "id": 416,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "reference",
- "id": 318,
- "name": "ColumnName"
- }
- },
- {
- "id": 417,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 418,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 419,
- "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": 51,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 421,
- "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": 51,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "undefined"
- }
- },
- {
- "id": 420,
- "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": 51,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [419, 421, 420]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- },
- {
- "id": 422,
- "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": 423,
- "name": "column",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The column to order by"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 424,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Named parameters"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 425,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 426,
- "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": 55,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 428,
- "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": 55,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 427,
- "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": 55,
- "character": 37
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [426, 428, 427]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 435,
- "name": "range",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 116,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 436,
- "name": "range",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Limit the query result by `from` and `to` inclusively."
- },
- "parameters": [
- {
- "id": 437,
- "name": "from",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The starting index from which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 438,
- "name": "to",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The last index to which to limit the result"
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 439,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "Named parameters"
- },
- "originalName": "__namedParameters",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 440,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 441,
- "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": 116,
- "character": 54
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [441]
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 465,
- "name": "returns",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 249,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 466,
- "name": "returns",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Override the type of the returned `data`."
- },
- "typeParameter": [
- {
- "id": 467,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "comment": {
- "shortText": "The new result type to override with\n"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 370,
- "name": "NewResult"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 463,
- "name": "rollback",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 235,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 464,
- "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": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 408,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 24,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 409,
- "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": 410,
- "name": "Query",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "default": {
- "type": "literal",
- "value": "*"
- }
- },
- {
- "id": 411,
- "name": "NewResult",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 313,
- "name": "Query"
- }
- ],
- "name": "GetResult"
- }
- }
- ],
- "parameters": [
- {
- "id": 412,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The columns to retrieve, separated by commas\n"
- },
- "type": {
- "type": "reference",
- "id": 313,
- "name": "Query"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 314,
- "name": "NewResult"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 445,
- "name": "single",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 141,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 446,
- "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"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- }
- ]
- },
- {
- "id": 483,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 484,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 485,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "id": 486,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "parameters": [
- {
- "id": 487,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 488,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 489,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 490,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 531,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 491,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 492,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 493,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 494,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- }
- ]
- }
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 388,
- "name": "TResult1"
- },
- {
- "type": "reference",
- "id": 389,
- "name": "TResult2"
- }
- ]
- }
- ],
- "qualifiedName": "PromiseLike",
- "package": "typescript",
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 519,
- "name": "default.then"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 518,
- "name": "default.then"
- }
- },
- {
- "id": 481,
- "name": "throwOnError",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/PostgrestBuilder.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 482,
- "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": 401,
- "typeArguments": [
- {
- "type": "reference",
- "id": 404,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 405,
- "name": "Row"
- },
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 517,
- "name": "default.throwOnError"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 516,
- "name": "default.throwOnError"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [402]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
- }
- ],
- "sources": [
- {
- "fileName": "src/PostgrestTransformBuilder.ts",
- "line": 10,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 495,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "name": "GenericSchema"
- }
- },
- {
- "id": 496,
- "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": 497,
- "name": "Result",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 498,
- "typeArguments": [
- {
- "type": "reference",
- "id": 406,
- "name": "Result"
- }
- ],
- "name": "default"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 112,
- "name": "PostgrestFilterBuilder"
- }
- ]
- },
- {
- "id": 537,
- "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": 538,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 542,
- "name": "code",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 540,
- "name": "details",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 541,
- "name": "hint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 539,
- "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": [542, 540, 541, 539]
- }
- ],
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 8,
- "character": 29
- }
- ]
- }
- }
- },
- {
- "id": 535,
- "name": "PostgrestMaybeSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 45,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 536,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "reference",
- "id": 533,
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 536,
- "name": "T"
- },
- {
- "type": "literal",
- "value": null
- }
- ]
- }
- ],
- "name": "PostgrestSingleResponse"
- }
- },
- {
- "id": 531,
- "name": "PostgrestResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 35,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 532,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 532,
- "name": "T"
- }
- ],
- "name": "PostgrestResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
- }
- ]
- }
- },
- {
- "id": 533,
- "name": "PostgrestSingleResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/types.ts",
- "line": 42,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 534,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 534,
- "name": "T"
- }
- ],
- "name": "PostgrestSingleResponseSuccess"
- },
- {
- "type": "reference",
- "name": "PostgrestResponseFailure"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [498, 1, 112, 49, 401]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [537, 535, 531, 533]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 498,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isAbstract": true
+ },
+ "children": [
+ {
+ "id": 499,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 500,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 501,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 502,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 515,
+ "name": "allowEmpty",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 507,
+ "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": 510,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 511,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 512,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 513,
+ "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": 514,
+ "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": 505,
+ "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": 503,
+ "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": 506,
+ "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": 508,
+ "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": 509,
+ "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": 504,
+ "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": 518,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 519,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 520,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 521,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 522,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 523,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 524,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 525,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 526,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 527,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 528,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 529,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ }
+ ],
+ "implementationOf": {
+ "type": "reference",
+ "name": "PromiseLike.then"
+ }
+ },
+ {
+ "id": 516,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 517,
+ "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": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 499
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 518,
+ 516
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 5,
+ "character": 30
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 530,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 401,
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 501,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "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": 112,
+ "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": 112,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 113,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 114,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 115,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 116,
+ "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": 117,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 118,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 403,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 402,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 383,
+ "name": "allowEmpty",
+ "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": 480,
+ "name": "default.allowEmpty"
+ }
+ },
+ {
+ "id": 375,
+ "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": 472,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 378,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 379,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 380,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 381,
+ "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": 382,
+ "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": 475,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 373,
+ "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": 470,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 371,
+ "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": 468,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 374,
+ "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": 471,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 376,
+ "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": 473,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 377,
+ "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": 474,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 372,
+ "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": 469,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 345,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 346,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 347,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 443,
+ "name": "default.abortSignal"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 442,
+ "name": "default.abortSignal"
+ }
+ },
+ {
+ "id": 207,
+ "name": "containedBy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 209,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 208,
+ "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": 209,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 210,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 209,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 211,
+ "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": 209,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 212,
+ "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": 213,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 214,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 199,
+ "name": "contains",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 182,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 200,
+ "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": 201,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 202,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 201,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 203,
+ "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": 201,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 204,
+ "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": 205,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The jsonb, array, or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 206,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 161,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as a string in CSV format."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 450,
+ "name": "default.csv"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 449,
+ "name": "default.csv"
+ }
+ },
+ {
+ "id": 119,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 120,
+ "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": 121,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 122,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 121,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 123,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 121,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 124,
+ "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": 125,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 356,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 195,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 357,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as the EXPLAIN plan for the query."
+ },
+ "parameters": [
+ {
+ "id": 358,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 359,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 360,
+ "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": 203,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 363,
+ "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": 206,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 365,
+ "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": 208,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "text"
+ },
+ {
+ "type": "literal",
+ "value": "json"
+ }
+ ]
+ }
+ },
+ {
+ "id": 362,
+ "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": 205,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 361,
+ "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": 204,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 364,
+ "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": 207,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 360,
+ 363,
+ 365,
+ 362,
+ 361,
+ 364
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 454,
+ "name": "default.explain"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 453,
+ "name": "default.explain"
+ }
+ },
+ {
+ "id": 301,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 428,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 302,
+ "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": 303,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 304,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 303,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 305,
+ "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": 306,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 307,
+ "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": 308,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 309,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The operator to filter with, following PostgREST syntax"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 354,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 169,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 355,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 452,
+ "name": "default.geojson"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 451,
+ "name": "default.geojson"
+ }
+ },
+ {
+ "id": 135,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 136,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 137,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 138,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 139,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 137,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 140,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than `value`."
+ },
+ "parameters": [
+ {
+ "id": 141,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 142,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 74,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 144,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 145,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 146,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 147,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 145,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 148,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is greater than or equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 150,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 175,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 126,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 176,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 177,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 178,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 177,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 179,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 180,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-insensitively."
+ },
+ "parameters": [
+ {
+ "id": 181,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 191,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 161,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 192,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "typeParameter": [
+ {
+ "id": 193,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 194,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 193,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 195,
+ "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": 193,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 196,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is included in the `values` array."
+ },
+ "parameters": [
+ {
+ "id": 197,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 198,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 183,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 139,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 184,
+ "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": 185,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 186,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 185,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 187,
+ "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": 185,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 185,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": false
+ }
+ ]
+ },
+ {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 185,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ },
+ {
+ "type": "literal",
+ "value": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 188,
+ "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": 189,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 190,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 113,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 168,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ },
+ "typeParameter": [
+ {
+ "id": 169,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 170,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 169,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 171,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 172,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` matches `pattern` case-sensitively."
+ },
+ "parameters": [
+ {
+ "id": 173,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 174,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The pattern to match with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 332,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 333,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `count`."
+ },
+ "parameters": [
+ {
+ "id": 334,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum number of rows to return"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 335,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 336,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 337,
+ "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": 101,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 337
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 430,
+ "name": "default.limit"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 429,
+ "name": "default.limit"
+ }
+ },
+ {
+ "id": 151,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 87,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 152,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 153,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 154,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 155,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 153,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 156,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than `value`."
+ },
+ "parameters": [
+ {
+ "id": 157,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 100,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 160,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than or equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 161,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 162,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 163,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 161,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 164,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is less than or equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 165,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 166,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 279,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 369,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 280,
+ "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": 281,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 282,
+ "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": 281,
+ "name": "ColumnName"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 281,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 283,
+ "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": 284,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 152,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "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"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 535,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 448,
+ "name": "default.maybeSingle"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 447,
+ "name": "default.maybeSingle"
+ }
+ },
+ {
+ "id": 127,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 128,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is not equal to `value`."
+ },
+ "typeParameter": [
+ {
+ "id": 129,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 130,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 131,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 129,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 132,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Match only rows where `column` is not equal to `value`."
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 134,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The value to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 285,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 385,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 286,
+ "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": 287,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 288,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 287,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 289,
+ "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": 290,
+ "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": 287,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 291,
+ "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": 292,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 293,
+ "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": 294,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 295,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 422,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 296,
+ "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": 297,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The filters to use, following PostgREST syntax"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 298,
+ "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": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 300,
+ "name": "foreignTable",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 422,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 300
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 316,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 317,
+ "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": 318,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 319,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "reference",
+ "id": 318,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 320,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 322,
+ "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": 51,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 324,
+ "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": 51,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 323,
+ "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": 51,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 324,
+ 323
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 414,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 325,
+ "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": 326,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 327,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 328,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 329,
+ "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": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 331,
+ "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": 55,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "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": 55,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 329,
+ 331,
+ 330
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 422,
+ "name": "default.order"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 413,
+ "name": "default.order"
+ }
+ },
+ {
+ "id": 255,
+ "name": "overlaps",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 308,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 256,
+ "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": 257,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 258,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 257,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 259,
+ "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": 257,
+ "name": "ColumnName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 260,
+ "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": 261,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The array or range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 262,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `from` and `to` inclusively."
+ },
+ "parameters": [
+ {
+ "id": 340,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 341,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 342,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 343,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 344,
+ "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": 116,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 344
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 436,
+ "name": "default.range"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 435,
+ "name": "default.range"
+ }
+ },
+ {
+ "id": 247,
+ "name": "rangeAdjacent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 293,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 248,
+ "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": 249,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 250,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 249,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 251,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 252,
+ "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": 253,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 254,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 215,
+ "name": "rangeGt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 216,
+ "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": 217,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 218,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 217,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 219,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 220,
+ "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": 221,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 222,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "rangeGte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 249,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 224,
+ "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": 225,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 226,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 225,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 227,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 228,
+ "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": 229,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 231,
+ "name": "rangeLt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 264,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 232,
+ "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": 233,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 234,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 233,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 235,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 236,
+ "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": 237,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 238,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 239,
+ "name": "rangeLte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 278,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 240,
+ "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": 241,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 242,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 241,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 243,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 244,
+ "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": 245,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 246,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The range to filter with\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 368,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 369,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Override the type of the returned `data`."
+ },
+ "typeParameter": [
+ {
+ "id": 370,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new result type to override with\n"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 466,
+ "name": "default.returns"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 465,
+ "name": "default.returns"
+ }
+ },
+ {
+ "id": 366,
+ "name": "rollback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 464,
+ "name": "default.rollback"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 463,
+ "name": "default.rollback"
+ }
+ },
+ {
+ "id": 311,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 312,
+ "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": 313,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 314,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 315,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 314,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "default.select"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "default.select"
+ }
+ },
+ {
+ "id": 348,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 349,
+ "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"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 446,
+ "name": "default.single"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 445,
+ "name": "default.single"
+ }
+ },
+ {
+ "id": 263,
+ "name": "textSearch",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 331,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 264,
+ "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": 265,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 266,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The text or tsvector column to filter on"
+ },
+ "type": {
+ "type": "reference",
+ "id": 265,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 267,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The query text to match with"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 268,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 269,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 270,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The text search configuration to use"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 334,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 271,
+ "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": 334,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 270,
+ 271
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 272,
+ "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": 273,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The text or tsvector column to filter on"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 274,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The query text to match with"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 275,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 276,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 277,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The text search configuration to use"
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 339,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 278,
+ "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": 339,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "plain"
+ },
+ {
+ "type": "literal",
+ "value": "phrase"
+ },
+ {
+ "type": "literal",
+ "value": "websearch"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 277,
+ 278
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 386,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 387,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 388,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 389,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 390,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 391,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 392,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 393,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 394,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 395,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 396,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 397,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 484,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 483,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 384,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 385,
+ "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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 482,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 481,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 113
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 383,
+ 375,
+ 378,
+ 373,
+ 371,
+ 374,
+ 376,
+ 377,
+ 372
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 345,
+ 207,
+ 199,
+ 352,
+ 119,
+ 356,
+ 301,
+ 354,
+ 135,
+ 143,
+ 175,
+ 191,
+ 183,
+ 167,
+ 332,
+ 151,
+ 159,
+ 279,
+ 350,
+ 127,
+ 285,
+ 295,
+ 316,
+ 255,
+ 338,
+ 247,
+ 215,
+ 223,
+ 231,
+ 239,
+ 368,
+ 366,
+ 311,
+ 348,
+ 263,
+ 386,
+ 384
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestFilterBuilder.ts",
+ "line": 28,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 398,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 399,
+ "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": 400,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 115,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 116,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 117,
+ "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": 105,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 296,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 106,
+ "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": 107,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 109,
+ "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": 299,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 109
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 53,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 82,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 117,
+ "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": 122,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 88
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 53,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "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": "Result",
+ "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\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": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 53,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "reference",
+ "id": 76,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 98,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 99,
+ "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": 100,
+ "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": 101,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The values to update with\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 100,
+ "name": "Row"
+ }
+ },
+ {
+ "id": 102,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 104,
+ "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": 252,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 104
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 53,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 89,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 189,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 90,
+ "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": 91,
+ "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": 92,
+ "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": 91,
+ "name": "Row"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 91,
+ "name": "Row"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 93,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 97,
+ "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": 198,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 96,
+ "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": 197,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 95,
+ "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": 196,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 97,
+ 96,
+ 95
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 112,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 52,
+ "name": "Schema"
+ },
+ {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Row"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 53,
+ "name": "Relation"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 50
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 68,
+ 65,
+ 66,
+ 67,
+ 64
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 105,
+ 82,
+ 73,
+ 98,
+ 89
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestQueryBuilder.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 110,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 111,
+ "name": "Relation",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "GenericTable"
+ },
+ {
+ "type": "reference",
+ "name": "GenericView"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 401,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 402,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 403,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 404,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 405,
+ "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": 406,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 407,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 500,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 499,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 480,
+ "name": "allowEmpty",
+ "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": 515,
+ "name": "default.allowEmpty"
+ }
+ },
+ {
+ "id": 472,
+ "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": 507,
+ "name": "default.body"
+ }
+ },
+ {
+ "id": 475,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 476,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 477,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 478,
+ "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": 479,
+ "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": 510,
+ "name": "default.fetch"
+ }
+ },
+ {
+ "id": 470,
+ "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": 505,
+ "name": "default.headers"
+ }
+ },
+ {
+ "id": 468,
+ "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": 503,
+ "name": "default.method"
+ }
+ },
+ {
+ "id": 471,
+ "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": 506,
+ "name": "default.schema"
+ }
+ },
+ {
+ "id": 473,
+ "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": 508,
+ "name": "default.shouldThrowOnError"
+ }
+ },
+ {
+ "id": 474,
+ "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": 509,
+ "name": "default.signal"
+ }
+ },
+ {
+ "id": 469,
+ "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": 504,
+ "name": "default.url"
+ }
+ },
+ {
+ "id": 442,
+ "name": "abortSignal",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 130,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 443,
+ "name": "abortSignal",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Set the AbortSignal for the fetch request."
+ },
+ "parameters": [
+ {
+ "id": 444,
+ "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": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 449,
+ "name": "csv",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 161,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 450,
+ "name": "csv",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as a string in CSV format."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 453,
+ "name": "explain",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 195,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 454,
+ "name": "explain",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as the EXPLAIN plan for the query."
+ },
+ "parameters": [
+ {
+ "id": 455,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters\n"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 456,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 457,
+ "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": 203,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 460,
+ "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": 206,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 462,
+ "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": 208,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "text"
+ },
+ {
+ "type": "literal",
+ "value": "json"
+ }
+ ]
+ }
+ },
+ {
+ "id": 459,
+ "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": 205,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 458,
+ "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": 204,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 461,
+ "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": 207,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 457,
+ 460,
+ 462,
+ 459,
+ 458,
+ 461
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 451,
+ "name": "geojson",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 169,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 452,
+ "name": "geojson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 429,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 101,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 430,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `count`."
+ },
+ "parameters": [
+ {
+ "id": 431,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The maximum number of rows to return"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 432,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 433,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 434,
+ "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": 101,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 434
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 447,
+ "name": "maybeSingle",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 152,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 448,
+ "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"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 535,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestMaybeSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 413,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 414,
+ "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": 415,
+ "name": "ColumnName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 416,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "reference",
+ "id": 318,
+ "name": "ColumnName"
+ }
+ },
+ {
+ "id": 417,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 418,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 419,
+ "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": 51,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 421,
+ "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": 51,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ },
+ {
+ "id": 420,
+ "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": 51,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 419,
+ 421,
+ 420
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ },
+ {
+ "id": 422,
+ "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": 423,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The column to order by"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 424,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 425,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 426,
+ "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": 55,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 428,
+ "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": 55,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 427,
+ "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": 55,
+ "character": 37
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 426,
+ 428,
+ 427
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 435,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 116,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 436,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Limit the query result by `from` and `to` inclusively."
+ },
+ "parameters": [
+ {
+ "id": 437,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The starting index from which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 438,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The last index to which to limit the result"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 439,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "Named parameters"
+ },
+ "originalName": "__namedParameters",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 440,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 441,
+ "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": 116,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 441
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 465,
+ "name": "returns",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 249,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 466,
+ "name": "returns",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Override the type of the returned `data`."
+ },
+ "typeParameter": [
+ {
+ "id": 467,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The new result type to override with\n"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 370,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 463,
+ "name": "rollback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 235,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 464,
+ "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": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 408,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 409,
+ "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": 410,
+ "name": "Query",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "default": {
+ "type": "literal",
+ "value": "*"
+ }
+ },
+ {
+ "id": 411,
+ "name": "NewResult",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
+ }
+ ],
+ "name": "GetResult"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 412,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The columns to retrieve, separated by commas\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 313,
+ "name": "Query"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 314,
+ "name": "NewResult"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 445,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 141,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 446,
+ "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"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ }
+ ]
+ },
+ {
+ "id": 483,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 484,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 485,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "id": 486,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 487,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 488,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 489,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 490,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 531,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 491,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 492,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 493,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 494,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 388,
+ "name": "TResult1"
+ },
+ {
+ "type": "reference",
+ "id": 389,
+ "name": "TResult2"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "PromiseLike",
+ "package": "typescript",
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 519,
+ "name": "default.then"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 518,
+ "name": "default.then"
+ }
+ },
+ {
+ "id": 481,
+ "name": "throwOnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/PostgrestBuilder.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 482,
+ "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": 401,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 404,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 405,
+ "name": "Row"
+ },
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 517,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 516,
+ "name": "default.throwOnError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 402
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 480,
+ 472,
+ 475,
+ 470,
+ 468,
+ 471,
+ 473,
+ 474,
+ 469
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 442,
+ 449,
+ 453,
+ 451,
+ 429,
+ 447,
+ 413,
+ 435,
+ 465,
+ 463,
+ 408,
+ 445,
+ 483,
+ 481
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/PostgrestTransformBuilder.ts",
+ "line": 10,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 495,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "name": "GenericSchema"
+ }
+ },
+ {
+ "id": 496,
+ "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": 497,
+ "name": "Result",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 498,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "Result"
+ }
+ ],
+ "name": "default"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 112,
+ "name": "PostgrestFilterBuilder"
+ }
+ ]
+ },
+ {
+ "id": 537,
+ "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": 538,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 542,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 540,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 10,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 541,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 539,
+ "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": [
+ 542,
+ 540,
+ 541,
+ 539
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 8,
+ "character": 29
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 535,
+ "name": "PostgrestMaybeSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 45,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 536,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 533,
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 536,
+ "name": "T"
+ },
+ {
+ "type": "literal",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ },
+ {
+ "id": 531,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 35,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 532,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 532,
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 533,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/types.ts",
+ "line": 42,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 534,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 534,
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 498,
+ 1,
+ 112,
+ 49,
+ 401
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 537,
+ 535,
+ 531,
+ 533
+ ]
+ }
+ ],
+ "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 19da10fd6b8..4e601e2c9e3 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": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -729,17 +744,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -1120,7 +1150,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [12, 10, 11]
+ "children": [
+ 12,
+ 10,
+ 11
+ ]
}
]
}
@@ -1678,7 +1712,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [45, 44]
+ "children": [
+ 45,
+ 44
+ ]
}
]
}
@@ -1796,17 +1833,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": [
@@ -2680,17 +2727,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -4045,7 +4107,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [360, 363, 365, 362, 361, 364]
+ "children": [
+ 360,
+ 363,
+ 365,
+ 362,
+ 361,
+ 364
+ ]
}
]
}
@@ -5592,7 +5661,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337]
+ "children": [
+ 337
+ ]
}
]
}
@@ -6620,7 +6691,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [300]
+ "children": [
+ 300
+ ]
}
]
}
@@ -6801,7 +6874,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322, 324, 323]
+ "children": [
+ 322,
+ 324,
+ 323
+ ]
}
]
}
@@ -6953,7 +7030,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [329, 331, 330]
+ "children": [
+ 329,
+ 331,
+ 330
+ ]
}
]
}
@@ -7282,7 +7363,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
]
}
@@ -8561,7 +8644,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [270, 271]
+ "children": [
+ 270,
+ 271
+ ]
}
]
}
@@ -8713,7 +8799,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [277, 278]
+ "children": [
+ 277,
+ 278
+ ]
}
]
}
@@ -9053,20 +9142,66 @@
{
"title": "Constructors",
"kind": 512,
- "children": [113]
+ "children": [
+ 113
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [383, 375, 378, 373, 371, 374, 376, 377, 372]
+ "children": [
+ 383,
+ 375,
+ 378,
+ 373,
+ 371,
+ 374,
+ 376,
+ 377,
+ 372
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159,
- 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348,
- 263, 386, 384
+ 345,
+ 207,
+ 199,
+ 352,
+ 119,
+ 356,
+ 301,
+ 354,
+ 135,
+ 143,
+ 175,
+ 191,
+ 183,
+ 167,
+ 332,
+ 151,
+ 159,
+ 279,
+ 350,
+ 127,
+ 285,
+ 295,
+ 316,
+ 255,
+ 338,
+ 247,
+ 215,
+ 223,
+ 231,
+ 239,
+ 368,
+ 366,
+ 311,
+ 348,
+ 263,
+ 386,
+ 384
]
}
],
@@ -9381,7 +9516,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [59, 57, 58]
+ "children": [
+ 59,
+ 57,
+ 58
+ ]
}
]
}
@@ -9675,7 +9814,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [109]
+ "children": [
+ 109
+ ]
}
]
}
@@ -9852,7 +9993,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [88]
+ "children": [
+ 88
+ ]
}
]
}
@@ -10068,7 +10211,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 80]
+ "children": [
+ 81,
+ 80
+ ]
}
]
}
@@ -10234,7 +10380,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [104]
+ "children": [
+ 104
+ ]
}
]
}
@@ -10457,7 +10605,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [97, 96, 95]
+ "children": [
+ 97,
+ 96,
+ 95
+ ]
}
]
}
@@ -10501,17 +10653,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": [105, 82, 73, 98, 89]
+ "children": [
+ 105,
+ 82,
+ 73,
+ 98,
+ 89
+ ]
}
],
"sources": [
@@ -11288,17 +11454,32 @@
{
"title": "Constructors",
"kind": 512,
- "children": [499]
+ "children": [
+ 499
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [515, 507, 510, 505, 503, 506, 508, 509, 504]
+ "children": [
+ 515,
+ 507,
+ 510,
+ 505,
+ 503,
+ 506,
+ 508,
+ 509,
+ 504
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [518, 516]
+ "children": [
+ 518,
+ 516
+ ]
}
],
"sources": [
@@ -12027,7 +12208,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 460, 462, 459, 458, 461]
+ "children": [
+ 457,
+ 460,
+ 462,
+ 459,
+ 458,
+ 461
+ ]
}
]
}
@@ -12235,7 +12423,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [434]
+ "children": [
+ 434
+ ]
}
]
}
@@ -12463,7 +12653,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 421, 420]
+ "children": [
+ 419,
+ 421,
+ 420
+ ]
}
]
}
@@ -12610,7 +12804,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [426, 428, 427]
+ "children": [
+ 426,
+ 428,
+ 427
+ ]
}
]
}
@@ -12741,7 +12939,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441]
+ "children": [
+ 441
+ ]
}
]
}
@@ -13352,17 +13552,44 @@
{
"title": "Constructors",
"kind": 512,
- "children": [402]
+ "children": [
+ 402
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [480, 472, 475, 470, 468, 471, 473, 474, 469]
+ "children": [
+ 480,
+ 472,
+ 475,
+ 470,
+ 468,
+ 471,
+ 473,
+ 474,
+ 469
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481]
+ "children": [
+ 442,
+ 449,
+ 453,
+ 451,
+ 429,
+ 447,
+ 413,
+ 435,
+ 465,
+ 463,
+ 408,
+ 445,
+ 483,
+ 481
+ ]
}
],
"sources": [
@@ -13540,7 +13767,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [542, 540, 541, 539]
+ "children": [
+ 542,
+ 540,
+ 541,
+ 539
+ ]
}
],
"sources": [
@@ -13621,7 +13853,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
},
{
@@ -13648,7 +13883,10 @@
],
"type": {
"type": "union",
- "types": [null, null]
+ "types": [
+ null,
+ null
+ ]
}
}
],
@@ -13656,12 +13894,23 @@
{
"title": "Classes",
"kind": 128,
- "children": [498, 1, 112, 49, 401]
+ "children": [
+ 498,
+ 1,
+ 112,
+ 49,
+ 401
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [537, 535, 531, 533]
+ "children": [
+ 537,
+ 535,
+ 531,
+ 533
+ ]
}
],
"sources": [
@@ -13671,4 +13920,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 79913e6a85a..b0b5214aef6 100644
--- a/spec/enrichments/tsdoc_v2/realtime.json
+++ b/spec/enrichments/tsdoc_v2/realtime.json
@@ -1,5888 +1,6075 @@
{
- "id": 0,
- "name": "@supabase/realtime-js",
- "kind": 1,
- "kindString": "Project",
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 500,
- "name": "REALTIME_LISTEN_TYPES",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 501,
- "name": "BROADCAST",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 77,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "broadcast"
- },
- "defaultValue": "\"broadcast\""
- },
- {
- "id": 503,
- "name": "POSTGRES_CHANGES",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 79,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- },
- "defaultValue": "\"postgres_changes\""
- },
- {
- "id": 502,
- "name": "PRESENCE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 78,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "presence"
- },
- "defaultValue": "\"presence\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [501, 503, 502]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 76,
- "character": 12
- }
- ]
- },
- {
- "id": 504,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 505,
- "name": "ALL",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 70,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "*"
- },
- "defaultValue": "\"*\""
- },
- {
- "id": 508,
- "name": "DELETE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 73,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "DELETE"
- },
- "defaultValue": "\"DELETE\""
- },
- {
- "id": 506,
- "name": "INSERT",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 71,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "INSERT"
- },
- "defaultValue": "\"INSERT\""
- },
- {
- "id": 507,
- "name": "UPDATE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "UPDATE"
- },
- "defaultValue": "\"UPDATE\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [505, 508, 506, 507]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 69,
- "character": 12
- }
- ]
- },
- {
- "id": 509,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 511,
- "name": "JOIN",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 36,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "join"
- },
- "defaultValue": "\"join\""
- },
- {
- "id": 512,
- "name": "LEAVE",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "leave"
- },
- "defaultValue": "\"leave\""
- },
- {
- "id": 510,
- "name": "SYNC",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 35,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "sync"
- },
- "defaultValue": "\"sync\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [511, 512, 510]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 34,
- "character": 12
- }
- ]
- },
- {
- "id": 513,
- "name": "REALTIME_SUBSCRIBE_STATES",
- "kind": 8,
- "kindString": "Enumeration",
- "flags": {},
- "children": [
- {
- "id": 517,
- "name": "CHANNEL_ERROR",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 86,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "CHANNEL_ERROR"
- },
- "defaultValue": "\"CHANNEL_ERROR\""
- },
- {
- "id": 516,
- "name": "CLOSED",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 85,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "CLOSED"
- },
- "defaultValue": "\"CLOSED\""
- },
- {
- "id": 514,
- "name": "SUBSCRIBED",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 83,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "SUBSCRIBED"
- },
- "defaultValue": "\"SUBSCRIBED\""
- },
- {
- "id": 515,
- "name": "TIMED_OUT",
- "kind": 16,
- "kindString": "Enumeration Member",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 84,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "TIMED_OUT"
- },
- "defaultValue": "\"TIMED_OUT\""
- }
- ],
- "groups": [
- {
- "title": "Enumeration Members",
- "kind": 16,
- "children": [517, 516, 514, 515]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 82,
- "character": 12
- }
- ]
- },
- {
- "id": 55,
- "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": 66,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 111,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 67,
- "name": "new RealtimeChannel",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 68,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 69,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 294,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- },
- {
- "id": 70,
- "name": "socket",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 306,
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 71,
- "name": "bindings",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 95,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 72,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 73,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 74,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 75,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 81,
- "name": "callback",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 99,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 77,
- "name": "filter",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 98,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 78,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 98,
- "character": 14
- }
- ],
- "indexSignature": {
- "id": 79,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 80,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 82,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 100,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 76,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 97,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [81, 77, 82, 76]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 96,
- "character": 19
- }
- ]
- }
- }
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 86,
- "name": "joinPush",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 106,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 85,
- "name": "joinedOnce",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 105,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 91,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 294,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- },
- {
- "id": 89,
- "name": "presence",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 109,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 1,
- "name": "default"
- }
- },
- {
- "id": 88,
- "name": "pushBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 108,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "default"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 87,
- "name": "rejoinTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 107,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 92,
- "name": "socket",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 306,
- "name": "default"
- }
- },
- {
- "id": 84,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 104,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "CHANNEL_STATES"
- },
- "defaultValue": "CHANNEL_STATES.closed"
- },
- {
- "id": 83,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 103,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 90,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 119,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 315,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 120,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Listen to messages."
- },
- "parameters": [
- {
- "id": 121,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "broadcast"
- }
- },
- {
- "id": 122,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 123,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 124,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 317,
- "character": 14
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [124]
- }
- ]
- }
- }
- },
- {
- "id": 125,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 126,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 127,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 128,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 129,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 131,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 320,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 130,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 319,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "broadcast"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [131, 130]
- }
- ],
- "indexSignature": {
- "id": 132,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 133,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 134,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "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": 326,
- "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": 55,
- "name": "default"
- }
- },
- {
- "id": 142,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 143,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "presence"
- }
- },
- {
- "id": 144,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 145,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 146,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 331,
- "character": 14
- }
- ],
- "type": {
- "type": "literal",
- "value": "join"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [146]
- }
- ]
- }
- }
- },
- {
- "id": 147,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 148,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 149,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 150,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 483,
- "name": "RealtimePresenceJoinPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 151,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 152,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "presence"
- }
- },
- {
- "id": 153,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 154,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 155,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 336,
- "character": 14
- }
- ],
- "type": {
- "type": "literal",
- "value": "leave"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [155]
- }
- ]
- }
- }
- },
- {
- "id": 156,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 157,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 158,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 159,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 489,
- "name": "RealtimePresenceLeavePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 160,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 164,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 161,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 162,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 163,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 165,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 166,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 442,
- "typeArguments": [
- {
- "type": "literal",
- "value": "*"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 167,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 168,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 169,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 170,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 449,
- "typeArguments": [
- {
- "type": "reference",
- "id": 164,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresChangesPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 171,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 175,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 172,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 173,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 174,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 176,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 177,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 442,
- "typeArguments": [
- {
- "type": "literal",
- "value": "INSERT"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 178,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 179,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 180,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 181,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 454,
- "typeArguments": [
- {
- "type": "reference",
- "id": 175,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresInsertPayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 182,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 186,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 183,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 184,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 185,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 187,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 188,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 442,
- "typeArguments": [
- {
- "type": "literal",
- "value": "UPDATE"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 189,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 190,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 191,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 192,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "reference",
- "id": 186,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresUpdatePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 193,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 197,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 194,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 195,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 196,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 198,
- "name": "type",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "literal",
- "value": "postgres_changes"
- }
- },
- {
- "id": 199,
- "name": "filter",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 442,
- "typeArguments": [
- {
- "type": "literal",
- "value": "DELETE"
- }
- ],
- "name": "RealtimePostgresChangesFilter"
- }
- },
- {
- "id": 200,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 201,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 202,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 203,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 473,
- "typeArguments": [
- {
- "type": "reference",
- "id": 197,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresDeletePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 101,
- "name": "presenceState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 284,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 102,
- "name": "presenceState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 495,
- "name": "RealtimePresenceState"
- }
- }
- ]
- },
- {
- "id": 204,
- "name": "send",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 367,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 205,
- "name": "send",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 206,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 207,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 208,
- "name": "type",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 368,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [208]
- }
- ],
- "indexSignature": {
- "id": 209,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 210,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 211,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 212,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 213,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 214,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 305,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 93,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 171,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 94,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Subscribe registers your client with the server"
- },
- "parameters": [
- {
- "id": 95,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 96,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 97,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 98,
- "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": 99,
- "name": "err",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 100,
- "name": "timeout",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 103,
- "name": "track",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 288,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 104,
- "name": "track",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 105,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 106,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 107,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 108,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 109,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 110,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 111,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 112,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 305,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 221,
- "name": "unsubscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 407,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 222,
- "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": 223,
- "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": 113,
- "name": "untrack",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 302,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 114,
- "name": "untrack",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "opts",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 116,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 117,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 118,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 305,
- "name": "RealtimeChannelSendResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 215,
- "name": "updateJoinPayload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 394,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 216,
- "name": "updateJoinPayload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 217,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 218,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 219,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 220,
- "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": [66]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 94,
- "character": 21
- }
- ]
- },
- {
- "id": 306,
- "name": "RealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 307,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 88,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 308,
- "name": "new RealtimeClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Initializes the Socket."
- },
- "parameters": [
- {
- "id": 309,
- "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": 310,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 418,
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 306,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 311,
- "name": "accessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 312,
- "name": "channels",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 42,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 333,
- "name": "conn",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 57,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "reference",
- "qualifiedName": "WebSocket",
- "package": "typescript",
- "name": "WebSocket"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 331,
- "name": "decode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 55,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 330,
- "name": "encode",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 54,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 313,
- "name": "endPoint",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "''"
- },
- {
- "id": 342,
- "name": "eventsPerSecondLimitMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 71,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- },
- {
- "id": 314,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 44,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 315,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 316,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 317,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "DEFAULT_HEADERS"
- },
- {
- "id": 324,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "30000"
- },
- {
- "id": 325,
- "name": "heartbeatTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reference",
- "qualifiedName": "global.NodeJS.Timer",
- "package": "@types/node",
- "name": "Timer"
- }
- ]
- },
- "defaultValue": "undefined"
- },
- {
- "id": 343,
- "name": "inThrottle",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 72,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 329,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 53,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- },
- "defaultValue": "noop"
- },
- {
- "id": 318,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 45,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 319,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 320,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 321,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 326,
- "name": "pendingHeartbeatRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 332,
- "name": "reconnectAfterMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 56,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 328,
- "name": "reconnectTimer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 52,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- }
- },
- {
- "id": 327,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 51,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 334,
- "name": "sendBuffer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 335,
- "name": "serializer",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 59,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "default"
- },
- "defaultValue": "..."
- },
- {
- "id": 336,
- "name": "stateChangeCallbacks",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 60,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 337,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 339,
- "name": "close",
- "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"
- }
- }
- },
- {
- "id": 340,
- "name": "error",
- "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": 341,
- "name": "message",
- "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": 338,
- "name": "open",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 61,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [339, 340, 341, 338]
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 322,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 46,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_TIMEOUT"
- },
- {
- "id": 323,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "defaultValue": "w3cwebsocket"
- },
- {
- "id": 366,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 218,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 368,
- "name": "topic",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 369,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 294,
- "name": "RealtimeChannelOptions"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 344,
- "name": "connect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 125,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 345,
- "name": "connect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Connects the socket, unless already connected."
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 362,
- "name": "connectionState",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 198,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 363,
- "name": "connectionState",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns the current state of the socket."
- },
- "type": {
- "type": "reference",
- "name": "CONNECTION_STATE"
- }
- }
- ]
- },
- {
- "id": 346,
- "name": "disconnect",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 147,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 347,
- "name": "disconnect",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Disconnects the socket."
- },
- "parameters": [
- {
- "id": 348,
- "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": 349,
- "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": 350,
- "name": "getChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 162,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 351,
- "name": "getChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- }
- ]
- },
- {
- "id": 364,
- "name": "isConnected",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 214,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 365,
- "name": "isConnected",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Returns `true` is the connection is open."
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 357,
- "name": "log",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 191,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 358,
- "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": 359,
- "name": "kind",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 360,
- "name": "msg",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 361,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 370,
- "name": "push",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 236,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 371,
- "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": 372,
- "name": "data",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 435,
- "name": "RealtimeMessage"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "void"
- },
- {
- "type": "literal",
- "value": "rate limited"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 355,
- "name": "removeAllChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 177,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 356,
- "name": "removeAllChannels",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 499,
- "name": "RealtimeRemoveChannelResponse"
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 352,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 166,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 353,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 354,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 499,
- "name": "RealtimeRemoveChannelResponse"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 373,
- "name": "setAuth",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 263,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 374,
- "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": 375,
- "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": [307]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
- 334, 335, 336, 322, 323
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 40,
- "character": 21
- }
- ]
- },
- {
- "id": 1,
- "name": "RealtimePresence",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 28,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 83,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 29,
- "name": "new RealtimePresence",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Initializes the Presence."
- },
- "parameters": [
- {
- "id": 30,
- "name": "channel",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The RealtimeChannel"
- },
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 31,
- "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": 35,
- "name": "caller",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 66,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 36,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 37,
- "name": "onJoin",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 67,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "PresenceOnJoinCallback",
- "package": "@types/phoenix",
- "name": "PresenceOnJoinCallback"
- }
- },
- {
- "id": 38,
- "name": "onLeave",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 68,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "PresenceOnLeaveCallback",
- "package": "@types/phoenix",
- "name": "PresenceOnLeaveCallback"
- }
- },
- {
- "id": 39,
- "name": "onSync",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 69,
- "character": 4
- }
- ],
- "signatures": [
- {
- "id": 40,
- "name": "onSync",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [37, 38]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [39]
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 41,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPublic": true
- },
- "type": {
- "type": "reference",
- "id": 55,
- "name": "default"
- }
- },
- {
- "id": 34,
- "name": "joinRef",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 65,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "defaultValue": "null"
- },
- {
- "id": 33,
- "name": "pendingDiffs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "RawPresenceDiff"
- }
- },
- "defaultValue": "[]"
- },
- {
- "id": 32,
- "name": "state",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 495,
- "name": "RealtimePresenceState"
- },
- "defaultValue": "{}"
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [28]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [35, 41, 34, 33, 32]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 62,
- "character": 21
- }
- ]
- },
- {
- "id": 294,
- "name": "RealtimeChannelOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 13,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 295,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 296,
- "name": "config",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 297,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 298,
- "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": 19,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 299,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 301,
- "name": "ack",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 34
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 300,
- "name": "self",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [301, 300]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 19,
- "character": 16
- }
- ]
- }
- }
- },
- {
- "id": 302,
- "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": 23,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 303,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 304,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 23,
- "character": 17
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [304]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 23,
- "character": 15
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [298, 302]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 14,
- "character": 10
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [296]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 13,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 305,
- "name": "RealtimeChannelSendResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 67,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "rate limited"
- }
- ]
- }
- },
- {
- "id": 418,
- "name": "RealtimeClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 16,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 419,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 425,
- "name": "decode",
- "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": 424,
- "name": "encode",
- "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": 427,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 24,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 428,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 24,
- "character": 12
- }
- ],
- "indexSignature": {
- "id": 429,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 430,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 422,
- "name": "heartbeatIntervalMs",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 423,
- "name": "logger",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Function",
- "package": "typescript",
- "name": "Function"
- }
- },
- {
- "id": 431,
- "name": "params",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 432,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 25,
- "character": 11
- }
- ],
- "indexSignature": {
- "id": 433,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 434,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- }
- },
- {
- "id": 426,
- "name": "reconnectAfterMs",
- "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": 421,
- "name": "timeout",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 420,
- "name": "transport",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "WebSocket",
- "package": "typescript",
- "name": "WebSocket"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 16,
- "character": 36
- }
- ]
- }
- }
- },
- {
- "id": 435,
- "name": "RealtimeMessage",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 28,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 436,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 438,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 441,
- "name": "join_ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 439,
- "name": "payload",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 440,
- "name": "ref",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 32,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 437,
- "name": "topic",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [438, 441, 439, 440, 437]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 28,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 442,
- "name": "RealtimePostgresChangesFilter",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 60,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 448,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 443,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 444,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 448,
- "name": "T"
- }
- },
- {
- "id": 447,
- "name": "filter",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 445,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 62,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 446,
- "name": "table",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [444, 447, 445, 446]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 60,
- "character": 62
- }
- ]
- }
- }
- },
- {
- "id": 449,
- "name": "RealtimePostgresChangesPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 55,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 453,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 450,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 55,
- "character": 53
- }
- ],
- "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": "any"
- }
- }
- }
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 454,
- "typeArguments": [
- {
- "type": "reference",
- "id": 453,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresInsertPayload"
- },
- {
- "type": "reference",
- "id": 464,
- "typeArguments": [
- {
- "type": "reference",
- "id": 453,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresUpdatePayload"
- },
- {
- "type": "reference",
- "id": 473,
- "typeArguments": [
- {
- "type": "reference",
- "id": 453,
- "name": "T"
- }
- ],
- "name": "RealtimePostgresDeletePayload"
- }
- ]
- }
- },
- {
- "id": 473,
- "name": "RealtimePostgresDeletePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 48,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 482,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 479,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 48,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 480,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 481,
- "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": 474,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 475,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 50,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 508,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 476,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 51,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 477,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 51,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 478,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 52,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 482,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [475, 476, 478]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 49,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 454,
- "name": "RealtimePostgresInsertPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 34,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 463,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 460,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 34,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 461,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 462,
- "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": 455,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 456,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 36,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 506,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 457,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 37,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 463,
- "name": "T"
- }
- },
- {
- "id": 458,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 38,
- "character": 4
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 459,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 38,
- "character": 9
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [456, 457, 458]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 35,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 464,
- "name": "RealtimePostgresUpdatePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 41,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 472,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 469,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 41,
- "character": 52
- }
- ],
- "indexSignature": {
- "id": 470,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 471,
- "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": 465,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 466,
- "name": "eventType",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 43,
- "character": 4
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 507,
- "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 467,
- "name": "new",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 44,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 472,
- "name": "T"
- }
- },
- {
- "id": 468,
- "name": "old",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 45,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 472,
- "name": "T"
- }
- ],
- "qualifiedName": "Partial",
- "package": "typescript",
- "name": "Partial"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [466, 467, 468]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimeChannel.ts",
- "line": 42,
- "character": 39
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 483,
- "name": "RealtimePresenceJoinPayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 20,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 484,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 487,
- "name": "currentPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Presence"
- }
- }
- },
- {
- "id": 485,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 511,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 486,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 488,
- "name": "newPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 24,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Presence"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [487, 485, 486, 488]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 20,
- "character": 42
- }
- ]
- }
- }
- },
- {
- "id": 489,
- "name": "RealtimePresenceLeavePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 27,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 490,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 493,
- "name": "currentPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Presence"
- }
- }
- },
- {
- "id": 491,
- "name": "event",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 28,
- "character": 2
- }
- ],
- "type": {
- "type": "template-literal",
- "head": "",
- "tail": [
- [
- {
- "type": "reference",
- "id": 512,
- "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
- },
- ""
- ]
- ]
- }
- },
- {
- "id": 492,
- "name": "key",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 494,
- "name": "leftPresences",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Presence"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [493, 491, 492, 494]
- }
- ],
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 27,
- "character": 43
- }
- ]
- }
- }
- },
- {
- "id": 495,
- "name": "RealtimePresenceState",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 18,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 496,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimePresence.ts",
- "line": 18,
- "character": 36
- }
- ],
- "indexSignature": {
- "id": 497,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 498,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "Presence"
- }
- }
- }
- }
- }
- },
- {
- "id": 499,
- "name": "RealtimeRemoveChannelResponse",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "RealtimeClient.ts",
- "line": 36,
- "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": [500, 504, 509, 513]
- },
- {
- "title": "Classes",
- "kind": 128,
- "children": [55, 306, 1]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
- }
- ],
- "sources": [
- {
- "fileName": "index.ts",
- "line": 1,
- "character": 0
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 1,
+ "kindString": "Project",
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 500,
+ "name": "REALTIME_LISTEN_TYPES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 501,
+ "name": "BROADCAST",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 77,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ },
+ "defaultValue": "\"broadcast\""
+ },
+ {
+ "id": 503,
+ "name": "POSTGRES_CHANGES",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 79,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ },
+ "defaultValue": "\"postgres_changes\""
+ },
+ {
+ "id": 502,
+ "name": "PRESENCE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 78,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ },
+ "defaultValue": "\"presence\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 501,
+ 503,
+ 502
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 76,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 504,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 505,
+ "name": "ALL",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 70,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "*"
+ },
+ "defaultValue": "\"*\""
+ },
+ {
+ "id": 508,
+ "name": "DELETE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "DELETE"
+ },
+ "defaultValue": "\"DELETE\""
+ },
+ {
+ "id": 506,
+ "name": "INSERT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "INSERT"
+ },
+ "defaultValue": "\"INSERT\""
+ },
+ {
+ "id": 507,
+ "name": "UPDATE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "UPDATE"
+ },
+ "defaultValue": "\"UPDATE\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 505,
+ 508,
+ 506,
+ 507
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 69,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 509,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 511,
+ "name": "JOIN",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 36,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ },
+ "defaultValue": "\"join\""
+ },
+ {
+ "id": 512,
+ "name": "LEAVE",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 37,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ },
+ "defaultValue": "\"leave\""
+ },
+ {
+ "id": 510,
+ "name": "SYNC",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ },
+ "defaultValue": "\"sync\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 511,
+ 512,
+ 510
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 34,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 513,
+ "name": "REALTIME_SUBSCRIBE_STATES",
+ "kind": 8,
+ "kindString": "Enumeration",
+ "flags": {},
+ "children": [
+ {
+ "id": 517,
+ "name": "CHANNEL_ERROR",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 86,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ },
+ "defaultValue": "\"CHANNEL_ERROR\""
+ },
+ {
+ "id": 516,
+ "name": "CLOSED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 85,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ "defaultValue": "\"CLOSED\""
+ },
+ {
+ "id": 514,
+ "name": "SUBSCRIBED",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ "defaultValue": "\"SUBSCRIBED\""
+ },
+ {
+ "id": 515,
+ "name": "TIMED_OUT",
+ "kind": 16,
+ "kindString": "Enumeration Member",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ "defaultValue": "\"TIMED_OUT\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration Members",
+ "kind": 16,
+ "children": [
+ 517,
+ 516,
+ 514,
+ 515
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 82,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 55,
+ "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": 66,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 111,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 67,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 68,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 69,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 70,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 95,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 72,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 73,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 74,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 81,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 99,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 77,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 79,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 80,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 82,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 100,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 97,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 96,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 86,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 106,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 85,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 91,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 89,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 109,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ },
+ {
+ "id": 88,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 108,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 87,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 107,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 92,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ },
+ {
+ "id": 84,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 104,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 83,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 90,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 120,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Listen to messages."
+ },
+ "parameters": [
+ {
+ "id": 121,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 122,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 124
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 131,
+ 130
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "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": 326,
+ "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": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 146
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 155
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 162,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 163,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 167,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter"
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 101,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 102,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 367,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 205,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 206,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 207,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 208,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 368,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 208
+ ]
+ }
+ ],
+ "indexSignature": {
+ "id": 209,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 210,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 211,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "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": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 100,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 104,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 105,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 106,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 107,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 108,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 110,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 111,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 112,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 407,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 222,
+ "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": 223,
+ "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": 113,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 302,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 114,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 115,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 117,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 118,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 215,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 394,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 216,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 217,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 218,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 219,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 220,
+ "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": [
+ 66
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "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": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "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"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "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": 341,
+ "name": "message",
+ "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": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "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": 349,
+ "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": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "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": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "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": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "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": 375,
+ "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": [
+ 307
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 31,
+ "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": 35,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 38,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 39,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 37,
+ 38
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 39
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 41,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 34,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 33,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 32,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState"
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 28
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 35,
+ 41,
+ 34,
+ 33,
+ 32
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "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": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 301,
+ 300
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "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": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 304
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 298,
+ 302
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 296
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 305,
+ "name": "RealtimeChannelSendResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 67,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ },
+ {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "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": 424,
+ "name": "encode",
+ "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": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "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": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T"
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 449,
+ "name": "RealtimePostgresChangesPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 453,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 450,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 55,
+ "character": 53
+ }
+ ],
+ "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": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ },
+ {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ },
+ {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 453,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ ]
+ }
+ },
+ {
+ "id": 473,
+ "name": "RealtimePostgresDeletePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 482,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 479,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 48,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 480,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 481,
+ "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": 474,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 475,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 50,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 508,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 476,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 478,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 52,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 482,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 475,
+ 476,
+ 478
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 49,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 454,
+ "name": "RealtimePostgresInsertPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 463,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 460,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 34,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 461,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 462,
+ "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": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 456,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 36,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 506,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 463,
+ "name": "T"
+ }
+ },
+ {
+ "id": 458,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 459,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 38,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 456,
+ 457,
+ 458
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 35,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "RealtimePostgresUpdatePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 472,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 41,
+ "character": 52
+ }
+ ],
+ "indexSignature": {
+ "id": 470,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 471,
+ "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": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "eventType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 43,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 507,
+ "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 467,
+ "name": "new",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 44,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ },
+ {
+ "id": 468,
+ "name": "old",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 45,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 472,
+ "name": "T"
+ }
+ ],
+ "qualifiedName": "Partial",
+ "package": "typescript",
+ "name": "Partial"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 466,
+ 467,
+ 468
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 42,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 487,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 485,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 511,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 486,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 488,
+ "name": "newPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 487,
+ 485,
+ 486,
+ 488
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 20,
+ "character": 42
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 490,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 493,
+ "name": "currentPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ },
+ {
+ "id": 491,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "template-literal",
+ "head": "",
+ "tail": [
+ [
+ {
+ "type": "reference",
+ "id": 512,
+ "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
+ },
+ ""
+ ]
+ ]
+ }
+ },
+ {
+ "id": 492,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 494,
+ "name": "leftPresences",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 493,
+ 491,
+ 492,
+ 494
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 27,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "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": [
+ 500,
+ 504,
+ 509,
+ 513
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 55,
+ 306,
+ 1
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 294,
+ 305,
+ 418,
+ 435,
+ 442,
+ 449,
+ 473,
+ 454,
+ 464,
+ 483,
+ 489,
+ 495,
+ 499
+ ]
+ }
+ ],
+ "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 053a099d227..f7ae12c4ac5 100644
--- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
@@ -75,7 +75,11 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [501, 503, 502]
+ "children": [
+ 501,
+ 503,
+ 502
+ ]
}
],
"sources": [
@@ -174,7 +178,12 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [505, 508, 506, 507]
+ "children": [
+ 505,
+ 508,
+ 506,
+ 507
+ ]
}
],
"sources": [
@@ -254,7 +263,11 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [511, 512, 510]
+ "children": [
+ 511,
+ 512,
+ 510
+ ]
}
],
"sources": [
@@ -353,7 +366,12 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [517, 516, 514, 515]
+ "children": [
+ 517,
+ 516,
+ 514,
+ 515
+ ]
}
],
"sources": [
@@ -532,7 +550,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -597,7 +618,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -615,7 +638,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -633,7 +659,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -1006,7 +1034,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425, 424, 427, 422, 423, 431, 426, 421, 420
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
]
}
],
@@ -1626,7 +1662,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -1829,7 +1870,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -1894,7 +1938,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -1912,7 +1958,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -1930,7 +1979,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -2362,7 +2413,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -2478,17 +2535,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -2578,20 +2658,54 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326,
- 332, 328, 327, 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ "children": [
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
+ ]
}
],
"sources": [
@@ -2780,7 +2894,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -3046,7 +3165,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -3130,7 +3251,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -3232,7 +3356,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -3331,7 +3457,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -3444,7 +3572,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -3694,7 +3824,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -3960,7 +4095,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -4226,7 +4366,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -4492,7 +4637,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -4654,7 +4804,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -5201,17 +5353,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -5568,7 +5743,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ "children": [
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
+ ]
}
],
"sources": [
@@ -6187,7 +6372,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -6390,7 +6580,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -6455,7 +6648,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -6473,7 +6668,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -6491,7 +6689,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -6923,7 +7123,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -7193,7 +7399,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -7258,7 +7467,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -7276,7 +7487,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -7294,7 +7508,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -7331,21 +7547,53 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343,
- 329, 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
]
}
],
@@ -7535,7 +7783,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -7801,7 +8054,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -7885,7 +8140,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -7987,7 +8245,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -8086,7 +8346,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -8199,7 +8461,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -8449,7 +8713,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -8715,7 +8984,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -8981,7 +9255,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -9247,7 +9526,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -9409,7 +9693,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -9956,17 +10242,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -10056,20 +10365,54 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328, 327,
- 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ "children": [
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
+ ]
}
],
"sources": [
@@ -10292,7 +10635,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -10357,7 +10703,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -10375,7 +10723,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -10393,7 +10744,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -10766,8 +11119,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425, 424, 427, 422, 423, 431, 426,
- 421, 420
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
]
}
],
@@ -11387,7 +11747,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 340, 341, 338]
+ "children": [
+ 339,
+ 340,
+ 341,
+ 338
+ ]
}
]
}
@@ -11590,7 +11955,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -11655,7 +12023,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -11673,7 +12043,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -11691,7 +12064,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -12123,7 +12498,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -12305,21 +12686,53 @@
{
"title": "Constructors",
"kind": 512,
- "children": [307]
+ "children": [
+ 307
+ ]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343,
- 329, 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
+ 311,
+ 312,
+ 333,
+ 331,
+ 330,
+ 313,
+ 342,
+ 314,
+ 324,
+ 325,
+ 343,
+ 329,
+ 318,
+ 326,
+ 332,
+ 328,
+ 327,
+ 334,
+ 335,
+ 336,
+ 322,
+ 323
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ 366,
+ 344,
+ 362,
+ 346,
+ 350,
+ 364,
+ 357,
+ 370,
+ 355,
+ 352,
+ 373
]
}
],
@@ -12509,7 +12922,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [81, 77, 82, 76]
+ "children": [
+ 81,
+ 77,
+ 82,
+ 76
+ ]
}
],
"sources": [
@@ -12775,7 +13193,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [
+ 124
+ ]
}
]
}
@@ -12859,7 +13279,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [131, 130]
+ "children": [
+ 131,
+ 130
+ ]
}
],
"indexSignature": {
@@ -12961,7 +13384,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [138]
+ "children": [
+ 138
+ ]
}
]
}
@@ -13060,7 +13485,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [146]
+ "children": [
+ 146
+ ]
}
]
}
@@ -13173,7 +13600,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155]
+ "children": [
+ 155
+ ]
}
]
}
@@ -13423,7 +13852,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -13689,7 +14123,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -13955,7 +14394,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -14221,7 +14665,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -14383,7 +14832,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [208]
+ "children": [
+ 208
+ ]
}
],
"indexSignature": {
@@ -14930,17 +15381,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [66]
+ "children": [
+ 66
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ "children": [
+ 71,
+ 86,
+ 85,
+ 91,
+ 89,
+ 88,
+ 87,
+ 92,
+ 84,
+ 83,
+ 90
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ "children": [
+ 119,
+ 101,
+ 204,
+ 93,
+ 103,
+ 221,
+ 113,
+ 215
+ ]
}
],
"sources": [
@@ -15074,12 +15548,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [37, 38]
+ "children": [
+ 37,
+ 38
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [39]
+ "children": [
+ 39
+ ]
}
]
}
@@ -15175,12 +15654,20 @@
{
"title": "Constructors",
"kind": 512,
- "children": [28]
+ "children": [
+ 28
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [35, 41, 34, 33, 32]
+ "children": [
+ 35,
+ 41,
+ 34,
+ 33,
+ 32
+ ]
}
],
"sources": [
@@ -15307,7 +15794,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [301, 300]
+ "children": [
+ 301,
+ 300
+ ]
}
],
"sources": [
@@ -15372,7 +15862,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [
+ 304
+ ]
}
],
"sources": [
@@ -15390,7 +15882,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 302]
+ "children": [
+ 298,
+ 302
+ ]
}
],
"sources": [
@@ -15408,7 +15903,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296]
+ "children": [
+ 296
+ ]
}
],
"sources": [
@@ -15741,7 +16238,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ "children": [
+ 425,
+ 424,
+ 427,
+ 422,
+ 423,
+ 431,
+ 426,
+ 421,
+ 420
+ ]
}
],
"sources": [
@@ -15873,7 +16380,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438, 441, 439, 440, 437]
+ "children": [
+ 438,
+ 441,
+ 439,
+ 440,
+ 437
+ ]
}
],
"sources": [
@@ -16003,7 +16516,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [444, 447, 445, 446]
+ "children": [
+ 444,
+ 447,
+ 445,
+ 446
+ ]
}
],
"sources": [
@@ -16242,7 +16760,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457, 458]
+ "children": [
+ 456,
+ 457,
+ 458
+ ]
}
],
"sources": [
@@ -16414,7 +16936,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 467, 468]
+ "children": [
+ 466,
+ 467,
+ 468
+ ]
}
],
"sources": [
@@ -16598,7 +17124,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [475, 476, 478]
+ "children": [
+ 475,
+ 476,
+ 478
+ ]
}
],
"sources": [
@@ -16785,7 +17315,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [475, 476, 478]
+ "children": [
+ 475,
+ 476,
+ 478
+ ]
}
],
"sources": [
@@ -16961,7 +17495,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [456, 457, 458]
+ "children": [
+ 456,
+ 457,
+ 458
+ ]
}
],
"sources": [
@@ -17133,7 +17671,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 467, 468]
+ "children": [
+ 466,
+ 467,
+ 468
+ ]
}
],
"sources": [
@@ -17263,7 +17805,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [487, 485, 486, 488]
+ "children": [
+ 487,
+ 485,
+ 486,
+ 488
+ ]
}
],
"sources": [
@@ -17391,7 +17938,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 494]
+ "children": [
+ 493,
+ 491,
+ 492,
+ 494
+ ]
}
],
"sources": [
@@ -17497,17 +18049,40 @@
{
"title": "Enumerations",
"kind": 8,
- "children": [500, 504, 509, 513]
+ "children": [
+ 500,
+ 504,
+ 509,
+ 513
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [55, 306, 1]
+ "children": [
+ 55,
+ 306,
+ 1
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [294, 305, 418, 435, 442, 449, 473, 454, 464, 483, 489, 495, 499]
+ "children": [
+ 294,
+ 305,
+ 418,
+ 435,
+ 442,
+ 449,
+ 473,
+ 454,
+ 464,
+ 483,
+ 489,
+ 495,
+ 499
+ ]
}
],
"sources": [
@@ -17517,4 +18092,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 989b1a8b754..8c155d7e995 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -1,6659 +1,6933 @@
{
- "id": 0,
- "name": "@supabase/storage-js",
- "kind": 1,
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 390,
- "name": "StorageApiError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 391,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 17,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 392,
- "name": "new StorageApiError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 393,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 394,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 390,
- "name": "StorageApiError"
- },
- "overwrites": {
- "type": "reference",
- "id": 387,
- "name": "StorageError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 386,
- "name": "StorageError.constructor"
- }
- },
- {
- "id": 395,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 396,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 23,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 397,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 398,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 400,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 26,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 399,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 401,
- "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": [400, 399, 401]
- }
- ]
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [391]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [395]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [396]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 14,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- ]
- },
- {
- "id": 258,
- "name": "StorageClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 259,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 6,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 260,
- "name": "new StorageClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 261,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 266,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "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": 258,
- "name": "StorageClient"
- },
- "overwrites": {
- "type": "reference",
- "id": 5,
- "name": "default.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 4,
- "name": "default.constructor"
- }
- },
- {
- "id": 301,
- "name": "createBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 302,
- "name": "createBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a new Storage bucket",
- "returns": "newly created bucket id\n"
- },
- "parameters": [
- {
- "id": 303,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are creating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 304,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 305,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 306,
- "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": 81,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [306]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 307,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 308,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 349,
- "name": "Bucket"
- },
- {
- "type": "literal",
- "value": "name"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 309,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [308, 309]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 310,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 311,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 312,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 89,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [311, 312]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 44,
- "name": "default.createBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 43,
- "name": "default.createBucket"
- }
- },
- {
- "id": 338,
- "name": "deleteBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 339,
- "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": 340,
- "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": 341,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 342,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 343,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 344,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [344]
- }
- ]
- }
- }
- },
- {
- "id": 345,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [342, 345]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 346,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 347,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 348,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [347, 348]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 81,
- "name": "default.deleteBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 80,
- "name": "default.deleteBucket"
- }
- },
- {
- "id": 327,
- "name": "emptyBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 328,
- "name": "emptyBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Removes all objects inside a single bucket."
- },
- "parameters": [
- {
- "id": 329,
- "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": 330,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 331,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 332,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 333,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [333]
- }
- ]
- }
- }
- },
- {
- "id": 334,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [331, 334]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 335,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 336,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 337,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [336, 337]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 70,
- "name": "default.emptyBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 69,
- "name": "default.emptyBucket"
- }
- },
- {
- "id": 271,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 15,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 272,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform file operation in a bucket."
- },
- "parameters": [
- {
- "id": 273,
- "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": 92,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 292,
- "name": "getBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 48,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 293,
- "name": "getBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves the details of an existing Storage bucket."
- },
- "parameters": [
- {
- "id": 294,
- "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": 295,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 296,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 349,
- "name": "Bucket"
- }
- },
- {
- "id": 297,
- "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": [296, 297]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 298,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 299,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 56,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 300,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 57,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [299, 300]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 35,
- "name": "default.getBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 34,
- "name": "default.getBucket"
- }
- },
- {
- "id": 284,
- "name": "listBuckets",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 21,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 285,
- "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": 286,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 287,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 23,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 349,
- "name": "Bucket"
- }
- }
- },
- {
- "id": 288,
- "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": [287, 288]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 289,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 290,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 27,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 291,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 28,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [290, 291]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 27,
- "name": "default.listBuckets"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 26,
- "name": "default.listBuckets"
- }
- },
- {
- "id": 313,
- "name": "updateBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 314,
- "name": "updateBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates a Storage bucket"
- },
- "parameters": [
- {
- "id": 315,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are updating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 316,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 317,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 318,
- "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.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [318]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 319,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 320,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 321,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 322,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [322]
- }
- ]
- }
- }
- },
- {
- "id": 323,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [320, 323]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 324,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 325,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 326,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [325, 326]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 56,
- "name": "default.updateBucket"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 55,
- "name": "default.updateBucket"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [259]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [301, 338, 327, 271, 292, 284, 313]
- }
- ],
- "sources": [
- {
- "fileName": "src/StorageClient.ts",
- "line": 5,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- ]
- },
- {
- "id": 385,
- "name": "StorageError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 386,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 387,
- "name": "new StorageError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 388,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- },
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "Error.constructor"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [386]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 1,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "qualifiedName": "Error",
- "package": "typescript",
- "name": "Error"
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 390,
- "name": "StorageApiError"
- },
- {
- "type": "reference",
- "id": 403,
- "name": "StorageUnknownError"
- }
- ]
- },
- {
- "id": 403,
- "name": "StorageUnknownError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 404,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 35,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 405,
- "name": "new StorageUnknownError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 406,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "originalError",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 403,
- "name": "StorageUnknownError"
- },
- "overwrites": {
- "type": "reference",
- "id": 387,
- "name": "StorageError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 386,
- "name": "StorageError.constructor"
- }
- },
- {
- "id": 408,
- "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": [404]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [408]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 32,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- ]
- },
- {
- "id": 349,
- "name": "Bucket",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 353,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 350,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 351,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 352,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 355,
- "name": "public",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 354,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [353, 350, 351, 352, 355, 354]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 17
- }
- ]
- },
- {
- "id": 378,
- "name": "FetchParameters",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 379,
- "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": 68,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "AbortSignal",
- "package": "typescript",
- "name": "AbortSignal"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [379]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 17
- }
- ]
- },
- {
- "id": 356,
- "name": "FileObject",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 358,
- "name": "bucket_id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 365,
- "name": "buckets",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 349,
- "name": "Bucket"
- }
- },
- {
- "id": 362,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 360,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 363,
- "name": "last_accessed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 364,
- "name": "metadata",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 357,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 359,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 361,
- "name": "updated_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 17
- }
- ]
- },
- {
- "id": 369,
- "name": "FileOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 370,
- "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=<seconds>` header. Defaults to 3600 seconds."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 31,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 371,
- "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": 35,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 372,
- "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": 39,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [370, 371, 372]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 27,
- "character": 17
- }
- ]
- },
- {
- "id": 380,
- "name": "Metadata",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 381,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 73,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [381]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 17
- }
- ]
- },
- {
- "id": 373,
- "name": "SearchOptions",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 374,
- "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": 46,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 375,
- "name": "offset",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The starting position."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 51,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 377,
- "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": 61,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 376,
- "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": 56,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 366,
- "name": "SortBy"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [374, 375, 377, 376]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 42,
- "character": 17
- }
- ]
- },
- {
- "id": 366,
- "name": "SortBy",
- "kind": 256,
- "kindString": "Interface",
- "flags": {},
- "children": [
- {
- "id": 367,
- "name": "column",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 368,
- "name": "order",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 24,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [367, 368]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 22,
- "character": 17
- }
- ]
- },
- {
- "id": 382,
- "name": "isStorageError",
- "kind": 64,
- "kindString": "Function",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 10,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 383,
- "name": "isStorageError",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 384,
- "name": "error",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "error",
- "asserts": false,
- "targetType": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [390, 258, 385, 403]
- },
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [349, 378, 356, 369, 380, 373, 366]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [382]
- }
- ],
- "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": 79,
- "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": 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": 81,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [48]
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "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/packages/StorageBucketApi.ts",
- "line": 84,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 349,
- "name": "Bucket"
- },
- {
- "type": "literal",
- "value": "name"
- }
- ],
- "qualifiedName": "Pick",
- "package": "typescript",
- "name": "Pick"
- }
- },
- {
- "id": 51,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [50, 51]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 53,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 54,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 89,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [53, 54]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 80,
- "name": "deleteBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 81,
- "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": 82,
- "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": 83,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 84,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 85,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 86,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [86]
- }
- ]
- }
- }
- },
- {
- "id": 87,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [84, 87]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 88,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 89,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 90,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [89, 90]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 69,
- "name": "emptyBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 70,
- "name": "emptyBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Removes all objects inside a single bucket."
- },
- "parameters": [
- {
- "id": 71,
- "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": 72,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 73,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 74,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 75,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [75]
- }
- ]
- }
- }
- },
- {
- "id": 76,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [73, 76]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 77,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 78,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 79,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [78, 79]
- }
- ]
- }
- }
- ]
- }
- ],
- "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": 349,
- "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": 385,
- "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": 349,
- "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": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [32, 33]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 55,
- "name": "updateBucket",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 56,
- "name": "updateBucket",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Updates a Storage bucket"
- },
- "parameters": [
- {
- "id": 57,
- "name": "id",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "A unique identifier for the bucket you are updating."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 58,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 59,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 60,
- "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.\n"
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [60]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 61,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 62,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 63,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 64,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [64]
- }
- ]
- }
- }
- },
- {
- "id": 65,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [62, 65]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 66,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 67,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 68,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [67, 68]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [4]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 7,
- "character": 21
- }
- ],
- "extendedBy": [
- {
- "type": "reference",
- "id": 258,
- "name": "StorageClient"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [3]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 91,
- "name": "packages/StorageFileApi",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 92,
- "name": "default",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 93,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 94,
- "name": "new default",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 95,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 96,
- "name": "headers",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 97,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 98,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 99,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 100,
- "name": "bucketId",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 101,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 102,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 103,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 104,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 105,
- "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": 92,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 169,
- "name": "copy",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 226,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 170,
- "name": "copy",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Copies an existing file to a new path in the same bucket."
- },
- "parameters": [
- {
- "id": 171,
- "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": 172,
- "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": 173,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 174,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 231,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 175,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 176,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 231,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [176]
- }
- ]
- }
- }
- },
- {
- "id": 177,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 232,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [174, 177]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 178,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 179,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 235,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 180,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 236,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [179, 180]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 181,
- "name": "createSignedUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 263,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 182,
- "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": 183,
- "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": 184,
- "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": 185,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 186,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 187,
- "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": 266,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [187]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 188,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 189,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 269,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 190,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 191,
- "name": "signedUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 269,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [191]
- }
- ]
- }
- }
- },
- {
- "id": 192,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 270,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [189, 192]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 193,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 194,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 195,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [194, 195]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 196,
- "name": "createSignedUrls",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 307,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 197,
- "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": 198,
- "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": 199,
- "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": 200,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 201,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 202,
- "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": 310,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [202]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 203,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 204,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 205,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 206,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 207,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
- "character": 38
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 208,
- "name": "signedUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [206, 207, 208]
- }
- ]
- }
- }
- }
- },
- {
- "id": 209,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 314,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [204, 209]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 210,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 211,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 317,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 212,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [211, 212]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 213,
- "name": "download",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 355,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 214,
- "name": "download",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Downloads a file."
- },
- "parameters": [
- {
- "id": 215,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 216,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 217,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- }
- },
- {
- "id": 218,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 360,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [217, 218]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 219,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 220,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 221,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 364,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [220, 221]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 222,
- "name": "getPublicUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 391,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 223,
- "name": "getPublicUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves the URL for an asset in a public bucket.\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": 224,
- "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": 225,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 226,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 227,
- "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": 393,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "boolean"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [227]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 228,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 229,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 394,
- "character": 7
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 230,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 231,
- "name": "publicUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 394,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [231]
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [229]
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 241,
- "name": "list",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 242,
- "name": "list",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Lists all the files within a bucket."
- },
- "parameters": [
- {
- "id": 243,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The folder path.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 244,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 373,
- "name": "SearchOptions"
- }
- },
- {
- "id": 245,
- "name": "parameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 378,
- "name": "FetchParameters"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 246,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 247,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 512,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 356,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 248,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 513,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [247, 248]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 249,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 250,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 516,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 251,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 517,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [250, 251]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 157,
- "name": "move",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 158,
- "name": "move",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Moves an existing file to a new path in the same bucket."
- },
- "parameters": [
- {
- "id": 159,
- "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": 160,
- "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": 161,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 162,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 195,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 163,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 164,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 195,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [164]
- }
- ]
- }
- }
- },
- {
- "id": 165,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 196,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [162, 165]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 166,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 167,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 199,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 168,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 200,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [167, 168]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 232,
- "name": "remove",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 233,
- "name": "remove",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Deletes files within the same bucket"
- },
- "parameters": [
- {
- "id": 234,
- "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": 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": 414,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 356,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 237,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 415,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [236, 237]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 238,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 239,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 418,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 240,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 419,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [239, 240]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 144,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 157,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 145,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Replaces an existing file at the specified path with a new one."
- },
- "parameters": [
- {
- "id": 146,
- "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": 147,
- "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": 148,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 369,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 149,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 150,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 173,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 151,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 152,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 173,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [152]
- }
- ]
- }
- }
- },
- {
- "id": 153,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 174,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [150, 153]
- }
- ]
- }
- },
- {
- "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": 177,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 156,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 178,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [155, 156]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 131,
- "name": "upload",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 124,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 132,
- "name": "upload",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Uploads a file to an existing bucket."
- },
- "parameters": [
- {
- "id": 133,
- "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": 134,
- "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": 135,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 369,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 136,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 137,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 140,
- "character": 8
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 138,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 139,
- "name": "path",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 140,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [139]
- }
- ]
- }
- }
- },
- {
- "id": 140,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 141,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [137, 140]
- }
- ]
- }
- },
- {
- "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/packages/StorageFileApi.ts",
- "line": 144,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 143,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 145,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "id": 385,
- "name": "StorageError"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [142, 143]
- }
- ]
- }
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [93]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 21,
- "character": 21
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [92]
- }
- ],
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 1,
- "character": 0
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "kind": 2,
- "children": [1, 2, 91]
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/storage-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 390,
+ "name": "StorageApiError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 391,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 392,
+ "name": "new StorageApiError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 393,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 394,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 390,
+ "name": "StorageApiError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 387,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 386,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 395,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 396,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 397,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 398,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 400,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 399,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 401,
+ "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": [
+ 400,
+ 399,
+ 401
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 391
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 395
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 396
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 14,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "StorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 259,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 260,
+ "name": "new StorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 261,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 262,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 263,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 264,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 265,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 266,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 267,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 268,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 269,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 270,
+ "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": 258,
+ "name": "StorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 5,
+ "name": "default.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 4,
+ "name": "default.constructor"
+ }
+ },
+ {
+ "id": 301,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 79,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 302,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new Storage bucket",
+ "returns": "newly created bucket id\n"
+ },
+ "parameters": [
+ {
+ "id": 303,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are creating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 304,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 305,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 306,
+ "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": 81,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 307,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 308,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 84,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 309,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 308,
+ 309
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 310,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 311,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 312,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 89,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311,
+ 312
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "default.createBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "default.createBucket"
+ }
+ },
+ {
+ "id": 338,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 339,
+ "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": 340,
+ "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": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 342,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 343,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 344,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 344
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 345,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 190,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 342,
+ 345
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 346,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 347,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 348,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 194,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 347,
+ 348
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 81,
+ "name": "default.deleteBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "default.deleteBucket"
+ }
+ },
+ {
+ "id": 327,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 150,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 328,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "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": 330,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 331,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 154,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 332,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 333,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 154,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 333
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 334,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 155,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 331,
+ 334
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 336,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 158,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 337,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 159,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 336,
+ 337
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "default.emptyBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "default.emptyBucket"
+ }
+ },
+ {
+ "id": 271,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 272,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform file operation in a bucket."
+ },
+ "parameters": [
+ {
+ "id": 273,
+ "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": 92,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 292,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 293,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the details of an existing Storage bucket."
+ },
+ "parameters": [
+ {
+ "id": 294,
+ "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": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 297,
+ "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": [
+ 296,
+ 297
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 298,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 299,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 56,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 300,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 57,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 299,
+ 300
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 35,
+ "name": "default.getBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "default.getBucket"
+ }
+ },
+ {
+ "id": 284,
+ "name": "listBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 285,
+ "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": 286,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 287,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ }
+ },
+ {
+ "id": 288,
+ "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": [
+ 287,
+ 288
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 289,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 290,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 291,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 290,
+ 291
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 27,
+ "name": "default.listBuckets"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 26,
+ "name": "default.listBuckets"
+ }
+ },
+ {
+ "id": 313,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 115,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 314,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 315,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 316,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 317,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 318,
+ "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.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 117,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 318
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 320,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 120,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 321,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 322,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 120,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 323,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 121,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 320,
+ 323
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 325,
+ 326
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 55,
+ "name": "default.updateBucket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 259
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 301,
+ 338,
+ 327,
+ 271,
+ 292,
+ 284,
+ 313
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/StorageClient.ts",
+ "line": 5,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
+ }
+ ]
+ },
+ {
+ "id": 385,
+ "name": "StorageError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 386,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 387,
+ "name": "new StorageError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 388,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "Error.constructor"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 386
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 1,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 390,
+ "name": "StorageApiError"
+ },
+ {
+ "type": "reference",
+ "id": 403,
+ "name": "StorageUnknownError"
+ }
+ ]
+ },
+ {
+ "id": 403,
+ "name": "StorageUnknownError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 404,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 35,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 405,
+ "name": "new StorageUnknownError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 406,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 407,
+ "name": "originalError",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 403,
+ "name": "StorageUnknownError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 387,
+ "name": "StorageError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 386,
+ "name": "StorageError.constructor"
+ }
+ },
+ {
+ "id": 408,
+ "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": [
+ 404
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 408
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 32,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ ]
+ },
+ {
+ "id": 349,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 353,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 350,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 351,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 355,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 354,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 353,
+ 350,
+ 351,
+ 352,
+ 355,
+ 354
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 378,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 379,
+ "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": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 379
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 356,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 358,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 12,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 365,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 362,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 363,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 364,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 357,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 11,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 15,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 358,
+ 365,
+ 362,
+ 360,
+ 363,
+ 364,
+ 357,
+ 359,
+ 361
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 369,
+ "name": "FileOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "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=<seconds>` header. Defaults to 3600 seconds."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 371,
+ "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": 35,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 372,
+ "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": 39,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 27,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 380,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 381,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 73,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 381
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 374,
+ "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": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 375,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The starting position."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 377,
+ "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": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "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": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 366,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 374,
+ 375,
+ 377,
+ 376
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 42,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 367,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 368,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 367,
+ 368
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "name": "isStorageError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 383,
+ "name": "isStorageError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 384,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "type": {
+ "type": "predicate",
+ "name": "error",
+ "asserts": false,
+ "targetType": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 390,
+ 258,
+ 385,
+ 403
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 349,
+ 378,
+ 356,
+ 369,
+ 380,
+ 373,
+ 366
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 382
+ ]
+ }
+ ],
+ "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": 79,
+ "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": 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": 81,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 48
+ ]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "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/packages/StorageBucketApi.ts",
+ "line": 84,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 349,
+ "name": "Bucket"
+ },
+ {
+ "type": "literal",
+ "value": "name"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 51,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 85,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 50,
+ 51
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 53,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 88,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 54,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 89,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 53,
+ 54
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 80,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 81,
+ "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": 82,
+ "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": 83,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 84,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 86,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 189,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 86
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 87,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 190,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 84,
+ 87
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 89,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 193,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 90,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 194,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 89,
+ 90
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 69,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 150,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 70,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes all objects inside a single bucket."
+ },
+ "parameters": [
+ {
+ "id": 71,
+ "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": 72,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 73,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 154,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 74,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 75,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 154,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 75
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 76,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 155,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 73,
+ 76
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 158,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 79,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 159,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 78,
+ 79
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "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": 349,
+ "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": 385,
+ "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": 349,
+ "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": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 32,
+ 33
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 55,
+ "name": "updateBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 115,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 56,
+ "name": "updateBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates a Storage bucket"
+ },
+ "parameters": [
+ {
+ "id": 57,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A unique identifier for the bucket you are updating."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 58,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 60,
+ "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.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 117,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 60
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 62,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 120,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 63,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 64,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 120,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 64
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 65,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 121,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 62,
+ 65
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 66,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 67,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 125,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 67,
+ 68
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 4
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 43,
+ 80,
+ 69,
+ 34,
+ 26,
+ 55
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 7,
+ "character": 21
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 258,
+ "name": "StorageClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 3
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 91,
+ "name": "packages/StorageFileApi",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 92,
+ "name": "default",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 93,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 27,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "new default",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 95,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 96,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 97,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 98,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 99,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 100,
+ "name": "bucketId",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 101,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 102,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 103,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 104,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 105,
+ "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": 92,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "copy",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 226,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 170,
+ "name": "copy",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Copies an existing file to a new path in the same bucket."
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "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": 172,
+ "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": 173,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 174,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 231,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 175,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 176,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 231,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 176
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 177,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 232,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 174,
+ 177
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 178,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 179,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 235,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 180,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 236,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 179,
+ 180
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 181,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 263,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 182,
+ "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": 183,
+ "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": 184,
+ "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": 185,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 187,
+ "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": 266,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 187
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 188,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 189,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 269,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 191,
+ "name": "signedUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 269,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 191
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 192,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 270,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 189,
+ 192
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 193,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 194,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 273,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 195,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 274,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 194,
+ 195
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 196,
+ "name": "createSignedUrls",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 307,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 197,
+ "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": 198,
+ "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": 199,
+ "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": 200,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 202,
+ "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": 310,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 202
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 203,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 204,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 313,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 205,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 206,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 313,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 207,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 313,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 208,
+ "name": "signedUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 313,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 206,
+ 207,
+ 208
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 209,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 314,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 204,
+ 209
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 210,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 211,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 317,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 212,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 318,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 211,
+ 212
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "download",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 355,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 214,
+ "name": "download",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Downloads a file."
+ },
+ "parameters": [
+ {
+ "id": 215,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The full path and file name of the file to be downloaded. For example `folder/image.png`.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 216,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 217,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 359,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 218,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 360,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 217,
+ 218
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 363,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 221,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 364,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220,
+ 221
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 222,
+ "name": "getPublicUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 391,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 223,
+ "name": "getPublicUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves the URL for an asset in a public bucket.\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": 224,
+ "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": 225,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 227,
+ "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": 393,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 227
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 228,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 229,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 394,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 230,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 231,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 394,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 231
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 229
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 241,
+ "name": "list",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 506,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 242,
+ "name": "list",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all the files within a bucket."
+ },
+ "parameters": [
+ {
+ "id": 243,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The folder path.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 244,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 373,
+ "name": "SearchOptions"
+ }
+ },
+ {
+ "id": 245,
+ "name": "parameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 378,
+ "name": "FetchParameters"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 246,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 247,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 512,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 356,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 248,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 513,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 247,
+ 248
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 249,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 250,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 516,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 251,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 517,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 250,
+ 251
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 157,
+ "name": "move",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 190,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 158,
+ "name": "move",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Moves an existing file to a new path in the same bucket."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "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": 160,
+ "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": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 162,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 195,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 164,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 195,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 164
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 165,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 196,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 162,
+ 165
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 166,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 167,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 199,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 168,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 200,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 167,
+ 168
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 232,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 410,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 233,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes files within the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 234,
+ "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": 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": 414,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 356,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 237,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 415,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 236,
+ 237
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 238,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 239,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 418,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 240,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 419,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 239,
+ 240
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 144,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 157,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 145,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 146,
+ "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": 147,
+ "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": 148,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 369,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 149,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 150,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 173,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 152,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 173,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 152
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 153,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 174,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 150,
+ 153
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "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": 177,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 156,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 178,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 155,
+ 156
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 131,
+ "name": "upload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 124,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 132,
+ "name": "upload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket."
+ },
+ "parameters": [
+ {
+ "id": 133,
+ "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": 134,
+ "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": 135,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 369,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 136,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 137,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 140,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 138,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 139,
+ "name": "path",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 140,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 139
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 140,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 141,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 137,
+ 140
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "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/packages/StorageFileApi.ts",
+ "line": 144,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 143,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 145,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 385,
+ "name": "StorageError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 142,
+ 143
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 93
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 169,
+ 181,
+ 196,
+ 213,
+ 222,
+ 241,
+ 157,
+ 232,
+ 144,
+ 131
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 21,
+ "character": 21
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 92
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 2,
+ 91
+ ]
+ }
+ ]
+}
\ 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 fe03bc12964..6860d984baf 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": [400, 399, 401]
+ "children": [
+ 400,
+ 399,
+ 401
+ ]
}
]
}
@@ -203,17 +207,23 @@
{
"title": "Constructors",
"kind": 512,
- "children": [391]
+ "children": [
+ 391
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [395]
+ "children": [
+ 395
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [396]
+ "children": [
+ 396
+ ]
}
],
"sources": [
@@ -482,7 +492,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306]
+ "children": [
+ 306
+ ]
}
]
}
@@ -559,7 +571,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [308, 309]
+ "children": [
+ 308,
+ 309
+ ]
}
]
}
@@ -615,7 +630,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [311, 312]
+ "children": [
+ 311,
+ 312
+ ]
}
]
}
@@ -739,7 +757,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344]
+ "children": [
+ 344
+ ]
}
]
}
@@ -768,7 +788,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 345]
+ "children": [
+ 342,
+ 345
+ ]
}
]
}
@@ -824,7 +847,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348]
+ "children": [
+ 347,
+ 348
+ ]
}
]
}
@@ -948,7 +974,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333]
+ "children": [
+ 333
+ ]
}
]
}
@@ -977,7 +1005,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [331, 334]
+ "children": [
+ 331,
+ 334
+ ]
}
]
}
@@ -1033,7 +1064,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [336, 337]
+ "children": [
+ 336,
+ 337
+ ]
}
]
}
@@ -1201,7 +1235,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [296, 297]
+ "children": [
+ 296,
+ 297
+ ]
}
]
}
@@ -1257,7 +1294,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [299, 300]
+ "children": [
+ 299,
+ 300
+ ]
}
]
}
@@ -1365,7 +1405,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [287, 288]
+ "children": [
+ 287,
+ 288
+ ]
}
]
}
@@ -1421,7 +1464,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [290, 291]
+ "children": [
+ 290,
+ 291
+ ]
}
]
}
@@ -1525,7 +1571,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [318]
+ "children": [
+ 318
+ ]
}
]
}
@@ -1592,7 +1640,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [322]
+ "children": [
+ 322
+ ]
}
]
}
@@ -1621,7 +1671,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [320, 323]
+ "children": [
+ 320,
+ 323
+ ]
}
]
}
@@ -1677,7 +1730,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [325, 326]
+ "children": [
+ 325,
+ 326
+ ]
}
]
}
@@ -1707,12 +1763,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [259]
+ "children": [
+ 259
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [301, 338, 327, 271, 292, 284, 313]
+ "children": [
+ 301,
+ 338,
+ 327,
+ 271,
+ 292,
+ 284,
+ 313
+ ]
}
],
"sources": [
@@ -1791,7 +1857,9 @@
{
"title": "Constructors",
"kind": 512,
- "children": [386]
+ "children": [
+ 386
+ ]
}
],
"sources": [
@@ -1914,12 +1982,16 @@
{
"title": "Constructors",
"kind": 512,
- "children": [404]
+ "children": [
+ 404
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [408]
+ "children": [
+ 408
+ ]
}
],
"sources": [
@@ -2057,7 +2129,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353, 350, 351, 352, 355, 354]
+ "children": [
+ 353,
+ 350,
+ 351,
+ 352,
+ 355,
+ 354
+ ]
}
],
"sources": [
@@ -2105,7 +2184,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [379]
+ "children": [
+ 379
+ ]
}
],
"sources": [
@@ -2303,7 +2384,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [358, 365, 362, 360, 363, 364, 357, 359, 361]
+ "children": [
+ 358,
+ 365,
+ 362,
+ 360,
+ 363,
+ 364,
+ 357,
+ 359,
+ 361
+ ]
}
],
"sources": [
@@ -2395,7 +2486,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -2436,7 +2531,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [381]
+ "children": [
+ 381
+ ]
}
],
"sources": [
@@ -2552,7 +2649,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 375, 377, 376]
+ "children": [
+ 374,
+ 375,
+ 377,
+ 376
+ ]
}
],
"sources": [
@@ -2615,7 +2717,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [367, 368]
+ "children": [
+ 367,
+ 368
+ ]
}
],
"sources": [
@@ -2677,17 +2782,32 @@
{
"title": "Classes",
"kind": 128,
- "children": [390, 258, 385, 403]
+ "children": [
+ 390,
+ 258,
+ 385,
+ 403
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [349, 378, 356, 369, 380, 373, 366]
+ "children": [
+ 349,
+ 378,
+ 356,
+ 369,
+ 380,
+ 373,
+ 366
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [382]
+ "children": [
+ 382
+ ]
}
],
"sources": [
@@ -2946,7 +3066,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [48]
+ "children": [
+ 48
+ ]
}
]
}
@@ -3023,7 +3145,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [50, 51]
+ "children": [
+ 50,
+ 51
+ ]
}
]
}
@@ -3079,7 +3204,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54]
+ "children": [
+ 53,
+ 54
+ ]
}
]
}
@@ -3193,7 +3321,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86]
+ "children": [
+ 86
+ ]
}
]
}
@@ -3222,7 +3352,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 87]
+ "children": [
+ 84,
+ 87
+ ]
}
]
}
@@ -3278,7 +3411,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89, 90]
+ "children": [
+ 89,
+ 90
+ ]
}
]
}
@@ -3392,7 +3528,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75]
+ "children": [
+ 75
+ ]
}
]
}
@@ -3421,7 +3559,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73, 76]
+ "children": [
+ 73,
+ 76
+ ]
}
]
}
@@ -3477,7 +3618,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [
+ 78,
+ 79
+ ]
}
]
}
@@ -3588,7 +3732,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [38, 39]
+ "children": [
+ 38,
+ 39
+ ]
}
]
}
@@ -3644,7 +3791,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [41, 42]
+ "children": [
+ 41,
+ 42
+ ]
}
]
}
@@ -3742,7 +3892,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [29, 30]
+ "children": [
+ 29,
+ 30
+ ]
}
]
}
@@ -3798,7 +3951,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [32, 33]
+ "children": [
+ 32,
+ 33
+ ]
}
]
}
@@ -3892,7 +4048,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [60]
+ "children": [
+ 60
+ ]
}
]
}
@@ -3959,7 +4117,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64]
+ "children": [
+ 64
+ ]
}
]
}
@@ -3988,7 +4148,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62, 65]
+ "children": [
+ 62,
+ 65
+ ]
}
]
}
@@ -4044,7 +4207,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [67, 68]
+ "children": [
+ 67,
+ 68
+ ]
}
]
}
@@ -4064,12 +4230,21 @@
{
"title": "Constructors",
"kind": 512,
- "children": [4]
+ "children": [
+ 4
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
+ "children": [
+ 43,
+ 80,
+ 69,
+ 34,
+ 26,
+ 55
+ ]
}
],
"sources": [
@@ -4092,7 +4267,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [3]
+ "children": [
+ 3
+ ]
}
],
"sources": [
@@ -4397,7 +4574,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [176]
+ "children": [
+ 176
+ ]
}
]
}
@@ -4426,7 +4605,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [174, 177]
+ "children": [
+ 174,
+ 177
+ ]
}
]
}
@@ -4482,7 +4664,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179, 180]
+ "children": [
+ 179,
+ 180
+ ]
}
]
}
@@ -4601,7 +4786,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [187]
+ "children": [
+ 187
+ ]
}
]
}
@@ -4668,7 +4855,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [191]
+ "children": [
+ 191
+ ]
}
]
}
@@ -4697,7 +4886,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [189, 192]
+ "children": [
+ 189,
+ 192
+ ]
}
]
}
@@ -4753,7 +4945,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [194, 195]
+ "children": [
+ 194,
+ 195
+ ]
}
]
}
@@ -4875,7 +5070,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [
+ 202
+ ]
}
]
}
@@ -4998,7 +5195,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [206, 207, 208]
+ "children": [
+ 206,
+ 207,
+ 208
+ ]
}
]
}
@@ -5028,7 +5229,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [204, 209]
+ "children": [
+ 204,
+ 209
+ ]
}
]
}
@@ -5084,7 +5288,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [211, 212]
+ "children": [
+ 211,
+ 212
+ ]
}
]
}
@@ -5196,7 +5403,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [217, 218]
+ "children": [
+ 217,
+ 218
+ ]
}
]
}
@@ -5252,7 +5462,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [220, 221]
+ "children": [
+ 220,
+ 221
+ ]
}
]
}
@@ -5357,7 +5570,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [227]
+ "children": [
+ 227
+ ]
}
]
}
@@ -5418,7 +5633,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231]
+ "children": [
+ 231
+ ]
}
]
}
@@ -5429,7 +5646,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [229]
+ "children": [
+ 229
+ ]
}
]
}
@@ -5594,7 +5813,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [374, 375, 377, 376]
+ "children": [
+ 374,
+ 375,
+ 377,
+ 376
+ ]
}
],
"sources": [
@@ -5656,7 +5880,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [379]
+ "children": [
+ 379
+ ]
}
],
"sources": [
@@ -5730,7 +5956,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [247, 248]
+ "children": [
+ 247,
+ 248
+ ]
}
]
}
@@ -5786,7 +6015,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [250, 251]
+ "children": [
+ 250,
+ 251
+ ]
}
]
}
@@ -5914,7 +6146,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [164]
+ "children": [
+ 164
+ ]
}
]
}
@@ -5943,7 +6177,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [162, 165]
+ "children": [
+ 162,
+ 165
+ ]
}
]
}
@@ -5999,7 +6236,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [
+ 167,
+ 168
+ ]
}
]
}
@@ -6116,7 +6356,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [236, 237]
+ "children": [
+ 236,
+ 237
+ ]
}
]
}
@@ -6172,7 +6415,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [239, 240]
+ "children": [
+ 239,
+ 240
+ ]
}
]
}
@@ -6399,7 +6645,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -6473,7 +6723,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [152]
+ "children": [
+ 152
+ ]
}
]
}
@@ -6502,7 +6754,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 153]
+ "children": [
+ 150,
+ 153
+ ]
}
]
}
@@ -6558,7 +6813,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 156]
+ "children": [
+ 155,
+ 156
+ ]
}
]
}
@@ -6785,7 +7043,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [370, 371, 372]
+ "children": [
+ 370,
+ 371,
+ 372
+ ]
}
],
"sources": [
@@ -6859,7 +7121,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [139]
+ "children": [
+ 139
+ ]
}
]
}
@@ -6888,7 +7152,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137, 140]
+ "children": [
+ 137,
+ 140
+ ]
}
]
}
@@ -6944,7 +7211,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [142, 143]
+ "children": [
+ 142,
+ 143
+ ]
}
]
}
@@ -6964,12 +7234,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [93]
+ "children": [
+ 93
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 196, 213, 222, 241, 157, 232, 144, 131]
+ "children": [
+ 169,
+ 181,
+ 196,
+ 213,
+ 222,
+ 241,
+ 157,
+ 232,
+ 144,
+ 131
+ ]
}
],
"sources": [
@@ -6985,7 +7268,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [92]
+ "children": [
+ 92
+ ]
}
],
"sources": [
@@ -7001,7 +7286,11 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 2, 91]
+ "children": [
+ 1,
+ 2,
+ 91
+ ]
}
]
-}
+}
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json
index 598143907ff..75865bde7b1 100644
--- a/spec/enrichments/tsdoc_v2/supabase.json
+++ b/spec/enrichments/tsdoc_v2/supabase.json
@@ -1,4012 +1,4118 @@
{
- "id": 0,
- "name": "@supabase/supabase-js",
- "kind": 1,
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 1,
- "name": "index",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 194,
- "name": "SupabaseClientOptions",
- "kind": 16777216,
- "kindString": "Reference",
- "flags": {},
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 20,
- "character": 14
- }
- ],
- "target": 61
- },
- {
- "id": 104,
- "name": "SupabaseClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "comment": {
- "shortText": "Supabase Client.",
- "text": "An isomorphic Javascript client for interacting with Postgres.\n"
- },
- "children": [
- {
- "id": 105,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 82,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 106,
- "name": "new SupabaseClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "typeParameter": [
- {
- "id": 107,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 108,
- "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": 107,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 109,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "any"
- },
- "objectType": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- "falseType": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- }
- ],
- "parameters": [
- {
- "id": 110,
- "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": 111,
- "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": 112,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 61,
- "typeArguments": [
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- }
- ],
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 104,
- "typeArguments": [
- {
- "type": "reference",
- "id": 107,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- }
- ],
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 113,
- "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": 54,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "name": "SupabaseAuthClient"
- }
- },
- {
- "id": 115,
- "name": "authUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 126,
- "name": "changedAccessToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 64,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 121,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 63,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 122,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 123,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 124,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 125,
- "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": 117,
- "name": "functionsUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 59,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 127,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 66,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 128,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 129,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 130,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 118,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClient",
- "package": "@supabase/realtime-js",
- "name": "default"
- }
- },
- {
- "id": 114,
- "name": "realtimeUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 119,
- "name": "rest",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 61,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 107,
- "name": "Database"
- },
- {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "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": 120,
- "name": "storageKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 116,
- "name": "storageUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 132,
- "name": "supabaseKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 131,
- "name": "supabaseUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "functions",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 137,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 134,
- "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": 135,
- "name": "storage",
- "kind": 262144,
- "kindString": "Accessor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 147,
- "character": 6
- }
- ],
- "getSignature": [
- {
- "id": 136,
- "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": 169,
- "name": "_getAccessToken",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 234,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 170,
- "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": 186,
- "name": "_handleTokenChanged",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 281,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 187,
- "name": "_handleTokenChanged",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 188,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "AuthChangeEvent",
- "package": "@supabase/gotrue-js",
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 189,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 190,
- "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": 180,
- "name": "_initRealtimeClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 267,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 181,
- "name": "_initRealtimeClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 182,
- "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": 171,
- "name": "_initSupabaseAuthClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 240,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 172,
- "name": "_initSupabaseAuthClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 173,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 59,
- "name": "SupabaseAuthClientOptions"
- }
- },
- {
- "id": 174,
- "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": 175,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "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": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 179,
- "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": 183,
- "name": "_listenForAuthEvents",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 274,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 184,
- "name": "_listenForAuthEvents",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 185,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- }
- }
- ]
- },
- {
- "id": 158,
- "name": "channel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 206,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 159,
- "name": "channel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
- },
- "parameters": [
- {
- "id": 160,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The name of the Realtime channel."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 161,
- "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": 137,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 156,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 138,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a table operation."
- },
- "typeParameter": [
- {
- "id": 139,
- "name": "TableName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 140,
- "name": "Table",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 79,
- "name": "GenericTable"
- }
- }
- ],
- "parameters": [
- {
- "id": 141,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 139,
- "name": "TableName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 140,
- "name": "Table"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 142,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "typeParameter": [
- {
- "id": 143,
- "name": "ViewName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 144,
- "name": "View",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 92,
- "name": "GenericView"
- }
- }
- ],
- "parameters": [
- {
- "id": 145,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 143,
- "name": "ViewName"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "reference",
- "id": 144,
- "name": "View"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- },
- {
- "id": 146,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 147,
- "name": "relation",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "qualifiedName": "PostgrestQueryBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 162,
- "name": "getChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 213,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 163,
- "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": 167,
- "name": "removeAllChannels",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 230,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 168,
- "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": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "error"
- }
- ]
- }
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 164,
- "name": "removeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 223,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 165,
- "name": "removeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
- },
- "parameters": [
- {
- "id": 166,
- "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": "ok"
- },
- {
- "type": "literal",
- "value": "timed out"
- },
- {
- "type": "literal",
- "value": "error"
- }
- ]
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 148,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 177,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 149,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Perform a function call."
- },
- "typeParameter": [
- {
- "id": 150,
- "name": "FunctionName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 151,
- "name": "Function_",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 93,
- "name": "GenericFunction"
- }
- }
- ],
- "parameters": [
- {
- "id": 152,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "shortText": "The function name to call."
- },
- "type": {
- "type": "reference",
- "id": 150,
- "name": "FunctionName"
- }
- },
- {
- "id": 153,
- "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": 151,
- "name": "Function_"
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 154,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 155,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 157,
- "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": 185,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "exact"
- },
- {
- "type": "literal",
- "value": "planned"
- },
- {
- "type": "literal",
- "value": "estimated"
- }
- ]
- }
- },
- {
- "id": 156,
- "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": 184,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [157, 156]
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 109,
- "name": "Schema"
- },
- {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "literal",
- "value": "Returns"
- },
- "objectType": {
- "type": "reference",
- "id": 151,
- "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": 151,
- "name": "Function_"
- }
- }
- ],
- "qualifiedName": "PostgrestFilterBuilder",
- "package": "@supabase/postgrest-js",
- "name": "default"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [105]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
- },
- {
- "title": "Accessors",
- "kind": 262144,
- "children": [133, 135]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 42,
- "character": 21
- }
- ],
- "typeParameter": [
- {
- "id": 191,
- "name": "Database",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 192,
- "name": "SchemaName",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- }
- ]
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "literal",
- "value": "public"
- },
- "extendsType": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "trueType": {
- "type": "literal",
- "value": "public"
- },
- "falseType": {
- "type": "intersection",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- }
- ]
- }
- }
- },
- {
- "id": 193,
- "name": "Schema",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "default": {
- "type": "conditional",
- "checkType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "name": "Database"
- }
- },
- "extendsType": {
- "type": "reference",
- "id": 97,
- "name": "GenericSchema"
- },
- "trueType": {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "id": 108,
- "name": "SchemaName"
- },
- "objectType": {
- "type": "reference",
- "id": 107,
- "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": 97,
- "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": 97,
- "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": 104,
- "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": [194]
- },
- {
- "title": "Classes",
- "kind": 128,
- "children": [104]
- },
- {
- "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": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "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": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "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": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "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": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "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": 93,
- "name": "GenericFunction",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 94,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 95,
- "name": "Args",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 75,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 96,
- "name": "Returns",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 76,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [95, 96]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 74,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 89,
- "name": "GenericNonUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 90,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 91,
- "name": "Row",
- "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": [91]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 68,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 97,
- "name": "GenericSchema",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 98,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 101,
- "name": "Functions",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 82,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 93,
- "name": "GenericFunction"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 99,
- "name": "Tables",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 80,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 79,
- "name": "GenericTable"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 100,
- "name": "Views",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 81,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 92,
- "name": "GenericView"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [101, 99, 100]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 79,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 79,
- "name": "GenericTable",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 80,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 82,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 81,
- "name": "Row",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 57,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 83,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 59,
- "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": [82, 81, 83]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 56,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 84,
- "name": "GenericUpdatableView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 85,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 87,
- "name": "Insert",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "qualifiedName": "Record",
- "package": "typescript",
- "name": "Record"
- }
- },
- {
- "id": 86,
- "name": "Row",
- "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"
- }
- },
- {
- "id": 88,
- "name": "Update",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 65,
- "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": [87, 86, 88]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 62,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 92,
- "name": "GenericView",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 84,
- "name": "GenericUpdatableView"
- },
- {
- "type": "reference",
- "id": 89,
- "name": "GenericNonUpdatableView"
- }
- ]
- }
- },
- {
- "id": 61,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 12
- }
- ],
- "typeParameter": [
- {
- "id": 78,
- "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."
- },
- "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."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 34,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 70,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Whether to persist a logged in session to storage."
- },
- "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, 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": 78,
- "name": "SchemaName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [65]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 7
- }
- ]
- }
- }
- },
- {
- "id": 74,
- "name": "global",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 44,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 75,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 76,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "A custom `fetch` implementation."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 48,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "id": 60,
- "name": "Fetch"
- }
- },
- {
- "id": 77,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 52,
- "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": [76, 77]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 44,
- "character": 11
- }
- ]
- }
- }
- },
- {
- "id": 73,
- "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": 43,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "RealtimeClientOptions",
- "package": "@supabase/realtime-js",
- "name": "RealtimeClientOptions"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [66, 63, 74, 73]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 10,
- "character": 48
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [59]
- },
- {
- "title": "Type Aliases",
- "kind": 4194304,
- "children": [60, 93, 89, 97, 79, 84, 92, 61]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 102,
- "name": "lib/version",
- "kind": 2,
- "kindString": "Module",
- "flags": {},
- "children": [
- {
- "id": 103,
- "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": [103]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/version.ts",
- "line": 1,
- "character": 0
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "kind": 2,
- "children": [1, 10, 14, 44, 58, 102]
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 1,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 1,
+ "name": "index",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 194,
+ "name": "SupabaseClientOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 20,
+ "character": 14
+ }
+ ],
+ "target": 61
+ },
+ {
+ "id": 104,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 105,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 106,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "typeParameter": [
+ {
+ "id": 107,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 108,
+ "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": 107,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 97,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 97,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "objectType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "falseType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 110,
+ "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": 111,
+ "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": 112,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 61,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ }
+ ],
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 104,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ }
+ ],
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "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": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 115,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 57,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "changedAccessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 64,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 121,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 63,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 122,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 123,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 124,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 125,
+ "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": 117,
+ "name": "functionsUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 59,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 127,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 66,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 128,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 129,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 130,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 118,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClient",
+ "package": "@supabase/realtime-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 114,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 56,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "rest",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 61,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ },
+ {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 107,
+ "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": 120,
+ "name": "storageKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 116,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 58,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 132,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 131,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 133,
+ "name": "functions",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 137,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 134,
+ "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": 135,
+ "name": "storage",
+ "kind": 262144,
+ "kindString": "Accessor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 147,
+ "character": 6
+ }
+ ],
+ "getSignature": [
+ {
+ "id": 136,
+ "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": 169,
+ "name": "_getAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 234,
+ "character": 16
+ }
+ ],
+ "signatures": [
+ {
+ "id": 170,
+ "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": 186,
+ "name": "_handleTokenChanged",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 281,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 187,
+ "name": "_handleTokenChanged",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 188,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AuthChangeEvent",
+ "package": "@supabase/gotrue-js",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 189,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 190,
+ "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": 180,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 267,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 181,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 182,
+ "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": 171,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 240,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 172,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 173,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 59,
+ "name": "SupabaseAuthClientOptions"
+ }
+ },
+ {
+ "id": 174,
+ "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": 175,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "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": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 179,
+ "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": 183,
+ "name": "_listenForAuthEvents",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 274,
+ "character": 10
+ }
+ ],
+ "signatures": [
+ {
+ "id": 184,
+ "name": "_listenForAuthEvents",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 158,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 206,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 159,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes."
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The name of the Realtime channel."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 161,
+ "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": 137,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 156,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 138,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 139,
+ "name": "TableName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 140,
+ "name": "Table",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "name": "GenericTable"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 141,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 139,
+ "name": "TableName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 140,
+ "name": "Table"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 143,
+ "name": "ViewName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 144,
+ "name": "View",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 145,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 143,
+ "name": "ViewName"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "reference",
+ "id": 144,
+ "name": "View"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ },
+ {
+ "id": 146,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 147,
+ "name": "relation",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "qualifiedName": "PostgrestQueryBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 213,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 163,
+ "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": 167,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 168,
+ "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": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 164,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 165,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unsubscribes and removes Realtime channel from Realtime client."
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "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": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ },
+ {
+ "type": "literal",
+ "value": "error"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 148,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 149,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Perform a function call."
+ },
+ "typeParameter": [
+ {
+ "id": 150,
+ "name": "FunctionName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 151,
+ "name": "Function_",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 93,
+ "name": "GenericFunction"
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 152,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The function name to call."
+ },
+ "type": {
+ "type": "reference",
+ "id": 150,
+ "name": "FunctionName"
+ }
+ },
+ {
+ "id": 153,
+ "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": 151,
+ "name": "Function_"
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 154,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 155,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 157,
+ "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": 185,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "exact"
+ },
+ {
+ "type": "literal",
+ "value": "planned"
+ },
+ {
+ "type": "literal",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 156,
+ "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": 184,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 157,
+ 156
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 109,
+ "name": "Schema"
+ },
+ {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "literal",
+ "value": "Returns"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 151,
+ "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": 151,
+ "name": "Function_"
+ }
+ }
+ ],
+ "qualifiedName": "PostgrestFilterBuilder",
+ "package": "@supabase/postgrest-js",
+ "name": "default"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 105
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 113,
+ 115,
+ 126,
+ 121,
+ 117,
+ 127,
+ 118,
+ 114,
+ 119,
+ 120,
+ 116,
+ 132,
+ 131
+ ]
+ },
+ {
+ "title": "Accessors",
+ "kind": 262144,
+ "children": [
+ 133,
+ 135
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 169,
+ 186,
+ 180,
+ 171,
+ 183,
+ 158,
+ 137,
+ 162,
+ 167,
+ 164,
+ 148
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 42,
+ "character": 21
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 191,
+ "name": "Database",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 192,
+ "name": "SchemaName",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ }
+ ]
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "extendsType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ },
+ "trueType": {
+ "type": "literal",
+ "value": "public"
+ },
+ "falseType": {
+ "type": "intersection",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 193,
+ "name": "Schema",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 97,
+ "name": "GenericSchema"
+ },
+ "default": {
+ "type": "conditional",
+ "checkType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 107,
+ "name": "Database"
+ }
+ },
+ "extendsType": {
+ "type": "reference",
+ "id": 97,
+ "name": "GenericSchema"
+ },
+ "trueType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "reference",
+ "id": 108,
+ "name": "SchemaName"
+ },
+ "objectType": {
+ "type": "reference",
+ "id": 107,
+ "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": 97,
+ "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": 97,
+ "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": 104,
+ "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": [
+ 194
+ ]
+ },
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 104
+ ]
+ },
+ {
+ "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": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "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": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "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": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "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": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "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": 93,
+ "name": "GenericFunction",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 94,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 95,
+ "name": "Args",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 75,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 96,
+ "name": "Returns",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 95,
+ 96
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 74,
+ "character": 30
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 89,
+ "name": "GenericNonUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 90,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 91,
+ "name": "Row",
+ "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": [
+ 91
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 38
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 97,
+ "name": "GenericSchema",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 101,
+ "name": "Functions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 82,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 93,
+ "name": "GenericFunction"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 99,
+ "name": "Tables",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 79,
+ "name": "GenericTable"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 100,
+ "name": "Views",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 81,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 92,
+ "name": "GenericView"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 101,
+ 99,
+ 100
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 79,
+ "character": 28
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "GenericTable",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 80,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 82,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 81,
+ "name": "Row",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 83,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 59,
+ "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": [
+ 82,
+ 81,
+ 83
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 56,
+ "character": 27
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "GenericUpdatableView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 85,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 87,
+ "name": "Insert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "qualifiedName": "Record",
+ "package": "typescript",
+ "name": "Record"
+ }
+ },
+ {
+ "id": 86,
+ "name": "Row",
+ "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"
+ }
+ },
+ {
+ "id": 88,
+ "name": "Update",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 65,
+ "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": [
+ 87,
+ 86,
+ 88
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 62,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 92,
+ "name": "GenericView",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 72,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 84,
+ "name": "GenericUpdatableView"
+ },
+ {
+ "type": "reference",
+ "id": 89,
+ "name": "GenericNonUpdatableView"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 78,
+ "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."
+ },
+ "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."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 70,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "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,
+ 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": 78,
+ "name": "SchemaName"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 65
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 14,
+ "character": 7
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 74,
+ "name": "global",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 76,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom `fetch` implementation."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 48,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 60,
+ "name": "Fetch"
+ }
+ },
+ {
+ "id": 77,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 52,
+ "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": [
+ 76,
+ 77
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 44,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 73,
+ "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": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RealtimeClientOptions",
+ "package": "@supabase/realtime-js",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 10,
+ "character": 48
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 59
+ ]
+ },
+ {
+ "title": "Type Aliases",
+ "kind": 4194304,
+ "children": [
+ 60,
+ 93,
+ 89,
+ 97,
+ 79,
+ 84,
+ 92,
+ 61
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 102,
+ "name": "lib/version",
+ "kind": 2,
+ "kindString": "Module",
+ "flags": {},
+ "children": [
+ {
+ "id": 103,
+ "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": [
+ 103
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/version.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 2,
+ "children": [
+ 1,
+ 10,
+ 14,
+ 44,
+ 58,
+ 102
+ ]
+ }
+ ]
+}
\ 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 11f9da9faf0..fa1f979760b 100644
--- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
@@ -402,7 +402,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -468,7 +474,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -569,7 +577,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -612,7 +623,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -2064,7 +2080,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [157, 156]
+ "children": [
+ 157,
+ 156
+ ]
}
]
}
@@ -2182,22 +2201,53 @@
{
"title": "Constructors",
"kind": 512,
- "children": [105]
+ "children": [
+ 105
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131]
+ "children": [
+ 113,
+ 115,
+ 126,
+ 121,
+ 117,
+ 127,
+ 118,
+ 114,
+ 119,
+ 120,
+ 116,
+ 132,
+ 131
+ ]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [133, 135]
+ "children": [
+ 133,
+ 135
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 186, 180, 171, 183, 158, 137, 162, 167, 164, 148]
+ "children": [
+ 169,
+ 186,
+ 180,
+ 171,
+ 183,
+ 158,
+ 137,
+ 162,
+ 167,
+ 164,
+ 148
+ ]
}
],
"sources": [
@@ -2692,7 +2742,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -2758,7 +2814,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -2859,7 +2917,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -2902,7 +2963,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -2948,17 +3014,23 @@
{
"title": "References",
"kind": 16777216,
- "children": [194]
+ "children": [
+ 194
+ ]
},
{
"title": "Classes",
"kind": 128,
- "children": [104]
+ "children": [
+ 104
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -3024,7 +3096,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [13]
+ "children": [
+ 13
+ ]
}
]
}
@@ -3036,7 +3110,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [11]
+ "children": [
+ 11
+ ]
}
],
"sources": [
@@ -3470,7 +3546,11 @@
{
"title": "Functions",
"kind": 64,
- "children": [29, 15, 26]
+ "children": [
+ 29,
+ 15,
+ 26
+ ]
}
],
"sources": [
@@ -3771,7 +3851,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -3837,7 +3923,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -3938,7 +4026,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -3981,7 +4072,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -4195,7 +4291,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -4261,7 +4363,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -4362,7 +4466,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -4405,7 +4512,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -4535,7 +4647,12 @@
{
"title": "Functions",
"kind": 64,
- "children": [50, 56, 47, 45]
+ "children": [
+ 50,
+ 56,
+ 47,
+ 45
+ ]
}
],
"sources": [
@@ -4672,7 +4789,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [95, 96]
+ "children": [
+ 95,
+ 96
+ ]
}
],
"sources": [
@@ -4742,7 +4862,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [91]
+ "children": [
+ 91
+ ]
}
],
"sources": [
@@ -4875,7 +4997,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [101, 99, 100]
+ "children": [
+ 101,
+ 99,
+ 100
+ ]
}
],
"sources": [
@@ -5005,7 +5131,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [82, 81, 83]
+ "children": [
+ 82,
+ 81,
+ 83
+ ]
}
],
"sources": [
@@ -5135,7 +5265,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [87, 86, 88]
+ "children": [
+ 87,
+ 86,
+ 88
+ ]
}
],
"sources": [
@@ -5281,7 +5415,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [87, 86, 88]
+ "children": [
+ 87,
+ 86,
+ 88
+ ]
}
],
"sources": [
@@ -5351,7 +5489,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [91]
+ "children": [
+ 91
+ ]
}
],
"sources": [
@@ -5550,7 +5690,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [68, 71, 70, 72, 69]
+ "children": [
+ 68,
+ 71,
+ 70,
+ 72,
+ 69
+ ]
}
],
"sources": [
@@ -5616,7 +5762,9 @@
{
"title": "Properties",
"kind": 1024,
- "children": [65]
+ "children": [
+ 65
+ ]
}
],
"sources": [
@@ -5717,7 +5865,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [76, 77]
+ "children": [
+ 76,
+ 77
+ ]
}
],
"sources": [
@@ -5760,7 +5911,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [66, 63, 74, 73]
+ "children": [
+ 66,
+ 63,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -5778,12 +5934,23 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [59]
+ "children": [
+ 59
+ ]
},
{
"title": "Type Aliases",
"kind": 4194304,
- "children": [60, 93, 89, 97, 79, 84, 92, 61]
+ "children": [
+ 60,
+ 93,
+ 89,
+ 97,
+ 79,
+ 84,
+ 92,
+ 61
+ ]
}
],
"sources": [
@@ -5827,7 +5994,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [103]
+ "children": [
+ 103
+ ]
}
],
"sources": [
@@ -5843,7 +6012,14 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 10, 14, 44, 58, 102]
+ "children": [
+ 1,
+ 10,
+ 14,
+ 44,
+ 58,
+ 102
+ ]
}
]
-}
+}
\ No newline at end of file