@xata.io/client 0.0.0-alpha.vf976907 → 0.0.0-alpha.vf9819fa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1158,7 +1158,7 @@ declare type ResolveBranchVariables = {
1158
1158
  * Example call:
1159
1159
  *
1160
1160
  * ```json
1161
- * // GET https://tutorial-ng7s8c.xata.sh/dbs/demo/dbs/demo/resolveBranch?gitBranch=test?fallbackBranch=tsg
1161
+ * // GET https://tutorial-ng7s8c.xata.sh/dbs/demo/dbs/demo/resolveBranch?gitBranch=test&fallbackBranch=tsg
1162
1162
  * ```
1163
1163
  *
1164
1164
  * Example response:
@@ -1458,8 +1458,9 @@ declare type UpdateTableVariables = {
1458
1458
  *
1459
1459
  * In the example below, we rename a table from “users” to “people”:
1460
1460
  *
1461
- * ```jsx
1462
- * PATCH /db/test:main/tables/users
1461
+ * ```json
1462
+ * // PATCH /db/test:main/tables/users
1463
+ *
1463
1464
  * {
1464
1465
  * "name": "people"
1465
1466
  * }
@@ -1867,7 +1868,7 @@ declare type QueryTableVariables = {
1867
1868
  * {
1868
1869
  * "columns": [...],
1869
1870
  * "filter": {
1870
- * "$all": [...]
1871
+ * "$all": [...],
1871
1872
  * "$any": [...]
1872
1873
  * ...
1873
1874
  * },
@@ -2005,7 +2006,7 @@ declare type QueryTableVariables = {
2005
2006
  * {
2006
2007
  * "name": "Kilian",
2007
2008
  * "address": {
2008
- * "street": "New street",
2009
+ * "street": "New street"
2009
2010
  * }
2010
2011
  * }
2011
2012
  * ```
@@ -2014,10 +2015,7 @@ declare type QueryTableVariables = {
2014
2015
  *
2015
2016
  * ```json
2016
2017
  * {
2017
- * "columns": [
2018
- * "*",
2019
- * "team.name"
2020
- * ]
2018
+ * "columns": ["*", "team.name"]
2021
2019
  * }
2022
2020
  * ```
2023
2021
  *
@@ -2035,7 +2033,7 @@ declare type QueryTableVariables = {
2035
2033
  * "team": {
2036
2034
  * "id": "XX",
2037
2035
  * "xata": {
2038
- * "version": 0,
2036
+ * "version": 0
2039
2037
  * },
2040
2038
  * "name": "first team"
2041
2039
  * }
@@ -2046,10 +2044,7 @@ declare type QueryTableVariables = {
2046
2044
  *
2047
2045
  * ```json
2048
2046
  * {
2049
- * "columns": [
2050
- * "*",
2051
- * "team.*"
2052
- * ]
2047
+ * "columns": ["*", "team.*"]
2053
2048
  * }
2054
2049
  * ```
2055
2050
  *
@@ -2067,7 +2062,7 @@ declare type QueryTableVariables = {
2067
2062
  * "team": {
2068
2063
  * "id": "XX",
2069
2064
  * "xata": {
2070
- * "version": 0,
2065
+ * "version": 0
2071
2066
  * },
2072
2067
  * "name": "first team",
2073
2068
  * "code": "A1",
@@ -2117,7 +2112,7 @@ declare type QueryTableVariables = {
2117
2112
  * ```json
2118
2113
  * {
2119
2114
  * "filter": {
2120
- * "name": "r2",
2115
+ * "name": "r2"
2121
2116
  * }
2122
2117
  * }
2123
2118
  * ```
@@ -2139,7 +2134,7 @@ declare type QueryTableVariables = {
2139
2134
  * ```json
2140
2135
  * {
2141
2136
  * "filter": {
2142
- * "settings.plan": "free",
2137
+ * "settings.plan": "free"
2143
2138
  * }
2144
2139
  * }
2145
2140
  * ```
@@ -2149,8 +2144,8 @@ declare type QueryTableVariables = {
2149
2144
  * "filter": {
2150
2145
  * "settings": {
2151
2146
  * "plan": "free"
2152
- * },
2153
- * },
2147
+ * }
2148
+ * }
2154
2149
  * }
2155
2150
  * ```
2156
2151
  *
@@ -2159,8 +2154,8 @@ declare type QueryTableVariables = {
2159
2154
  * ```json
2160
2155
  * {
2161
2156
  * "filter": {
2162
- * "settings.plan": {"$any": ["free", "paid"]}
2163
- * },
2157
+ * "settings.plan": { "$any": ["free", "paid"] }
2158
+ * }
2164
2159
  * }
2165
2160
  * ```
2166
2161
  *
@@ -2169,9 +2164,9 @@ declare type QueryTableVariables = {
2169
2164
  * ```json
2170
2165
  * {
2171
2166
  * "filter": {
2172
- * "settings.dark": true,
2173
- * "settings.plan": "free",
2174
- * },
2167
+ * "settings.dark": true,
2168
+ * "settings.plan": "free"
2169
+ * }
2175
2170
  * }
2176
2171
  * ```
2177
2172
  *
@@ -2182,11 +2177,11 @@ declare type QueryTableVariables = {
2182
2177
  * ```json
2183
2178
  * {
2184
2179
  * "filter": {
2185
- * "$any": {
2186
- * "settings.dark": true,
2187
- * "settings.plan": "free"
2188
- * }
2189
- * },
2180
+ * "$any": {
2181
+ * "settings.dark": true,
2182
+ * "settings.plan": "free"
2183
+ * }
2184
+ * }
2190
2185
  * }
2191
2186
  * ```
2192
2187
  *
@@ -2197,10 +2192,10 @@ declare type QueryTableVariables = {
2197
2192
  * "filter": {
2198
2193
  * "$any": [
2199
2194
  * {
2200
- * "name": "r1",
2195
+ * "name": "r1"
2201
2196
  * },
2202
2197
  * {
2203
- * "name": "r2",
2198
+ * "name": "r2"
2204
2199
  * }
2205
2200
  * ]
2206
2201
  * }
@@ -2212,7 +2207,7 @@ declare type QueryTableVariables = {
2212
2207
  * ```json
2213
2208
  * {
2214
2209
  * "filter": {
2215
- * "$exists": "settings",
2210
+ * "$exists": "settings"
2216
2211
  * }
2217
2212
  * }
2218
2213
  * ```
@@ -2224,10 +2219,10 @@ declare type QueryTableVariables = {
2224
2219
  * "filter": {
2225
2220
  * "$all": [
2226
2221
  * {
2227
- * "$exists": "settings",
2222
+ * "$exists": "settings"
2228
2223
  * },
2229
2224
  * {
2230
- * "$exists": "name",
2225
+ * "$exists": "name"
2231
2226
  * }
2232
2227
  * ]
2233
2228
  * }
@@ -2239,7 +2234,7 @@ declare type QueryTableVariables = {
2239
2234
  * ```json
2240
2235
  * {
2241
2236
  * "filter": {
2242
- * "$notExists": "settings",
2237
+ * "$notExists": "settings"
2243
2238
  * }
2244
2239
  * }
2245
2240
  * ```
@@ -2266,7 +2261,7 @@ declare type QueryTableVariables = {
2266
2261
  * {
2267
2262
  * "filter": {
2268
2263
  * "<column_name>": {
2269
- * "$pattern": "v*alue*"
2264
+ * "$pattern": "v*alue*"
2270
2265
  * }
2271
2266
  * }
2272
2267
  * }
@@ -2278,10 +2273,10 @@ declare type QueryTableVariables = {
2278
2273
  * {
2279
2274
  * "filter": {
2280
2275
  * "<column_name>": {
2281
- * "$endsWith": ".gz"
2276
+ * "$endsWith": ".gz"
2282
2277
  * },
2283
2278
  * "<column_name>": {
2284
- * "$startsWith": "tmp-"
2279
+ * "$startsWith": "tmp-"
2285
2280
  * }
2286
2281
  * }
2287
2282
  * }
@@ -2292,10 +2287,10 @@ declare type QueryTableVariables = {
2292
2287
  * ```json
2293
2288
  * {
2294
2289
  * "filter": {
2295
- * "<column_name>": {
2296
- * "$ge": 0,
2297
- * "$lt": 100
2298
- * }
2290
+ * "<column_name>": {
2291
+ * "$ge": 0,
2292
+ * "$lt": 100
2293
+ * }
2299
2294
  * }
2300
2295
  * }
2301
2296
  * ```
@@ -2313,7 +2308,6 @@ declare type QueryTableVariables = {
2313
2308
  * ```
2314
2309
  * The supported operators are `$gt`, `$lt`, `$ge`, `$le`.
2315
2310
  *
2316
- *
2317
2311
  * #### Negations
2318
2312
  *
2319
2313
  * A general `$not` operator can inverse any operation.
@@ -2338,15 +2332,21 @@ declare type QueryTableVariables = {
2338
2332
  * {
2339
2333
  * "filter": {
2340
2334
  * "$not": {
2341
- * "$any": [{
2342
- * "<column_name1>": "value1"
2343
- * }, {
2344
- * "$all": [{
2345
- * "<column_name2>": "value2"
2346
- * }, {
2347
- * "<column_name3>": "value3"
2348
- * }]
2349
- * }]
2335
+ * "$any": [
2336
+ * {
2337
+ * "<column_name1>": "value1"
2338
+ * },
2339
+ * {
2340
+ * "$all": [
2341
+ * {
2342
+ * "<column_name2>": "value2"
2343
+ * },
2344
+ * {
2345
+ * "<column_name3>": "value3"
2346
+ * }
2347
+ * ]
2348
+ * }
2349
+ * ]
2350
2350
  * }
2351
2351
  * }
2352
2352
  * }
@@ -2401,8 +2401,8 @@ declare type QueryTableVariables = {
2401
2401
  * "<array name>": {
2402
2402
  * "$includes": {
2403
2403
  * "$all": [
2404
- * {"$contains": "label"},
2405
- * {"$not": {"$endsWith": "-debug"}}
2404
+ * { "$contains": "label" },
2405
+ * { "$not": { "$endsWith": "-debug" } }
2406
2406
  * ]
2407
2407
  * }
2408
2408
  * }
@@ -2422,9 +2422,7 @@ declare type QueryTableVariables = {
2422
2422
  * {
2423
2423
  * "filter": {
2424
2424
  * "settings.labels": {
2425
- * "$includesAll": [
2426
- * {"$contains": "label"},
2427
- * ]
2425
+ * "$includesAll": [{ "$contains": "label" }]
2428
2426
  * }
2429
2427
  * }
2430
2428
  * }
@@ -2472,7 +2470,6 @@ declare type QueryTableVariables = {
2472
2470
  * }
2473
2471
  * ```
2474
2472
  *
2475
- *
2476
2473
  * ### Pagination
2477
2474
  *
2478
2475
  * We offer cursor pagination and offset pagination. The offset pagination is limited
@@ -2538,8 +2535,8 @@ declare type QueryTableVariables = {
2538
2535
  * can be queried by update `page.after` to the returned cursor while keeping the
2539
2536
  * `page.before` cursor from the first range query.
2540
2537
  *
2541
- * The `filter` , `columns`, `sort` , and `page.size` configuration will be
2542
- * encoded with the cursor. The pagination request will be invalid if
2538
+ * The `filter` , `columns`, `sort` , and `page.size` configuration will be
2539
+ * encoded with the cursor. The pagination request will be invalid if
2543
2540
  * `filter` or `sort` is set. The columns returned and page size can be changed
2544
2541
  * anytime by passing the `columns` or `page.size` settings to the next query.
2545
2542
  *