@xata.io/client 0.29.3 → 0.29.4
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/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +1819 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +620 -9
- package/dist/index.mjs +1818 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -160,7 +160,6 @@ type Branch = {
|
|
160
160
|
* The cluster where this branch resides. Value of 'shared-cluster' for branches in shared clusters
|
161
161
|
*
|
162
162
|
* @minLength 1
|
163
|
-
* @x-internal true
|
164
163
|
*/
|
165
164
|
clusterID?: string;
|
166
165
|
createdAt: DateTime$1;
|
@@ -214,7 +213,7 @@ type ColumnFile = {
|
|
214
213
|
};
|
215
214
|
type Column = {
|
216
215
|
name: string;
|
217
|
-
type:
|
216
|
+
type: string;
|
218
217
|
link?: ColumnLink;
|
219
218
|
vector?: ColumnVector;
|
220
219
|
file?: ColumnFile;
|
@@ -1702,6 +1701,7 @@ type Workspace = WorkspaceMeta & {
|
|
1702
1701
|
};
|
1703
1702
|
type WorkspaceSettings = {
|
1704
1703
|
postgresEnabled: boolean;
|
1704
|
+
dedicatedClusters: boolean;
|
1705
1705
|
};
|
1706
1706
|
type WorkspaceMember = {
|
1707
1707
|
userId: UserID;
|
@@ -1866,6 +1866,13 @@ type ClusterConfiguration = {
|
|
1866
1866
|
* @format int64
|
1867
1867
|
*/
|
1868
1868
|
replicas?: number;
|
1869
|
+
/**
|
1870
|
+
* @format int64
|
1871
|
+
* @default 1
|
1872
|
+
* @maximum 3
|
1873
|
+
* @minimum 1
|
1874
|
+
*/
|
1875
|
+
instanceCount?: number;
|
1869
1876
|
/**
|
1870
1877
|
* @default false
|
1871
1878
|
*/
|
@@ -1884,7 +1891,7 @@ type ClusterCreateDetails = {
|
|
1884
1891
|
/**
|
1885
1892
|
* @maxLength 63
|
1886
1893
|
* @minLength 1
|
1887
|
-
* @pattern [a-
|
1894
|
+
* @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
|
1888
1895
|
*/
|
1889
1896
|
name: string;
|
1890
1897
|
configuration: ClusterConfiguration;
|
@@ -1936,6 +1943,10 @@ type ClusterConfigurationResponse = {
|
|
1936
1943
|
* @format int64
|
1937
1944
|
*/
|
1938
1945
|
replicas: number;
|
1946
|
+
/**
|
1947
|
+
* @format int64
|
1948
|
+
*/
|
1949
|
+
instanceCount: number;
|
1939
1950
|
/**
|
1940
1951
|
* @default false
|
1941
1952
|
*/
|
@@ -1994,7 +2005,7 @@ type DatabaseMetadata = {
|
|
1994
2005
|
*/
|
1995
2006
|
newMigrations?: boolean;
|
1996
2007
|
/**
|
1997
|
-
*
|
2008
|
+
* The default cluster ID where branches from this database reside. Value of 'shared-cluster' for branches in shared clusters.
|
1998
2009
|
*/
|
1999
2010
|
defaultClusterID?: string;
|
2000
2011
|
/**
|
@@ -3368,6 +3379,31 @@ type AdaptTableVariables = {
|
|
3368
3379
|
* Adapt a table to be used from Xata, this will add the Xata metadata fields to the table, making it accessible through the data API.
|
3369
3380
|
*/
|
3370
3381
|
declare const adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3382
|
+
type AdaptAllTablesPathParams = {
|
3383
|
+
/**
|
3384
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3385
|
+
*/
|
3386
|
+
dbBranchName: DBBranchName;
|
3387
|
+
workspace: string;
|
3388
|
+
region: string;
|
3389
|
+
};
|
3390
|
+
type AdaptAllTablesError = ErrorWrapper<{
|
3391
|
+
status: 400;
|
3392
|
+
payload: BadRequestError$1;
|
3393
|
+
} | {
|
3394
|
+
status: 401;
|
3395
|
+
payload: AuthError$1;
|
3396
|
+
} | {
|
3397
|
+
status: 404;
|
3398
|
+
payload: SimpleError$1;
|
3399
|
+
}>;
|
3400
|
+
type AdaptAllTablesVariables = {
|
3401
|
+
pathParams: AdaptAllTablesPathParams;
|
3402
|
+
} & DataPlaneFetcherExtraProps;
|
3403
|
+
/**
|
3404
|
+
* Adapt all xata incompatible tables present in the branch, this will add the Xata metadata fields to the table, making them accessible through the data API.
|
3405
|
+
*/
|
3406
|
+
declare const adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3371
3407
|
type GetBranchMigrationJobStatusPathParams = {
|
3372
3408
|
/**
|
3373
3409
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -6917,6 +6953,7 @@ declare const operationsByTag: {
|
|
6917
6953
|
migrations: {
|
6918
6954
|
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6919
6955
|
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6956
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6920
6957
|
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6921
6958
|
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6922
6959
|
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal | undefined) => Promise<MigrationHistoryResponse>;
|
@@ -8164,6 +8201,580 @@ interface ImageTransformations {
|
|
8164
8201
|
declare function transformImage(url: string, ...transformations: ImageTransformations[]): string;
|
8165
8202
|
declare function transformImage(url: string | undefined, ...transformations: ImageTransformations[]): string | undefined;
|
8166
8203
|
|
8204
|
+
declare class Buffer extends Uint8Array {
|
8205
|
+
/**
|
8206
|
+
* Allocates a new buffer containing the given `str`.
|
8207
|
+
*
|
8208
|
+
* @param str String to store in buffer.
|
8209
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
8210
|
+
*/
|
8211
|
+
constructor(str: string, encoding?: Encoding);
|
8212
|
+
/**
|
8213
|
+
* Allocates a new buffer of `size` octets.
|
8214
|
+
*
|
8215
|
+
* @param size Count of octets to allocate.
|
8216
|
+
*/
|
8217
|
+
constructor(size: number);
|
8218
|
+
/**
|
8219
|
+
* Allocates a new buffer containing the given `array` of octets.
|
8220
|
+
*
|
8221
|
+
* @param array The octets to store.
|
8222
|
+
*/
|
8223
|
+
constructor(array: Uint8Array);
|
8224
|
+
/**
|
8225
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
8226
|
+
*
|
8227
|
+
* @param array
|
8228
|
+
*/
|
8229
|
+
constructor(array: number[]);
|
8230
|
+
/**
|
8231
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
8232
|
+
*
|
8233
|
+
* @param array
|
8234
|
+
* @param encoding
|
8235
|
+
*/
|
8236
|
+
constructor(array: number[], encoding: Encoding);
|
8237
|
+
/**
|
8238
|
+
* Copies the passed `buffer` data onto a new `Buffer` instance.
|
8239
|
+
*
|
8240
|
+
* @param buffer
|
8241
|
+
*/
|
8242
|
+
constructor(buffer: Buffer);
|
8243
|
+
/**
|
8244
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
8245
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
8246
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
8247
|
+
*
|
8248
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
8249
|
+
* @param byteOffset
|
8250
|
+
* @param length
|
8251
|
+
*/
|
8252
|
+
constructor(buffer: ArrayBuffer, byteOffset?: number, length?: number);
|
8253
|
+
/**
|
8254
|
+
* Return JSON representation of the buffer.
|
8255
|
+
*/
|
8256
|
+
toJSON(): {
|
8257
|
+
type: 'Buffer';
|
8258
|
+
data: number[];
|
8259
|
+
};
|
8260
|
+
/**
|
8261
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
8262
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
8263
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
8264
|
+
*
|
8265
|
+
* @param string String to write to `buf`.
|
8266
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
8267
|
+
*/
|
8268
|
+
write(string: string, encoding?: Encoding): number;
|
8269
|
+
/**
|
8270
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
8271
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
8272
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
8273
|
+
*
|
8274
|
+
* @param string String to write to `buf`.
|
8275
|
+
* @param offset Number of bytes to skip before starting to write `string`. Default: `0`.
|
8276
|
+
* @param length Maximum number of bytes to write: Default: `buf.length - offset`.
|
8277
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
8278
|
+
*/
|
8279
|
+
write(string: string, offset?: number, length?: number, encoding?: Encoding): number;
|
8280
|
+
/**
|
8281
|
+
* Decodes the buffer to a string according to the specified character encoding.
|
8282
|
+
* Passing `start` and `end` will decode only a subset of the buffer.
|
8283
|
+
*
|
8284
|
+
* Note that if the encoding is `utf8` and a byte sequence in the input is not valid UTF-8, then each invalid byte
|
8285
|
+
* will be replaced with `U+FFFD`.
|
8286
|
+
*
|
8287
|
+
* @param encoding
|
8288
|
+
* @param start
|
8289
|
+
* @param end
|
8290
|
+
*/
|
8291
|
+
toString(encoding?: Encoding, start?: number, end?: number): string;
|
8292
|
+
/**
|
8293
|
+
* Returns true if this buffer's is equal to the provided buffer, meaning they share the same exact data.
|
8294
|
+
*
|
8295
|
+
* @param otherBuffer
|
8296
|
+
*/
|
8297
|
+
equals(otherBuffer: Buffer): boolean;
|
8298
|
+
/**
|
8299
|
+
* Compares the buffer with `otherBuffer` and returns a number indicating whether the buffer comes before, after,
|
8300
|
+
* or is the same as `otherBuffer` in sort order. Comparison is based on the actual sequence of bytes in each
|
8301
|
+
* buffer.
|
8302
|
+
*
|
8303
|
+
* - `0` is returned if `otherBuffer` is the same as this buffer.
|
8304
|
+
* - `1` is returned if `otherBuffer` should come before this buffer when sorted.
|
8305
|
+
* - `-1` is returned if `otherBuffer` should come after this buffer when sorted.
|
8306
|
+
*
|
8307
|
+
* @param otherBuffer The buffer to compare to.
|
8308
|
+
* @param targetStart The offset within `otherBuffer` at which to begin comparison.
|
8309
|
+
* @param targetEnd The offset within `otherBuffer` at which to end comparison (exclusive).
|
8310
|
+
* @param sourceStart The offset within this buffer at which to begin comparison.
|
8311
|
+
* @param sourceEnd The offset within this buffer at which to end the comparison (exclusive).
|
8312
|
+
*/
|
8313
|
+
compare(otherBuffer: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
|
8314
|
+
/**
|
8315
|
+
* Copies data from a region of this buffer to a region in `targetBuffer`, even if the `targetBuffer` memory
|
8316
|
+
* region overlaps with this buffer.
|
8317
|
+
*
|
8318
|
+
* @param targetBuffer The target buffer to copy into.
|
8319
|
+
* @param targetStart The offset within `targetBuffer` at which to begin writing.
|
8320
|
+
* @param sourceStart The offset within this buffer at which to begin copying.
|
8321
|
+
* @param sourceEnd The offset within this buffer at which to end copying (exclusive).
|
8322
|
+
*/
|
8323
|
+
copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
|
8324
|
+
/**
|
8325
|
+
* Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start`
|
8326
|
+
* and `end` indices. This is the same behavior as `buf.subarray()`.
|
8327
|
+
*
|
8328
|
+
* This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of Buffer. To copy
|
8329
|
+
* the slice, use `Uint8Array.prototype.slice()`.
|
8330
|
+
*
|
8331
|
+
* @param start
|
8332
|
+
* @param end
|
8333
|
+
*/
|
8334
|
+
slice(start?: number, end?: number): Buffer;
|
8335
|
+
/**
|
8336
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
8337
|
+
* of accuracy. Behavior is undefined when value is anything other than an unsigned integer.
|
8338
|
+
*
|
8339
|
+
* @param value Number to write.
|
8340
|
+
* @param offset Number of bytes to skip before starting to write.
|
8341
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8342
|
+
* @param noAssert
|
8343
|
+
* @returns `offset` plus the number of bytes written.
|
8344
|
+
*/
|
8345
|
+
writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8346
|
+
/**
|
8347
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits of
|
8348
|
+
* accuracy. Behavior is undefined when `value` is anything other than an unsigned integer.
|
8349
|
+
*
|
8350
|
+
* @param value Number to write.
|
8351
|
+
* @param offset Number of bytes to skip before starting to write.
|
8352
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8353
|
+
* @param noAssert
|
8354
|
+
* @returns `offset` plus the number of bytes written.
|
8355
|
+
*/
|
8356
|
+
writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8357
|
+
/**
|
8358
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
8359
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
8360
|
+
*
|
8361
|
+
* @param value Number to write.
|
8362
|
+
* @param offset Number of bytes to skip before starting to write.
|
8363
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8364
|
+
* @param noAssert
|
8365
|
+
* @returns `offset` plus the number of bytes written.
|
8366
|
+
*/
|
8367
|
+
writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8368
|
+
/**
|
8369
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits
|
8370
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
8371
|
+
*
|
8372
|
+
* @param value Number to write.
|
8373
|
+
* @param offset Number of bytes to skip before starting to write.
|
8374
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8375
|
+
* @param noAssert
|
8376
|
+
* @returns `offset` plus the number of bytes written.
|
8377
|
+
*/
|
8378
|
+
writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8379
|
+
/**
|
8380
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
8381
|
+
* unsigned, little-endian integer supporting up to 48 bits of accuracy.
|
8382
|
+
*
|
8383
|
+
* @param offset Number of bytes to skip before starting to read.
|
8384
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8385
|
+
* @param noAssert
|
8386
|
+
*/
|
8387
|
+
readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8388
|
+
/**
|
8389
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
8390
|
+
* unsigned, big-endian integer supporting up to 48 bits of accuracy.
|
8391
|
+
*
|
8392
|
+
* @param offset Number of bytes to skip before starting to read.
|
8393
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8394
|
+
* @param noAssert
|
8395
|
+
*/
|
8396
|
+
readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8397
|
+
/**
|
8398
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
8399
|
+
* little-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
8400
|
+
*
|
8401
|
+
* @param offset Number of bytes to skip before starting to read.
|
8402
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8403
|
+
* @param noAssert
|
8404
|
+
*/
|
8405
|
+
readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8406
|
+
/**
|
8407
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
8408
|
+
* big-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
8409
|
+
*
|
8410
|
+
* @param offset Number of bytes to skip before starting to read.
|
8411
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8412
|
+
* @param noAssert
|
8413
|
+
*/
|
8414
|
+
readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8415
|
+
/**
|
8416
|
+
* Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
|
8417
|
+
*
|
8418
|
+
* @param offset Number of bytes to skip before starting to read.
|
8419
|
+
* @param noAssert
|
8420
|
+
*/
|
8421
|
+
readUInt8(offset: number, noAssert?: boolean): number;
|
8422
|
+
/**
|
8423
|
+
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
|
8424
|
+
*
|
8425
|
+
* @param offset Number of bytes to skip before starting to read.
|
8426
|
+
* @param noAssert
|
8427
|
+
*/
|
8428
|
+
readUInt16LE(offset: number, noAssert?: boolean): number;
|
8429
|
+
/**
|
8430
|
+
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified `offset`.
|
8431
|
+
*
|
8432
|
+
* @param offset Number of bytes to skip before starting to read.
|
8433
|
+
* @param noAssert
|
8434
|
+
*/
|
8435
|
+
readUInt16BE(offset: number, noAssert?: boolean): number;
|
8436
|
+
/**
|
8437
|
+
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified `offset`.
|
8438
|
+
*
|
8439
|
+
* @param offset Number of bytes to skip before starting to read.
|
8440
|
+
* @param noAssert
|
8441
|
+
*/
|
8442
|
+
readUInt32LE(offset: number, noAssert?: boolean): number;
|
8443
|
+
/**
|
8444
|
+
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified `offset`.
|
8445
|
+
*
|
8446
|
+
* @param offset Number of bytes to skip before starting to read.
|
8447
|
+
* @param noAssert
|
8448
|
+
*/
|
8449
|
+
readUInt32BE(offset: number, noAssert?: boolean): number;
|
8450
|
+
/**
|
8451
|
+
* Reads a signed 8-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer` are interpreted
|
8452
|
+
* as two's complement signed values.
|
8453
|
+
*
|
8454
|
+
* @param offset Number of bytes to skip before starting to read.
|
8455
|
+
* @param noAssert
|
8456
|
+
*/
|
8457
|
+
readInt8(offset: number, noAssert?: boolean): number;
|
8458
|
+
/**
|
8459
|
+
* Reads a signed, little-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8460
|
+
* are interpreted as two's complement signed values.
|
8461
|
+
*
|
8462
|
+
* @param offset Number of bytes to skip before starting to read.
|
8463
|
+
* @param noAssert
|
8464
|
+
*/
|
8465
|
+
readInt16LE(offset: number, noAssert?: boolean): number;
|
8466
|
+
/**
|
8467
|
+
* Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8468
|
+
* are interpreted as two's complement signed values.
|
8469
|
+
*
|
8470
|
+
* @param offset Number of bytes to skip before starting to read.
|
8471
|
+
* @param noAssert
|
8472
|
+
*/
|
8473
|
+
readInt16BE(offset: number, noAssert?: boolean): number;
|
8474
|
+
/**
|
8475
|
+
* Reads a signed, little-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8476
|
+
* are interpreted as two's complement signed values.
|
8477
|
+
*
|
8478
|
+
* @param offset Number of bytes to skip before starting to read.
|
8479
|
+
* @param noAssert
|
8480
|
+
*/
|
8481
|
+
readInt32LE(offset: number, noAssert?: boolean): number;
|
8482
|
+
/**
|
8483
|
+
* Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8484
|
+
* are interpreted as two's complement signed values.
|
8485
|
+
*
|
8486
|
+
* @param offset Number of bytes to skip before starting to read.
|
8487
|
+
* @param noAssert
|
8488
|
+
*/
|
8489
|
+
readInt32BE(offset: number, noAssert?: boolean): number;
|
8490
|
+
/**
|
8491
|
+
* Interprets `buf` as an array of unsigned 16-bit integers and swaps the byte order in-place.
|
8492
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 2.
|
8493
|
+
*/
|
8494
|
+
swap16(): Buffer;
|
8495
|
+
/**
|
8496
|
+
* Interprets `buf` as an array of unsigned 32-bit integers and swaps the byte order in-place.
|
8497
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 4.
|
8498
|
+
*/
|
8499
|
+
swap32(): Buffer;
|
8500
|
+
/**
|
8501
|
+
* Interprets `buf` as an array of unsigned 64-bit integers and swaps the byte order in-place.
|
8502
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 8.
|
8503
|
+
*/
|
8504
|
+
swap64(): Buffer;
|
8505
|
+
/**
|
8506
|
+
* Swaps two octets.
|
8507
|
+
*
|
8508
|
+
* @param b
|
8509
|
+
* @param n
|
8510
|
+
* @param m
|
8511
|
+
*/
|
8512
|
+
private _swap;
|
8513
|
+
/**
|
8514
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid unsigned 8-bit integer.
|
8515
|
+
* Behavior is undefined when `value` is anything other than an unsigned 8-bit integer.
|
8516
|
+
*
|
8517
|
+
* @param value Number to write.
|
8518
|
+
* @param offset Number of bytes to skip before starting to write.
|
8519
|
+
* @param noAssert
|
8520
|
+
* @returns `offset` plus the number of bytes written.
|
8521
|
+
*/
|
8522
|
+
writeUInt8(value: number, offset: number, noAssert?: boolean): number;
|
8523
|
+
/**
|
8524
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit
|
8525
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
8526
|
+
*
|
8527
|
+
* @param value Number to write.
|
8528
|
+
* @param offset Number of bytes to skip before starting to write.
|
8529
|
+
* @param noAssert
|
8530
|
+
* @returns `offset` plus the number of bytes written.
|
8531
|
+
*/
|
8532
|
+
writeUInt16LE(value: number | string, offset: number, noAssert?: boolean): number;
|
8533
|
+
/**
|
8534
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit
|
8535
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
8536
|
+
*
|
8537
|
+
* @param value Number to write.
|
8538
|
+
* @param offset Number of bytes to skip before starting to write.
|
8539
|
+
* @param noAssert
|
8540
|
+
* @returns `offset` plus the number of bytes written.
|
8541
|
+
*/
|
8542
|
+
writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
8543
|
+
/**
|
8544
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit
|
8545
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
8546
|
+
*
|
8547
|
+
* @param value Number to write.
|
8548
|
+
* @param offset Number of bytes to skip before starting to write.
|
8549
|
+
* @param noAssert
|
8550
|
+
* @returns `offset` plus the number of bytes written.
|
8551
|
+
*/
|
8552
|
+
writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
8553
|
+
/**
|
8554
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit
|
8555
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
8556
|
+
*
|
8557
|
+
* @param value Number to write.
|
8558
|
+
* @param offset Number of bytes to skip before starting to write.
|
8559
|
+
* @param noAssert
|
8560
|
+
* @returns `offset` plus the number of bytes written.
|
8561
|
+
*/
|
8562
|
+
writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
8563
|
+
/**
|
8564
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid signed 8-bit integer.
|
8565
|
+
* Behavior is undefined when `value` is anything other than a signed 8-bit integer.
|
8566
|
+
*
|
8567
|
+
* @param value Number to write.
|
8568
|
+
* @param offset Number of bytes to skip before starting to write.
|
8569
|
+
* @param noAssert
|
8570
|
+
* @returns `offset` plus the number of bytes written.
|
8571
|
+
*/
|
8572
|
+
writeInt8(value: number, offset: number, noAssert?: boolean): number;
|
8573
|
+
/**
|
8574
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit
|
8575
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
8576
|
+
*
|
8577
|
+
* @param value Number to write.
|
8578
|
+
* @param offset Number of bytes to skip before starting to write.
|
8579
|
+
* @param noAssert
|
8580
|
+
* @returns `offset` plus the number of bytes written.
|
8581
|
+
*/
|
8582
|
+
writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
|
8583
|
+
/**
|
8584
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit
|
8585
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
8586
|
+
*
|
8587
|
+
* @param value Number to write.
|
8588
|
+
* @param offset Number of bytes to skip before starting to write.
|
8589
|
+
* @param noAssert
|
8590
|
+
* @returns `offset` plus the number of bytes written.
|
8591
|
+
*/
|
8592
|
+
writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
8593
|
+
/**
|
8594
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit
|
8595
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
8596
|
+
*
|
8597
|
+
* @param value Number to write.
|
8598
|
+
* @param offset Number of bytes to skip before starting to write.
|
8599
|
+
* @param noAssert
|
8600
|
+
* @returns `offset` plus the number of bytes written.
|
8601
|
+
*/
|
8602
|
+
writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
8603
|
+
/**
|
8604
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit
|
8605
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
8606
|
+
*
|
8607
|
+
* @param value Number to write.
|
8608
|
+
* @param offset Number of bytes to skip before starting to write.
|
8609
|
+
* @param noAssert
|
8610
|
+
* @returns `offset` plus the number of bytes written.
|
8611
|
+
*/
|
8612
|
+
writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
8613
|
+
/**
|
8614
|
+
* Fills `buf` with the specified `value`. If the `offset` and `end` are not given, the entire `buf` will be
|
8615
|
+
* filled. The `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or integer. If the resulting
|
8616
|
+
* integer is greater than `255` (decimal), then `buf` will be filled with `value & 255`.
|
8617
|
+
*
|
8618
|
+
* If the final write of a `fill()` operation falls on a multi-byte character, then only the bytes of that
|
8619
|
+
* character that fit into `buf` are written.
|
8620
|
+
*
|
8621
|
+
* If `value` contains invalid characters, it is truncated; if no valid fill data remains, an exception is thrown.
|
8622
|
+
*
|
8623
|
+
* @param value
|
8624
|
+
* @param encoding
|
8625
|
+
*/
|
8626
|
+
fill(value: any, offset?: number, end?: number, encoding?: Encoding): this;
|
8627
|
+
/**
|
8628
|
+
* Returns the index of the specified value.
|
8629
|
+
*
|
8630
|
+
* If `value` is:
|
8631
|
+
* - a string, `value` is interpreted according to the character encoding in `encoding`.
|
8632
|
+
* - a `Buffer` or `Uint8Array`, `value` will be used in its entirety. To compare a partial Buffer, use `slice()`.
|
8633
|
+
* - a number, `value` will be interpreted as an unsigned 8-bit integer value between `0` and `255`.
|
8634
|
+
*
|
8635
|
+
* Any other types will throw a `TypeError`.
|
8636
|
+
*
|
8637
|
+
* @param value What to search for.
|
8638
|
+
* @param byteOffset Where to begin searching in `buf`. If negative, then calculated from the end.
|
8639
|
+
* @param encoding If `value` is a string, this is the encoding used to search.
|
8640
|
+
* @returns The index of the first occurrence of `value` in `buf`, or `-1` if not found.
|
8641
|
+
*/
|
8642
|
+
indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
8643
|
+
/**
|
8644
|
+
* Gets the last index of the specified value.
|
8645
|
+
*
|
8646
|
+
* @see indexOf()
|
8647
|
+
* @param value
|
8648
|
+
* @param byteOffset
|
8649
|
+
* @param encoding
|
8650
|
+
*/
|
8651
|
+
lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
8652
|
+
private _bidirectionalIndexOf;
|
8653
|
+
/**
|
8654
|
+
* Equivalent to `buf.indexOf() !== -1`.
|
8655
|
+
*
|
8656
|
+
* @param value
|
8657
|
+
* @param byteOffset
|
8658
|
+
* @param encoding
|
8659
|
+
*/
|
8660
|
+
includes(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): boolean;
|
8661
|
+
/**
|
8662
|
+
* Allocates a new Buffer using an `array` of octet values.
|
8663
|
+
*
|
8664
|
+
* @param array
|
8665
|
+
*/
|
8666
|
+
static from(array: number[]): Buffer;
|
8667
|
+
/**
|
8668
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
8669
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
8670
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
8671
|
+
*
|
8672
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
8673
|
+
* @param byteOffset
|
8674
|
+
* @param length
|
8675
|
+
*/
|
8676
|
+
static from(buffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
8677
|
+
/**
|
8678
|
+
* Copies the passed `buffer` data onto a new Buffer instance.
|
8679
|
+
*
|
8680
|
+
* @param buffer
|
8681
|
+
*/
|
8682
|
+
static from(buffer: Buffer | Uint8Array): Buffer;
|
8683
|
+
/**
|
8684
|
+
* Creates a new Buffer containing the given string `str`. If provided, the `encoding` parameter identifies the
|
8685
|
+
* character encoding.
|
8686
|
+
*
|
8687
|
+
* @param str String to store in buffer.
|
8688
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
8689
|
+
*/
|
8690
|
+
static from(str: string, encoding?: Encoding): Buffer;
|
8691
|
+
/**
|
8692
|
+
* Returns true if `obj` is a Buffer.
|
8693
|
+
*
|
8694
|
+
* @param obj
|
8695
|
+
*/
|
8696
|
+
static isBuffer(obj: any): obj is Buffer;
|
8697
|
+
/**
|
8698
|
+
* Returns true if `encoding` is a supported encoding.
|
8699
|
+
*
|
8700
|
+
* @param encoding
|
8701
|
+
*/
|
8702
|
+
static isEncoding(encoding: string): encoding is Encoding;
|
8703
|
+
/**
|
8704
|
+
* Gives the actual byte length of a string for an encoding. This is not the same as `string.length` since that
|
8705
|
+
* returns the number of characters in the string.
|
8706
|
+
*
|
8707
|
+
* @param string The string to test.
|
8708
|
+
* @param encoding The encoding to use for calculation. Defaults is `utf8`.
|
8709
|
+
*/
|
8710
|
+
static byteLength(string: string | Buffer | ArrayBuffer, encoding?: Encoding): number;
|
8711
|
+
/**
|
8712
|
+
* Returns a Buffer which is the result of concatenating all the buffers in the list together.
|
8713
|
+
*
|
8714
|
+
* - If the list has no items, or if the `totalLength` is 0, then it returns a zero-length buffer.
|
8715
|
+
* - If the list has exactly one item, then the first item is returned.
|
8716
|
+
* - If the list has more than one item, then a new buffer is created.
|
8717
|
+
*
|
8718
|
+
* It is faster to provide the `totalLength` if it is known. However, it will be calculated if not provided at
|
8719
|
+
* a small computational expense.
|
8720
|
+
*
|
8721
|
+
* @param list An array of Buffer objects to concatenate.
|
8722
|
+
* @param totalLength Total length of the buffers when concatenated.
|
8723
|
+
*/
|
8724
|
+
static concat(list: Uint8Array[], totalLength?: number): Buffer;
|
8725
|
+
/**
|
8726
|
+
* The same as `buf1.compare(buf2)`.
|
8727
|
+
*/
|
8728
|
+
static compare(buf1: Uint8Array, buf2: Uint8Array): number;
|
8729
|
+
/**
|
8730
|
+
* Allocates a new buffer of `size` octets.
|
8731
|
+
*
|
8732
|
+
* @param size The number of octets to allocate.
|
8733
|
+
* @param fill If specified, the buffer will be initialized by calling `buf.fill(fill)`, or with zeroes otherwise.
|
8734
|
+
* @param encoding The encoding used for the call to `buf.fill()` while initializing.
|
8735
|
+
*/
|
8736
|
+
static alloc(size: number, fill?: string | Buffer | number, encoding?: Encoding): Buffer;
|
8737
|
+
/**
|
8738
|
+
* Allocates a new buffer of `size` octets without initializing memory. The contents of the buffer are unknown.
|
8739
|
+
*
|
8740
|
+
* @param size
|
8741
|
+
*/
|
8742
|
+
static allocUnsafe(size: number): Buffer;
|
8743
|
+
/**
|
8744
|
+
* Returns true if the given `obj` is an instance of `type`.
|
8745
|
+
*
|
8746
|
+
* @param obj
|
8747
|
+
* @param type
|
8748
|
+
*/
|
8749
|
+
private static _isInstance;
|
8750
|
+
private static _checked;
|
8751
|
+
private static _blitBuffer;
|
8752
|
+
private static _utf8Write;
|
8753
|
+
private static _asciiWrite;
|
8754
|
+
private static _base64Write;
|
8755
|
+
private static _ucs2Write;
|
8756
|
+
private static _hexWrite;
|
8757
|
+
private static _utf8ToBytes;
|
8758
|
+
private static _base64ToBytes;
|
8759
|
+
private static _asciiToBytes;
|
8760
|
+
private static _utf16leToBytes;
|
8761
|
+
private static _hexSlice;
|
8762
|
+
private static _base64Slice;
|
8763
|
+
private static _utf8Slice;
|
8764
|
+
private static _decodeCodePointsArray;
|
8765
|
+
private static _asciiSlice;
|
8766
|
+
private static _latin1Slice;
|
8767
|
+
private static _utf16leSlice;
|
8768
|
+
private static _arrayIndexOf;
|
8769
|
+
private static _checkOffset;
|
8770
|
+
private static _checkInt;
|
8771
|
+
private static _getEncoding;
|
8772
|
+
}
|
8773
|
+
/**
|
8774
|
+
* The encodings that are supported in both native and polyfilled `Buffer` instances.
|
8775
|
+
*/
|
8776
|
+
type Encoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'binary' | 'hex' | 'latin1' | 'base64';
|
8777
|
+
|
8167
8778
|
type XataFileEditableFields = Partial<Pick<XataArrayFile, keyof InputFileEntry>>;
|
8168
8779
|
type XataFileFields = Partial<Pick<XataArrayFile, {
|
8169
8780
|
[K in StringKeys<XataArrayFile>]: XataArrayFile[K] extends Function ? never : K;
|
@@ -10106,7 +10717,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
|
|
10106
10717
|
} : {
|
10107
10718
|
[K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
|
10108
10719
|
} : never : never;
|
10109
|
-
type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' ? string : Type extends 'int' | 'float' ? number : Type extends 'bool' ? boolean : Type extends 'datetime' ? Date : Type extends 'multiple' ? string[] : Type extends 'vector' ? number[] : Type extends 'file' ? XataFile : Type extends 'file[]' ? XataArrayFile[] : Type extends 'json' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord :
|
10720
|
+
type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' | 'character' | 'varchar' | 'character varying' | `varchar(${number})` | `character(${number})` ? string : Type extends 'int' | 'float' | 'bigint' | 'int8' | 'integer' | 'int4' | 'smallint' | 'double precision' | 'float8' | 'real' | 'numeric' ? number : Type extends 'bool' | 'boolean' ? boolean : Type extends 'datetime' | 'timestamptz' ? Date : Type extends 'multiple' | 'text[]' ? string[] : Type extends 'vector' | 'real[]' | 'float[]' | 'double precision[]' | 'float8[]' | 'numeric[]' ? number[] : Type extends 'int[]' | 'bigint[]' | 'int8[]' | 'integer[]' | 'int4[]' | 'smallint[]' ? number[] : Type extends 'bool[]' | 'boolean[]' ? boolean[] : Type extends 'file' | 'xata_file' ? XataFile : Type extends 'file[]' | 'xata_file_array' ? XataArrayFile[] : Type extends 'json' | 'jsonb' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : string;
|
10110
10721
|
|
10111
10722
|
/**
|
10112
10723
|
* Operator to restrict results to only values that are greater than the given value.
|
@@ -10159,11 +10770,11 @@ declare const le: <T extends ComparableType>(value: T) => ComparableTypeFilter<T
|
|
10159
10770
|
/**
|
10160
10771
|
* Operator to restrict results to only values that are not null.
|
10161
10772
|
*/
|
10162
|
-
declare const exists: <T>(column?: FilterColumns<T>
|
10773
|
+
declare const exists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
10163
10774
|
/**
|
10164
10775
|
* Operator to restrict results to only values that are null.
|
10165
10776
|
*/
|
10166
|
-
declare const notExists: <T>(column?: FilterColumns<T>
|
10777
|
+
declare const notExists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
10167
10778
|
/**
|
10168
10779
|
* Operator to restrict results to only values that start with the given prefix.
|
10169
10780
|
*/
|
@@ -10453,7 +11064,7 @@ type BaseClientOptions = {
|
|
10453
11064
|
clientName?: string;
|
10454
11065
|
xataAgentExtra?: Record<string, string>;
|
10455
11066
|
};
|
10456
|
-
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins
|
11067
|
+
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins) => ClientConstructor<Plugins>;
|
10457
11068
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
10458
11069
|
new <Schemas extends Record<string, XataRecord> = {}>(options?: Partial<BaseClientOptions>, schemaTables?: readonly BaseSchema[]): Omit<{
|
10459
11070
|
db: Awaited<ReturnType<SchemaPlugin<Schemas>['build']>>;
|
@@ -10504,4 +11115,4 @@ declare class XataError extends Error {
|
|
10504
11115
|
constructor(message: string, status: number);
|
10505
11116
|
}
|
10506
11117
|
|
10507
|
-
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, SimpleCache, type SimpleCacheOptions, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|
11118
|
+
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, SimpleCache, type SimpleCacheOptions, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|