Skip to content

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

chore: pull the latest using "Make"

Paul Copplestonef987408c4a96
diff --git a/web/spec/combined.json b/web/spec/combined.json
index 122cb2824a9..d1bc9a24b51 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -28,7 +28,7 @@
},
"comment": {
"shortText": "Supabase Client.",
- "text": "An isomorphic JavaScript client for interacting with Postgres.\n"
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
},
"children": [
{
@@ -809,17 +809,38 @@
{
"title": "Constructors",
"kind": 512,
- "children": [197]
+ "children": [
+ 197
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [191, 195, 196, 194, 193, 192, 199, 198]
+ "children": [
+ 191,
+ 195,
+ 196,
+ 194,
+ 193,
+ 192,
+ 199,
+ 198
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [230, 225, 223, 221, 218, 204, 216, 213, 208]
+ "children": [
+ 230,
+ 225,
+ 223,
+ 221,
+ 218,
+ 204,
+ 216,
+ 213,
+ 208
+ ]
}
],
"sources": [
@@ -945,7 +966,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [235, 237, 238, 236, 234]
+ "children": [
+ 235,
+ 237,
+ 238,
+ 236,
+ 234
+ ]
}
],
"sources": [
@@ -965,12 +992,16 @@
{
"title": "Classes",
"kind": 128,
- "children": [190]
+ "children": [
+ 190
+ ]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [233]
+ "children": [
+ 233
+ ]
}
],
"sources": [
@@ -1078,7 +1109,9 @@
{
"title": "Functions",
"kind": 64,
- "children": [241]
+ "children": [
+ 241
+ ]
}
],
"sources": [
@@ -1371,7 +1404,14 @@
{
"title": "Variables",
"kind": 32,
- "children": [36, 35, 31, 38, 37, 30]
+ "children": [
+ 36,
+ 35,
+ 31,
+ 38,
+ 37,
+ 30
+ ]
}
],
"sources": [
@@ -1714,7 +1754,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [97]
+ "children": [
+ 97
+ ]
}
]
}
@@ -1791,7 +1833,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [99, 100]
+ "children": [
+ 99,
+ 100
+ ]
}
],
"sources": [
@@ -1994,7 +2039,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [113, 114]
+ "children": [
+ 113,
+ 114
+ ]
}
],
"sources": [
@@ -2143,7 +2191,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [83, 85, 84]
+ "children": [
+ 83,
+ 85,
+ 84
+ ]
}
],
"sources": [
@@ -2263,7 +2315,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [78, 79]
+ "children": [
+ 78,
+ 79
+ ]
}
],
"sources": [
@@ -2433,7 +2488,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [60, 61, 62]
+ "children": [
+ 60,
+ 61,
+ 62
+ ]
}
],
"sources": [
@@ -2595,7 +2654,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [64, 68, 66, 67, 65]
+ "children": [
+ 64,
+ 68,
+ 66,
+ 67,
+ 65
+ ]
}
],
"sources": [
@@ -2689,7 +2754,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [104]
+ "children": [
+ 104
+ ]
}
],
"sources": [
@@ -2818,7 +2885,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [50, 51]
+ "children": [
+ 50,
+ 51
+ ]
}
],
"sources": [
@@ -2929,7 +2999,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [53, 55, 54]
+ "children": [
+ 53,
+ 55,
+ 54
+ ]
}
],
"sources": [
@@ -3096,7 +3170,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [90, 92, 91]
+ "children": [
+ 90,
+ 92,
+ 91
+ ]
}
],
"sources": [
@@ -3245,7 +3323,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [72, 74, 73]
+ "children": [
+ 72,
+ 74,
+ 73
+ ]
}
],
"sources": [
@@ -3282,17 +3364,37 @@
{
"title": "Constructors",
"kind": 512,
- "children": [26]
+ "children": [
+ 26
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [41, 42, 40, 39, 44, 43, 45]
+ "children": [
+ 41,
+ 42,
+ 40,
+ 39,
+ 44,
+ 43,
+ 45
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [93, 105, 80, 75, 56, 101, 46, 86, 69]
+ "children": [
+ 93,
+ 105,
+ 80,
+ 75,
+ 56,
+ 101,
+ 46,
+ 86,
+ 69
+ ]
}
],
"sources": [
@@ -3314,7 +3416,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [25]
+ "children": [
+ 25
+ ]
}
],
"sources": [
@@ -3529,7 +3633,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [140, 145, 144, 146]
+ "children": [
+ 140,
+ 145,
+ 144,
+ 146
+ ]
}
],
"sources": [
@@ -4045,7 +4154,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [163, 162]
+ "children": [
+ 163,
+ 162
+ ]
}
],
"sources": [
@@ -4684,17 +4796,34 @@
{
"title": "Constructors",
"kind": 512,
- "children": [135]
+ "children": [
+ 135
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [134, 133, 176, 171, 169, 175, 170]
+ "children": [
+ 134,
+ 133,
+ 176,
+ 171,
+ 169,
+ 175,
+ 170
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [167, 157, 147, 154, 177, 164]
+ "children": [
+ 167,
+ 157,
+ 147,
+ 154,
+ 177,
+ 164
+ ]
}
],
"sources": [
@@ -4740,7 +4869,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [131]
+ "children": [
+ 131
+ ]
}
],
"sources": [
@@ -5003,17 +5134,24 @@
{
"title": "Constructors",
"kind": 512,
- "children": [118]
+ "children": [
+ 118
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [117]
+ "children": [
+ 117
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [123, 127]
+ "children": [
+ 123,
+ 127
+ ]
}
],
"sources": [
@@ -5029,7 +5167,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [116]
+ "children": [
+ 116
+ ]
}
],
"sources": [
@@ -5084,7 +5224,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [2]
+ "children": [
+ 2
+ ]
}
],
"sources": [
@@ -5141,7 +5283,9 @@
{
"title": "Functions",
"kind": 64,
- "children": [247]
+ "children": [
+ 247
+ ]
}
],
"sources": [
@@ -5398,7 +5542,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [12, 14, 8, 13, 7]
+ "children": [
+ 12,
+ 14,
+ 8,
+ 13,
+ 7
+ ]
}
],
"sources": [
@@ -5592,7 +5742,14 @@
{
"title": "Variables",
"kind": 32,
- "children": [18, 19, 22, 23, 20, 21]
+ "children": [
+ 18,
+ 19,
+ 22,
+ 23,
+ 20,
+ 21
+ ]
}
],
"sources": [
@@ -5610,7 +5767,10 @@
{
"title": "Type aliases",
"kind": 4194304,
- "children": [5, 15]
+ "children": [
+ 5,
+ 15
+ ]
}
],
"sources": [
@@ -5626,7 +5786,16 @@
{
"title": "Modules",
"kind": 1,
- "children": [189, 240, 24, 130, 115, 1, 246, 4]
+ "children": [
+ 189,
+ 240,
+ 24,
+ 130,
+ 115,
+ 1,
+ 246,
+ 4
+ ]
}
]
},
@@ -5645,7 +5814,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/GoTrueApi.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
"id": 69,
@@ -5778,7 +5947,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [80, 79]
+ "children": [
+ 80,
+ 79
+ ]
}
],
"sources": [
@@ -6048,7 +6220,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [131, 132]
+ "children": [
+ 131,
+ 132
+ ]
}
]
}
@@ -6110,7 +6285,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [134, 135]
+ "children": [
+ 134,
+ 135
+ ]
}
]
}
@@ -6260,7 +6438,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [109, 111]
+ "children": [
+ 109,
+ 111
+ ]
}
],
"sources": [
@@ -6386,7 +6567,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [150, 151]
+ "children": [
+ 150,
+ 151
+ ]
}
]
}
@@ -6448,7 +6632,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [153, 154]
+ "children": [
+ 153,
+ 154
+ ]
}
]
}
@@ -6598,7 +6785,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [116, 118]
+ "children": [
+ 116,
+ 118
+ ]
}
],
"sources": [
@@ -6753,7 +6943,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [102, 104]
+ "children": [
+ 102,
+ 104
+ ]
}
],
"sources": [
@@ -6910,7 +7103,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [96, 97]
+ "children": [
+ 96,
+ 97
+ ]
}
],
"sources": [
@@ -7021,7 +7217,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [123]
+ "children": [
+ 123
+ ]
}
],
"sources": [
@@ -7178,7 +7376,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [89, 90]
+ "children": [
+ 89,
+ 90
+ ]
}
],
"sources": [
@@ -7321,7 +7522,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [141, 142]
+ "children": [
+ 141,
+ 142
+ ]
}
]
}
@@ -7383,7 +7587,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [144, 145]
+ "children": [
+ 144,
+ 145
+ ]
}
]
}
@@ -7408,17 +7615,33 @@
{
"title": "Constructors",
"kind": 512,
- "children": [75]
+ "children": [
+ 75
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [71, 70]
+ "children": [
+ 71,
+ 70
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [124, 127, 105, 146, 112, 98, 91, 119, 84, 136]
+ "children": [
+ 124,
+ 127,
+ 105,
+ 146,
+ 112,
+ 98,
+ 91,
+ 119,
+ 84,
+ 136
+ ]
}
],
"sources": [
@@ -7434,7 +7657,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [69]
+ "children": [
+ 69
+ ]
}
],
"sources": [
@@ -7453,7 +7678,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/GoTrueClient.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
"id": 195,
@@ -7751,7 +7976,14 @@
{
"title": "Variables",
"kind": 32,
- "children": [213, 212, 208, 215, 214, 207]
+ "children": [
+ 213,
+ 212,
+ 208,
+ 215,
+ 214,
+ 207
+ ]
}
],
"sources": [
@@ -7986,20 +8218,41 @@
"flags": {
"isExported": true
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
+ "parameters": [
+ {
+ "id": 316,
+ "name": "refresh_token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "this.currentSession?.refresh_token"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8008,7 +8261,7 @@
},
"children": [
{
- "id": 317,
+ "id": 318,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8018,7 +8271,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 374,
+ "line": 387,
"character": 21
}
],
@@ -8028,7 +8281,7 @@
}
},
{
- "id": 318,
+ "id": 319,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8038,7 +8291,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 374,
+ "line": 387,
"character": 28
}
],
@@ -8053,7 +8306,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [317, 318]
+ "children": [
+ 318,
+ 319
+ ]
}
]
}
@@ -8061,7 +8317,7 @@
{
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8070,7 +8326,7 @@
},
"children": [
{
- "id": 320,
+ "id": 321,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8080,7 +8336,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 392,
"character": 19
}
],
@@ -8091,7 +8347,7 @@
"defaultValue": "null"
},
{
- "id": 321,
+ "id": 322,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8101,7 +8357,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 392,
"character": 32
}
],
@@ -8115,7 +8371,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [320, 321]
+ "children": [
+ 321,
+ 322
+ ]
}
]
}
@@ -8130,7 +8389,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 367,
"character": 33
}
]
@@ -8267,7 +8526,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [283, 285, 284]
+ "children": [
+ 283,
+ 285,
+ 284
+ ]
}
]
}
@@ -8350,7 +8613,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [287, 289, 288]
+ "children": [
+ 287,
+ 289,
+ 288
+ ]
}
]
}
@@ -8527,7 +8794,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [296, 298, 294, 295, 297]
+ "children": [
+ 296,
+ 298,
+ 294,
+ 295,
+ 297
+ ]
}
]
}
@@ -8610,7 +8883,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [300, 302, 301]
+ "children": [
+ 300,
+ 302,
+ 301
+ ]
}
]
}
@@ -8628,7 +8905,7 @@
]
},
{
- "id": 322,
+ "id": 323,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -8638,7 +8915,7 @@
},
"signatures": [
{
- "id": 323,
+ "id": 324,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -8647,7 +8924,7 @@
},
"parameters": [
{
- "id": 324,
+ "id": 325,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -8670,7 +8947,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 381,
+ "line": 396,
"character": 31
}
]
@@ -8950,7 +9227,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [260]
+ "children": [
+ 260
+ ]
}
]
}
@@ -9037,7 +9316,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [262, 263]
+ "children": [
+ 262,
+ 263
+ ]
}
],
"sources": [
@@ -9242,7 +9524,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [276, 277]
+ "children": [
+ 276,
+ 277
+ ]
}
],
"sources": [
@@ -9392,7 +9677,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [246, 248, 247]
+ "children": [
+ 246,
+ 248,
+ 247
+ ]
}
],
"sources": [
@@ -9600,7 +9889,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [230, 231, 232]
+ "children": [
+ 230,
+ 231,
+ 232
+ ]
}
],
"sources": [
@@ -9774,7 +10067,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [234, 238, 236, 237, 235]
+ "children": [
+ 234,
+ 238,
+ 236,
+ 237,
+ 235
+ ]
}
],
"sources": [
@@ -9867,7 +10166,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [267]
+ "children": [
+ 267
+ ]
}
],
"sources": [
@@ -9986,7 +10287,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [220, 221]
+ "children": [
+ 220,
+ 221
+ ]
}
],
"sources": [
@@ -10108,7 +10412,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [223, 225, 224]
+ "children": [
+ 223,
+ 225,
+ 224
+ ]
}
],
"sources": [
@@ -10277,7 +10585,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [253, 255, 254]
+ "children": [
+ 253,
+ 255,
+ 254
+ ]
}
],
"sources": [
@@ -10351,12 +10663,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [203]
+ "children": [
+ 203
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [196, 199, 198, 197, 201, 200, 202]
+ "children": [
+ 196,
+ 199,
+ 198,
+ 197,
+ 201,
+ 200,
+ 202
+ ]
},
{
"title": "Methods",
@@ -10365,7 +10687,7 @@
314,
278,
290,
- 322,
+ 323,
306,
312,
310,
@@ -10391,7 +10713,7 @@
]
},
{
- "id": 325,
+ "id": 326,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -10400,7 +10722,7 @@
},
"children": [
{
- "id": 327,
+ "id": 328,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -10419,7 +10741,7 @@
"defaultValue": "true"
},
{
- "id": 330,
+ "id": 331,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -10438,7 +10760,7 @@
"defaultValue": "true"
},
{
- "id": 331,
+ "id": 332,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -10453,7 +10775,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 333,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10463,7 +10785,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 329,
+ "id": 330,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -10482,7 +10804,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 328,
+ "id": 329,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -10501,7 +10823,7 @@
"defaultValue": "true"
},
{
- "id": 326,
+ "id": 327,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -10524,7 +10846,14 @@
{
"title": "Variables",
"kind": 32,
- "children": [327, 330, 331, 329, 328, 326]
+ "children": [
+ 328,
+ 331,
+ 332,
+ 330,
+ 329,
+ 327
+ ]
}
],
"sources": [
@@ -10544,12 +10873,16 @@
{
"title": "Classes",
"kind": 128,
- "children": [195]
+ "children": [
+ 195
+ ]
},
{
"title": "Object literals",
"kind": 2097152,
- "children": [325]
+ "children": [
+ 326
+ ]
}
],
"sources": [
@@ -10561,59 +10894,135 @@
]
},
{
- "id": 333,
+ "id": 334,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/index.ts",
- "sources": [
- {
- "fileName": "index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 187,
- "name": "\"lib/constants\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/constants.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 189,
- "name": "AUDIENCE",
- "kind": 32,
- "kindString": "Variable",
+ "id": 336,
+ "name": "AuthChangeEvent",
+ "kind": 16777216,
+ "kindString": "Reference",
"flags": {
- "isExported": true,
- "isConst": true
- },
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 2,
- "character": 21
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "isExported": true
},
- "defaultValue": "process.env.AUDIENCE || ''"
+ "target": 67
},
{
- "id": 190,
- "name": "DEFAULT_HEADERS",
- "kind": 32,
- "kindString": "Variable",
+ "id": 335,
+ "name": "Provider",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 66
+ },
+ {
+ "id": 337,
+ "name": "Session",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 27
+ },
+ {
+ "id": 340,
+ "name": "Subscription",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 56
+ },
+ {
+ "id": 338,
+ "name": "User",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 33
+ },
+ {
+ "id": 339,
+ "name": "UserAttributes",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 51
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 336,
+ 335,
+ 337,
+ 340,
+ 338,
+ 339
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 187,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 189,
+ "name": "AUDIENCE",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.AUDIENCE || ''"
+ },
+ {
+ "id": 190,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true
@@ -10718,7 +11127,13 @@
{
"title": "Variables",
"kind": 32,
- "children": [189, 190, 192, 188, 193]
+ "children": [
+ 189,
+ 190,
+ 192,
+ 188,
+ 193
+ ]
}
],
"sources": [
@@ -10737,7 +11152,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/fetch.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/fetch.ts",
"children": [
{
"id": 2,
@@ -10855,7 +11270,10 @@
{
"title": "Properties",
"kind": 1024,
- "children": [3, 7]
+ "children": [
+ 3,
+ 7
+ ]
}
],
"sources": [
@@ -11151,12 +11569,19 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [2]
+ "children": [
+ 2
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [12, 8, 16, 21]
+ "children": [
+ 12,
+ 8,
+ 16,
+ 21
+ ]
}
],
"sources": [
@@ -11175,7 +11600,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/helpers.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
"id": 156,
@@ -11554,17 +11979,28 @@
{
"title": "Constructors",
"kind": 512,
- "children": [161]
+ "children": [
+ 161
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [160, 157]
+ "children": [
+ 160,
+ 157
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [164, 173, 166, 176, 169]
+ "children": [
+ 164,
+ 173,
+ 166,
+ 176,
+ 169
+ ]
}
],
"sources": [
@@ -11727,12 +12163,18 @@
{
"title": "Classes",
"kind": 128,
- "children": [156]
+ "children": [
+ 156
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [183, 181, 179]
+ "children": [
+ 183,
+ 181,
+ 179
+ ]
}
],
"sources": [
@@ -11751,7 +12193,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/types.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
"id": 27,
@@ -11868,7 +12310,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [28, 29, 30, 31, 32]
+ "children": [
+ 28,
+ 29,
+ 30,
+ 31,
+ 32
+ ]
}
],
"sources": [
@@ -12061,7 +12509,11 @@
{
"title": "Properties",
"kind": 1024,
- "children": [58, 57, 63]
+ "children": [
+ 58,
+ 57,
+ 63
+ ]
}
],
"sources": [
@@ -12172,7 +12624,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [37]
+ "children": [
+ 37
+ ]
}
],
"sources": [
@@ -12465,7 +12919,18 @@
{
"title": "Properties",
"kind": 1024,
- "children": [35, 44, 47, 46, 45, 34, 48, 49, 50, 40]
+ "children": [
+ 35,
+ 44,
+ 47,
+ 46,
+ 45,
+ 34,
+ 48,
+ 49,
+ 50,
+ 40
+ ]
}
],
"sources": [
@@ -12622,7 +13087,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [55, 52, 54, 53]
+ "children": [
+ 55,
+ 52,
+ 54,
+ 53
+ ]
}
],
"sources": [
@@ -12708,12 +13178,20 @@
{
"title": "Interfaces",
"kind": 256,
- "children": [27, 56, 33, 51]
+ "children": [
+ 27,
+ 56,
+ 33,
+ 51
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [67, 66]
+ "children": [
+ 67,
+ 66
+ ]
}
],
"sources": [
@@ -12729,7 +13207,15 @@
{
"title": "Modules",
"kind": 1,
- "children": [68, 194, 333, 187, 1, 155, 26]
+ "children": [
+ 68,
+ 194,
+ 334,
+ 187,
+ 1,
+ 155,
+ 26
+ ]
}
]
},
@@ -12741,7 +13227,7 @@
"originalName": "",
"children": [
{
- "id": 319,
+ "id": 338,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -12751,7 +13237,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 320,
+ "id": 339,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -12760,7 +13246,7 @@
},
"children": [
{
- "id": 327,
+ "id": 346,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -12772,7 +13258,7 @@
},
"signatures": [
{
- "id": 328,
+ "id": 347,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -12784,7 +13270,7 @@
},
"parameters": [
{
- "id": 329,
+ "id": 348,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -12800,7 +13286,7 @@
}
},
{
- "id": 330,
+ "id": 349,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -12811,7 +13297,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 331,
+ "id": 350,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12820,7 +13306,7 @@
},
"children": [
{
- "id": 332,
+ "id": 351,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -12840,7 +13326,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12849,7 +13335,7 @@
},
"indexSignature": [
{
- "id": 334,
+ "id": 353,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -12858,7 +13344,7 @@
},
"parameters": [
{
- "id": 335,
+ "id": 354,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -12881,7 +13367,7 @@
}
},
{
- "id": 336,
+ "id": 355,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -12917,7 +13403,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [332, 336]
+ "children": [
+ 351,
+ 355
+ ]
}
],
"sources": [
@@ -12934,7 +13423,7 @@
],
"type": {
"type": "reference",
- "id": 320,
+ "id": 339,
"name": "PostgrestClient"
}
}
@@ -12948,7 +13437,7 @@
]
},
{
- "id": 322,
+ "id": 341,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -12965,7 +13454,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 323,
+ "id": 342,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12974,7 +13463,7 @@
},
"indexSignature": [
{
- "id": 324,
+ "id": 343,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -12983,7 +13472,7 @@
},
"parameters": [
{
- "id": 325,
+ "id": 344,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -13013,7 +13502,7 @@
}
},
{
- "id": 326,
+ "id": 345,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -13043,7 +13532,7 @@
}
},
{
- "id": 321,
+ "id": 340,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -13063,7 +13552,7 @@
}
},
{
- "id": 337,
+ "id": 356,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -13072,7 +13561,7 @@
},
"signatures": [
{
- "id": 338,
+ "id": 357,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -13084,7 +13573,7 @@
},
"parameters": [
{
- "id": 339,
+ "id": 358,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -13115,7 +13604,7 @@
]
},
{
- "id": 340,
+ "id": 359,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -13124,7 +13613,7 @@
},
"signatures": [
{
- "id": 341,
+ "id": 360,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -13136,7 +13625,7 @@
},
"typeParameter": [
{
- "id": 342,
+ "id": 361,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -13147,7 +13636,7 @@
],
"parameters": [
{
- "id": 343,
+ "id": 362,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -13165,7 +13654,7 @@
],
"type": {
"type": "reference",
- "id": 269,
+ "id": 281,
"typeArguments": [
{
"type": "typeParameter",
@@ -13189,7 +13678,7 @@
]
},
{
- "id": 344,
+ "id": 363,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -13198,7 +13687,7 @@
},
"signatures": [
{
- "id": 345,
+ "id": 364,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -13210,7 +13699,7 @@
},
"typeParameter": [
{
- "id": 346,
+ "id": 365,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -13221,7 +13710,7 @@
],
"parameters": [
{
- "id": 347,
+ "id": 366,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -13237,7 +13726,7 @@
}
},
{
- "id": 348,
+ "id": 367,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -13265,7 +13754,7 @@
],
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -13293,17 +13782,27 @@
{
"title": "Constructors",
"kind": 512,
- "children": [327]
+ "children": [
+ 346
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [322, 326, 321]
+ "children": [
+ 341,
+ 345,
+ 340
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [337, 340, 344]
+ "children": [
+ 356,
+ 359,
+ 363
+ ]
}
],
"sources": [
@@ -13319,7 +13818,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [320]
+ "children": [
+ 339
+ ]
}
],
"sources": [
@@ -13331,7 +13832,7 @@
]
},
{
- "id": 349,
+ "id": 368,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -13348,7 +13849,7 @@
]
},
{
- "id": 95,
+ "id": 107,
"name": "\"lib/PostgrestFilterBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -13358,7 +13859,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
"children": [
{
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
@@ -13367,7 +13868,7 @@
},
"typeParameter": [
{
- "id": 97,
+ "id": 109,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -13378,7 +13879,7 @@
],
"children": [
{
- "id": 248,
+ "id": 260,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -13387,7 +13888,7 @@
},
"signatures": [
{
- "id": 249,
+ "id": 261,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -13396,7 +13897,7 @@
},
"parameters": [
{
- "id": 250,
+ "id": 262,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -13405,7 +13906,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -13418,12 +13919,12 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -13431,18 +13932,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 247,
+ "id": 259,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -13454,7 +13955,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -13488,12 +13989,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 242,
+ "id": 254,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -13504,14 +14005,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13520,7 +14021,7 @@
},
"indexSignature": [
{
- "id": 244,
+ "id": 256,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -13529,7 +14030,7 @@
},
"parameters": [
{
- "id": 245,
+ "id": 257,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -13551,7 +14052,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -13559,12 +14060,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 240,
+ "id": 252,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -13575,7 +14076,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -13606,12 +14107,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 246,
+ "id": 258,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -13623,7 +14124,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -13642,12 +14143,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 241,
+ "id": 253,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -13658,7 +14159,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -13668,12 +14169,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 170,
+ "id": 182,
"name": "adj",
"kind": 2048,
"kindString": "Method",
@@ -13682,7 +14183,7 @@
},
"signatures": [
{
- "id": 171,
+ "id": 183,
"name": "adj",
"kind": 4096,
"kindString": "Call signature",
@@ -13694,7 +14195,7 @@
},
"parameters": [
{
- "id": 172,
+ "id": 184,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13714,7 +14215,7 @@
}
},
{
- "id": 173,
+ "id": 185,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -13745,7 +14246,7 @@
]
},
{
- "id": 150,
+ "id": 162,
"name": "cd",
"kind": 2048,
"kindString": "Method",
@@ -13754,7 +14255,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 163,
"name": "cd",
"kind": 4096,
"kindString": "Call signature",
@@ -13766,7 +14267,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 164,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13786,7 +14287,7 @@
}
},
{
- "id": 153,
+ "id": 165,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -13844,7 +14345,7 @@
]
},
{
- "id": 146,
+ "id": 158,
"name": "cs",
"kind": 2048,
"kindString": "Method",
@@ -13853,7 +14354,7 @@
},
"signatures": [
{
- "id": 147,
+ "id": 159,
"name": "cs",
"kind": 4096,
"kindString": "Call signature",
@@ -13865,7 +14366,7 @@
},
"parameters": [
{
- "id": 148,
+ "id": 160,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13885,7 +14386,7 @@
}
},
{
- "id": 149,
+ "id": 161,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -13943,7 +14444,7 @@
]
},
{
- "id": 106,
+ "id": 118,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -13952,7 +14453,7 @@
},
"signatures": [
{
- "id": 107,
+ "id": 119,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -13964,7 +14465,7 @@
},
"parameters": [
{
- "id": 108,
+ "id": 120,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -13984,7 +14485,7 @@
}
},
{
- "id": 109,
+ "id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14026,7 +14527,7 @@
]
},
{
- "id": 206,
+ "id": 218,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -14035,7 +14536,7 @@
},
"signatures": [
{
- "id": 207,
+ "id": 219,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -14047,7 +14548,7 @@
},
"parameters": [
{
- "id": 208,
+ "id": 220,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14067,7 +14568,7 @@
}
},
{
- "id": 209,
+ "id": 221,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -14079,12 +14580,12 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 279,
"name": "FilterOperator"
}
},
{
- "id": 210,
+ "id": 222,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14115,7 +14616,7 @@
]
},
{
- "id": 178,
+ "id": 190,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -14124,7 +14625,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 191,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -14136,7 +14637,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 192,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14156,7 +14657,7 @@
}
},
{
- "id": 181,
+ "id": 193,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -14172,7 +14673,7 @@
}
},
{
- "id": 182,
+ "id": 194,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -14183,7 +14684,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14192,7 +14693,7 @@
},
"children": [
{
- "id": 184,
+ "id": 196,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -14228,7 +14729,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [184]
+ "children": [
+ 196
+ ]
}
],
"sources": [
@@ -14258,7 +14761,7 @@
]
},
{
- "id": 114,
+ "id": 126,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -14267,7 +14770,7 @@
},
"signatures": [
{
- "id": 115,
+ "id": 127,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -14279,7 +14782,7 @@
},
"parameters": [
{
- "id": 116,
+ "id": 128,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14299,7 +14802,7 @@
}
},
{
- "id": 117,
+ "id": 129,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14341,7 +14844,7 @@
]
},
{
- "id": 118,
+ "id": 130,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -14350,7 +14853,7 @@
},
"signatures": [
{
- "id": 119,
+ "id": 131,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -14362,7 +14865,7 @@
},
"parameters": [
{
- "id": 120,
+ "id": 132,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14382,7 +14885,7 @@
}
},
{
- "id": 121,
+ "id": 133,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14424,7 +14927,7 @@
]
},
{
- "id": 134,
+ "id": 146,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -14433,7 +14936,7 @@
},
"signatures": [
{
- "id": 135,
+ "id": 147,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -14445,7 +14948,7 @@
},
"parameters": [
{
- "id": 136,
+ "id": 148,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14465,7 +14968,7 @@
}
},
{
- "id": 137,
+ "id": 149,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -14496,7 +14999,7 @@
]
},
{
- "id": 142,
+ "id": 154,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -14505,7 +15008,7 @@
},
"signatures": [
{
- "id": 143,
+ "id": 155,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
@@ -14517,7 +15020,7 @@
},
"parameters": [
{
- "id": 144,
+ "id": 156,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14537,7 +15040,7 @@
}
},
{
- "id": 145,
+ "id": 157,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -14582,7 +15085,7 @@
]
},
{
- "id": 138,
+ "id": 150,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -14591,7 +15094,7 @@
},
"signatures": [
{
- "id": 139,
+ "id": 151,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -14603,7 +15106,7 @@
},
"parameters": [
{
- "id": 140,
+ "id": 152,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14623,7 +15126,7 @@
}
},
{
- "id": 141,
+ "id": 153,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14663,7 +15166,7 @@
]
},
{
- "id": 130,
+ "id": 142,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -14672,7 +15175,7 @@
},
"signatures": [
{
- "id": 131,
+ "id": 143,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -14684,7 +15187,7 @@
},
"parameters": [
{
- "id": 132,
+ "id": 144,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14704,7 +15207,7 @@
}
},
{
- "id": 133,
+ "id": 145,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -14735,7 +15238,7 @@
]
},
{
- "id": 225,
+ "id": 237,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -14744,7 +15247,7 @@
},
"signatures": [
{
- "id": 226,
+ "id": 238,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -14756,7 +15259,7 @@
},
"parameters": [
{
- "id": 227,
+ "id": 239,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -14772,7 +15275,7 @@
}
},
{
- "id": 228,
+ "id": 240,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -14783,7 +15286,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14792,7 +15295,7 @@
},
"children": [
{
- "id": 230,
+ "id": 242,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -14828,7 +15331,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [230]
+ "children": [
+ 242
+ ]
}
],
"sources": [
@@ -14845,7 +15350,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -14856,7 +15361,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 57,
+ "id": 69,
"name": "PostgrestTransformBuilder.limit"
}
}
@@ -14870,12 +15375,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 57,
+ "id": 69,
"name": "PostgrestTransformBuilder.limit"
}
},
{
- "id": 122,
+ "id": 134,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -14884,7 +15389,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 135,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -14896,7 +15401,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 136,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14916,7 +15421,7 @@
}
},
{
- "id": 125,
+ "id": 137,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14958,7 +15463,7 @@
]
},
{
- "id": 126,
+ "id": 138,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -14967,7 +15472,7 @@
},
"signatures": [
{
- "id": 127,
+ "id": 139,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -14979,7 +15484,7 @@
},
"parameters": [
{
- "id": 128,
+ "id": 140,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -14999,7 +15504,7 @@
}
},
{
- "id": 129,
+ "id": 141,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -15041,7 +15546,7 @@
]
},
{
- "id": 211,
+ "id": 223,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -15050,7 +15555,7 @@
},
"signatures": [
{
- "id": 212,
+ "id": 224,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -15062,7 +15567,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 225,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -15075,7 +15580,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 214,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15084,7 +15589,7 @@
},
"indexSignature": [
{
- "id": 215,
+ "id": 227,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -15093,7 +15598,7 @@
},
"parameters": [
{
- "id": 216,
+ "id": 228,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -15138,7 +15643,7 @@
]
},
{
- "id": 110,
+ "id": 122,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -15147,7 +15652,7 @@
},
"signatures": [
{
- "id": 111,
+ "id": 123,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -15159,7 +15664,7 @@
},
"parameters": [
{
- "id": 112,
+ "id": 124,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15179,7 +15684,7 @@
}
},
{
- "id": 113,
+ "id": 125,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -15221,7 +15726,7 @@
]
},
{
- "id": 98,
+ "id": 110,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -15230,7 +15735,7 @@
},
"signatures": [
{
- "id": 99,
+ "id": 111,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -15242,7 +15747,7 @@
},
"parameters": [
{
- "id": 100,
+ "id": 112,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15262,7 +15767,7 @@
}
},
{
- "id": 101,
+ "id": 113,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -15274,12 +15779,12 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 279,
"name": "FilterOperator"
}
},
{
- "id": 102,
+ "id": 114,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -15310,7 +15815,7 @@
]
},
{
- "id": 162,
+ "id": 174,
"name": "nxl",
"kind": 2048,
"kindString": "Method",
@@ -15319,7 +15824,7 @@
},
"signatures": [
{
- "id": 163,
+ "id": 175,
"name": "nxl",
"kind": 4096,
"kindString": "Call signature",
@@ -15331,7 +15836,7 @@
},
"parameters": [
{
- "id": 164,
+ "id": 176,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15351,7 +15856,7 @@
}
},
{
- "id": 165,
+ "id": 177,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -15382,7 +15887,7 @@
]
},
{
- "id": 166,
+ "id": 178,
"name": "nxr",
"kind": 2048,
"kindString": "Method",
@@ -15391,7 +15896,7 @@
},
"signatures": [
{
- "id": 167,
+ "id": 179,
"name": "nxr",
"kind": 4096,
"kindString": "Call signature",
@@ -15403,7 +15908,7 @@
},
"parameters": [
{
- "id": 168,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15423,7 +15928,7 @@
}
},
{
- "id": 169,
+ "id": 181,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -15454,7 +15959,7 @@
]
},
{
- "id": 103,
+ "id": 115,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -15463,7 +15968,7 @@
},
"signatures": [
{
- "id": 104,
+ "id": 116,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -15475,7 +15980,7 @@
},
"parameters": [
{
- "id": 105,
+ "id": 117,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -15506,7 +16011,7 @@
]
},
{
- "id": 217,
+ "id": 229,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -15515,7 +16020,7 @@
},
"signatures": [
{
- "id": 218,
+ "id": 230,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -15527,7 +16032,7 @@
},
"parameters": [
{
- "id": 219,
+ "id": 231,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15547,7 +16052,7 @@
}
},
{
- "id": 220,
+ "id": 232,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -15558,7 +16063,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 233,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15567,7 +16072,7 @@
},
"children": [
{
- "id": 222,
+ "id": 234,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -15591,7 +16096,7 @@
"defaultValue": "true"
},
{
- "id": 224,
+ "id": 236,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -15623,7 +16128,7 @@
}
},
{
- "id": 223,
+ "id": 235,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -15651,7 +16156,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [222, 224, 223]
+ "children": [
+ 234,
+ 236,
+ 235
+ ]
}
],
"sources": [
@@ -15668,7 +16177,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -15679,7 +16188,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 61,
"name": "PostgrestTransformBuilder.order"
}
}
@@ -15693,12 +16202,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 61,
"name": "PostgrestTransformBuilder.order"
}
},
{
- "id": 174,
+ "id": 186,
"name": "ov",
"kind": 2048,
"kindString": "Method",
@@ -15707,7 +16216,7 @@
},
"signatures": [
{
- "id": 175,
+ "id": 187,
"name": "ov",
"kind": 4096,
"kindString": "Call signature",
@@ -15719,7 +16228,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 188,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15739,7 +16248,7 @@
}
},
{
- "id": 177,
+ "id": 189,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -15793,7 +16302,7 @@
]
},
{
- "id": 192,
+ "id": 204,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -15802,7 +16311,7 @@
},
"signatures": [
{
- "id": 193,
+ "id": 205,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -15814,7 +16323,7 @@
},
"parameters": [
{
- "id": 194,
+ "id": 206,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15834,7 +16343,7 @@
}
},
{
- "id": 195,
+ "id": 207,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -15850,7 +16359,7 @@
}
},
{
- "id": 196,
+ "id": 208,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -15861,7 +16370,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15870,7 +16379,7 @@
},
"children": [
{
- "id": 198,
+ "id": 210,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -15906,7 +16415,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [198]
+ "children": [
+ 210
+ ]
}
],
"sources": [
@@ -15936,7 +16447,7 @@
]
},
{
- "id": 185,
+ "id": 197,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -15945,7 +16456,7 @@
},
"signatures": [
{
- "id": 186,
+ "id": 198,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -15957,7 +16468,7 @@
},
"parameters": [
{
- "id": 187,
+ "id": 199,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -15977,7 +16488,7 @@
}
},
{
- "id": 188,
+ "id": 200,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -15993,7 +16504,7 @@
}
},
{
- "id": 189,
+ "id": 201,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16004,7 +16515,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 190,
+ "id": 202,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16013,7 +16524,7 @@
},
"children": [
{
- "id": 191,
+ "id": 203,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -16049,7 +16560,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [191]
+ "children": [
+ 203
+ ]
}
],
"sources": [
@@ -16079,7 +16592,7 @@
]
},
{
- "id": 231,
+ "id": 243,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -16088,7 +16601,7 @@
},
"signatures": [
{
- "id": 232,
+ "id": 244,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -16100,7 +16613,7 @@
},
"parameters": [
{
- "id": 233,
+ "id": 245,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -16116,7 +16629,7 @@
}
},
{
- "id": 234,
+ "id": 246,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -16132,7 +16645,7 @@
}
},
{
- "id": 235,
+ "id": 247,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16143,7 +16656,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 248,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16152,7 +16665,7 @@
},
"children": [
{
- "id": 237,
+ "id": 249,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -16188,7 +16701,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [237]
+ "children": [
+ 249
+ ]
}
],
"sources": [
@@ -16205,7 +16720,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -16216,7 +16731,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 75,
"name": "PostgrestTransformBuilder.range"
}
}
@@ -16230,12 +16745,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 75,
"name": "PostgrestTransformBuilder.range"
}
},
{
- "id": 238,
+ "id": 250,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -16244,7 +16759,7 @@
},
"signatures": [
{
- "id": 239,
+ "id": 251,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -16259,7 +16774,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 14,
+ "id": 56,
"typeArguments": [
{
"type": "typeParameter",
@@ -16273,7 +16788,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 82,
"name": "PostgrestTransformBuilder.single"
}
}
@@ -16287,12 +16802,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 82,
"name": "PostgrestTransformBuilder.single"
}
},
{
- "id": 154,
+ "id": 166,
"name": "sl",
"kind": 2048,
"kindString": "Method",
@@ -16301,7 +16816,7 @@
},
"signatures": [
{
- "id": 155,
+ "id": 167,
"name": "sl",
"kind": 4096,
"kindString": "Call signature",
@@ -16313,7 +16828,7 @@
},
"parameters": [
{
- "id": 156,
+ "id": 168,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -16333,7 +16848,7 @@
}
},
{
- "id": 157,
+ "id": 169,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -16364,7 +16879,7 @@
]
},
{
- "id": 158,
+ "id": 170,
"name": "sr",
"kind": 2048,
"kindString": "Method",
@@ -16373,7 +16888,7 @@
},
"signatures": [
{
- "id": 159,
+ "id": 171,
"name": "sr",
"kind": 4096,
"kindString": "Call signature",
@@ -16385,7 +16900,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 172,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -16405,7 +16920,7 @@
}
},
{
- "id": 161,
+ "id": 173,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -16436,7 +16951,7 @@
]
},
{
- "id": 251,
+ "id": 263,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -16445,7 +16960,7 @@
},
"signatures": [
{
- "id": 252,
+ "id": 264,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -16454,7 +16969,7 @@
},
"typeParameter": [
{
- "id": 253,
+ "id": 265,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -16463,7 +16978,7 @@
}
},
{
- "id": 254,
+ "id": 266,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -16474,7 +16989,7 @@
],
"parameters": [
{
- "id": 255,
+ "id": 267,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -16488,7 +17003,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16497,7 +17012,7 @@
},
"signatures": [
{
- "id": 257,
+ "id": 269,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -16506,7 +17021,7 @@
},
"parameters": [
{
- "id": 258,
+ "id": 270,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -16515,7 +17030,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -16570,7 +17085,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -16588,7 +17103,7 @@
}
},
{
- "id": 259,
+ "id": 271,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -16602,7 +17117,7 @@
{
"type": "reflection",
"declaration": {
- "id": 260,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16611,7 +17126,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 273,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -16620,7 +17135,7 @@
},
"parameters": [
{
- "id": 262,
+ "id": 274,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -16665,7 +17180,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -16718,7 +17233,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -16726,18 +17241,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 199,
+ "id": 211,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
@@ -16746,7 +17261,7 @@
},
"signatures": [
{
- "id": 200,
+ "id": 212,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
@@ -16758,7 +17273,7 @@
},
"parameters": [
{
- "id": 201,
+ "id": 213,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -16778,7 +17293,7 @@
}
},
{
- "id": 202,
+ "id": 214,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -16794,7 +17309,7 @@
}
},
{
- "id": 203,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -16805,7 +17320,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16814,7 +17329,7 @@
},
"children": [
{
- "id": 205,
+ "id": 217,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -16850,7 +17365,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [205]
+ "children": [
+ 217
+ ]
}
],
"sources": [
@@ -16884,48 +17401,56 @@
{
"title": "Constructors",
"kind": 512,
- "children": [248]
+ "children": [
+ 260
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [247, 242, 240, 246, 241]
+ "children": [
+ 259,
+ 254,
+ 252,
+ 258,
+ 253
+ ]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 170,
- 150,
- 146,
- 106,
- 206,
- 178,
- 114,
+ 182,
+ 162,
+ 158,
118,
- 134,
+ 218,
+ 190,
+ 126,
+ 130,
+ 146,
+ 154,
+ 150,
142,
+ 237,
+ 134,
138,
- 130,
- 225,
+ 223,
122,
- 126,
- 211,
110,
- 98,
- 162,
- 166,
- 103,
- 217,
174,
- 192,
- 185,
- 231,
- 238,
- 154,
- 158,
- 251,
- 199
+ 178,
+ 115,
+ 229,
+ 186,
+ 204,
+ 197,
+ 243,
+ 250,
+ 166,
+ 170,
+ 263,
+ 211
]
}
],
@@ -16939,7 +17464,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -16955,7 +17480,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -16970,7 +17495,7 @@
]
},
{
- "id": 267,
+ "id": 279,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
@@ -17077,7 +17602,7 @@
}
},
{
- "id": 263,
+ "id": 275,
"name": "cleanFilterArray",
"kind": 64,
"kindString": "Function",
@@ -17089,7 +17614,7 @@
},
"signatures": [
{
- "id": 264,
+ "id": 276,
"name": "cleanFilterArray",
"kind": 4096,
"kindString": "Call signature",
@@ -17099,7 +17624,7 @@
},
"typeParameter": [
{
- "id": 265,
+ "id": 277,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -17108,7 +17633,7 @@
],
"parameters": [
{
- "id": 266,
+ "id": 278,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -17152,17 +17677,23 @@
{
"title": "Classes",
"kind": 128,
- "children": [96]
+ "children": [
+ 108
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [267]
+ "children": [
+ 279
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [263]
+ "children": [
+ 275
+ ]
}
],
"sources": [
@@ -17174,7 +17705,7 @@
]
},
{
- "id": 268,
+ "id": 280,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -17184,7 +17715,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -17196,7 +17727,7 @@
},
"typeParameter": [
{
- "id": 270,
+ "id": 282,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -17207,7 +17738,7 @@
],
"children": [
{
- "id": 271,
+ "id": 283,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -17216,7 +17747,7 @@
},
"signatures": [
{
- "id": 272,
+ "id": 284,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -17225,7 +17756,7 @@
},
"parameters": [
{
- "id": 273,
+ "id": 285,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -17238,7 +17769,7 @@
}
},
{
- "id": 274,
+ "id": 286,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17249,7 +17780,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17258,7 +17789,7 @@
},
"children": [
{
- "id": 276,
+ "id": 288,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -17275,7 +17806,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17284,7 +17815,7 @@
},
"indexSignature": [
{
- "id": 278,
+ "id": 290,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -17293,7 +17824,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 291,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -17316,7 +17847,7 @@
}
},
{
- "id": 280,
+ "id": 292,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -17349,7 +17880,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [276, 280]
+ "children": [
+ 288,
+ 292
+ ]
}
],
"sources": [
@@ -17366,12 +17900,12 @@
],
"type": {
"type": "reference",
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -17385,12 +17919,12 @@
],
"overwrites": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 306,
+ "id": 325,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -17402,7 +17936,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -17436,12 +17970,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 301,
+ "id": 320,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -17452,14 +17986,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17468,7 +18002,7 @@
},
"indexSignature": [
{
- "id": 303,
+ "id": 322,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -17477,7 +18011,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 323,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -17499,7 +18033,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -17507,12 +18041,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 299,
+ "id": 318,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -17523,7 +18057,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -17554,12 +18088,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 305,
+ "id": 324,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -17571,7 +18105,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -17590,12 +18124,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 300,
+ "id": 319,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -17606,7 +18140,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -17616,12 +18150,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 294,
+ "id": 310,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -17630,7 +18164,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 311,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -17640,10 +18174,86 @@
"comment": {
"shortText": "Performs a DELETE on the table."
},
- "type": {
- "type": "reference",
- "id": 96,
- "typeArguments": [
+ "parameters": [
+ {
+ "id": 312,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 313,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 314,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, return the deleted row(s) in the response.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 98,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 314
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 108,
+ "typeArguments": [
{
"type": "typeParameter",
"name": "T"
@@ -17656,13 +18266,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 79,
+ "line": 97,
"character": 8
}
]
},
{
- "id": 284,
+ "id": 296,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -17671,7 +18281,7 @@
},
"signatures": [
{
- "id": 285,
+ "id": 297,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -17683,7 +18293,7 @@
},
"parameters": [
{
- "id": 286,
+ "id": 298,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -17723,7 +18333,7 @@
}
},
{
- "id": 287,
+ "id": 299,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17734,7 +18344,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 288,
+ "id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17743,7 +18353,7 @@
},
"children": [
{
- "id": 290,
+ "id": 302,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -17751,13 +18361,13 @@
"isExported": true
},
"comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 53,
- "character": 32
+ "line": 56,
+ "character": 16
}
],
"type": {
@@ -17775,7 +18385,40 @@
}
},
{
- "id": 289,
+ "id": 303,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 57,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ },
+ {
+ "id": 301,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -17788,7 +18431,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 53,
+ "line": 55,
"character": 12
}
],
@@ -17803,13 +18446,17 @@
{
"title": "Variables",
"kind": 32,
- "children": [290, 289]
+ "children": [
+ 302,
+ 303,
+ 301
+ ]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 52,
+ "line": 53,
"character": 38
}
]
@@ -17820,7 +18467,7 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -17834,13 +18481,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 51,
+ "line": 52,
"character": 8
}
]
},
{
- "id": 281,
+ "id": 293,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -17849,7 +18496,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 294,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -17861,7 +18508,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 295,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -17880,7 +18527,7 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -17900,7 +18547,7 @@
]
},
{
- "id": 307,
+ "id": 326,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -17909,7 +18556,7 @@
},
"signatures": [
{
- "id": 308,
+ "id": 327,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -17918,7 +18565,7 @@
},
"typeParameter": [
{
- "id": 309,
+ "id": 328,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -17927,7 +18574,7 @@
}
},
{
- "id": 310,
+ "id": 329,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -17938,7 +18585,7 @@
],
"parameters": [
{
- "id": 311,
+ "id": 330,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -17952,7 +18599,7 @@
{
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17961,7 +18608,7 @@
},
"signatures": [
{
- "id": 313,
+ "id": 332,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -17970,7 +18617,7 @@
},
"parameters": [
{
- "id": 314,
+ "id": 333,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -17979,7 +18626,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -18034,7 +18681,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -18052,7 +18699,7 @@
}
},
{
- "id": 315,
+ "id": 334,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -18066,7 +18713,7 @@
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18075,7 +18722,7 @@
},
"signatures": [
{
- "id": 317,
+ "id": 336,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -18084,7 +18731,7 @@
},
"parameters": [
{
- "id": 318,
+ "id": 337,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -18129,7 +18776,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -18182,7 +18829,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -18190,18 +18837,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 291,
+ "id": 304,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -18210,7 +18857,7 @@
},
"signatures": [
{
- "id": 292,
+ "id": 305,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -18222,7 +18869,7 @@
},
"parameters": [
{
- "id": 293,
+ "id": 306,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -18230,7 +18877,7 @@
"isExported": true
},
"comment": {
- "text": "The values to update.\n"
+ "text": "The values to update."
},
"type": {
"type": "reference",
@@ -18242,11 +18889,85 @@
],
"name": "Partial"
}
+ },
+ {
+ "id": 307,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 308,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 309,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 84,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 309
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 83,
+ "character": 23
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -18260,7 +18981,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
+ "line": 82,
"character": 8
}
]
@@ -18270,17 +18991,31 @@
{
"title": "Constructors",
"kind": 512,
- "children": [271]
+ "children": [
+ 283
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [306, 301, 299, 305, 300]
+ "children": [
+ 325,
+ 320,
+ 318,
+ 324,
+ 319
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [294, 284, 281, 307, 291]
+ "children": [
+ 310,
+ 296,
+ 293,
+ 326,
+ 304
+ ]
}
],
"sources": [
@@ -18293,7 +19028,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -18309,7 +19044,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -18328,7 +19063,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [269]
+ "children": [
+ 281
+ ]
}
],
"sources": [
@@ -18340,7 +19077,7 @@
]
},
{
- "id": 46,
+ "id": 58,
"name": "\"lib/PostgrestTransformBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -18350,7 +19087,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
"children": [
{
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
@@ -18362,7 +19099,7 @@
},
"typeParameter": [
{
- "id": 48,
+ "id": 60,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -18373,7 +19110,7 @@
],
"children": [
{
- "id": 80,
+ "id": 92,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -18382,7 +19119,7 @@
},
"signatures": [
{
- "id": 81,
+ "id": 93,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -18391,7 +19128,7 @@
},
"parameters": [
{
- "id": 82,
+ "id": 94,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -18400,7 +19137,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -18413,12 +19150,12 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -18426,18 +19163,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 79,
+ "id": 91,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -18449,7 +19186,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -18483,12 +19220,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 74,
+ "id": 86,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -18499,14 +19236,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18515,7 +19252,7 @@
},
"indexSignature": [
{
- "id": 76,
+ "id": 88,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -18524,7 +19261,7 @@
},
"parameters": [
{
- "id": 77,
+ "id": 89,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -18546,7 +19283,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -18554,12 +19291,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 72,
+ "id": 84,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -18570,7 +19307,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -18601,12 +19338,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 78,
+ "id": 90,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -18618,7 +19355,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -18637,12 +19374,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 73,
+ "id": 85,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -18653,7 +19390,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -18663,12 +19400,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 57,
+ "id": 69,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -18677,7 +19414,7 @@
},
"signatures": [
{
- "id": 58,
+ "id": 70,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -18689,7 +19426,7 @@
},
"parameters": [
{
- "id": 59,
+ "id": 71,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -18705,7 +19442,7 @@
}
},
{
- "id": 60,
+ "id": 72,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18716,7 +19453,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 61,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18725,7 +19462,7 @@
},
"children": [
{
- "id": 62,
+ "id": 74,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -18761,7 +19498,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [62]
+ "children": [
+ 74
+ ]
}
],
"sources": [
@@ -18778,7 +19517,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -18798,7 +19537,7 @@
]
},
{
- "id": 49,
+ "id": 61,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -18807,7 +19546,7 @@
},
"signatures": [
{
- "id": 50,
+ "id": 62,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -18819,7 +19558,7 @@
},
"parameters": [
{
- "id": 51,
+ "id": 63,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -18839,7 +19578,7 @@
}
},
{
- "id": 52,
+ "id": 64,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -18850,7 +19589,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 53,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -18859,7 +19598,7 @@
},
"children": [
{
- "id": 54,
+ "id": 66,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -18883,7 +19622,7 @@
"defaultValue": "true"
},
{
- "id": 56,
+ "id": 68,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -18915,7 +19654,7 @@
}
},
{
- "id": 55,
+ "id": 67,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -18943,7 +19682,11 @@
{
"title": "Variables",
"kind": 32,
- "children": [54, 56, 55]
+ "children": [
+ 66,
+ 68,
+ 67
+ ]
}
],
"sources": [
@@ -18960,7 +19703,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -18980,7 +19723,7 @@
]
},
{
- "id": 63,
+ "id": 75,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -18989,7 +19732,7 @@
},
"signatures": [
{
- "id": 64,
+ "id": 76,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -19001,7 +19744,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 77,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -19017,7 +19760,7 @@
}
},
{
- "id": 66,
+ "id": 78,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -19033,7 +19776,7 @@
}
},
{
- "id": 67,
+ "id": 79,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -19044,7 +19787,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19053,7 +19796,7 @@
},
"children": [
{
- "id": 69,
+ "id": 81,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -19089,7 +19832,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [69]
+ "children": [
+ 81
+ ]
}
],
"sources": [
@@ -19106,7 +19851,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -19126,7 +19871,7 @@
]
},
{
- "id": 70,
+ "id": 82,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -19135,7 +19880,7 @@
},
"signatures": [
{
- "id": 71,
+ "id": 83,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -19150,7 +19895,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 14,
+ "id": 56,
"typeArguments": [
{
"type": "typeParameter",
@@ -19173,7 +19918,7 @@
]
},
{
- "id": 83,
+ "id": 95,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -19182,7 +19927,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 96,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -19191,7 +19936,7 @@
},
"typeParameter": [
{
- "id": 85,
+ "id": 97,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -19200,7 +19945,7 @@
}
},
{
- "id": 86,
+ "id": 98,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -19211,7 +19956,7 @@
],
"parameters": [
{
- "id": 87,
+ "id": 99,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -19225,7 +19970,7 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19234,7 +19979,7 @@
},
"signatures": [
{
- "id": 89,
+ "id": 101,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -19243,7 +19988,7 @@
},
"parameters": [
{
- "id": 90,
+ "id": 102,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -19252,7 +19997,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -19307,7 +20052,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -19325,7 +20070,7 @@
}
},
{
- "id": 91,
+ "id": 103,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -19339,7 +20084,7 @@
{
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 104,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19348,7 +20093,7 @@
},
"signatures": [
{
- "id": 93,
+ "id": 105,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -19357,7 +20102,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 106,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -19402,7 +20147,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -19455,7 +20200,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -19463,13 +20208,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -19478,17 +20223,31 @@
{
"title": "Constructors",
"kind": 512,
- "children": [80]
+ "children": [
+ 92
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [79, 74, 72, 78, 73]
+ "children": [
+ 91,
+ 86,
+ 84,
+ 90,
+ 85
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [57, 49, 63, 70, 83]
+ "children": [
+ 69,
+ 61,
+ 75,
+ 82,
+ 95
+ ]
}
],
"sources": [
@@ -19501,7 +20260,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -19514,7 +20273,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder"
}
],
@@ -19524,7 +20283,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -19543,7 +20302,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [47]
+ "children": [
+ 59
+ ]
}
],
"sources": [
@@ -19565,7 +20326,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
"children": [
{
- "id": 21,
+ "id": 29,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -19575,7 +20336,7 @@
},
"typeParameter": [
{
- "id": 22,
+ "id": 30,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -19586,7 +20347,7 @@
],
"children": [
{
- "id": 31,
+ "id": 39,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -19595,7 +20356,7 @@
},
"signatures": [
{
- "id": 32,
+ "id": 40,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -19604,7 +20365,7 @@
},
"parameters": [
{
- "id": 33,
+ "id": 41,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -19613,7 +20374,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -19626,7 +20387,7 @@
],
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"name": "PostgrestBuilder"
}
}
@@ -19634,13 +20395,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
]
},
{
- "id": 30,
+ "id": 38,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -19652,7 +20413,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -19686,7 +20447,7 @@
}
},
{
- "id": 25,
+ "id": 33,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -19697,14 +20458,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 26,
+ "id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19713,7 +20474,7 @@
},
"indexSignature": [
{
- "id": 27,
+ "id": 35,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -19722,7 +20483,7 @@
},
"parameters": [
{
- "id": 28,
+ "id": 36,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -19744,7 +20505,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -19752,7 +20513,7 @@
}
},
{
- "id": 23,
+ "id": 31,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -19763,7 +20524,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -19794,7 +20555,7 @@
}
},
{
- "id": 29,
+ "id": 37,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -19806,7 +20567,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -19825,7 +20586,7 @@
}
},
{
- "id": 24,
+ "id": 32,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -19836,7 +20597,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -19846,7 +20607,7 @@
}
},
{
- "id": 34,
+ "id": 42,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -19855,7 +20616,7 @@
},
"signatures": [
{
- "id": 35,
+ "id": 43,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -19864,7 +20625,7 @@
},
"typeParameter": [
{
- "id": 36,
+ "id": 44,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -19873,7 +20634,7 @@
}
},
{
- "id": 37,
+ "id": 45,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -19884,7 +20645,7 @@
],
"parameters": [
{
- "id": 38,
+ "id": 46,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -19898,7 +20659,7 @@
{
"type": "reflection",
"declaration": {
- "id": 39,
+ "id": 47,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -19907,7 +20668,7 @@
},
"signatures": [
{
- "id": 40,
+ "id": 48,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -19916,7 +20677,7 @@
},
"parameters": [
{
- "id": 41,
+ "id": 49,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -19925,7 +20686,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -19980,7 +20741,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -19998,7 +20759,7 @@
}
},
{
- "id": 42,
+ "id": 50,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -20012,7 +20773,7 @@
{
"type": "reflection",
"declaration": {
- "id": 43,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -20021,7 +20782,7 @@
},
"signatures": [
{
- "id": 44,
+ "id": 52,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -20030,7 +20791,7 @@
},
"parameters": [
{
- "id": 45,
+ "id": 53,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -20075,7 +20836,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -20131,7 +20892,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
]
@@ -20141,35 +20902,45 @@
{
"title": "Constructors",
"kind": 512,
- "children": [31]
+ "children": [
+ 39
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [30, 25, 23, 29, 24]
+ "children": [
+ 38,
+ 33,
+ 31,
+ 37,
+ 32
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [34]
+ "children": [
+ 42
+ ]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 38,
+ "line": 47,
"character": 38
}
],
"extendedBy": [
{
"type": "reference",
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder"
},
{
"type": "reference",
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder"
}
],
@@ -20179,7 +20950,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -20281,7 +21052,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [6, 4, 5, 3]
+ "children": [
+ 6,
+ 4,
+ 5,
+ 3
+ ]
}
],
"sources": [
@@ -20294,7 +21070,7 @@
},
{
"id": 7,
- "name": "PostgrestResponse",
+ "name": "PostgrestResponseBase",
"kind": 256,
"kindString": "Interface",
"flags": {},
@@ -20302,18 +21078,88 @@
"shortText": "Response format",
"text": "{@link https://github.com/supabase/supabase-js/issues/32}\n"
},
- "typeParameter": [
+ "children": [
{
"id": 8,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 9,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 9
+ ]
}
],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 31
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 10,
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ },
+ {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestSingleResponseSuccess"
+ }
+ ]
+ },
+ {
+ "id": 17,
+ "name": "PostgrestResponseFailure",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
"children": [
{
- "id": 13,
+ "id": 20,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -20321,29 +21167,17 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
+ "line": 34,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "null"
}
},
{
- "id": 10,
+ "id": 19,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -20351,29 +21185,17 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 32,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "null"
}
},
{
- "id": 9,
+ "id": 18,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20381,27 +21203,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 21,
+ "line": 31,
"character": 7
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 2,
- "name": "PostgrestError"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
}
},
{
- "id": 11,
+ "id": 21,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -20409,17 +21222,22 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
}
},
{
- "id": 12,
+ "id": 22,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -20427,13 +21245,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
}
}
],
@@ -20441,163 +21264,277 @@
{
"title": "Properties",
"kind": 1024,
- "children": [13, 10, 9, 11, 12]
+ "children": [
+ 20,
+ 19,
+ 18,
+ 21,
+ 22
+ ]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 20,
- "character": 27
+ "line": 30,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
}
]
},
{
- "id": 14,
- "name": "PostgrestSingleResponse",
+ "id": 10,
+ "name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"typeParameter": [
{
- "id": 15,
+ "id": 11,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
+ "flags": {}
}
],
"children": [
{
- "id": 20,
+ "id": 14,
"name": "body",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 35,
+ "line": 28,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "T"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
},
{
- "id": 17,
- "name": "data",
+ "id": 13,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 12,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 26,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 15,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
+ }
+ },
+ {
+ "id": 16,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14,
+ 13,
+ 12,
+ 15,
+ 16
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 25,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 23,
+ "name": "PostgrestSingleResponseSuccess",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 24,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "children": [
+ {
+ "id": 26,
+ "name": "body",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 31,
+ "line": 41,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "T"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "typeParameter",
+ "name": "T"
}
},
{
- "id": 16,
- "name": "error",
+ "id": 25,
+ "name": "data",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 30,
- "character": 7
+ "line": 39,
+ "character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 2,
- "name": "PostgrestError"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "typeParameter",
+ "name": "T"
}
},
{
- "id": 18,
+ "id": 27,
"name": "status",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
}
},
{
- "id": 19,
+ "id": 28,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 33,
+ "line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
}
}
],
@@ -20605,28 +21542,152 @@
{
"title": "Properties",
"kind": 1024,
- "children": [20, 17, 16, 18, 19]
+ "children": [
+ 26,
+ 25,
+ 27,
+ 28
+ ]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 29,
+ "line": 38,
"character": 40
}
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
+ }
]
+ },
+ {
+ "id": 54,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 55,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 36,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 10,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 56,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 57,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 23,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
- "children": [21]
+ "children": [
+ 29
+ ]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [2, 7, 14]
+ "children": [
+ 2,
+ 7,
+ 17,
+ 10,
+ 23
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 54,
+ 56
+ ]
}
],
"sources": [
@@ -20642,7 +21703,14 @@
{
"title": "Modules",
"kind": 1,
- "children": [319, 349, 95, 268, 46, 1]
+ "children": [
+ 338,
+ 368,
+ 107,
+ 280,
+ 58,
+ 1
+ ]
}
]
},
@@ -21869,7 +22937,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [212, 211]
+ "children": [
+ 212,
+ 211
+ ]
}
],
"sources": [
@@ -22560,7 +23631,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [197, 198, 199, 196]
+ "children": [
+ 197,
+ 198,
+ 199,
+ 196
+ ]
}
],
"sources": [
@@ -22580,7 +23656,9 @@
{
"title": "Constructors",
"kind": 512,
- "children": [200]
+ "children": [
+ 200
+ ]
},
{
"title": "Properties",
@@ -22637,7 +23715,9 @@
{
"title": "Object literals",
"kind": 2097152,
- "children": [195]
+ "children": [
+ 195
+ ]
}
],
"sources": [
@@ -22747,7 +23827,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [294, 295, 296, 293]
+ "children": [
+ 294,
+ 295,
+ 296,
+ 293
+ ]
}
],
"sources": [
@@ -23096,7 +24181,18 @@
{
"title": "Variables",
"kind": 32,
- "children": [281, 280, 283, 277, 279, 278, 287, 282, 276, 275]
+ "children": [
+ 281,
+ 280,
+ 283,
+ 277,
+ 279,
+ 278,
+ 287,
+ 282,
+ 276,
+ 275
+ ]
}
],
"sources": [
@@ -23143,17 +24239,24 @@
{
"title": "Classes",
"kind": 128,
- "children": [170]
+ "children": [
+ 170
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [291, 273]
+ "children": [
+ 291,
+ 273
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [297]
+ "children": [
+ 297
+ ]
}
],
"sources": [
@@ -24458,12 +25561,25 @@
{
"title": "Constructors",
"kind": 512,
- "children": [99]
+ "children": [
+ 99
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [92, 96, 95, 101, 98, 97, 102, 94, 93, 100]
+ "children": [
+ 92,
+ 96,
+ 95,
+ 101,
+ 98,
+ 97,
+ 102,
+ 94,
+ 93,
+ 100
+ ]
},
{
"title": "Methods",
@@ -24506,7 +25622,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [91]
+ "children": [
+ 91
+ ]
}
],
"sources": [
@@ -24643,7 +25761,13 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [14, 15, 16, 18, 17]
+ "children": [
+ 14,
+ 15,
+ 16,
+ 18,
+ 17
+ ]
}
],
"sources": [
@@ -24753,7 +25877,13 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [8, 9, 10, 11, 12]
+ "children": [
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
+ ]
}
],
"sources": [
@@ -24846,7 +25976,12 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [6, 5, 3, 4]
+ "children": [
+ 6,
+ 5,
+ 3,
+ 4
+ ]
}
],
"sources": [
@@ -24888,7 +26023,9 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [20]
+ "children": [
+ 20
+ ]
}
],
"sources": [
@@ -24970,12 +26107,21 @@
{
"title": "Enumerations",
"kind": 4,
- "children": [13, 7, 2, 19]
+ "children": [
+ 13,
+ 7,
+ 2,
+ 19
+ ]
},
{
"title": "Variables",
"kind": 32,
- "children": [22, 21, 23]
+ "children": [
+ 22,
+ 21,
+ 23
+ ]
}
],
"sources": [
@@ -25261,7 +26407,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [50, 49]
+ "children": [
+ 50,
+ 49
+ ]
}
],
"sources": [
@@ -25350,7 +26499,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [46, 45]
+ "children": [
+ 46,
+ 45
+ ]
}
],
"sources": [
@@ -25705,7 +26857,10 @@
{
"title": "Variables",
"kind": 32,
- "children": [86, 85]
+ "children": [
+ 86,
+ 85
+ ]
}
],
"sources": [
@@ -25964,17 +27119,40 @@
{
"title": "Constructors",
"kind": 512,
- "children": [52]
+ "children": [
+ 52
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54, 55, 47, 43, 42, 51, 40, 56, 41]
+ "children": [
+ 53,
+ 54,
+ 55,
+ 47,
+ 43,
+ 42,
+ 51,
+ 40,
+ 56,
+ 41
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [77, 79, 87, 81, 67, 62, 65, 71, 73]
+ "children": [
+ 77,
+ 79,
+ 87,
+ 81,
+ 67,
+ 62,
+ 65,
+ 71,
+ 73
+ ]
}
],
"sources": [
@@ -25990,7 +27168,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [39]
+ "children": [
+ 39
+ ]
}
],
"sources": [
@@ -26251,17 +27431,27 @@
{
"title": "Constructors",
"kind": 512,
- "children": [28]
+ "children": [
+ 28
+ ]
},
{
"title": "Properties",
"kind": 1024,
- "children": [29, 26, 30, 27]
+ "children": [
+ 29,
+ 26,
+ 30,
+ 27
+ ]
},
{
"title": "Methods",
"kind": 2048,
- "children": [34, 36]
+ "children": [
+ 34,
+ 36
+ ]
}
],
"sources": [
@@ -26277,7 +27467,9 @@
{
"title": "Classes",
"kind": 128,
- "children": [25]
+ "children": [
+ 25
+ ]
}
],
"sources": [
@@ -26843,7 +28035,12 @@
{
"title": "Variables",
"kind": 32,
- "children": [326, 327, 328, 329]
+ "children": [
+ 326,
+ 327,
+ 328,
+ 329
+ ]
}
],
"sources": [
@@ -27133,7 +28330,9 @@
{
"title": "Variables",
"kind": 32,
- "children": [340]
+ "children": [
+ 340
+ ]
}
],
"sources": [
@@ -27880,17 +29079,36 @@
{
"title": "Enumerations",
"kind": 4,
- "children": [300]
+ "children": [
+ 300
+ ]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [324, 330]
+ "children": [
+ 324,
+ 330
+ ]
},
{
"title": "Functions",
"kind": 64,
- "children": [350, 334, 344, 354, 378, 357, 360, 363, 366, 369, 372, 375, 382]
+ "children": [
+ 350,
+ 334,
+ 344,
+ 354,
+ 378,
+ 357,
+ 360,
+ 363,
+ 366,
+ 369,
+ 372,
+ 375,
+ 382
+ ]
}
],
"sources": [
@@ -27906,7 +29124,15 @@
{
"title": "Modules",
"kind": 1,
- "children": [169, 90, 385, 1, 38, 24, 299]
+ "children": [
+ 169,
+ 90,
+ 385,
+ 1,
+ 38,
+ 24,
+ 299
+ ]
}
]
}
diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json
index b3df97f0b4b..67ac79d0744 100644
--- a/web/spec/gotrue.json
+++ b/web/spec/gotrue.json
@@ -13,7 +13,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/GoTrueApi.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
"id": 69,
@@ -1877,7 +1877,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/GoTrueClient.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
"id": 195,
@@ -2417,20 +2417,41 @@
"flags": {
"isExported": true
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
+ "parameters": [
+ {
+ "id": 316,
+ "name": "refresh_token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "this.currentSession?.refresh_token"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2439,7 +2460,7 @@
},
"children": [
{
- "id": 317,
+ "id": 318,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2449,7 +2470,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 374,
+ "line": 387,
"character": 21
}
],
@@ -2459,7 +2480,7 @@
}
},
{
- "id": 318,
+ "id": 319,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2469,7 +2490,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 374,
+ "line": 387,
"character": 28
}
],
@@ -2485,8 +2506,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 317,
- 318
+ 318,
+ 319
]
}
]
@@ -2495,7 +2516,7 @@
{
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2504,7 +2525,7 @@
},
"children": [
{
- "id": 320,
+ "id": 321,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2514,7 +2535,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 392,
"character": 19
}
],
@@ -2525,7 +2546,7 @@
"defaultValue": "null"
},
{
- "id": 321,
+ "id": 322,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2535,7 +2556,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 377,
+ "line": 392,
"character": 32
}
],
@@ -2550,8 +2571,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 320,
- 321
+ 321,
+ 322
]
}
]
@@ -2567,7 +2588,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 356,
+ "line": 367,
"character": 33
}
]
@@ -3083,7 +3104,7 @@
]
},
{
- "id": 322,
+ "id": 323,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -3093,7 +3114,7 @@
},
"signatures": [
{
- "id": 323,
+ "id": 324,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -3102,7 +3123,7 @@
},
"parameters": [
{
- "id": 324,
+ "id": 325,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3125,7 +3146,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 381,
+ "line": 396,
"character": 31
}
]
@@ -4865,7 +4886,7 @@
314,
278,
290,
- 322,
+ 323,
306,
312,
310,
@@ -4891,7 +4912,7 @@
]
},
{
- "id": 325,
+ "id": 326,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -4900,7 +4921,7 @@
},
"children": [
{
- "id": 327,
+ "id": 328,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -4919,7 +4940,7 @@
"defaultValue": "true"
},
{
- "id": 330,
+ "id": 331,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -4938,7 +4959,7 @@
"defaultValue": "true"
},
{
- "id": 331,
+ "id": 332,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4953,7 +4974,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 333,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4963,7 +4984,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 329,
+ "id": 330,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -4982,7 +5003,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 328,
+ "id": 329,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -5001,7 +5022,7 @@
"defaultValue": "true"
},
{
- "id": 326,
+ "id": 327,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -5025,12 +5046,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 327,
- 330,
+ 328,
331,
+ 332,
+ 330,
329,
- 328,
- 326
+ 327
]
}
],
@@ -5059,7 +5080,7 @@
"title": "Object literals",
"kind": 2097152,
"children": [
- 325
+ 326
]
}
],
@@ -5072,14 +5093,90 @@
]
},
{
- "id": 333,
+ "id": 334,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/index.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
+ "children": [
+ {
+ "id": 336,
+ "name": "AuthChangeEvent",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 67
+ },
+ {
+ "id": 335,
+ "name": "Provider",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 66
+ },
+ {
+ "id": 337,
+ "name": "Session",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 27
+ },
+ {
+ "id": 340,
+ "name": "Subscription",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 56
+ },
+ {
+ "id": 338,
+ "name": "User",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 33
+ },
+ {
+ "id": 339,
+ "name": "UserAttributes",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 51
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 336,
+ 335,
+ 337,
+ 340,
+ 338,
+ 339
+ ]
+ }
+ ],
"sources": [
{
"fileName": "index.ts",
@@ -5096,7 +5193,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/constants.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
"children": [
{
"id": 189,
@@ -5254,7 +5351,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/fetch.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/fetch.ts",
"children": [
{
"id": 2,
@@ -5702,7 +5799,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/helpers.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
"children": [
{
"id": 156,
@@ -6295,7 +6392,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/supabase/Documents/projects/supabase/gotrue-js/src/lib/types.ts",
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
"children": [
{
"id": 27,
@@ -7312,7 +7409,7 @@
"children": [
68,
194,
- 333,
+ 334,
187,
1,
155,
diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json
index c0e42d43a54..1de09756941 100644
--- a/web/spec/postgrest.json
+++ b/web/spec/postgrest.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 319,
+ "id": 338,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
- "id": 320,
+ "id": 339,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 327,
+ "id": 346,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -37,7 +37,7 @@
},
"signatures": [
{
- "id": 328,
+ "id": 347,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -49,7 +49,7 @@
},
"parameters": [
{
- "id": 329,
+ "id": 348,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -65,7 +65,7 @@
}
},
{
- "id": 330,
+ "id": 349,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -76,7 +76,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 331,
+ "id": 350,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -85,7 +85,7 @@
},
"children": [
{
- "id": 332,
+ "id": 351,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -105,7 +105,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -114,7 +114,7 @@
},
"indexSignature": [
{
- "id": 334,
+ "id": 353,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -123,7 +123,7 @@
},
"parameters": [
{
- "id": 335,
+ "id": 354,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -146,7 +146,7 @@
}
},
{
- "id": 336,
+ "id": 355,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -183,8 +183,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 332,
- 336
+ 351,
+ 355
]
}
],
@@ -202,7 +202,7 @@
],
"type": {
"type": "reference",
- "id": 320,
+ "id": 339,
"name": "PostgrestClient"
}
}
@@ -216,7 +216,7 @@
]
},
{
- "id": 322,
+ "id": 341,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -233,7 +233,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 323,
+ "id": 342,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -242,7 +242,7 @@
},
"indexSignature": [
{
- "id": 324,
+ "id": 343,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -251,7 +251,7 @@
},
"parameters": [
{
- "id": 325,
+ "id": 344,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -281,7 +281,7 @@
}
},
{
- "id": 326,
+ "id": 345,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -311,7 +311,7 @@
}
},
{
- "id": 321,
+ "id": 340,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -331,7 +331,7 @@
}
},
{
- "id": 337,
+ "id": 356,
"name": "auth",
"kind": 2048,
"kindString": "Method",
@@ -340,7 +340,7 @@
},
"signatures": [
{
- "id": 338,
+ "id": 357,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
@@ -352,7 +352,7 @@
},
"parameters": [
{
- "id": 339,
+ "id": 358,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -383,7 +383,7 @@
]
},
{
- "id": 340,
+ "id": 359,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -392,7 +392,7 @@
},
"signatures": [
{
- "id": 341,
+ "id": 360,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -404,7 +404,7 @@
},
"typeParameter": [
{
- "id": 342,
+ "id": 361,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -415,7 +415,7 @@
],
"parameters": [
{
- "id": 343,
+ "id": 362,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -433,7 +433,7 @@
],
"type": {
"type": "reference",
- "id": 269,
+ "id": 281,
"typeArguments": [
{
"type": "typeParameter",
@@ -457,7 +457,7 @@
]
},
{
- "id": 344,
+ "id": 363,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -466,7 +466,7 @@
},
"signatures": [
{
- "id": 345,
+ "id": 364,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -478,7 +478,7 @@
},
"typeParameter": [
{
- "id": 346,
+ "id": 365,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -489,7 +489,7 @@
],
"parameters": [
{
- "id": 347,
+ "id": 366,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -505,7 +505,7 @@
}
},
{
- "id": 348,
+ "id": 367,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -533,7 +533,7 @@
],
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -562,25 +562,25 @@
"title": "Constructors",
"kind": 512,
"children": [
- 327
+ 346
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 322,
- 326,
- 321
+ 341,
+ 345,
+ 340
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 337,
- 340,
- 344
+ 356,
+ 359,
+ 363
]
}
],
@@ -598,7 +598,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 320
+ 339
]
}
],
@@ -611,7 +611,7 @@
]
},
{
- "id": 349,
+ "id": 368,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -628,7 +628,7 @@
]
},
{
- "id": 95,
+ "id": 107,
"name": "\"lib/PostgrestFilterBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -638,7 +638,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
"children": [
{
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
@@ -647,7 +647,7 @@
},
"typeParameter": [
{
- "id": 97,
+ "id": 109,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -658,7 +658,7 @@
],
"children": [
{
- "id": 248,
+ "id": 260,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -667,7 +667,7 @@
},
"signatures": [
{
- "id": 249,
+ "id": 261,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -676,7 +676,7 @@
},
"parameters": [
{
- "id": 250,
+ "id": 262,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -685,7 +685,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -698,12 +698,12 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -711,18 +711,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 247,
+ "id": 259,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -734,7 +734,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -768,12 +768,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 242,
+ "id": 254,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -784,14 +784,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -800,7 +800,7 @@
},
"indexSignature": [
{
- "id": 244,
+ "id": 256,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -809,7 +809,7 @@
},
"parameters": [
{
- "id": 245,
+ "id": 257,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -831,7 +831,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -839,12 +839,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 240,
+ "id": 252,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -855,7 +855,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -886,12 +886,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 246,
+ "id": 258,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -903,7 +903,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -922,12 +922,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 241,
+ "id": 253,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -938,7 +938,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -948,12 +948,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 170,
+ "id": 182,
"name": "adj",
"kind": 2048,
"kindString": "Method",
@@ -962,7 +962,7 @@
},
"signatures": [
{
- "id": 171,
+ "id": 183,
"name": "adj",
"kind": 4096,
"kindString": "Call signature",
@@ -974,7 +974,7 @@
},
"parameters": [
{
- "id": 172,
+ "id": 184,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -994,7 +994,7 @@
}
},
{
- "id": 173,
+ "id": 185,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -1025,7 +1025,7 @@
]
},
{
- "id": 150,
+ "id": 162,
"name": "cd",
"kind": 2048,
"kindString": "Method",
@@ -1034,7 +1034,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 163,
"name": "cd",
"kind": 4096,
"kindString": "Call signature",
@@ -1046,7 +1046,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 164,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1066,7 +1066,7 @@
}
},
{
- "id": 153,
+ "id": 165,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1124,7 +1124,7 @@
]
},
{
- "id": 146,
+ "id": 158,
"name": "cs",
"kind": 2048,
"kindString": "Method",
@@ -1133,7 +1133,7 @@
},
"signatures": [
{
- "id": 147,
+ "id": 159,
"name": "cs",
"kind": 4096,
"kindString": "Call signature",
@@ -1145,7 +1145,7 @@
},
"parameters": [
{
- "id": 148,
+ "id": 160,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1165,7 +1165,7 @@
}
},
{
- "id": 149,
+ "id": 161,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1223,7 +1223,7 @@
]
},
{
- "id": 106,
+ "id": 118,
"name": "eq",
"kind": 2048,
"kindString": "Method",
@@ -1232,7 +1232,7 @@
},
"signatures": [
{
- "id": 107,
+ "id": 119,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
@@ -1244,7 +1244,7 @@
},
"parameters": [
{
- "id": 108,
+ "id": 120,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1264,7 +1264,7 @@
}
},
{
- "id": 109,
+ "id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1306,7 +1306,7 @@
]
},
{
- "id": 206,
+ "id": 218,
"name": "filter",
"kind": 2048,
"kindString": "Method",
@@ -1315,7 +1315,7 @@
},
"signatures": [
{
- "id": 207,
+ "id": 219,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
@@ -1327,7 +1327,7 @@
},
"parameters": [
{
- "id": 208,
+ "id": 220,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1347,7 +1347,7 @@
}
},
{
- "id": 209,
+ "id": 221,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -1359,12 +1359,12 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 279,
"name": "FilterOperator"
}
},
{
- "id": 210,
+ "id": 222,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1395,7 +1395,7 @@
]
},
{
- "id": 178,
+ "id": 190,
"name": "fts",
"kind": 2048,
"kindString": "Method",
@@ -1404,7 +1404,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 191,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
@@ -1416,7 +1416,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 192,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1436,7 +1436,7 @@
}
},
{
- "id": 181,
+ "id": 193,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -1452,7 +1452,7 @@
}
},
{
- "id": 182,
+ "id": 194,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1463,7 +1463,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1472,7 +1472,7 @@
},
"children": [
{
- "id": 184,
+ "id": 196,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -1509,7 +1509,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 184
+ 196
]
}
],
@@ -1540,7 +1540,7 @@
]
},
{
- "id": 114,
+ "id": 126,
"name": "gt",
"kind": 2048,
"kindString": "Method",
@@ -1549,7 +1549,7 @@
},
"signatures": [
{
- "id": 115,
+ "id": 127,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
@@ -1561,7 +1561,7 @@
},
"parameters": [
{
- "id": 116,
+ "id": 128,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1581,7 +1581,7 @@
}
},
{
- "id": 117,
+ "id": 129,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1623,7 +1623,7 @@
]
},
{
- "id": 118,
+ "id": 130,
"name": "gte",
"kind": 2048,
"kindString": "Method",
@@ -1632,7 +1632,7 @@
},
"signatures": [
{
- "id": 119,
+ "id": 131,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
@@ -1644,7 +1644,7 @@
},
"parameters": [
{
- "id": 120,
+ "id": 132,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1664,7 +1664,7 @@
}
},
{
- "id": 121,
+ "id": 133,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1706,7 +1706,7 @@
]
},
{
- "id": 134,
+ "id": 146,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
@@ -1715,7 +1715,7 @@
},
"signatures": [
{
- "id": 135,
+ "id": 147,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
@@ -1727,7 +1727,7 @@
},
"parameters": [
{
- "id": 136,
+ "id": 148,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1747,7 +1747,7 @@
}
},
{
- "id": 137,
+ "id": 149,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -1778,7 +1778,7 @@
]
},
{
- "id": 142,
+ "id": 154,
"name": "in",
"kind": 2048,
"kindString": "Method",
@@ -1787,7 +1787,7 @@
},
"signatures": [
{
- "id": 143,
+ "id": 155,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
@@ -1799,7 +1799,7 @@
},
"parameters": [
{
- "id": 144,
+ "id": 156,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1819,7 +1819,7 @@
}
},
{
- "id": 145,
+ "id": 157,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -1864,7 +1864,7 @@
]
},
{
- "id": 138,
+ "id": 150,
"name": "is",
"kind": 2048,
"kindString": "Method",
@@ -1873,7 +1873,7 @@
},
"signatures": [
{
- "id": 139,
+ "id": 151,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
@@ -1885,7 +1885,7 @@
},
"parameters": [
{
- "id": 140,
+ "id": 152,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1905,7 +1905,7 @@
}
},
{
- "id": 141,
+ "id": 153,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -1945,7 +1945,7 @@
]
},
{
- "id": 130,
+ "id": 142,
"name": "like",
"kind": 2048,
"kindString": "Method",
@@ -1954,7 +1954,7 @@
},
"signatures": [
{
- "id": 131,
+ "id": 143,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
@@ -1966,7 +1966,7 @@
},
"parameters": [
{
- "id": 132,
+ "id": 144,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -1986,7 +1986,7 @@
}
},
{
- "id": 133,
+ "id": 145,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
@@ -2017,7 +2017,7 @@
]
},
{
- "id": 225,
+ "id": 237,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -2026,7 +2026,7 @@
},
"signatures": [
{
- "id": 226,
+ "id": 238,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -2038,7 +2038,7 @@
},
"parameters": [
{
- "id": 227,
+ "id": 239,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -2054,7 +2054,7 @@
}
},
{
- "id": 228,
+ "id": 240,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2065,7 +2065,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 229,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2074,7 +2074,7 @@
},
"children": [
{
- "id": 230,
+ "id": 242,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -2111,7 +2111,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 230
+ 242
]
}
],
@@ -2129,7 +2129,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -2140,7 +2140,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 57,
+ "id": 69,
"name": "PostgrestTransformBuilder.limit"
}
}
@@ -2154,12 +2154,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 57,
+ "id": 69,
"name": "PostgrestTransformBuilder.limit"
}
},
{
- "id": 122,
+ "id": 134,
"name": "lt",
"kind": 2048,
"kindString": "Method",
@@ -2168,7 +2168,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 135,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
@@ -2180,7 +2180,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 136,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2200,7 +2200,7 @@
}
},
{
- "id": 125,
+ "id": 137,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2242,7 +2242,7 @@
]
},
{
- "id": 126,
+ "id": 138,
"name": "lte",
"kind": 2048,
"kindString": "Method",
@@ -2251,7 +2251,7 @@
},
"signatures": [
{
- "id": 127,
+ "id": 139,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
@@ -2263,7 +2263,7 @@
},
"parameters": [
{
- "id": 128,
+ "id": 140,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2283,7 +2283,7 @@
}
},
{
- "id": 129,
+ "id": 141,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2325,7 +2325,7 @@
]
},
{
- "id": 211,
+ "id": 223,
"name": "match",
"kind": 2048,
"kindString": "Method",
@@ -2334,7 +2334,7 @@
},
"signatures": [
{
- "id": 212,
+ "id": 224,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
@@ -2346,7 +2346,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 225,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -2359,7 +2359,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 214,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2368,7 +2368,7 @@
},
"indexSignature": [
{
- "id": 215,
+ "id": 227,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2377,7 +2377,7 @@
},
"parameters": [
{
- "id": 216,
+ "id": 228,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2422,7 +2422,7 @@
]
},
{
- "id": 110,
+ "id": 122,
"name": "neq",
"kind": 2048,
"kindString": "Method",
@@ -2431,7 +2431,7 @@
},
"signatures": [
{
- "id": 111,
+ "id": 123,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
@@ -2443,7 +2443,7 @@
},
"parameters": [
{
- "id": 112,
+ "id": 124,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2463,7 +2463,7 @@
}
},
{
- "id": 113,
+ "id": 125,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2505,7 +2505,7 @@
]
},
{
- "id": 98,
+ "id": 110,
"name": "not",
"kind": 2048,
"kindString": "Method",
@@ -2514,7 +2514,7 @@
},
"signatures": [
{
- "id": 99,
+ "id": 111,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
@@ -2526,7 +2526,7 @@
},
"parameters": [
{
- "id": 100,
+ "id": 112,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2546,7 +2546,7 @@
}
},
{
- "id": 101,
+ "id": 113,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
@@ -2558,12 +2558,12 @@
},
"type": {
"type": "reference",
- "id": 267,
+ "id": 279,
"name": "FilterOperator"
}
},
{
- "id": 102,
+ "id": 114,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -2594,7 +2594,7 @@
]
},
{
- "id": 162,
+ "id": 174,
"name": "nxl",
"kind": 2048,
"kindString": "Method",
@@ -2603,7 +2603,7 @@
},
"signatures": [
{
- "id": 163,
+ "id": 175,
"name": "nxl",
"kind": 4096,
"kindString": "Call signature",
@@ -2615,7 +2615,7 @@
},
"parameters": [
{
- "id": 164,
+ "id": 176,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2635,7 +2635,7 @@
}
},
{
- "id": 165,
+ "id": 177,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -2666,7 +2666,7 @@
]
},
{
- "id": 166,
+ "id": 178,
"name": "nxr",
"kind": 2048,
"kindString": "Method",
@@ -2675,7 +2675,7 @@
},
"signatures": [
{
- "id": 167,
+ "id": 179,
"name": "nxr",
"kind": 4096,
"kindString": "Call signature",
@@ -2687,7 +2687,7 @@
},
"parameters": [
{
- "id": 168,
+ "id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2707,7 +2707,7 @@
}
},
{
- "id": 169,
+ "id": 181,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -2738,7 +2738,7 @@
]
},
{
- "id": 103,
+ "id": 115,
"name": "or",
"kind": 2048,
"kindString": "Method",
@@ -2747,7 +2747,7 @@
},
"signatures": [
{
- "id": 104,
+ "id": 116,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
@@ -2759,7 +2759,7 @@
},
"parameters": [
{
- "id": 105,
+ "id": 117,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
@@ -2790,7 +2790,7 @@
]
},
{
- "id": 217,
+ "id": 229,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -2799,7 +2799,7 @@
},
"signatures": [
{
- "id": 218,
+ "id": 230,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -2811,7 +2811,7 @@
},
"parameters": [
{
- "id": 219,
+ "id": 231,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -2831,7 +2831,7 @@
}
},
{
- "id": 220,
+ "id": 232,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2842,7 +2842,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 233,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2851,7 +2851,7 @@
},
"children": [
{
- "id": 222,
+ "id": 234,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -2875,7 +2875,7 @@
"defaultValue": "true"
},
{
- "id": 224,
+ "id": 236,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -2907,7 +2907,7 @@
}
},
{
- "id": 223,
+ "id": 235,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -2936,9 +2936,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 222,
- 224,
- 223
+ 234,
+ 236,
+ 235
]
}
],
@@ -2956,7 +2956,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -2967,7 +2967,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 61,
"name": "PostgrestTransformBuilder.order"
}
}
@@ -2981,12 +2981,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 61,
"name": "PostgrestTransformBuilder.order"
}
},
{
- "id": 174,
+ "id": 186,
"name": "ov",
"kind": 2048,
"kindString": "Method",
@@ -2995,7 +2995,7 @@
},
"signatures": [
{
- "id": 175,
+ "id": 187,
"name": "ov",
"kind": 4096,
"kindString": "Call signature",
@@ -3007,7 +3007,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 188,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3027,7 +3027,7 @@
}
},
{
- "id": 177,
+ "id": 189,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3081,7 +3081,7 @@
]
},
{
- "id": 192,
+ "id": 204,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
@@ -3090,7 +3090,7 @@
},
"signatures": [
{
- "id": 193,
+ "id": 205,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3102,7 +3102,7 @@
},
"parameters": [
{
- "id": 194,
+ "id": 206,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3122,7 +3122,7 @@
}
},
{
- "id": 195,
+ "id": 207,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3138,7 +3138,7 @@
}
},
{
- "id": 196,
+ "id": 208,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3149,7 +3149,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3158,7 +3158,7 @@
},
"children": [
{
- "id": 198,
+ "id": 210,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3195,7 +3195,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 198
+ 210
]
}
],
@@ -3226,7 +3226,7 @@
]
},
{
- "id": 185,
+ "id": 197,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
@@ -3235,7 +3235,7 @@
},
"signatures": [
{
- "id": 186,
+ "id": 198,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
@@ -3247,7 +3247,7 @@
},
"parameters": [
{
- "id": 187,
+ "id": 199,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3267,7 +3267,7 @@
}
},
{
- "id": 188,
+ "id": 200,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -3283,7 +3283,7 @@
}
},
{
- "id": 189,
+ "id": 201,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3294,7 +3294,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 190,
+ "id": 202,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3303,7 +3303,7 @@
},
"children": [
{
- "id": 191,
+ "id": 203,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -3340,7 +3340,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 191
+ 203
]
}
],
@@ -3371,7 +3371,7 @@
]
},
{
- "id": 231,
+ "id": 243,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -3380,7 +3380,7 @@
},
"signatures": [
{
- "id": 232,
+ "id": 244,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -3392,7 +3392,7 @@
},
"parameters": [
{
- "id": 233,
+ "id": 245,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -3408,7 +3408,7 @@
}
},
{
- "id": 234,
+ "id": 246,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -3424,7 +3424,7 @@
}
},
{
- "id": 235,
+ "id": 247,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3435,7 +3435,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 248,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3444,7 +3444,7 @@
},
"children": [
{
- "id": 237,
+ "id": 249,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -3481,7 +3481,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 237
+ 249
]
}
],
@@ -3499,7 +3499,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -3510,7 +3510,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 75,
"name": "PostgrestTransformBuilder.range"
}
}
@@ -3524,12 +3524,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 75,
"name": "PostgrestTransformBuilder.range"
}
},
{
- "id": 238,
+ "id": 250,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -3538,7 +3538,7 @@
},
"signatures": [
{
- "id": 239,
+ "id": 251,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -3553,7 +3553,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 14,
+ "id": 56,
"typeArguments": [
{
"type": "typeParameter",
@@ -3567,7 +3567,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 82,
"name": "PostgrestTransformBuilder.single"
}
}
@@ -3581,12 +3581,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 82,
"name": "PostgrestTransformBuilder.single"
}
},
{
- "id": 154,
+ "id": 166,
"name": "sl",
"kind": 2048,
"kindString": "Method",
@@ -3595,7 +3595,7 @@
},
"signatures": [
{
- "id": 155,
+ "id": 167,
"name": "sl",
"kind": 4096,
"kindString": "Call signature",
@@ -3607,7 +3607,7 @@
},
"parameters": [
{
- "id": 156,
+ "id": 168,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3627,7 +3627,7 @@
}
},
{
- "id": 157,
+ "id": 169,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3658,7 +3658,7 @@
]
},
{
- "id": 158,
+ "id": 170,
"name": "sr",
"kind": 2048,
"kindString": "Method",
@@ -3667,7 +3667,7 @@
},
"signatures": [
{
- "id": 159,
+ "id": 171,
"name": "sr",
"kind": 4096,
"kindString": "Call signature",
@@ -3679,7 +3679,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 172,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -3699,7 +3699,7 @@
}
},
{
- "id": 161,
+ "id": 173,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
@@ -3730,7 +3730,7 @@
]
},
{
- "id": 251,
+ "id": 263,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -3739,7 +3739,7 @@
},
"signatures": [
{
- "id": 252,
+ "id": 264,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -3748,7 +3748,7 @@
},
"typeParameter": [
{
- "id": 253,
+ "id": 265,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -3757,7 +3757,7 @@
}
},
{
- "id": 254,
+ "id": 266,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -3768,7 +3768,7 @@
],
"parameters": [
{
- "id": 255,
+ "id": 267,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -3782,7 +3782,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3791,7 +3791,7 @@
},
"signatures": [
{
- "id": 257,
+ "id": 269,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -3800,7 +3800,7 @@
},
"parameters": [
{
- "id": 258,
+ "id": 270,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -3809,7 +3809,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -3864,7 +3864,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -3882,7 +3882,7 @@
}
},
{
- "id": 259,
+ "id": 271,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -3896,7 +3896,7 @@
{
"type": "reflection",
"declaration": {
- "id": 260,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3905,7 +3905,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 273,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -3914,7 +3914,7 @@
},
"parameters": [
{
- "id": 262,
+ "id": 274,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -3959,7 +3959,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -4012,7 +4012,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -4020,18 +4020,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 199,
+ "id": 211,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
@@ -4040,7 +4040,7 @@
},
"signatures": [
{
- "id": 200,
+ "id": 212,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
@@ -4052,7 +4052,7 @@
},
"parameters": [
{
- "id": 201,
+ "id": 213,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -4072,7 +4072,7 @@
}
},
{
- "id": 202,
+ "id": 214,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -4088,7 +4088,7 @@
}
},
{
- "id": 203,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4099,7 +4099,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4108,7 +4108,7 @@
},
"children": [
{
- "id": 205,
+ "id": 217,
"name": "config",
"kind": 32,
"kindString": "Variable",
@@ -4145,7 +4145,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 205
+ 217
]
}
],
@@ -4181,55 +4181,55 @@
"title": "Constructors",
"kind": 512,
"children": [
- 248
+ 260
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 247,
- 242,
- 240,
- 246,
- 241
+ 259,
+ 254,
+ 252,
+ 258,
+ 253
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 170,
- 150,
- 146,
- 106,
- 206,
- 178,
- 114,
+ 182,
+ 162,
+ 158,
118,
- 134,
+ 218,
+ 190,
+ 126,
+ 130,
+ 146,
+ 154,
+ 150,
142,
+ 237,
+ 134,
138,
- 130,
- 225,
+ 223,
122,
- 126,
- 211,
110,
- 98,
- 162,
- 166,
- 103,
- 217,
174,
- 192,
- 185,
- 231,
- 238,
- 154,
- 158,
- 251,
- 199
+ 178,
+ 115,
+ 229,
+ 186,
+ 204,
+ 197,
+ 243,
+ 250,
+ 166,
+ 170,
+ 263,
+ 211
]
}
],
@@ -4243,7 +4243,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -4259,7 +4259,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -4274,7 +4274,7 @@
]
},
{
- "id": 267,
+ "id": 279,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
@@ -4381,7 +4381,7 @@
}
},
{
- "id": 263,
+ "id": 275,
"name": "cleanFilterArray",
"kind": 64,
"kindString": "Function",
@@ -4393,7 +4393,7 @@
},
"signatures": [
{
- "id": 264,
+ "id": 276,
"name": "cleanFilterArray",
"kind": 4096,
"kindString": "Call signature",
@@ -4403,7 +4403,7 @@
},
"typeParameter": [
{
- "id": 265,
+ "id": 277,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4412,7 +4412,7 @@
],
"parameters": [
{
- "id": 266,
+ "id": 278,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -4457,21 +4457,21 @@
"title": "Classes",
"kind": 128,
"children": [
- 96
+ 108
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 267
+ 279
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 263
+ 275
]
}
],
@@ -4484,7 +4484,7 @@
]
},
{
- "id": 268,
+ "id": 280,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4494,7 +4494,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4506,7 +4506,7 @@
},
"typeParameter": [
{
- "id": 270,
+ "id": 282,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4517,7 +4517,7 @@
],
"children": [
{
- "id": 271,
+ "id": 283,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4526,7 +4526,7 @@
},
"signatures": [
{
- "id": 272,
+ "id": 284,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4535,7 +4535,7 @@
},
"parameters": [
{
- "id": 273,
+ "id": 285,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4548,7 +4548,7 @@
}
},
{
- "id": 274,
+ "id": 286,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4559,7 +4559,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 287,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4568,7 +4568,7 @@
},
"children": [
{
- "id": 276,
+ "id": 288,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4585,7 +4585,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 277,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4594,7 +4594,7 @@
},
"indexSignature": [
{
- "id": 278,
+ "id": 290,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4603,7 +4603,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 291,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4626,7 +4626,7 @@
}
},
{
- "id": 280,
+ "id": 292,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4660,8 +4660,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 276,
- 280
+ 288,
+ 292
]
}
],
@@ -4679,12 +4679,12 @@
],
"type": {
"type": "reference",
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -4698,12 +4698,12 @@
],
"overwrites": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 306,
+ "id": 325,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -4715,7 +4715,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -4749,12 +4749,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 301,
+ "id": 320,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4765,14 +4765,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4781,7 +4781,7 @@
},
"indexSignature": [
{
- "id": 303,
+ "id": 322,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4790,7 +4790,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 323,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4812,7 +4812,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -4820,12 +4820,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 299,
+ "id": 318,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -4836,7 +4836,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -4867,12 +4867,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 305,
+ "id": 324,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -4884,7 +4884,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -4903,12 +4903,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 300,
+ "id": 319,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -4919,7 +4919,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -4929,12 +4929,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 294,
+ "id": 310,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -4943,7 +4943,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 311,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -4953,67 +4953,143 @@
"comment": {
"shortText": "Performs a DELETE on the table."
},
- "type": {
- "type": "reference",
- "id": 96,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 79,
- "character": 8
- }
- ]
- },
- {
- "id": 284,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 285,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
"parameters": [
{
- "id": 286,
- "name": "values",
+ "id": 312,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The values to insert."
- },
+ "originalName": "__0",
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
+ "type": "reflection",
+ "declaration": {
+ "id": 313,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 314,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, return the deleted row(s) in the response.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 98,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 314
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 108,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 97,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 297,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 298,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
"name": "T"
}
],
@@ -5036,7 +5112,7 @@
}
},
{
- "id": 287,
+ "id": 299,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5047,7 +5123,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 288,
+ "id": 300,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5056,7 +5132,7 @@
},
"children": [
{
- "id": 290,
+ "id": 302,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5064,13 +5140,13 @@
"isExported": true
},
"comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 53,
- "character": 32
+ "line": 56,
+ "character": 16
}
],
"type": {
@@ -5088,7 +5164,40 @@
}
},
{
- "id": 289,
+ "id": 303,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 57,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ },
+ {
+ "id": 301,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5101,7 +5210,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 53,
+ "line": 55,
"character": 12
}
],
@@ -5117,15 +5226,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 290,
- 289
+ 302,
+ 303,
+ 301
]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 52,
+ "line": 53,
"character": 38
}
]
@@ -5136,7 +5246,7 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -5150,13 +5260,13 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 51,
+ "line": 52,
"character": 8
}
]
},
{
- "id": 281,
+ "id": 293,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -5165,7 +5275,7 @@
},
"signatures": [
{
- "id": 282,
+ "id": 294,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -5177,7 +5287,7 @@
},
"parameters": [
{
- "id": 283,
+ "id": 295,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -5196,7 +5306,7 @@
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -5216,7 +5326,7 @@
]
},
{
- "id": 307,
+ "id": 326,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -5225,7 +5335,7 @@
},
"signatures": [
{
- "id": 308,
+ "id": 327,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -5234,7 +5344,7 @@
},
"typeParameter": [
{
- "id": 309,
+ "id": 328,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -5243,7 +5353,7 @@
}
},
{
- "id": 310,
+ "id": 329,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -5254,7 +5364,7 @@
],
"parameters": [
{
- "id": 311,
+ "id": 330,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -5268,7 +5378,7 @@
{
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5277,7 +5387,7 @@
},
"signatures": [
{
- "id": 313,
+ "id": 332,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5286,7 +5396,7 @@
},
"parameters": [
{
- "id": 314,
+ "id": 333,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5295,7 +5405,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -5350,7 +5460,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -5368,7 +5478,7 @@
}
},
{
- "id": 315,
+ "id": 334,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -5382,7 +5492,7 @@
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5391,7 +5501,7 @@
},
"signatures": [
{
- "id": 317,
+ "id": 336,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5400,7 +5510,7 @@
},
"parameters": [
{
- "id": 318,
+ "id": 337,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -5445,7 +5555,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -5498,7 +5608,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -5506,18 +5616,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 291,
+ "id": 304,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -5526,7 +5636,7 @@
},
"signatures": [
{
- "id": 292,
+ "id": 305,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -5538,7 +5648,7 @@
},
"parameters": [
{
- "id": 293,
+ "id": 306,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5546,7 +5656,7 @@
"isExported": true
},
"comment": {
- "text": "The values to update.\n"
+ "text": "The values to update."
},
"type": {
"type": "reference",
@@ -5558,11 +5668,85 @@
],
"name": "Partial"
}
+ },
+ {
+ "id": 307,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 308,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 309,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 84,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ },
+ "defaultValue": "\"representation\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 309
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 83,
+ "character": 23
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
"type": "reference",
- "id": 96,
+ "id": 108,
"typeArguments": [
{
"type": "typeParameter",
@@ -5576,7 +5760,7 @@
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
- "line": 69,
+ "line": 82,
"character": 8
}
]
@@ -5587,29 +5771,29 @@
"title": "Constructors",
"kind": 512,
"children": [
- 271
+ 283
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 306,
- 301,
- 299,
- 305,
- 300
+ 325,
+ 320,
+ 318,
+ 324,
+ 319
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 294,
- 284,
- 281,
- 307,
- 291
+ 310,
+ 296,
+ 293,
+ 326,
+ 304
]
}
],
@@ -5623,7 +5807,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -5639,7 +5823,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -5659,7 +5843,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 269
+ 281
]
}
],
@@ -5672,7 +5856,7 @@
]
},
{
- "id": 46,
+ "id": 58,
"name": "\"lib/PostgrestTransformBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -5682,7 +5866,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
"children": [
{
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
@@ -5694,7 +5878,7 @@
},
"typeParameter": [
{
- "id": 48,
+ "id": 60,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -5705,7 +5889,7 @@
],
"children": [
{
- "id": 80,
+ "id": 92,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -5714,7 +5898,7 @@
},
"signatures": [
{
- "id": 81,
+ "id": 93,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -5723,7 +5907,7 @@
},
"parameters": [
{
- "id": 82,
+ "id": 94,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -5732,7 +5916,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -5745,12 +5929,12 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
}
@@ -5758,18 +5942,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
- "id": 31,
+ "id": 39,
"name": "PostgrestBuilder.__constructor"
}
},
{
- "id": 79,
+ "id": 91,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -5781,7 +5965,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -5815,12 +5999,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 30,
+ "id": 38,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 74,
+ "id": 86,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5831,14 +6015,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5847,7 +6031,7 @@
},
"indexSignature": [
{
- "id": 76,
+ "id": 88,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -5856,7 +6040,7 @@
},
"parameters": [
{
- "id": 77,
+ "id": 89,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -5878,7 +6062,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -5886,12 +6070,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 25,
+ "id": 33,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 72,
+ "id": 84,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -5902,7 +6086,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -5933,12 +6117,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 23,
+ "id": 31,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 78,
+ "id": 90,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -5950,7 +6134,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -5969,12 +6153,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 29,
+ "id": 37,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 73,
+ "id": 85,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -5985,7 +6169,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -5995,12 +6179,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 24,
+ "id": 32,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 57,
+ "id": 69,
"name": "limit",
"kind": 2048,
"kindString": "Method",
@@ -6009,7 +6193,7 @@
},
"signatures": [
{
- "id": 58,
+ "id": 70,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
@@ -6021,7 +6205,7 @@
},
"parameters": [
{
- "id": 59,
+ "id": 71,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -6037,7 +6221,7 @@
}
},
{
- "id": 60,
+ "id": 72,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6048,7 +6232,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 61,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6057,7 +6241,7 @@
},
"children": [
{
- "id": 62,
+ "id": 74,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6094,7 +6278,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 62
+ 74
]
}
],
@@ -6112,7 +6296,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -6132,7 +6316,7 @@
]
},
{
- "id": 49,
+ "id": 61,
"name": "order",
"kind": 2048,
"kindString": "Method",
@@ -6141,7 +6325,7 @@
},
"signatures": [
{
- "id": 50,
+ "id": 62,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -6153,7 +6337,7 @@
},
"parameters": [
{
- "id": 51,
+ "id": 63,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -6173,7 +6357,7 @@
}
},
{
- "id": 52,
+ "id": 64,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6184,7 +6368,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 53,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6193,7 +6377,7 @@
},
"children": [
{
- "id": 54,
+ "id": 66,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
@@ -6217,7 +6401,7 @@
"defaultValue": "true"
},
{
- "id": 56,
+ "id": 68,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6249,7 +6433,7 @@
}
},
{
- "id": 55,
+ "id": 67,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
@@ -6278,9 +6462,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 54,
- 56,
- 55
+ 66,
+ 68,
+ 67
]
}
],
@@ -6298,7 +6482,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -6318,7 +6502,7 @@
]
},
{
- "id": 63,
+ "id": 75,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -6327,7 +6511,7 @@
},
"signatures": [
{
- "id": 64,
+ "id": 76,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
@@ -6339,7 +6523,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 77,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -6355,7 +6539,7 @@
}
},
{
- "id": 66,
+ "id": 78,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -6371,7 +6555,7 @@
}
},
{
- "id": 67,
+ "id": 79,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6382,7 +6566,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6391,7 +6575,7 @@
},
"children": [
{
- "id": 69,
+ "id": 81,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
@@ -6428,7 +6612,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 69
+ 81
]
}
],
@@ -6446,7 +6630,7 @@
],
"type": {
"type": "reference",
- "id": 47,
+ "id": 59,
"typeArguments": [
{
"type": "typeParameter",
@@ -6466,7 +6650,7 @@
]
},
{
- "id": 70,
+ "id": 82,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -6475,7 +6659,7 @@
},
"signatures": [
{
- "id": 71,
+ "id": 83,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
@@ -6490,7 +6674,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 14,
+ "id": 56,
"typeArguments": [
{
"type": "typeParameter",
@@ -6513,7 +6697,7 @@
]
},
{
- "id": 83,
+ "id": 95,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -6522,7 +6706,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 96,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -6531,7 +6715,7 @@
},
"typeParameter": [
{
- "id": 85,
+ "id": 97,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -6540,7 +6724,7 @@
}
},
{
- "id": 86,
+ "id": 98,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -6551,7 +6735,7 @@
],
"parameters": [
{
- "id": 87,
+ "id": 99,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -6565,7 +6749,7 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6574,7 +6758,7 @@
},
"signatures": [
{
- "id": 89,
+ "id": 101,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6583,7 +6767,7 @@
},
"parameters": [
{
- "id": 90,
+ "id": 102,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6592,7 +6776,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -6647,7 +6831,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -6665,7 +6849,7 @@
}
},
{
- "id": 91,
+ "id": 103,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -6679,7 +6863,7 @@
{
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 104,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6688,7 +6872,7 @@
},
"signatures": [
{
- "id": 93,
+ "id": 105,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6697,7 +6881,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 106,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6742,7 +6926,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -6795,7 +6979,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -6803,13 +6987,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
- "id": 34,
+ "id": 42,
"name": "PostgrestBuilder.then"
}
}
@@ -6819,29 +7003,29 @@
"title": "Constructors",
"kind": 512,
"children": [
- 80
+ 92
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 79,
- 74,
- 72,
- 78,
- 73
+ 91,
+ 86,
+ 84,
+ 90,
+ 85
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 57,
- 49,
- 63,
- 70,
- 83
+ 69,
+ 61,
+ 75,
+ 82,
+ 95
]
}
],
@@ -6855,7 +7039,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -6868,7 +7052,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 96,
+ "id": 108,
"name": "PostgrestFilterBuilder"
}
],
@@ -6878,7 +7062,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -6898,7 +7082,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 47
+ 59
]
}
],
@@ -6921,7 +7105,7 @@
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
"children": [
{
- "id": 21,
+ "id": 29,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -6931,7 +7115,7 @@
},
"typeParameter": [
{
- "id": 22,
+ "id": 30,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6942,7 +7126,7 @@
],
"children": [
{
- "id": 31,
+ "id": 39,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6951,7 +7135,7 @@
},
"signatures": [
{
- "id": 32,
+ "id": 40,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -6960,7 +7144,7 @@
},
"parameters": [
{
- "id": 33,
+ "id": 41,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
@@ -6969,7 +7153,7 @@
},
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"typeArguments": [
{
"type": "typeParameter",
@@ -6982,7 +7166,7 @@
],
"type": {
"type": "reference",
- "id": 21,
+ "id": 29,
"name": "PostgrestBuilder"
}
}
@@ -6990,13 +7174,13 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 44
}
]
},
{
- "id": 30,
+ "id": 38,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -7008,7 +7192,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 43,
+ "line": 52,
"character": 16
}
],
@@ -7042,7 +7226,7 @@
}
},
{
- "id": 25,
+ "id": 33,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -7053,14 +7237,14 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 26,
+ "id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7069,7 +7253,7 @@
},
"indexSignature": [
{
- "id": 27,
+ "id": 35,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -7078,7 +7262,7 @@
},
"parameters": [
{
- "id": 28,
+ "id": 36,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -7100,7 +7284,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 41,
+ "line": 50,
"character": 21
}
]
@@ -7108,7 +7292,7 @@
}
},
{
- "id": 23,
+ "id": 31,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -7119,7 +7303,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 39,
+ "line": 48,
"character": 18
}
],
@@ -7150,7 +7334,7 @@
}
},
{
- "id": 29,
+ "id": 37,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7162,7 +7346,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 42,
+ "line": 51,
"character": 18
}
],
@@ -7181,7 +7365,7 @@
}
},
{
- "id": 24,
+ "id": 32,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7192,7 +7376,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 49,
"character": 15
}
],
@@ -7202,7 +7386,7 @@
}
},
{
- "id": 34,
+ "id": 42,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -7211,7 +7395,7 @@
},
"signatures": [
{
- "id": 35,
+ "id": 43,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -7220,7 +7404,7 @@
},
"typeParameter": [
{
- "id": 36,
+ "id": 44,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -7229,7 +7413,7 @@
}
},
{
- "id": 37,
+ "id": 45,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -7240,7 +7424,7 @@
],
"parameters": [
{
- "id": 38,
+ "id": 46,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -7254,7 +7438,7 @@
{
"type": "reflection",
"declaration": {
- "id": 39,
+ "id": 47,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7263,7 +7447,7 @@
},
"signatures": [
{
- "id": 40,
+ "id": 48,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7272,7 +7456,7 @@
},
"parameters": [
{
- "id": 41,
+ "id": 49,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -7281,7 +7465,7 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -7336,7 +7520,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 51,
+ "line": 60,
"character": 9
}
]
@@ -7354,7 +7538,7 @@
}
},
{
- "id": 42,
+ "id": 50,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -7368,7 +7552,7 @@
{
"type": "reflection",
"declaration": {
- "id": 43,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7377,7 +7561,7 @@
},
"signatures": [
{
- "id": 44,
+ "id": 52,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7386,7 +7570,7 @@
},
"parameters": [
{
- "id": 45,
+ "id": 53,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -7431,7 +7615,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 54,
+ "line": 63,
"character": 18
}
]
@@ -7487,7 +7671,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 49,
+ "line": 58,
"character": 6
}
]
@@ -7498,44 +7682,44 @@
"title": "Constructors",
"kind": 512,
"children": [
- 31
+ 39
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 30,
- 25,
- 23,
- 29,
- 24
+ 38,
+ 33,
+ 31,
+ 37,
+ 32
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 34
+ 42
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 38,
+ "line": 47,
"character": 38
}
],
"extendedBy": [
{
"type": "reference",
- "id": 47,
+ "id": 59,
"name": "PostgrestTransformBuilder"
},
{
"type": "reference",
- "id": 269,
+ "id": 281,
"name": "PostgrestQueryBuilder"
}
],
@@ -7545,7 +7729,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 7,
+ "id": 54,
"typeArguments": [
{
"type": "typeParameter",
@@ -7665,7 +7849,7 @@
},
{
"id": 7,
- "name": "PostgrestResponse",
+ "name": "PostgrestResponseBase",
"kind": 256,
"kindString": "Interface",
"flags": {},
@@ -7673,48 +7857,106 @@
"shortText": "Response format",
"text": "{@link https://github.com/supabase/supabase-js/issues/32}\n"
},
- "typeParameter": [
- {
- "id": 8,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {}
- }
- ],
"children": [
{
- "id": 13,
- "name": "body",
+ "id": 8,
+ "name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 26,
- "character": 6
+ "line": 21,
+ "character": 8
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "number"
}
},
{
+ "id": 9,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 8,
+ 9
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 31
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
"id": 10,
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ },
+ {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestSingleResponseSuccess"
+ }
+ ]
+ },
+ {
+ "id": 17,
+ "name": "PostgrestResponseFailure",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 20,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 34,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ },
+ {
+ "id": 19,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7722,29 +7964,17 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 22,
+ "line": 32,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "array",
- "elementType": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "null"
}
},
{
- "id": 9,
+ "id": 18,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7752,27 +7982,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 21,
+ "line": 31,
"character": 7
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 2,
- "name": "PostgrestError"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
}
},
{
- "id": 11,
+ "id": 21,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7780,17 +8001,22 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 23,
+ "line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
}
},
{
- "id": 12,
+ "id": 22,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
@@ -7798,13 +8024,18 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 24,
+ "line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
}
}
],
@@ -7813,168 +8044,276 @@
"title": "Properties",
"kind": 1024,
"children": [
- 13,
- 10,
- 9,
- 11,
- 12
+ 20,
+ 19,
+ 18,
+ 21,
+ 22
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 20,
- "character": 27
+ "line": 30,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
}
]
},
{
- "id": 14,
- "name": "PostgrestSingleResponse",
+ "id": 10,
+ "name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"typeParameter": [
{
- "id": 15,
+ "id": 11,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
+ "flags": {}
}
],
"children": [
{
- "id": 20,
+ "id": 14,
"name": "body",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 35,
+ "line": 28,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "T"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
},
{
- "id": 17,
+ "id": 13,
"name": "data",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 31,
+ "line": 27,
"character": 6
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "T"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
}
},
{
- "id": 16,
+ "id": 12,
"name": "error",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 30,
+ "line": 26,
"character": 7
}
],
"type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 2,
- "name": "PostgrestError"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "null"
}
},
{
- "id": 18,
+ "id": 15,
"name": "status",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
- },
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
}
},
{
- "id": 19,
+ "id": 16,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
- "flags": {
- "isExported": true
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 14,
+ 13,
+ 12,
+ 15,
+ 16
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 25,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
+ }
+ ]
+ },
+ {
+ "id": 23,
+ "name": "PostgrestSingleResponseSuccess",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 24,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "children": [
+ {
+ "id": 26,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 25,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 27,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
},
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 8,
+ "name": "PostgrestResponseBase.status"
+ }
+ },
+ {
+ "id": 28,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "lib/types.ts",
- "line": 33,
+ "line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "PostgrestResponseBase.statusText"
}
}
],
@@ -7983,21 +8322,123 @@
"title": "Properties",
"kind": 1024,
"children": [
- 20,
- 17,
- 16,
- 18,
- 19
+ 26,
+ 25,
+ 27,
+ 28
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 29,
+ "line": 38,
"character": 40
}
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 7,
+ "name": "PostgrestResponseBase"
+ }
]
+ },
+ {
+ "id": 54,
+ "name": "PostgrestResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 55,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 36,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 10,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
+ },
+ {
+ "id": 56,
+ "name": "PostgrestSingleResponse",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 57,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 23,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponseSuccess"
+ },
+ {
+ "type": "reference",
+ "id": 17,
+ "name": "PostgrestResponseFailure"
+ }
+ ]
+ }
}
],
"groups": [
@@ -8005,7 +8446,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 21
+ 29
]
},
{
@@ -8014,7 +8455,17 @@
"children": [
2,
7,
- 14
+ 17,
+ 10,
+ 23
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 54,
+ 56
]
}
],
@@ -8032,11 +8483,11 @@
"title": "Modules",
"kind": 1,
"children": [
- 319,
- 349,
- 95,
- 268,
- 46,
+ 338,
+ 368,
+ 107,
+ 280,
+ 58,
1
]
}
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
index b8a62679ea4..e8292921a27 100644
--- a/web/spec/supabase.json
+++ b/web/spec/supabase.json
@@ -25,7 +25,7 @@
},
"comment": {
"shortText": "Supabase Client.",
- "text": "An isomorphic JavaScript client for interacting with Postgres.\n"
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
},
"children": [
{