Skip to content

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

enrichments

Jonathan Summers-Muir58f4ea969805
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 02b2a4291ab..a4139475b75 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -405,13 +405,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -477,9 +471,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -580,10 +572,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -626,12 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -2083,10 +2067,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157,
- 156
- ]
+ "children": [157, 156]
}
]
}
@@ -2204,53 +2185,22 @@
{
"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": [
@@ -2745,13 +2695,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -2817,9 +2761,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -2920,10 +2862,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -2966,12 +2905,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -3017,23 +2951,17 @@
{
"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": [
@@ -3099,9 +3027,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 13
- ]
+ "children": [13]
}
]
}
@@ -3113,9 +3039,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 11
- ]
+ "children": [11]
}
],
"sources": [
@@ -3549,11 +3473,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 29,
- 15,
- 26
- ]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -3854,13 +3774,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -3926,9 +3840,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4029,10 +3941,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -4075,12 +3984,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -4294,13 +4198,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -4366,9 +4264,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4469,10 +4365,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -4515,12 +4408,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -4650,12 +4538,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 50,
- 56,
- 47,
- 45
- ]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -4792,10 +4675,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 95,
- 96
- ]
+ "children": [95, 96]
}
],
"sources": [
@@ -4865,9 +4745,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 91
- ]
+ "children": [91]
}
],
"sources": [
@@ -5000,11 +4878,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 101,
- 99,
- 100
- ]
+ "children": [101, 99, 100]
}
],
"sources": [
@@ -5134,11 +5008,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 82,
- 81,
- 83
- ]
+ "children": [82, 81, 83]
}
],
"sources": [
@@ -5268,11 +5138,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 87,
- 86,
- 88
- ]
+ "children": [87, 86, 88]
}
],
"sources": [
@@ -5418,11 +5284,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 87,
- 86,
- 88
- ]
+ "children": [87, 86, 88]
}
],
"sources": [
@@ -5492,9 +5354,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 91
- ]
+ "children": [91]
}
],
"sources": [
@@ -5693,13 +5553,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -5765,9 +5619,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -5868,10 +5720,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -5914,12 +5763,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -5937,23 +5781,12 @@
{
"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": [
@@ -5997,9 +5830,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 103
- ]
+ "children": [103]
}
],
"sources": [
@@ -6015,14 +5846,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 10,
- 14,
- 44,
- 58,
- 102
- ]
+ "children": [1, 10, 14, 44, 58, 102]
}
]
},
@@ -6212,11 +6036,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 737,
- 736,
- 738
- ]
+ "children": [737, 736, 738]
}
]
}
@@ -6229,23 +6049,17 @@
{
"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": [
@@ -6324,9 +6138,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 723
- ]
+ "children": [723]
}
],
"sources": [
@@ -6464,10 +6276,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 794,
- 793
- ]
+ "children": [794, 793]
}
]
}
@@ -6565,10 +6374,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 798,
- 797
- ]
+ "children": [798, 797]
}
]
}
@@ -6722,10 +6528,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 808,
- 807
- ]
+ "children": [808, 807]
}
]
}
@@ -6796,12 +6599,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 805,
- 803,
- 802,
- 804
- ]
+ "children": [805, 803, 802, 804]
}
]
}
@@ -6824,25 +6622,17 @@
{
"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": [
@@ -7055,11 +6845,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 784,
- 783,
- 785
- ]
+ "children": [784, 783, 785]
}
]
}
@@ -7082,24 +6868,17 @@
{
"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": [
@@ -7323,11 +7102,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 823,
- 822,
- 824
- ]
+ "children": [823, 822, 824]
}
]
}
@@ -7350,24 +7125,17 @@
{
"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": [
@@ -7567,11 +7335,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 771,
- 770,
- 772
- ]
+ "children": [771, 770, 772]
}
]
}
@@ -7594,24 +7358,17 @@
{
"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": [
@@ -7721,16 +7478,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 741
- ]
+ "children": [741]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 745
- ]
+ "children": [745]
}
],
"sources": [
@@ -7959,11 +7712,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 759,
- 758,
- 760
- ]
+ "children": [759, 758, 760]
}
]
}
@@ -7976,24 +7725,17 @@
{
"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": [
@@ -8238,11 +7980,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -8558,17 +8296,7 @@
{
"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": [
@@ -8833,12 +8561,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -8968,11 +8691,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -9084,11 +8803,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -9230,12 +8945,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -9429,10 +9139,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 39,
- 38
- ]
+ "children": [39, 38]
}
]
}
@@ -9544,9 +9251,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 51
- ]
+ "children": [51]
}
]
}
@@ -9575,10 +9280,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 49,
- 52
- ]
+ "children": [49, 52]
}
]
}
@@ -9636,9 +9338,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56
- ]
+ "children": [56]
}
]
}
@@ -9668,10 +9368,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 54,
- 57
- ]
+ "children": [54, 57]
}
]
}
@@ -9788,10 +9485,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [31, 32]
}
]
}
@@ -10097,17 +9791,7 @@
{
"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": [
@@ -10149,30 +9833,17 @@
{
"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": [
@@ -10448,16 +10119,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 295,
- 299,
- 290,
- 297,
- 298,
- 294,
- 289
- ]
+ "children": [296, 295, 299, 290, 297, 298, 294, 289]
}
],
"sources": [
@@ -10609,9 +10271,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 128
- ]
+ "children": [128]
}
]
}
@@ -10640,10 +10300,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 126,
- 129
- ]
+ "children": [126, 129]
}
]
}
@@ -10702,9 +10359,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 133
- ]
+ "children": [133]
}
]
}
@@ -10734,10 +10389,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 134
- ]
+ "children": [131, 134]
}
]
}
@@ -10796,9 +10448,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -10827,10 +10477,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 136,
- 139
- ]
+ "children": [136, 139]
}
]
}
@@ -11089,9 +10736,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 194
- ]
+ "children": [194]
}
]
}
@@ -11102,9 +10747,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 192
- ]
+ "children": [192]
}
]
}
@@ -11179,9 +10822,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -11308,10 +10949,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 201,
- 200
- ]
+ "children": [201, 200]
}
]
}
@@ -11381,10 +11019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 203,
- 205
- ]
+ "children": [203, 205]
}
]
}
@@ -11440,10 +11075,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207,
- 208
- ]
+ "children": [207, 208]
}
]
}
@@ -11541,10 +11173,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157,
- 158
- ]
+ "children": [157, 158]
}
]
}
@@ -11757,11 +11386,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 484,
- 482,
- 483
- ]
+ "children": [484, 482, 483]
}
],
"sources": [
@@ -11801,10 +11426,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 480,
- 479
- ]
+ "children": [480, 479]
}
],
"sources": [
@@ -12038,12 +11660,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 469,
- 468,
- 466,
- 467
- ]
+ "children": [469, 468, 466, 467]
}
],
"sources": [
@@ -12061,10 +11678,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 463,
- 464
- ]
+ "children": [463, 464]
}
],
"sources": [
@@ -12184,11 +11798,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 475,
- 474
- ]
+ "children": [476, 475, 474]
}
],
"sources": [
@@ -12227,10 +11837,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 472,
- 471
- ]
+ "children": [472, 471]
}
],
"sources": [
@@ -12420,10 +12027,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 452
- ]
+ "children": [453, 452]
}
],
"sources": [
@@ -12462,11 +12066,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 448,
- 450,
- 449
- ]
+ "children": [448, 450, 449]
}
],
"sources": [
@@ -12563,10 +12163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 459
- ]
+ "children": [460, 459]
}
],
"sources": [
@@ -12626,11 +12223,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 456,
- 455
- ]
+ "children": [457, 456, 455]
}
],
"sources": [
@@ -12805,10 +12398,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 512,
- 511
- ]
+ "children": [512, 511]
}
],
"sources": [
@@ -12826,9 +12416,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509
- ]
+ "children": [509]
}
],
"sources": [
@@ -12878,9 +12466,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 514
- ]
+ "children": [514]
}
],
"sources": [
@@ -12927,9 +12513,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516
- ]
+ "children": [516]
}
],
"sources": [
@@ -13034,9 +12618,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 183
- ]
+ "children": [183]
}
]
}
@@ -13229,11 +12811,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 437,
- 436
- ]
+ "children": [438, 437, 436]
}
],
"sources": [
@@ -13272,11 +12850,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 432,
- 434,
- 433
- ]
+ "children": [432, 434, 433]
}
],
"sources": [
@@ -13373,10 +12947,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 445,
- 444
- ]
+ "children": [445, 444]
}
],
"sources": [
@@ -13436,11 +13007,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 442,
- 441,
- 440
- ]
+ "children": [442, 441, 440]
}
],
"sources": [
@@ -13613,12 +13180,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 409,
- 406,
- 408,
- 407
- ]
+ "children": [409, 406, 408, 407]
}
],
"sources": [
@@ -13793,10 +13355,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -13871,12 +13430,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -13990,10 +13544,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -14047,12 +13598,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -14090,37 +13636,18 @@
{
"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
]
}
],
@@ -14196,10 +13723,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 356,
- 357
- ]
+ "children": [356, 357]
}
],
"sources": [
@@ -14455,17 +13979,7 @@
{
"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": [
@@ -14643,14 +14157,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 372,
- 371,
- 370,
- 373,
- 375
- ]
+ "children": [374, 372, 371, 370, 373, 375]
}
],
"sources": [
@@ -14720,10 +14227,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 540,
- 541
- ]
+ "children": [540, 541]
}
],
"sources": [
@@ -14864,10 +14368,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 684,
- 685
- ]
+ "children": [684, 685]
}
],
"sources": [
@@ -14982,9 +14483,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697
- ]
+ "children": [697]
}
],
"sources": [
@@ -15021,10 +14520,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 702,
- 699
- ]
+ "children": [702, 699]
}
],
"sources": [
@@ -15120,9 +14616,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 579
- ]
+ "children": [579]
}
],
"sources": [
@@ -15250,10 +14744,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 582
- ]
+ "children": [583, 582]
}
],
"sources": [
@@ -15407,11 +14898,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 566,
- 568,
- 567
- ]
+ "children": [566, 568, 567]
}
],
"sources": [
@@ -15597,9 +15084,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 571
- ]
+ "children": [571]
}
],
"sources": [
@@ -15748,11 +15233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 575,
- 576,
- 574
- ]
+ "children": [575, 576, 574]
}
],
"sources": [
@@ -15789,15 +15270,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 657,
- 666,
- 654,
- 671,
- 669,
- 663,
- 660
- ]
+ "children": [657, 666, 654, 671, 669, 663, 660]
}
],
"sources": [
@@ -16007,16 +15480,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 349,
- 352,
- 351,
- 348,
- 347,
- 350,
- 353,
- 354
- ]
+ "children": [349, 352, 351, 348, 347, 350, 353, 354]
}
],
"sources": [
@@ -16216,17 +15680,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 421
- ]
+ "children": [421]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 422,
- 426
- ]
+ "children": [422, 426]
}
],
"sources": [
@@ -16267,9 +15726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 429
- ]
+ "children": [429]
}
],
"sources": [
@@ -16713,27 +16170,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 393,
- 385,
- 387,
- 388,
- 397,
- 396,
- 394,
- 390,
- 398,
- 404,
- 384,
- 403,
- 392,
- 400,
- 391,
- 395,
- 399,
- 389,
- 401,
- 402,
- 386
+ 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399,
+ 389, 401, 402, 386
]
}
],
@@ -16777,9 +16215,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 377
- ]
+ "children": [377]
}
],
"sources": [
@@ -16918,12 +16354,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 409,
- 406,
- 408,
- 407
- ]
+ "children": [409, 406, 408, 407]
}
],
"sources": [
@@ -17110,15 +16541,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 366,
- 359,
- 361,
- 367,
- 365,
- 368,
- 360
- ]
+ "children": [366, 359, 361, 367, 365, 368, 360]
}
],
"sources": [
@@ -17269,10 +16692,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -17326,12 +16746,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -17430,10 +16845,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -17508,12 +16920,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -17680,10 +17087,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 684,
- 685
- ]
+ "children": [684, 685]
}
],
"sources": [
@@ -17777,9 +17181,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 677
- ]
+ "children": [677]
}
],
"sources": [
@@ -17815,10 +17217,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 675,
- 678
- ]
+ "children": [675, 678]
}
],
"sources": [
@@ -17881,10 +17280,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 680,
- 681
- ]
+ "children": [680, 681]
}
],
"sources": [
@@ -17955,9 +17351,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697
- ]
+ "children": [697]
}
],
"sources": [
@@ -18055,9 +17449,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 690
- ]
+ "children": [690]
}
],
"sources": [
@@ -18093,10 +17485,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 688,
- 691
- ]
+ "children": [688, 691]
}
],
"sources": [
@@ -18159,10 +17548,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 693,
- 694
- ]
+ "children": [693, 694]
}
],
"sources": [
@@ -18271,10 +17657,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 626,
- 625
- ]
+ "children": [626, 625]
}
],
"sources": [
@@ -18310,10 +17693,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 623,
- 627
- ]
+ "children": [623, 627]
}
],
"sources": [
@@ -18376,10 +17756,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 629,
- 630
- ]
+ "children": [629, 630]
}
],
"sources": [
@@ -18555,11 +17932,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 605,
- 606,
- 607
- ]
+ "children": [605, 606, 607]
}
],
"sources": [
@@ -18598,11 +17971,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 601,
- 603,
- 602
- ]
+ "children": [601, 603, 602]
}
],
"sources": [
@@ -18638,10 +18007,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 599,
- 608
- ]
+ "children": [599, 608]
}
],
"sources": [
@@ -18704,10 +18070,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 610,
- 611
- ]
+ "children": [610, 611]
}
],
"sources": [
@@ -18867,11 +18230,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 648,
- 646,
- 647
- ]
+ "children": [648, 646, 647]
}
],
"sources": [
@@ -18907,10 +18266,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 644,
- 649
- ]
+ "children": [644, 649]
}
],
"sources": [
@@ -18973,10 +18329,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 651,
- 652
- ]
+ "children": [651, 652]
}
],
"sources": [
@@ -19093,10 +18446,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 635,
- 636
- ]
+ "children": [635, 636]
}
],
"sources": [
@@ -19132,10 +18482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 633,
- 637
- ]
+ "children": [633, 637]
}
],
"sources": [
@@ -19198,10 +18545,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 639,
- 640
- ]
+ "children": [639, 640]
}
],
"sources": [
@@ -19289,9 +18633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 616
- ]
+ "children": [616]
}
],
"sources": [
@@ -19327,10 +18669,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 614,
- 617
- ]
+ "children": [614, 617]
}
],
"sources": [
@@ -19393,10 +18732,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 619,
- 620
- ]
+ "children": [619, 620]
}
],
"sources": [
@@ -19569,13 +18905,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 588,
- 590,
- 591,
- 589,
- 592
- ]
+ "children": [588, 590, 591, 589, 592]
}
],
"sources": [
@@ -19611,10 +18941,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 586,
- 593
- ]
+ "children": [586, 593]
}
],
"sources": [
@@ -19677,10 +19004,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 595,
- 596
- ]
+ "children": [595, 596]
}
],
"sources": [
@@ -19803,10 +19127,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 305,
- 304
- ]
+ "children": [305, 304]
}
],
"sources": [
@@ -19842,10 +19163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 302,
- 306
- ]
+ "children": [302, 306]
}
],
"sources": [
@@ -19929,10 +19247,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 310
- ]
+ "children": [311, 310]
}
],
"sources": [
@@ -19969,10 +19284,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 308,
- 312
- ]
+ "children": [308, 312]
}
],
"sources": [
@@ -20081,10 +19393,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 712,
- 711
- ]
+ "children": [712, 711]
}
],
"sources": [
@@ -20147,10 +19456,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 715,
- 714
- ]
+ "children": [715, 714]
}
],
"sources": [
@@ -20333,12 +19639,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -20468,11 +19769,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -20624,12 +19921,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -20759,11 +20051,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -20875,11 +20163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -21021,12 +20305,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -21178,13 +20457,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 558,
- 559,
- 560,
- 561,
- 562
- ]
+ "children": [558, 559, 560, 561, 562]
}
],
"sources": [
@@ -21287,10 +20560,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 547,
- 548
- ]
+ "children": [547, 548]
}
],
"sources": [
@@ -21326,10 +20596,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 549
- ]
+ "children": [545, 549]
}
],
"sources": [
@@ -21413,10 +20680,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 554
- ]
+ "children": [553, 554]
}
],
"sources": [
@@ -21453,10 +20717,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 555
- ]
+ "children": [551, 555]
}
],
"sources": [
@@ -21613,11 +20874,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -21753,12 +21010,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -21995,16 +21247,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 295,
- 299,
- 290,
- 297,
- 298,
- 294,
- 289
- ]
+ "children": [296, 295, 299, 290, 297, 298, 294, 289]
}
],
"sources": [
@@ -22072,9 +21315,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 708
- ]
+ "children": [708]
}
],
"sources": [
@@ -22156,10 +21397,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 582
- ]
+ "children": [583, 582]
}
],
"sources": [
@@ -22220,9 +21458,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 579
- ]
+ "children": [579]
}
],
"sources": [
@@ -22329,11 +21565,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 566,
- 568,
- 567
- ]
+ "children": [566, 568, 567]
}
],
"sources": [
@@ -22394,9 +21626,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 571
- ]
+ "children": [571]
}
],
"sources": [
@@ -22499,11 +21729,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 575,
- 576,
- 574
- ]
+ "children": [575, 576, 574]
}
],
"sources": [
@@ -22632,10 +21858,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 317,
- 318
- ]
+ "children": [317, 318]
}
],
"sources": [
@@ -22671,10 +21894,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 315,
- 319
- ]
+ "children": [315, 319]
}
],
"sources": [
@@ -22759,10 +21979,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 324
- ]
+ "children": [323, 324]
}
],
"sources": [
@@ -22799,10 +22016,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 321,
- 325
- ]
+ "children": [321, 325]
}
],
"sources": [
@@ -22976,9 +22190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 330
- ]
+ "children": [330]
}
],
"sources": [
@@ -23014,10 +22226,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 328,
- 331
- ]
+ "children": [328, 331]
}
],
"sources": [
@@ -23080,10 +22289,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 333,
- 334
- ]
+ "children": [333, 334]
}
],
"sources": [
@@ -23254,11 +22460,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 484,
- 482,
- 483
- ]
+ "children": [484, 482, 483]
}
],
"sources": [
@@ -23298,10 +22500,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 480,
- 479
- ]
+ "children": [480, 479]
}
],
"sources": [
@@ -23436,10 +22635,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 452
- ]
+ "children": [453, 452]
}
],
"sources": [
@@ -23478,11 +22674,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 448,
- 450,
- 449
- ]
+ "children": [448, 450, 449]
}
],
"sources": [
@@ -23579,10 +22771,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 459
- ]
+ "children": [460, 459]
}
],
"sources": [
@@ -23642,11 +22831,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 456,
- 455
- ]
+ "children": [457, 456, 455]
}
],
"sources": [
@@ -23829,12 +23014,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 469,
- 468,
- 466,
- 467
- ]
+ "children": [469, 468, 466, 467]
}
],
"sources": [
@@ -23852,10 +23032,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 463,
- 464
- ]
+ "children": [463, 464]
}
],
"sources": [
@@ -23975,11 +23152,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 475,
- 474
- ]
+ "children": [476, 475, 474]
}
],
"sources": [
@@ -24018,10 +23191,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 472,
- 471
- ]
+ "children": [472, 471]
}
],
"sources": [
@@ -24136,10 +23306,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 512,
- 511
- ]
+ "children": [512, 511]
}
],
"sources": [
@@ -24157,9 +23324,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509
- ]
+ "children": [509]
}
],
"sources": [
@@ -24209,9 +23374,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 514
- ]
+ "children": [514]
}
],
"sources": [
@@ -24258,9 +23421,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516
- ]
+ "children": [516]
}
],
"sources": [
@@ -24422,11 +23583,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 437,
- 436
- ]
+ "children": [438, 437, 436]
}
],
"sources": [
@@ -24465,11 +23622,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 432,
- 434,
- 433
- ]
+ "children": [432, 434, 433]
}
],
"sources": [
@@ -24566,10 +23719,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 445,
- 444
- ]
+ "children": [445, 444]
}
],
"sources": [
@@ -24629,11 +23779,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 442,
- 441,
- 440
- ]
+ "children": [442, 441, 440]
}
],
"sources": [
@@ -24770,9 +23916,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339
- ]
+ "children": [339]
}
],
"sources": [
@@ -24808,10 +23952,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337,
- 340
- ]
+ "children": [337, 340]
}
],
"sources": [
@@ -24877,9 +24018,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
],
"sources": [
@@ -24916,10 +24055,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 342,
- 345
- ]
+ "children": [342, 345]
}
],
"sources": [
@@ -25038,10 +24174,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -25116,12 +24249,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -25235,10 +24363,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -25292,12 +24417,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -25408,97 +24528,28 @@
{
"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": [
@@ -25586,32 +24637,17 @@
{
"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": [
@@ -26255,32 +25291,17 @@
{
"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": [
@@ -26661,11 +25682,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 12,
- 10,
- 11
- ]
+ "children": [12, 10, 11]
}
]
}
@@ -27223,10 +26240,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 45,
- 44
- ]
+ "children": [45, 44]
}
]
}
@@ -27344,27 +26358,17 @@
{
"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": [
@@ -28238,32 +27242,17 @@
{
"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": [
@@ -29618,14 +28607,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 360,
- 363,
- 365,
- 362,
- 361,
- 364
- ]
+ "children": [360, 363, 365, 362, 361, 364]
}
]
}
@@ -31172,9 +30154,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337
- ]
+ "children": [337]
}
]
}
@@ -32202,9 +31182,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 300
- ]
+ "children": [300]
}
]
}
@@ -32385,11 +31363,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 322,
- 324,
- 323
- ]
+ "children": [322, 324, 323]
}
]
}
@@ -32541,11 +31515,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 329,
- 331,
- 330
- ]
+ "children": [329, 331, 330]
}
]
}
@@ -32874,9 +31844,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
]
}
@@ -34155,10 +33123,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 270,
- 271
- ]
+ "children": [270, 271]
}
]
}
@@ -34310,10 +33275,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 277,
- 278
- ]
+ "children": [277, 278]
}
]
}
@@ -34653,66 +33615,20 @@
{
"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
]
}
],
@@ -35027,11 +33943,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 59,
- 57,
- 58
- ]
+ "children": [59, 57, 58]
}
]
}
@@ -35325,9 +34237,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 109
- ]
+ "children": [109]
}
]
}
@@ -35504,9 +34414,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88
- ]
+ "children": [88]
}
]
}
@@ -35722,10 +34630,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 80
- ]
+ "children": [81, 80]
}
]
}
@@ -35891,9 +34796,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 104
- ]
+ "children": [104]
}
]
}
@@ -36116,11 +35019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 97,
- 96,
- 95
- ]
+ "children": [97, 96, 95]
}
]
}
@@ -36164,31 +35063,17 @@
{
"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": [
@@ -36965,32 +35850,17 @@
{
"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": [
@@ -37719,14 +36589,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 460,
- 462,
- 459,
- 458,
- 461
- ]
+ "children": [457, 460, 462, 459, 458, 461]
}
]
}
@@ -37934,9 +36797,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 434
- ]
+ "children": [434]
}
]
}
@@ -38164,11 +37025,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419,
- 421,
- 420
- ]
+ "children": [419, 421, 420]
}
]
}
@@ -38315,11 +37172,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 426,
- 428,
- 427
- ]
+ "children": [426, 428, 427]
}
]
}
@@ -38450,9 +37303,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 441
- ]
+ "children": [441]
}
]
}
@@ -39063,44 +37914,17 @@
{
"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": [
@@ -39278,12 +38102,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542,
- 540,
- 541,
- 539
- ]
+ "children": [542, 540, 541, 539]
}
],
"sources": [
@@ -39364,10 +38183,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
},
{
@@ -39394,10 +38210,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
@@ -39405,23 +38218,12 @@
{
"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": [
@@ -39509,11 +38311,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 501,
- 503,
- 502
- ]
+ "children": [501, 503, 502]
}
],
"sources": [
@@ -39612,12 +38410,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 505,
- 508,
- 506,
- 507
- ]
+ "children": [505, 508, 506, 507]
}
],
"sources": [
@@ -39697,11 +38490,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 511,
- 512,
- 510
- ]
+ "children": [511, 512, 510]
}
],
"sources": [
@@ -39800,12 +38589,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 517,
- 516,
- 514,
- 515
- ]
+ "children": [517, 516, 514, 515]
}
],
"sources": [
@@ -39984,10 +38768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -40052,9 +38833,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -40072,10 +38851,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -40093,9 +38869,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -40468,15 +39242,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425,
- 424,
- 427,
- 422,
- 423,
- 431,
- 426,
- 421,
- 420
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
]
}
],
@@ -41096,12 +39862,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -41304,10 +40065,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -41372,9 +40130,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -41392,10 +40148,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -41413,9 +40166,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -41847,13 +40598,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -41969,40 +40714,19 @@
{
"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": [
@@ -42092,54 +40816,20 @@
{
"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": [
@@ -42328,12 +41018,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -42599,9 +41284,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -42685,10 +41368,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -42790,9 +41470,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -42891,9 +41569,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -43006,9 +41682,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -43258,12 +41932,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -43529,12 +42198,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -43800,12 +42464,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -44071,12 +42730,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -44238,9 +42892,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -44787,40 +43439,17 @@
{
"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": [
@@ -45177,17 +43806,7 @@
{
"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": [
@@ -45806,12 +44425,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -46014,10 +44628,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -46082,9 +44693,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -46102,10 +44711,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -46123,9 +44729,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -46557,13 +45161,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -46833,10 +45431,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -46901,9 +45496,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -46921,10 +45514,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -46942,9 +45532,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -46981,52 +45569,22 @@
{
"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
]
}
@@ -47217,12 +45775,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -47488,9 +46041,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -47574,10 +46125,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -47679,9 +46227,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -47780,9 +46326,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -47895,9 +46439,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -48147,12 +46689,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -48418,12 +46955,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -48689,12 +47221,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -48960,12 +47487,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -49127,9 +47649,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -49676,40 +48196,17 @@
{
"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": [
@@ -49799,54 +48296,20 @@
{
"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": [
@@ -50069,10 +48532,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -50137,9 +48597,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -50157,10 +48615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -50178,9 +48633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -50553,15 +49006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425,
- 424,
- 427,
- 422,
- 423,
- 431,
- 426,
- 421,
- 420
+ 425, 424, 427, 422, 423, 431,
+ 426, 421, 420
]
}
],
@@ -51181,12 +49627,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -51390,8 +49831,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 301,
- 300
+ 301, 300
]
}
],
@@ -51457,9 +49897,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -51477,10 +49915,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -51498,9 +49933,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -51933,11 +50366,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 438,
- 441,
- 439,
- 440,
- 437
+ 438, 441, 439, 440, 437
]
}
],
@@ -52120,52 +50549,22 @@
{
"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
]
}
@@ -52356,12 +50755,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -52627,9 +51021,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -52713,10 +51105,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -52818,9 +51207,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -52919,9 +51306,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -53034,9 +51419,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -53286,12 +51669,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -53557,12 +51935,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -53828,12 +52201,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -54099,12 +52467,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -54266,9 +52629,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -54815,40 +53176,17 @@
{
"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": [
@@ -54982,17 +53320,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 37,
- 38
- ]
+ "children": [37, 38]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 39
- ]
+ "children": [39]
}
]
}
@@ -55088,20 +53421,12 @@
{
"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": [
@@ -55228,10 +53553,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -55296,9 +53618,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -55316,10 +53636,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -55337,9 +53654,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -55672,17 +53987,7 @@
{
"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": [
@@ -55814,13 +54119,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -55950,12 +54249,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -56194,11 +54488,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 457,
- 458
- ]
+ "children": [456, 457, 458]
}
],
"sources": [
@@ -56370,11 +54660,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 467,
- 468
- ]
+ "children": [466, 467, 468]
}
],
"sources": [
@@ -56558,11 +54844,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 475,
- 476,
- 478
- ]
+ "children": [475, 476, 478]
}
],
"sources": [
@@ -56749,11 +55031,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 475,
- 476,
- 478
- ]
+ "children": [475, 476, 478]
}
],
"sources": [
@@ -56929,11 +55207,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 457,
- 458
- ]
+ "children": [456, 457, 458]
}
],
"sources": [
@@ -57105,11 +55379,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 467,
- 468
- ]
+ "children": [466, 467, 468]
}
],
"sources": [
@@ -57239,12 +55509,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 487,
- 485,
- 486,
- 488
- ]
+ "children": [487, 485, 486, 488]
}
],
"sources": [
@@ -57372,12 +55637,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 491,
- 492,
- 494
- ]
+ "children": [493, 491, 492, 494]
}
],
"sources": [
@@ -57483,40 +55743,17 @@
{
"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": [
@@ -57719,11 +55956,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 400,
- 399,
- 401
- ]
+ "children": [400, 399, 401]
}
]
}
@@ -57736,23 +55969,17 @@
{
"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": [
@@ -58021,9 +56248,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 306
- ]
+ "children": [306]
}
]
}
@@ -58100,10 +56325,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 308,
- 309
- ]
+ "children": [308, 309]
}
]
}
@@ -58159,10 +56381,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 312
- ]
+ "children": [311, 312]
}
]
}
@@ -58286,9 +56505,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
]
}
@@ -58317,10 +56534,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 342,
- 345
- ]
+ "children": [342, 345]
}
]
}
@@ -58376,10 +56590,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 348
- ]
+ "children": [347, 348]
}
]
}
@@ -58503,9 +56714,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 333
- ]
+ "children": [333]
}
]
}
@@ -58534,10 +56743,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 331,
- 334
- ]
+ "children": [331, 334]
}
]
}
@@ -58593,10 +56799,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 336,
- 337
- ]
+ "children": [336, 337]
}
]
}
@@ -58764,10 +56967,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 297
- ]
+ "children": [296, 297]
}
]
}
@@ -58823,10 +57023,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 299,
- 300
- ]
+ "children": [299, 300]
}
]
}
@@ -58934,10 +57131,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 287,
- 288
- ]
+ "children": [287, 288]
}
]
}
@@ -58993,10 +57187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 290,
- 291
- ]
+ "children": [290, 291]
}
]
}
@@ -59100,9 +57291,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
]
}
@@ -59169,9 +57358,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 322
- ]
+ "children": [322]
}
]
}
@@ -59200,10 +57387,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 323
- ]
+ "children": [320, 323]
}
]
}
@@ -59259,10 +57443,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 325,
- 326
- ]
+ "children": [325, 326]
}
]
}
@@ -59292,22 +57473,12 @@
{
"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": [
@@ -59386,9 +57557,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 386
- ]
+ "children": [386]
}
],
"sources": [
@@ -59511,16 +57680,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 404
- ]
+ "children": [404]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 408
- ]
+ "children": [408]
}
],
"sources": [
@@ -59658,14 +57823,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 353,
- 350,
- 351,
- 352,
- 355,
- 354
- ]
+ "children": [353, 350, 351, 352, 355, 354]
}
],
"sources": [
@@ -59713,9 +57871,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379
- ]
+ "children": [379]
}
],
"sources": [
@@ -59913,17 +58069,7 @@
{
"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": [
@@ -60015,11 +58161,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -60060,9 +58202,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 381
- ]
+ "children": [381]
}
],
"sources": [
@@ -60178,12 +58318,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 375,
- 377,
- 376
- ]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -60246,10 +58381,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 367,
- 368
- ]
+ "children": [367, 368]
}
],
"sources": [
@@ -60311,32 +58443,17 @@
{
"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": [
@@ -60595,9 +58712,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -60674,10 +58789,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 51
- ]
+ "children": [50, 51]
}
]
}
@@ -60733,10 +58845,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 54
- ]
+ "children": [53, 54]
}
]
}
@@ -60850,9 +58959,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 86
- ]
+ "children": [86]
}
]
}
@@ -60881,10 +58988,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 84,
- 87
- ]
+ "children": [84, 87]
}
]
}
@@ -60940,10 +59044,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 89,
- 90
- ]
+ "children": [89, 90]
}
]
}
@@ -61057,9 +59158,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 75
- ]
+ "children": [75]
}
]
}
@@ -61088,10 +59187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 73,
- 76
- ]
+ "children": [73, 76]
}
]
}
@@ -61147,10 +59243,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 78,
- 79
- ]
+ "children": [78, 79]
}
]
}
@@ -61261,10 +59354,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [38, 39]
}
]
}
@@ -61320,10 +59410,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 41,
- 42
- ]
+ "children": [41, 42]
}
]
}
@@ -61421,10 +59508,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 29,
- 30
- ]
+ "children": [29, 30]
}
]
}
@@ -61480,10 +59564,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 32,
- 33
- ]
+ "children": [32, 33]
}
]
}
@@ -61577,9 +59658,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 60
- ]
+ "children": [60]
}
]
}
@@ -61646,9 +59725,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 64
- ]
+ "children": [64]
}
]
}
@@ -61677,10 +59754,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 62,
- 65
- ]
+ "children": [62, 65]
}
]
}
@@ -61736,10 +59810,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 67,
- 68
- ]
+ "children": [67, 68]
}
]
}
@@ -61759,21 +59830,12 @@
{
"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": [
@@ -61796,9 +59858,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 3
- ]
+ "children": [3]
}
],
"sources": [
@@ -62103,9 +60163,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 176
- ]
+ "children": [176]
}
]
}
@@ -62134,10 +60192,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 174,
- 177
- ]
+ "children": [174, 177]
}
]
}
@@ -62193,10 +60248,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 179,
- 180
- ]
+ "children": [179, 180]
}
]
}
@@ -62315,9 +60367,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 187
- ]
+ "children": [187]
}
]
}
@@ -62384,9 +60434,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 191
- ]
+ "children": [191]
}
]
}
@@ -62415,10 +60463,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 189,
- 192
- ]
+ "children": [189, 192]
}
]
}
@@ -62474,10 +60519,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 194,
- 195
- ]
+ "children": [194, 195]
}
]
}
@@ -62599,9 +60641,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 202
- ]
+ "children": [202]
}
]
}
@@ -62724,11 +60764,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 206,
- 207,
- 208
- ]
+ "children": [206, 207, 208]
}
]
}
@@ -62758,10 +60794,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 204,
- 209
- ]
+ "children": [204, 209]
}
]
}
@@ -62817,10 +60850,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 211,
- 212
- ]
+ "children": [211, 212]
}
]
}
@@ -62932,10 +60962,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 217,
- 218
- ]
+ "children": [217, 218]
}
]
}
@@ -62991,10 +61018,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 220,
- 221
- ]
+ "children": [220, 221]
}
]
}
@@ -63099,9 +61123,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 227
- ]
+ "children": [227]
}
]
}
@@ -63162,9 +61184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 231
- ]
+ "children": [231]
}
]
}
@@ -63175,9 +61195,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 229
- ]
+ "children": [229]
}
]
}
@@ -63342,12 +61360,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 375,
- 377,
- 376
- ]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -63409,9 +61422,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379
- ]
+ "children": [379]
}
],
"sources": [
@@ -63485,10 +61496,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 247,
- 248
- ]
+ "children": [247, 248]
}
]
}
@@ -63544,10 +61552,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 250,
- 251
- ]
+ "children": [250, 251]
}
]
}
@@ -63675,9 +61680,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 164
- ]
+ "children": [164]
}
]
}
@@ -63706,10 +61709,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 162,
- 165
- ]
+ "children": [162, 165]
}
]
}
@@ -63765,10 +61765,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 167,
- 168
- ]
+ "children": [167, 168]
}
]
}
@@ -63885,10 +61882,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 236,
- 237
- ]
+ "children": [236, 237]
}
]
}
@@ -63944,10 +61938,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 239,
- 240
- ]
+ "children": [239, 240]
}
]
}
@@ -64174,11 +62165,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -64252,9 +62239,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 152
- ]
+ "children": [152]
}
]
}
@@ -64283,10 +62268,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150,
- 153
- ]
+ "children": [150, 153]
}
]
}
@@ -64342,10 +62324,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155,
- 156
- ]
+ "children": [155, 156]
}
]
}
@@ -64572,11 +62551,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -64650,9 +62625,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 139
- ]
+ "children": [139]
}
]
}
@@ -64681,10 +62654,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 137,
- 140
- ]
+ "children": [137, 140]
}
]
}
@@ -64740,10 +62710,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 142,
- 143
- ]
+ "children": [142, 143]
}
]
}
@@ -64763,25 +62730,12 @@
{
"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": [
@@ -64797,9 +62751,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 92
- ]
+ "children": [92]
}
],
"sources": [
@@ -64815,11 +62767,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 2,
- 91
- ]
+ "children": [1, 2, 91]
}
]
},
@@ -65012,10 +62960,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 8,
- 7
- ]
+ "children": [8, 7]
}
]
}
@@ -65496,26 +63441,17 @@
{
"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": [
@@ -66203,10 +64139,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/spec/enrichments/tsdoc_v2/functions_dereferenced.json
index 91757679a93..65eb2310216 100644
--- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json
@@ -187,10 +187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 8,
- 7
- ]
+ "children": [8, 7]
}
]
}
@@ -671,26 +668,17 @@
{
"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": [
@@ -1378,10 +1366,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
@@ -1404,4 +1389,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 afd0f1d5758..bdf28bb9bc1 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -1,14546 +1,13951 @@
{
- "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
+ "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
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index 582dd1651b4..4b6a0d0c43e 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -184,11 +184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 737,
- 736,
- 738
- ]
+ "children": [737, 736, 738]
}
]
}
@@ -201,23 +197,17 @@
{
"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": [
@@ -296,9 +286,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 723
- ]
+ "children": [723]
}
],
"sources": [
@@ -436,10 +424,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 794,
- 793
- ]
+ "children": [794, 793]
}
]
}
@@ -537,10 +522,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 798,
- 797
- ]
+ "children": [798, 797]
}
]
}
@@ -694,10 +676,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 808,
- 807
- ]
+ "children": [808, 807]
}
]
}
@@ -768,12 +747,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 805,
- 803,
- 802,
- 804
- ]
+ "children": [805, 803, 802, 804]
}
]
}
@@ -796,25 +770,17 @@
{
"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": [
@@ -1027,11 +993,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 784,
- 783,
- 785
- ]
+ "children": [784, 783, 785]
}
]
}
@@ -1054,24 +1016,17 @@
{
"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": [
@@ -1295,11 +1250,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 823,
- 822,
- 824
- ]
+ "children": [823, 822, 824]
}
]
}
@@ -1322,24 +1273,17 @@
{
"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": [
@@ -1539,11 +1483,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 771,
- 770,
- 772
- ]
+ "children": [771, 770, 772]
}
]
}
@@ -1566,24 +1506,17 @@
{
"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": [
@@ -1693,16 +1626,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 741
- ]
+ "children": [741]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 745
- ]
+ "children": [745]
}
],
"sources": [
@@ -1931,11 +1860,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 759,
- 758,
- 760
- ]
+ "children": [759, 758, 760]
}
]
}
@@ -1948,24 +1873,17 @@
{
"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": [
@@ -2210,11 +2128,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 11,
- 7,
- 6
- ]
+ "children": [11, 7, 6]
}
]
}
@@ -2530,17 +2444,7 @@
{
"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": [
@@ -2805,12 +2709,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -2940,11 +2839,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -3056,11 +2951,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -3202,12 +3093,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -3401,10 +3287,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 39,
- 38
- ]
+ "children": [39, 38]
}
]
}
@@ -3516,9 +3399,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 51
- ]
+ "children": [51]
}
]
}
@@ -3547,10 +3428,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 49,
- 52
- ]
+ "children": [49, 52]
}
]
}
@@ -3608,9 +3486,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 56
- ]
+ "children": [56]
}
]
}
@@ -3640,10 +3516,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 54,
- 57
- ]
+ "children": [54, 57]
}
]
}
@@ -3760,10 +3633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 31,
- 32
- ]
+ "children": [31, 32]
}
]
}
@@ -4069,17 +3939,7 @@
{
"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": [
@@ -4121,30 +3981,17 @@
{
"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": [
@@ -4420,16 +4267,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 295,
- 299,
- 290,
- 297,
- 298,
- 294,
- 289
- ]
+ "children": [296, 295, 299, 290, 297, 298, 294, 289]
}
],
"sources": [
@@ -4581,9 +4419,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 128
- ]
+ "children": [128]
}
]
}
@@ -4612,10 +4448,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 126,
- 129
- ]
+ "children": [126, 129]
}
]
}
@@ -4674,9 +4507,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 133
- ]
+ "children": [133]
}
]
}
@@ -4706,10 +4537,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 134
- ]
+ "children": [131, 134]
}
]
}
@@ -4768,9 +4596,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -4799,10 +4625,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 136,
- 139
- ]
+ "children": [136, 139]
}
]
}
@@ -5061,9 +4884,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 194
- ]
+ "children": [194]
}
]
}
@@ -5074,9 +4895,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 192
- ]
+ "children": [192]
}
]
}
@@ -5151,9 +4970,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 163
- ]
+ "children": [163]
}
]
}
@@ -5280,10 +5097,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 201,
- 200
- ]
+ "children": [201, 200]
}
]
}
@@ -5353,10 +5167,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 203,
- 205
- ]
+ "children": [203, 205]
}
]
}
@@ -5412,10 +5223,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 207,
- 208
- ]
+ "children": [207, 208]
}
]
}
@@ -5513,10 +5321,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157,
- 158
- ]
+ "children": [157, 158]
}
]
}
@@ -5729,11 +5534,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 484,
- 482,
- 483
- ]
+ "children": [484, 482, 483]
}
],
"sources": [
@@ -5773,10 +5574,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 480,
- 479
- ]
+ "children": [480, 479]
}
],
"sources": [
@@ -6010,12 +5808,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 469,
- 468,
- 466,
- 467
- ]
+ "children": [469, 468, 466, 467]
}
],
"sources": [
@@ -6033,10 +5826,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 463,
- 464
- ]
+ "children": [463, 464]
}
],
"sources": [
@@ -6156,11 +5946,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 475,
- 474
- ]
+ "children": [476, 475, 474]
}
],
"sources": [
@@ -6199,10 +5985,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 472,
- 471
- ]
+ "children": [472, 471]
}
],
"sources": [
@@ -6392,10 +6175,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 452
- ]
+ "children": [453, 452]
}
],
"sources": [
@@ -6434,11 +6214,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 448,
- 450,
- 449
- ]
+ "children": [448, 450, 449]
}
],
"sources": [
@@ -6535,10 +6311,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 459
- ]
+ "children": [460, 459]
}
],
"sources": [
@@ -6598,11 +6371,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 456,
- 455
- ]
+ "children": [457, 456, 455]
}
],
"sources": [
@@ -6777,10 +6546,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 512,
- 511
- ]
+ "children": [512, 511]
}
],
"sources": [
@@ -6798,9 +6564,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509
- ]
+ "children": [509]
}
],
"sources": [
@@ -6850,9 +6614,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 514
- ]
+ "children": [514]
}
],
"sources": [
@@ -6899,9 +6661,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516
- ]
+ "children": [516]
}
],
"sources": [
@@ -7006,9 +6766,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 183
- ]
+ "children": [183]
}
]
}
@@ -7201,11 +6959,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 437,
- 436
- ]
+ "children": [438, 437, 436]
}
],
"sources": [
@@ -7244,11 +6998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 432,
- 434,
- 433
- ]
+ "children": [432, 434, 433]
}
],
"sources": [
@@ -7345,10 +7095,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 445,
- 444
- ]
+ "children": [445, 444]
}
],
"sources": [
@@ -7408,11 +7155,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 442,
- 441,
- 440
- ]
+ "children": [442, 441, 440]
}
],
"sources": [
@@ -7585,12 +7328,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 409,
- 406,
- 408,
- 407
- ]
+ "children": [409, 406, 408, 407]
}
],
"sources": [
@@ -7765,10 +7503,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -7843,12 +7578,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -7962,10 +7692,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -8019,12 +7746,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -8062,38 +7784,17 @@
{
"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": [
@@ -8168,10 +7869,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 356,
- 357
- ]
+ "children": [356, 357]
}
],
"sources": [
@@ -8427,17 +8125,7 @@
{
"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": [
@@ -8615,14 +8303,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 372,
- 371,
- 370,
- 373,
- 375
- ]
+ "children": [374, 372, 371, 370, 373, 375]
}
],
"sources": [
@@ -8692,10 +8373,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 540,
- 541
- ]
+ "children": [540, 541]
}
],
"sources": [
@@ -8836,10 +8514,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 684,
- 685
- ]
+ "children": [684, 685]
}
],
"sources": [
@@ -8954,9 +8629,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697
- ]
+ "children": [697]
}
],
"sources": [
@@ -8993,10 +8666,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 702,
- 699
- ]
+ "children": [702, 699]
}
],
"sources": [
@@ -9092,9 +8762,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 579
- ]
+ "children": [579]
}
],
"sources": [
@@ -9222,10 +8890,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 582
- ]
+ "children": [583, 582]
}
],
"sources": [
@@ -9379,11 +9044,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 566,
- 568,
- 567
- ]
+ "children": [566, 568, 567]
}
],
"sources": [
@@ -9569,9 +9230,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 571
- ]
+ "children": [571]
}
],
"sources": [
@@ -9720,11 +9379,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 575,
- 576,
- 574
- ]
+ "children": [575, 576, 574]
}
],
"sources": [
@@ -9761,15 +9416,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [
- 657,
- 666,
- 654,
- 671,
- 669,
- 663,
- 660
- ]
+ "children": [657, 666, 654, 671, 669, 663, 660]
}
],
"sources": [
@@ -9979,16 +9626,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 349,
- 352,
- 351,
- 348,
- 347,
- 350,
- 353,
- 354
- ]
+ "children": [349, 352, 351, 348, 347, 350, 353, 354]
}
],
"sources": [
@@ -10188,17 +9826,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 421
- ]
+ "children": [421]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 422,
- 426
- ]
+ "children": [422, 426]
}
],
"sources": [
@@ -10239,9 +9872,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 429
- ]
+ "children": [429]
}
],
"sources": [
@@ -10685,27 +10316,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 393,
- 385,
- 387,
- 388,
- 397,
- 396,
- 394,
- 390,
- 398,
- 404,
- 384,
- 403,
- 392,
- 400,
- 391,
- 395,
- 399,
- 389,
- 401,
- 402,
- 386
+ 393, 385, 387, 388, 397, 396, 394, 390, 398, 404, 384, 403, 392, 400, 391, 395, 399,
+ 389, 401, 402, 386
]
}
],
@@ -10749,9 +10361,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 377
- ]
+ "children": [377]
}
],
"sources": [
@@ -10890,12 +10500,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 409,
- 406,
- 408,
- 407
- ]
+ "children": [409, 406, 408, 407]
}
],
"sources": [
@@ -11082,15 +10687,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 366,
- 359,
- 361,
- 367,
- 365,
- 368,
- 360
- ]
+ "children": [366, 359, 361, 367, 365, 368, 360]
}
],
"sources": [
@@ -11241,10 +10838,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -11298,12 +10892,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -11402,10 +10991,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -11480,12 +11066,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -11652,10 +11233,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 684,
- 685
- ]
+ "children": [684, 685]
}
],
"sources": [
@@ -11749,9 +11327,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 677
- ]
+ "children": [677]
}
],
"sources": [
@@ -11787,10 +11363,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 675,
- 678
- ]
+ "children": [675, 678]
}
],
"sources": [
@@ -11853,10 +11426,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 680,
- 681
- ]
+ "children": [680, 681]
}
],
"sources": [
@@ -11927,9 +11497,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 697
- ]
+ "children": [697]
}
],
"sources": [
@@ -12027,9 +11595,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 690
- ]
+ "children": [690]
}
],
"sources": [
@@ -12065,10 +11631,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 688,
- 691
- ]
+ "children": [688, 691]
}
],
"sources": [
@@ -12131,10 +11694,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 693,
- 694
- ]
+ "children": [693, 694]
}
],
"sources": [
@@ -12243,10 +11803,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 626,
- 625
- ]
+ "children": [626, 625]
}
],
"sources": [
@@ -12282,10 +11839,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 623,
- 627
- ]
+ "children": [623, 627]
}
],
"sources": [
@@ -12348,10 +11902,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 629,
- 630
- ]
+ "children": [629, 630]
}
],
"sources": [
@@ -12527,11 +12078,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 605,
- 606,
- 607
- ]
+ "children": [605, 606, 607]
}
],
"sources": [
@@ -12570,11 +12117,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 601,
- 603,
- 602
- ]
+ "children": [601, 603, 602]
}
],
"sources": [
@@ -12610,10 +12153,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 599,
- 608
- ]
+ "children": [599, 608]
}
],
"sources": [
@@ -12676,10 +12216,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 610,
- 611
- ]
+ "children": [610, 611]
}
],
"sources": [
@@ -12839,11 +12376,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 648,
- 646,
- 647
- ]
+ "children": [648, 646, 647]
}
],
"sources": [
@@ -12879,10 +12412,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 644,
- 649
- ]
+ "children": [644, 649]
}
],
"sources": [
@@ -12945,10 +12475,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 651,
- 652
- ]
+ "children": [651, 652]
}
],
"sources": [
@@ -13065,10 +12592,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 635,
- 636
- ]
+ "children": [635, 636]
}
],
"sources": [
@@ -13104,10 +12628,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 633,
- 637
- ]
+ "children": [633, 637]
}
],
"sources": [
@@ -13170,10 +12691,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 639,
- 640
- ]
+ "children": [639, 640]
}
],
"sources": [
@@ -13261,9 +12779,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 616
- ]
+ "children": [616]
}
],
"sources": [
@@ -13299,10 +12815,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 614,
- 617
- ]
+ "children": [614, 617]
}
],
"sources": [
@@ -13365,10 +12878,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 619,
- 620
- ]
+ "children": [619, 620]
}
],
"sources": [
@@ -13541,13 +13051,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 588,
- 590,
- 591,
- 589,
- 592
- ]
+ "children": [588, 590, 591, 589, 592]
}
],
"sources": [
@@ -13583,10 +13087,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 586,
- 593
- ]
+ "children": [586, 593]
}
],
"sources": [
@@ -13649,10 +13150,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 595,
- 596
- ]
+ "children": [595, 596]
}
],
"sources": [
@@ -13775,10 +13273,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 305,
- 304
- ]
+ "children": [305, 304]
}
],
"sources": [
@@ -13814,10 +13309,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 302,
- 306
- ]
+ "children": [302, 306]
}
],
"sources": [
@@ -13901,10 +13393,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 310
- ]
+ "children": [311, 310]
}
],
"sources": [
@@ -13941,10 +13430,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 308,
- 312
- ]
+ "children": [308, 312]
}
],
"sources": [
@@ -14053,10 +13539,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 712,
- 711
- ]
+ "children": [712, 711]
}
],
"sources": [
@@ -14119,10 +13602,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 715,
- 714
- ]
+ "children": [715, 714]
}
],
"sources": [
@@ -14305,12 +13785,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -14440,11 +13915,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -14596,12 +14067,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -14731,11 +14197,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 526,
- 527,
- 525
- ]
+ "children": [526, 527, 525]
}
],
"sources": [
@@ -14847,11 +14309,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -14993,12 +14451,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 536,
- 537,
- 538,
- 535
- ]
+ "children": [536, 537, 538, 535]
}
],
"sources": [
@@ -15150,13 +14603,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 558,
- 559,
- 560,
- 561,
- 562
- ]
+ "children": [558, 559, 560, 561, 562]
}
],
"sources": [
@@ -15259,10 +14706,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 547,
- 548
- ]
+ "children": [547, 548]
}
],
"sources": [
@@ -15298,10 +14742,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 545,
- 549
- ]
+ "children": [545, 549]
}
],
"sources": [
@@ -15385,10 +14826,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 553,
- 554
- ]
+ "children": [553, 554]
}
],
"sources": [
@@ -15425,10 +14863,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 551,
- 555
- ]
+ "children": [551, 555]
}
],
"sources": [
@@ -15585,11 +15020,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 531,
- 532,
- 530
- ]
+ "children": [531, 532, 530]
}
],
"sources": [
@@ -15725,12 +15156,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 520,
- 522,
- 521,
- 519
- ]
+ "children": [520, 522, 521, 519]
}
],
"sources": [
@@ -15967,16 +15393,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 295,
- 299,
- 290,
- 297,
- 298,
- 294,
- 289
- ]
+ "children": [296, 295, 299, 290, 297, 298, 294, 289]
}
],
"sources": [
@@ -16044,9 +15461,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 708
- ]
+ "children": [708]
}
],
"sources": [
@@ -16128,10 +15543,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 583,
- 582
- ]
+ "children": [583, 582]
}
],
"sources": [
@@ -16192,9 +15604,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 579
- ]
+ "children": [579]
}
],
"sources": [
@@ -16301,11 +15711,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 566,
- 568,
- 567
- ]
+ "children": [566, 568, 567]
}
],
"sources": [
@@ -16366,9 +15772,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 571
- ]
+ "children": [571]
}
],
"sources": [
@@ -16471,11 +15875,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 575,
- 576,
- 574
- ]
+ "children": [575, 576, 574]
}
],
"sources": [
@@ -16604,10 +16004,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 317,
- 318
- ]
+ "children": [317, 318]
}
],
"sources": [
@@ -16643,10 +16040,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 315,
- 319
- ]
+ "children": [315, 319]
}
],
"sources": [
@@ -16731,10 +16125,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 323,
- 324
- ]
+ "children": [323, 324]
}
],
"sources": [
@@ -16771,10 +16162,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 321,
- 325
- ]
+ "children": [321, 325]
}
],
"sources": [
@@ -16948,9 +16336,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 330
- ]
+ "children": [330]
}
],
"sources": [
@@ -16986,10 +16372,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 328,
- 331
- ]
+ "children": [328, 331]
}
],
"sources": [
@@ -17052,10 +16435,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 333,
- 334
- ]
+ "children": [333, 334]
}
],
"sources": [
@@ -17226,11 +16606,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 484,
- 482,
- 483
- ]
+ "children": [484, 482, 483]
}
],
"sources": [
@@ -17270,10 +16646,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 480,
- 479
- ]
+ "children": [480, 479]
}
],
"sources": [
@@ -17408,10 +16781,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 453,
- 452
- ]
+ "children": [453, 452]
}
],
"sources": [
@@ -17450,11 +16820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 448,
- 450,
- 449
- ]
+ "children": [448, 450, 449]
}
],
"sources": [
@@ -17551,10 +16917,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 459
- ]
+ "children": [460, 459]
}
],
"sources": [
@@ -17614,11 +16977,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 456,
- 455
- ]
+ "children": [457, 456, 455]
}
],
"sources": [
@@ -17801,12 +17160,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 469,
- 468,
- 466,
- 467
- ]
+ "children": [469, 468, 466, 467]
}
],
"sources": [
@@ -17824,10 +17178,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 463,
- 464
- ]
+ "children": [463, 464]
}
],
"sources": [
@@ -17947,11 +17298,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 476,
- 475,
- 474
- ]
+ "children": [476, 475, 474]
}
],
"sources": [
@@ -17990,10 +17337,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 472,
- 471
- ]
+ "children": [472, 471]
}
],
"sources": [
@@ -18108,10 +17452,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 512,
- 511
- ]
+ "children": [512, 511]
}
],
"sources": [
@@ -18129,9 +17470,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 509
- ]
+ "children": [509]
}
],
"sources": [
@@ -18181,9 +17520,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 514
- ]
+ "children": [514]
}
],
"sources": [
@@ -18230,9 +17567,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 516
- ]
+ "children": [516]
}
],
"sources": [
@@ -18394,11 +17729,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 437,
- 436
- ]
+ "children": [438, 437, 436]
}
],
"sources": [
@@ -18437,11 +17768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 432,
- 434,
- 433
- ]
+ "children": [432, 434, 433]
}
],
"sources": [
@@ -18538,10 +17865,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 445,
- 444
- ]
+ "children": [445, 444]
}
],
"sources": [
@@ -18601,11 +17925,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 442,
- 441,
- 440
- ]
+ "children": [442, 441, 440]
}
],
"sources": [
@@ -18742,9 +18062,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339
- ]
+ "children": [339]
}
],
"sources": [
@@ -18780,10 +18098,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337,
- 340
- ]
+ "children": [337, 340]
}
],
"sources": [
@@ -18849,9 +18164,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
],
"sources": [
@@ -18888,10 +18201,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 342,
- 345
- ]
+ "children": [342, 345]
}
],
"sources": [
@@ -19010,10 +18320,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 496,
- 495
- ]
+ "children": [496, 495]
}
]
}
@@ -19088,12 +18395,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 490,
- 491,
- 492
- ]
+ "children": [493, 490, 491, 492]
}
],
"sources": [
@@ -19207,10 +18509,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 504,
- 503
- ]
+ "children": [504, 503]
}
]
}
@@ -19264,12 +18563,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 501,
- 499,
- 500
- ]
+ "children": [498, 501, 499, 500]
}
],
"sources": [
@@ -19380,97 +18674,26 @@
{
"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": [
@@ -19480,4 +18703,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 3802fc61535..bdb5893958f 100644
--- a/spec/enrichments/tsdoc_v2/postgrest.json
+++ b/spec/enrichments/tsdoc_v2/postgrest.json
@@ -1,12380 +1,12182 @@
{
- "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
+ "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
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
index 4e601e2c9e3..19da10fd6b8 100644
--- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
@@ -75,32 +75,17 @@
{
"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": [
@@ -744,32 +729,17 @@
{
"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": [
@@ -1150,11 +1120,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 12,
- 10,
- 11
- ]
+ "children": [12, 10, 11]
}
]
}
@@ -1712,10 +1678,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 45,
- 44
- ]
+ "children": [45, 44]
}
]
}
@@ -1833,27 +1796,17 @@
{
"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": [
@@ -2727,32 +2680,17 @@
{
"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": [
@@ -4107,14 +4045,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 360,
- 363,
- 365,
- 362,
- 361,
- 364
- ]
+ "children": [360, 363, 365, 362, 361, 364]
}
]
}
@@ -5661,9 +5592,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 337
- ]
+ "children": [337]
}
]
}
@@ -6691,9 +6620,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 300
- ]
+ "children": [300]
}
]
}
@@ -6874,11 +6801,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 322,
- 324,
- 323
- ]
+ "children": [322, 324, 323]
}
]
}
@@ -7030,11 +6953,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 329,
- 331,
- 330
- ]
+ "children": [329, 331, 330]
}
]
}
@@ -7363,9 +7282,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
]
}
@@ -8644,10 +8561,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 270,
- 271
- ]
+ "children": [270, 271]
}
]
}
@@ -8799,10 +8713,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 277,
- 278
- ]
+ "children": [277, 278]
}
]
}
@@ -9142,66 +9053,20 @@
{
"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
]
}
],
@@ -9516,11 +9381,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 59,
- 57,
- 58
- ]
+ "children": [59, 57, 58]
}
]
}
@@ -9814,9 +9675,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 109
- ]
+ "children": [109]
}
]
}
@@ -9993,9 +9852,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 88
- ]
+ "children": [88]
}
]
}
@@ -10211,10 +10068,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 80
- ]
+ "children": [81, 80]
}
]
}
@@ -10380,9 +10234,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 104
- ]
+ "children": [104]
}
]
}
@@ -10605,11 +10457,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 97,
- 96,
- 95
- ]
+ "children": [97, 96, 95]
}
]
}
@@ -10653,31 +10501,17 @@
{
"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": [
@@ -11454,32 +11288,17 @@
{
"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": [
@@ -12208,14 +12027,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 457,
- 460,
- 462,
- 459,
- 458,
- 461
- ]
+ "children": [457, 460, 462, 459, 458, 461]
}
]
}
@@ -12423,9 +12235,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 434
- ]
+ "children": [434]
}
]
}
@@ -12653,11 +12463,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 419,
- 421,
- 420
- ]
+ "children": [419, 421, 420]
}
]
}
@@ -12804,11 +12610,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 426,
- 428,
- 427
- ]
+ "children": [426, 428, 427]
}
]
}
@@ -12939,9 +12741,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 441
- ]
+ "children": [441]
}
]
}
@@ -13552,44 +13352,17 @@
{
"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": [
@@ -13767,12 +13540,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542,
- 540,
- 541,
- 539
- ]
+ "children": [542, 540, 541, 539]
}
],
"sources": [
@@ -13853,10 +13621,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
},
{
@@ -13883,10 +13648,7 @@
],
"type": {
"type": "union",
- "types": [
- null,
- null
- ]
+ "types": [null, null]
}
}
],
@@ -13894,23 +13656,12 @@
{
"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": [
@@ -13920,4 +13671,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 b0b5214aef6..79913e6a85a 100644
--- a/spec/enrichments/tsdoc_v2/realtime.json
+++ b/spec/enrichments/tsdoc_v2/realtime.json
@@ -1,6075 +1,5888 @@
{
- "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
+ "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
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
index f7ae12c4ac5..053a099d227 100644
--- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
@@ -75,11 +75,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 501,
- 503,
- 502
- ]
+ "children": [501, 503, 502]
}
],
"sources": [
@@ -178,12 +174,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 505,
- 508,
- 506,
- 507
- ]
+ "children": [505, 508, 506, 507]
}
],
"sources": [
@@ -263,11 +254,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 511,
- 512,
- 510
- ]
+ "children": [511, 512, 510]
}
],
"sources": [
@@ -366,12 +353,7 @@
{
"title": "Enumeration Members",
"kind": 16,
- "children": [
- 517,
- 516,
- 514,
- 515
- ]
+ "children": [517, 516, 514, 515]
}
],
"sources": [
@@ -550,10 +532,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -618,9 +597,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -638,10 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -659,9 +633,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -1034,15 +1006,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425,
- 424,
- 427,
- 422,
- 423,
- 431,
- 426,
- 421,
- 420
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
]
}
],
@@ -1662,12 +1626,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -1870,10 +1829,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -1938,9 +1894,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -1958,10 +1912,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -1979,9 +1930,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -2413,13 +2362,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -2535,40 +2478,17 @@
{
"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": [
@@ -2658,54 +2578,20 @@
{
"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": [
@@ -2894,12 +2780,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -3165,9 +3046,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -3251,10 +3130,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -3356,9 +3232,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -3457,9 +3331,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -3572,9 +3444,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -3824,12 +3694,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -4095,12 +3960,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -4366,12 +4226,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -4637,12 +4492,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -4804,9 +4654,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -5353,40 +5201,17 @@
{
"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": [
@@ -5743,17 +5568,7 @@
{
"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": [
@@ -6372,12 +6187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -6580,10 +6390,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -6648,9 +6455,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -6668,10 +6473,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -6689,9 +6491,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -7123,13 +6923,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -7399,10 +7193,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -7467,9 +7258,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -7487,10 +7276,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -7508,9 +7294,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -7547,53 +7331,21 @@
{
"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
]
}
],
@@ -7783,12 +7535,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -8054,9 +7801,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -8140,10 +7885,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -8245,9 +7987,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -8346,9 +8086,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -8461,9 +8199,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -8713,12 +8449,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -8984,12 +8715,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -9255,12 +8981,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -9526,12 +9247,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -9693,9 +9409,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -10242,40 +9956,17 @@
{
"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": [
@@ -10365,54 +10056,20 @@
{
"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": [
@@ -10635,10 +10292,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -10703,9 +10357,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -10723,10 +10375,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -10744,9 +10393,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -11119,15 +10766,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 425,
- 424,
- 427,
- 422,
- 423,
- 431,
- 426,
- 421,
- 420
+ 425, 424, 427, 422, 423, 431, 426,
+ 421, 420
]
}
],
@@ -11747,12 +11387,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 339,
- 340,
- 341,
- 338
- ]
+ "children": [339, 340, 341, 338]
}
]
}
@@ -11955,10 +11590,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -12023,9 +11655,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -12043,10 +11673,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -12064,9 +11691,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -12498,13 +12123,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -12686,53 +12305,21 @@
{
"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
]
}
],
@@ -12922,12 +12509,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 81,
- 77,
- 82,
- 76
- ]
+ "children": [81, 77, 82, 76]
}
],
"sources": [
@@ -13193,9 +12775,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 124
- ]
+ "children": [124]
}
]
}
@@ -13279,10 +12859,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 131,
- 130
- ]
+ "children": [131, 130]
}
],
"indexSignature": {
@@ -13384,9 +12961,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 138
- ]
+ "children": [138]
}
]
}
@@ -13485,9 +13060,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 146
- ]
+ "children": [146]
}
]
}
@@ -13600,9 +13173,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155
- ]
+ "children": [155]
}
]
}
@@ -13852,12 +13423,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -14123,12 +13689,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -14394,12 +13955,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -14665,12 +14221,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -14832,9 +14383,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 208
- ]
+ "children": [208]
}
],
"indexSignature": {
@@ -15381,40 +14930,17 @@
{
"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": [
@@ -15548,17 +15074,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 37,
- 38
- ]
+ "children": [37, 38]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 39
- ]
+ "children": [39]
}
]
}
@@ -15654,20 +15175,12 @@
{
"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": [
@@ -15794,10 +15307,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 301,
- 300
- ]
+ "children": [301, 300]
}
],
"sources": [
@@ -15862,9 +15372,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 304
- ]
+ "children": [304]
}
],
"sources": [
@@ -15882,10 +15390,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 298,
- 302
- ]
+ "children": [298, 302]
}
],
"sources": [
@@ -15903,9 +15408,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296
- ]
+ "children": [296]
}
],
"sources": [
@@ -16238,17 +15741,7 @@
{
"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": [
@@ -16380,13 +15873,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 438,
- 441,
- 439,
- 440,
- 437
- ]
+ "children": [438, 441, 439, 440, 437]
}
],
"sources": [
@@ -16516,12 +16003,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 447,
- 445,
- 446
- ]
+ "children": [444, 447, 445, 446]
}
],
"sources": [
@@ -16760,11 +16242,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 457,
- 458
- ]
+ "children": [456, 457, 458]
}
],
"sources": [
@@ -16936,11 +16414,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 467,
- 468
- ]
+ "children": [466, 467, 468]
}
],
"sources": [
@@ -17124,11 +16598,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 475,
- 476,
- 478
- ]
+ "children": [475, 476, 478]
}
],
"sources": [
@@ -17315,11 +16785,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 475,
- 476,
- 478
- ]
+ "children": [475, 476, 478]
}
],
"sources": [
@@ -17495,11 +16961,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 456,
- 457,
- 458
- ]
+ "children": [456, 457, 458]
}
],
"sources": [
@@ -17671,11 +17133,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 466,
- 467,
- 468
- ]
+ "children": [466, 467, 468]
}
],
"sources": [
@@ -17805,12 +17263,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 487,
- 485,
- 486,
- 488
- ]
+ "children": [487, 485, 486, 488]
}
],
"sources": [
@@ -17938,12 +17391,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 493,
- 491,
- 492,
- 494
- ]
+ "children": [493, 491, 492, 494]
}
],
"sources": [
@@ -18049,40 +17497,17 @@
{
"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": [
@@ -18092,4 +17517,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 8c155d7e995..989b1a8b754 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -1,6933 +1,6659 @@
{
- "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
+ "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]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index 6860d984baf..fe03bc12964 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -190,11 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 400,
- 399,
- 401
- ]
+ "children": [400, 399, 401]
}
]
}
@@ -207,23 +203,17 @@
{
"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": [
@@ -492,9 +482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 306
- ]
+ "children": [306]
}
]
}
@@ -571,10 +559,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 308,
- 309
- ]
+ "children": [308, 309]
}
]
}
@@ -630,10 +615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 311,
- 312
- ]
+ "children": [311, 312]
}
]
}
@@ -757,9 +739,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 344
- ]
+ "children": [344]
}
]
}
@@ -788,10 +768,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 342,
- 345
- ]
+ "children": [342, 345]
}
]
}
@@ -847,10 +824,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 347,
- 348
- ]
+ "children": [347, 348]
}
]
}
@@ -974,9 +948,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 333
- ]
+ "children": [333]
}
]
}
@@ -1005,10 +977,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 331,
- 334
- ]
+ "children": [331, 334]
}
]
}
@@ -1064,10 +1033,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 336,
- 337
- ]
+ "children": [336, 337]
}
]
}
@@ -1235,10 +1201,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 296,
- 297
- ]
+ "children": [296, 297]
}
]
}
@@ -1294,10 +1257,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 299,
- 300
- ]
+ "children": [299, 300]
}
]
}
@@ -1405,10 +1365,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 287,
- 288
- ]
+ "children": [287, 288]
}
]
}
@@ -1464,10 +1421,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 290,
- 291
- ]
+ "children": [290, 291]
}
]
}
@@ -1571,9 +1525,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 318
- ]
+ "children": [318]
}
]
}
@@ -1640,9 +1592,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 322
- ]
+ "children": [322]
}
]
}
@@ -1671,10 +1621,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 320,
- 323
- ]
+ "children": [320, 323]
}
]
}
@@ -1730,10 +1677,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 325,
- 326
- ]
+ "children": [325, 326]
}
]
}
@@ -1763,22 +1707,12 @@
{
"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": [
@@ -1857,9 +1791,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 386
- ]
+ "children": [386]
}
],
"sources": [
@@ -1982,16 +1914,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 404
- ]
+ "children": [404]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 408
- ]
+ "children": [408]
}
],
"sources": [
@@ -2129,14 +2057,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 353,
- 350,
- 351,
- 352,
- 355,
- 354
- ]
+ "children": [353, 350, 351, 352, 355, 354]
}
],
"sources": [
@@ -2184,9 +2105,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379
- ]
+ "children": [379]
}
],
"sources": [
@@ -2384,17 +2303,7 @@
{
"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": [
@@ -2486,11 +2395,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -2531,9 +2436,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 381
- ]
+ "children": [381]
}
],
"sources": [
@@ -2649,12 +2552,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 375,
- 377,
- 376
- ]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -2717,10 +2615,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 367,
- 368
- ]
+ "children": [367, 368]
}
],
"sources": [
@@ -2782,32 +2677,17 @@
{
"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": [
@@ -3066,9 +2946,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 48
- ]
+ "children": [48]
}
]
}
@@ -3145,10 +3023,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 50,
- 51
- ]
+ "children": [50, 51]
}
]
}
@@ -3204,10 +3079,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 53,
- 54
- ]
+ "children": [53, 54]
}
]
}
@@ -3321,9 +3193,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 86
- ]
+ "children": [86]
}
]
}
@@ -3352,10 +3222,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 84,
- 87
- ]
+ "children": [84, 87]
}
]
}
@@ -3411,10 +3278,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 89,
- 90
- ]
+ "children": [89, 90]
}
]
}
@@ -3528,9 +3392,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 75
- ]
+ "children": [75]
}
]
}
@@ -3559,10 +3421,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 73,
- 76
- ]
+ "children": [73, 76]
}
]
}
@@ -3618,10 +3477,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 78,
- 79
- ]
+ "children": [78, 79]
}
]
}
@@ -3732,10 +3588,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 38,
- 39
- ]
+ "children": [38, 39]
}
]
}
@@ -3791,10 +3644,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 41,
- 42
- ]
+ "children": [41, 42]
}
]
}
@@ -3892,10 +3742,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 29,
- 30
- ]
+ "children": [29, 30]
}
]
}
@@ -3951,10 +3798,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 32,
- 33
- ]
+ "children": [32, 33]
}
]
}
@@ -4048,9 +3892,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 60
- ]
+ "children": [60]
}
]
}
@@ -4117,9 +3959,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 64
- ]
+ "children": [64]
}
]
}
@@ -4148,10 +3988,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 62,
- 65
- ]
+ "children": [62, 65]
}
]
}
@@ -4207,10 +4044,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 67,
- 68
- ]
+ "children": [67, 68]
}
]
}
@@ -4230,21 +4064,12 @@
{
"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": [
@@ -4267,9 +4092,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 3
- ]
+ "children": [3]
}
],
"sources": [
@@ -4574,9 +4397,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 176
- ]
+ "children": [176]
}
]
}
@@ -4605,10 +4426,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 174,
- 177
- ]
+ "children": [174, 177]
}
]
}
@@ -4664,10 +4482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 179,
- 180
- ]
+ "children": [179, 180]
}
]
}
@@ -4786,9 +4601,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 187
- ]
+ "children": [187]
}
]
}
@@ -4855,9 +4668,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 191
- ]
+ "children": [191]
}
]
}
@@ -4886,10 +4697,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 189,
- 192
- ]
+ "children": [189, 192]
}
]
}
@@ -4945,10 +4753,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 194,
- 195
- ]
+ "children": [194, 195]
}
]
}
@@ -5070,9 +4875,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 202
- ]
+ "children": [202]
}
]
}
@@ -5195,11 +4998,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 206,
- 207,
- 208
- ]
+ "children": [206, 207, 208]
}
]
}
@@ -5229,10 +5028,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 204,
- 209
- ]
+ "children": [204, 209]
}
]
}
@@ -5288,10 +5084,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 211,
- 212
- ]
+ "children": [211, 212]
}
]
}
@@ -5403,10 +5196,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 217,
- 218
- ]
+ "children": [217, 218]
}
]
}
@@ -5462,10 +5252,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 220,
- 221
- ]
+ "children": [220, 221]
}
]
}
@@ -5570,9 +5357,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 227
- ]
+ "children": [227]
}
]
}
@@ -5633,9 +5418,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 231
- ]
+ "children": [231]
}
]
}
@@ -5646,9 +5429,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 229
- ]
+ "children": [229]
}
]
}
@@ -5813,12 +5594,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 375,
- 377,
- 376
- ]
+ "children": [374, 375, 377, 376]
}
],
"sources": [
@@ -5880,9 +5656,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 379
- ]
+ "children": [379]
}
],
"sources": [
@@ -5956,10 +5730,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 247,
- 248
- ]
+ "children": [247, 248]
}
]
}
@@ -6015,10 +5786,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 250,
- 251
- ]
+ "children": [250, 251]
}
]
}
@@ -6146,9 +5914,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 164
- ]
+ "children": [164]
}
]
}
@@ -6177,10 +5943,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 162,
- 165
- ]
+ "children": [162, 165]
}
]
}
@@ -6236,10 +5999,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 167,
- 168
- ]
+ "children": [167, 168]
}
]
}
@@ -6356,10 +6116,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 236,
- 237
- ]
+ "children": [236, 237]
}
]
}
@@ -6415,10 +6172,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 239,
- 240
- ]
+ "children": [239, 240]
}
]
}
@@ -6645,11 +6399,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -6723,9 +6473,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 152
- ]
+ "children": [152]
}
]
}
@@ -6754,10 +6502,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 150,
- 153
- ]
+ "children": [150, 153]
}
]
}
@@ -6813,10 +6558,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 155,
- 156
- ]
+ "children": [155, 156]
}
]
}
@@ -7043,11 +6785,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 370,
- 371,
- 372
- ]
+ "children": [370, 371, 372]
}
],
"sources": [
@@ -7121,9 +6859,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 139
- ]
+ "children": [139]
}
]
}
@@ -7152,10 +6888,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 137,
- 140
- ]
+ "children": [137, 140]
}
]
}
@@ -7211,10 +6944,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 142,
- 143
- ]
+ "children": [142, 143]
}
]
}
@@ -7234,25 +6964,12 @@
{
"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": [
@@ -7268,9 +6985,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [
- 92
- ]
+ "children": [92]
}
],
"sources": [
@@ -7286,11 +7001,7 @@
{
"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 75865bde7b1..598143907ff 100644
--- a/spec/enrichments/tsdoc_v2/supabase.json
+++ b/spec/enrichments/tsdoc_v2/supabase.json
@@ -1,4118 +1,4012 @@
{
- "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
+ "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]
+ }
+ ]
+}
diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
index fa1f979760b..11f9da9faf0 100644
--- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
@@ -402,13 +402,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -474,9 +468,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -577,10 +569,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -623,12 +612,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -2080,10 +2064,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 157,
- 156
- ]
+ "children": [157, 156]
}
]
}
@@ -2201,53 +2182,22 @@
{
"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": [
@@ -2742,13 +2692,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -2814,9 +2758,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -2917,10 +2859,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -2963,12 +2902,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -3014,23 +2948,17 @@
{
"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": [
@@ -3096,9 +3024,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 13
- ]
+ "children": [13]
}
]
}
@@ -3110,9 +3036,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 11
- ]
+ "children": [11]
}
],
"sources": [
@@ -3546,11 +3470,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 29,
- 15,
- 26
- ]
+ "children": [29, 15, 26]
}
],
"sources": [
@@ -3851,13 +3771,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -3923,9 +3837,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4026,10 +3938,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -4072,12 +3981,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -4291,13 +4195,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -4363,9 +4261,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -4466,10 +4362,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -4512,12 +4405,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -4647,12 +4535,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [
- 50,
- 56,
- 47,
- 45
- ]
+ "children": [50, 56, 47, 45]
}
],
"sources": [
@@ -4789,10 +4672,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 95,
- 96
- ]
+ "children": [95, 96]
}
],
"sources": [
@@ -4862,9 +4742,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 91
- ]
+ "children": [91]
}
],
"sources": [
@@ -4997,11 +4875,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 101,
- 99,
- 100
- ]
+ "children": [101, 99, 100]
}
],
"sources": [
@@ -5131,11 +5005,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 82,
- 81,
- 83
- ]
+ "children": [82, 81, 83]
}
],
"sources": [
@@ -5265,11 +5135,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 87,
- 86,
- 88
- ]
+ "children": [87, 86, 88]
}
],
"sources": [
@@ -5415,11 +5281,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 87,
- 86,
- 88
- ]
+ "children": [87, 86, 88]
}
],
"sources": [
@@ -5489,9 +5351,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 91
- ]
+ "children": [91]
}
],
"sources": [
@@ -5690,13 +5550,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 68,
- 71,
- 70,
- 72,
- 69
- ]
+ "children": [68, 71, 70, 72, 69]
}
],
"sources": [
@@ -5762,9 +5616,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 65
- ]
+ "children": [65]
}
],
"sources": [
@@ -5865,10 +5717,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 76,
- 77
- ]
+ "children": [76, 77]
}
],
"sources": [
@@ -5911,12 +5760,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 66,
- 63,
- 74,
- 73
- ]
+ "children": [66, 63, 74, 73]
}
],
"sources": [
@@ -5934,23 +5778,12 @@
{
"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": [
@@ -5994,9 +5827,7 @@
{
"title": "Variables",
"kind": 32,
- "children": [
- 103
- ]
+ "children": [103]
}
],
"sources": [
@@ -6012,14 +5843,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [
- 1,
- 10,
- 14,
- 44,
- 58,
- 102
- ]
+ "children": [1, 10, 14, 44, 58, 102]
}
]
-}
\ No newline at end of file
+}