@xata.io/client 0.28.4 → 0.29.1
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 +24 -0
- package/dist/index.cjs +311 -272
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +178 -54
- package/dist/index.mjs +311 -273
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -28,6 +28,7 @@ declare abstract class XataPlugin {
|
|
28
28
|
type XataPluginOptions = ApiExtraProps & {
|
29
29
|
cache: CacheImpl;
|
30
30
|
host: HostProvider;
|
31
|
+
tables: Table[];
|
31
32
|
};
|
32
33
|
|
33
34
|
type AttributeDictionary = Record<string, string | number | boolean | undefined>;
|
@@ -209,7 +210,7 @@ type ColumnFile = {
|
|
209
210
|
};
|
210
211
|
type Column = {
|
211
212
|
name: string;
|
212
|
-
type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | '
|
213
|
+
type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | 'datetime' | 'vector' | 'file[]' | 'file' | 'json';
|
213
214
|
link?: ColumnLink;
|
214
215
|
vector?: ColumnVector;
|
215
216
|
file?: ColumnFile;
|
@@ -217,7 +218,6 @@ type Column = {
|
|
217
218
|
notNull?: boolean;
|
218
219
|
defaultValue?: string;
|
219
220
|
unique?: boolean;
|
220
|
-
columns?: Column[];
|
221
221
|
};
|
222
222
|
type RevLink = {
|
223
223
|
table: string;
|
@@ -255,6 +255,58 @@ type DBBranch = {
|
|
255
255
|
schema: Schema;
|
256
256
|
};
|
257
257
|
type MigrationStatus$1 = 'completed' | 'pending' | 'failed';
|
258
|
+
/**
|
259
|
+
* @x-go-type schema.Schema
|
260
|
+
*/
|
261
|
+
type PgRollSchema = {
|
262
|
+
name: string;
|
263
|
+
tables: {
|
264
|
+
[key: string]: {
|
265
|
+
oid: string;
|
266
|
+
name: string;
|
267
|
+
comment: string;
|
268
|
+
columns: {
|
269
|
+
[key: string]: {
|
270
|
+
name: string;
|
271
|
+
type: string;
|
272
|
+
['default']: string | null;
|
273
|
+
nullable: boolean;
|
274
|
+
unique: boolean;
|
275
|
+
comment: string;
|
276
|
+
};
|
277
|
+
};
|
278
|
+
indexes: {
|
279
|
+
[key: string]: {
|
280
|
+
name: string;
|
281
|
+
unique: boolean;
|
282
|
+
columns: string[];
|
283
|
+
};
|
284
|
+
};
|
285
|
+
primaryKey: string[];
|
286
|
+
foreignKeys: {
|
287
|
+
[key: string]: {
|
288
|
+
name: string;
|
289
|
+
columns: string[];
|
290
|
+
referencedTable: string;
|
291
|
+
referencedColumns: string[];
|
292
|
+
};
|
293
|
+
};
|
294
|
+
checkConstraints: {
|
295
|
+
[key: string]: {
|
296
|
+
name: string;
|
297
|
+
columns: string[];
|
298
|
+
definition: string;
|
299
|
+
};
|
300
|
+
};
|
301
|
+
uniqueConstraints: {
|
302
|
+
[key: string]: {
|
303
|
+
name: string;
|
304
|
+
columns: string[];
|
305
|
+
};
|
306
|
+
};
|
307
|
+
};
|
308
|
+
};
|
309
|
+
};
|
258
310
|
type BranchWithCopyID = {
|
259
311
|
branchName: BranchName$1;
|
260
312
|
dbBranchID: string;
|
@@ -915,6 +967,18 @@ type FileResponse = {
|
|
915
967
|
id?: FileItemID;
|
916
968
|
name: FileName;
|
917
969
|
mediaType: MediaType;
|
970
|
+
/**
|
971
|
+
* Enable public access to the file
|
972
|
+
*/
|
973
|
+
enablePublicUrl: boolean;
|
974
|
+
/**
|
975
|
+
* Time to live for signed URLs
|
976
|
+
*/
|
977
|
+
signedUrlTimeout: number;
|
978
|
+
/**
|
979
|
+
* Time to live for signed URLs
|
980
|
+
*/
|
981
|
+
uploadUrlTimeout: number;
|
918
982
|
/**
|
919
983
|
* @format int64
|
920
984
|
*/
|
@@ -923,6 +987,24 @@ type FileResponse = {
|
|
923
987
|
* @format int64
|
924
988
|
*/
|
925
989
|
version: number;
|
990
|
+
/**
|
991
|
+
* File access URL
|
992
|
+
*
|
993
|
+
* @format uri
|
994
|
+
*/
|
995
|
+
url: string;
|
996
|
+
/**
|
997
|
+
* Signed file access URL
|
998
|
+
*
|
999
|
+
* @format uri
|
1000
|
+
*/
|
1001
|
+
signedUrl: string;
|
1002
|
+
/**
|
1003
|
+
* Upload file URL
|
1004
|
+
*
|
1005
|
+
* @format uri
|
1006
|
+
*/
|
1007
|
+
uploadUrl: string;
|
926
1008
|
attributes?: Record<string, any>;
|
927
1009
|
};
|
928
1010
|
type QueryColumnsProjection = (string | ProjectionConfig)[];
|
@@ -3322,7 +3404,7 @@ type GetSchemaError = ErrorWrapper<{
|
|
3322
3404
|
payload: SimpleError$1;
|
3323
3405
|
}>;
|
3324
3406
|
type GetSchemaResponse = {
|
3325
|
-
schema:
|
3407
|
+
schema: PgRollSchema;
|
3326
3408
|
};
|
3327
3409
|
type GetSchemaVariables = {
|
3328
3410
|
pathParams: GetSchemaPathParams;
|
@@ -3546,7 +3628,7 @@ type RemoveGitBranchesEntryPathParams = {
|
|
3546
3628
|
};
|
3547
3629
|
type RemoveGitBranchesEntryQueryParams = {
|
3548
3630
|
/**
|
3549
|
-
* The
|
3631
|
+
* The git branch to remove from the mapping
|
3550
3632
|
*/
|
3551
3633
|
gitBranch: string;
|
3552
3634
|
};
|
@@ -3609,7 +3691,7 @@ type ResolveBranchVariables = {
|
|
3609
3691
|
} & DataPlaneFetcherExtraProps;
|
3610
3692
|
/**
|
3611
3693
|
* In order to resolve the database branch, the following algorithm is used:
|
3612
|
-
* * if the `gitBranch` was provided and is found in the [git branches mapping](/api-reference/dbs/db_name/gitBranches), the associated Xata branch is returned
|
3694
|
+
* * if the `gitBranch` was provided and is found in the [git branches mapping](/docs/api-reference/dbs/db_name/gitBranches), the associated Xata branch is returned
|
3613
3695
|
* * else, if a Xata branch with the exact same name as `gitBranch` exists, return it
|
3614
3696
|
* * else, if `fallbackBranch` is provided and a branch with that name exists, return it
|
3615
3697
|
* * else, return the default branch of the DB (`main` or the first branch)
|
@@ -5210,7 +5292,7 @@ type QueryTableVariables = {
|
|
5210
5292
|
* }
|
5211
5293
|
* ```
|
5212
5294
|
*
|
5213
|
-
* For usage, see also the [
|
5295
|
+
* For usage, see also the [Xata SDK documentation](https://xata.io/docs/sdk/get).
|
5214
5296
|
*
|
5215
5297
|
* ### Column selection
|
5216
5298
|
*
|
@@ -6082,7 +6164,7 @@ type SearchTableVariables = {
|
|
6082
6164
|
/**
|
6083
6165
|
* Run a free text search operation in a particular table.
|
6084
6166
|
*
|
6085
|
-
* The endpoint accepts a `query` parameter that is used for the free text search and a set of structured filters (via the `filter` parameter) that are applied before the search. The `filter` parameter uses the same syntax as the [query endpoint](/api-reference/db/db_branch_name/tables/table_name/) with the following exceptions:
|
6167
|
+
* The endpoint accepts a `query` parameter that is used for the free text search and a set of structured filters (via the `filter` parameter) that are applied before the search. The `filter` parameter uses the same syntax as the [query endpoint](/docs/api-reference/db/db_branch_name/tables/table_name/query#filtering) with the following exceptions:
|
6086
6168
|
* * filters `$contains`, `$startsWith`, `$endsWith` don't work on columns of type `text`
|
6087
6169
|
* * filtering on columns of type `multiple` is currently unsupported
|
6088
6170
|
*/
|
@@ -6443,7 +6525,7 @@ type AggregateTableVariables = {
|
|
6443
6525
|
* store that is more appropriate for analytics, makes use of approximation algorithms
|
6444
6526
|
* (e.g for cardinality), and is generally faster and can do more complex aggregations.
|
6445
6527
|
*
|
6446
|
-
* For usage, see the [
|
6528
|
+
* For usage, see the [Aggregation documentation](https://xata.io/docs/sdk/aggregate).
|
6447
6529
|
*/
|
6448
6530
|
declare const aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal) => Promise<AggResponse>;
|
6449
6531
|
type FileAccessPathParams = {
|
@@ -6836,6 +6918,7 @@ type schemas_PgRollMigrationHistoryItem = PgRollMigrationHistoryItem;
|
|
6836
6918
|
type schemas_PgRollMigrationHistoryResponse = PgRollMigrationHistoryResponse;
|
6837
6919
|
type schemas_PgRollMigrationJobID = PgRollMigrationJobID;
|
6838
6920
|
type schemas_PgRollMigrationType = PgRollMigrationType;
|
6921
|
+
type schemas_PgRollSchema = PgRollSchema;
|
6839
6922
|
type schemas_PrefixExpression = PrefixExpression;
|
6840
6923
|
type schemas_ProjectionConfig = ProjectionConfig;
|
6841
6924
|
type schemas_QueryColumnsProjection = QueryColumnsProjection;
|
@@ -6889,7 +6972,7 @@ type schemas_WorkspaceMembers = WorkspaceMembers;
|
|
6889
6972
|
type schemas_WorkspaceMeta = WorkspaceMeta;
|
6890
6973
|
type schemas_WorkspacePlan = WorkspacePlan;
|
6891
6974
|
declare namespace schemas {
|
6892
|
-
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PgRollApplyMigrationResponse as PgRollApplyMigrationResponse, schemas_PgRollJobStatus as PgRollJobStatus, schemas_PgRollJobStatusResponse as PgRollJobStatusResponse, schemas_PgRollJobType as PgRollJobType, schemas_PgRollMigrationHistoryItem as PgRollMigrationHistoryItem, schemas_PgRollMigrationHistoryResponse as PgRollMigrationHistoryResponse, schemas_PgRollMigrationJobID as PgRollMigrationJobID, schemas_PgRollMigrationType as PgRollMigrationType, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, XataRecord$1 as XataRecord };
|
6975
|
+
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PgRollApplyMigrationResponse as PgRollApplyMigrationResponse, schemas_PgRollJobStatus as PgRollJobStatus, schemas_PgRollJobStatusResponse as PgRollJobStatusResponse, schemas_PgRollJobType as PgRollJobType, schemas_PgRollMigrationHistoryItem as PgRollMigrationHistoryItem, schemas_PgRollMigrationHistoryResponse as PgRollMigrationHistoryResponse, schemas_PgRollMigrationJobID as PgRollMigrationJobID, schemas_PgRollMigrationType as PgRollMigrationType, schemas_PgRollSchema as PgRollSchema, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, XataRecord$1 as XataRecord };
|
6893
6976
|
}
|
6894
6977
|
|
6895
6978
|
type ApiExtraProps = Omit<FetcherExtraProps, 'endpoint'>;
|
@@ -7073,6 +7156,19 @@ declare class BranchApi {
|
|
7073
7156
|
gitBranch?: string;
|
7074
7157
|
fallbackBranch?: string;
|
7075
7158
|
}): Promise<ResolveBranchResponse>;
|
7159
|
+
pgRollMigrationHistory({ workspace, region, database, branch }: {
|
7160
|
+
workspace: WorkspaceID;
|
7161
|
+
region: string;
|
7162
|
+
database: DBName$1;
|
7163
|
+
branch: BranchName$1;
|
7164
|
+
}): Promise<PgRollMigrationHistoryResponse>;
|
7165
|
+
applyMigration({ workspace, region, database, branch, migration }: {
|
7166
|
+
workspace: WorkspaceID;
|
7167
|
+
region: string;
|
7168
|
+
database: DBName$1;
|
7169
|
+
branch: BranchName$1;
|
7170
|
+
migration: Migration;
|
7171
|
+
}): Promise<PgRollApplyMigrationResponse>;
|
7076
7172
|
}
|
7077
7173
|
declare class TableApi {
|
7078
7174
|
private extraProps;
|
@@ -7550,6 +7646,12 @@ declare class MigrationsApi {
|
|
7550
7646
|
branch: BranchName$1;
|
7551
7647
|
migrations: MigrationObject[];
|
7552
7648
|
}): Promise<SchemaUpdateResponse>;
|
7649
|
+
getSchema({ workspace, region, database, branch }: {
|
7650
|
+
workspace: WorkspaceID;
|
7651
|
+
region: string;
|
7652
|
+
database: DBName$1;
|
7653
|
+
branch: BranchName$1;
|
7654
|
+
}): Promise<GetSchemaResponse>;
|
7553
7655
|
}
|
7554
7656
|
declare class DatabaseApi {
|
7555
7657
|
private extraProps;
|
@@ -7932,7 +8034,7 @@ type NestedValueAtColumn<O, Key extends SelectableColumn<O>> = Key extends `${in
|
|
7932
8034
|
} : unknown;
|
7933
8035
|
type ForwardNullable<T, R> = T extends NonNullable<T> ? R : R | null;
|
7934
8036
|
|
7935
|
-
declare const RecordColumnTypes: readonly ["bool", "int", "float", "string", "text", "email", "multiple", "link", "
|
8037
|
+
declare const RecordColumnTypes: readonly ["bool", "int", "float", "string", "text", "email", "multiple", "link", "datetime", "vector", "file[]", "file", "json"];
|
7936
8038
|
type Identifier = string;
|
7937
8039
|
/**
|
7938
8040
|
* Represents an identifiable record from the database.
|
@@ -8110,11 +8212,6 @@ type FilterValueAtColumn<Record, F> = NonNullable<ValueAtColumn<Record, F>> exte
|
|
8110
8212
|
"$is": "value",
|
8111
8213
|
"$any": [ "value1", "value2" ],
|
8112
8214
|
},
|
8113
|
-
"settings.plan": {"$any": ["free", "paid"]},
|
8114
|
-
"settings.plan": "free",
|
8115
|
-
"settings": {
|
8116
|
-
"plan": "free"
|
8117
|
-
},
|
8118
8215
|
}
|
8119
8216
|
}
|
8120
8217
|
*/
|
@@ -8158,8 +8255,8 @@ type ValueTypeFilters<T> = T | T extends string ? StringTypeFilter : T extends n
|
|
8158
8255
|
{
|
8159
8256
|
"filter": {
|
8160
8257
|
"$any": {
|
8161
|
-
"
|
8162
|
-
"
|
8258
|
+
"dark": true,
|
8259
|
+
"plan": "free"
|
8163
8260
|
}
|
8164
8261
|
},
|
8165
8262
|
}
|
@@ -8180,7 +8277,7 @@ type AggregatorFilter<T> = {
|
|
8180
8277
|
};
|
8181
8278
|
/**
|
8182
8279
|
* Existance filter
|
8183
|
-
* Example: { filter: { $exists: "
|
8280
|
+
* Example: { filter: { $exists: "dark" } }
|
8184
8281
|
*/
|
8185
8282
|
type ExistanceFilter<Record> = {
|
8186
8283
|
[key in '$exists' | '$notExists']?: FilterColumns<Record>;
|
@@ -8326,10 +8423,11 @@ type SearchPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
8326
8423
|
declare class SearchPlugin<Schemas extends Record<string, XataRecord>> extends XataPlugin {
|
8327
8424
|
#private;
|
8328
8425
|
private db;
|
8329
|
-
constructor(db: SchemaPluginResult<Schemas
|
8426
|
+
constructor(db: SchemaPluginResult<Schemas>);
|
8330
8427
|
build(pluginOptions: XataPluginOptions): SearchPluginResult<Schemas>;
|
8331
8428
|
}
|
8332
|
-
type SearchXataRecord<Record extends XataRecord> = Omit<Record, 'getMetadata'> & {
|
8429
|
+
type SearchXataRecord<Record extends XataRecord> = Omit<Record, 'getMetadata' | 'xata'> & {
|
8430
|
+
xata: XataRecordMetadata & SearchExtraProperties;
|
8333
8431
|
getMetadata: () => XataRecordMetadata & SearchExtraProperties;
|
8334
8432
|
};
|
8335
8433
|
type SearchExtraProperties = {
|
@@ -8650,7 +8748,7 @@ type QueryOptions<T extends XataRecord> = BaseOptions<T> & (CursorQueryOptions |
|
|
8650
8748
|
declare class Query<Record extends XataRecord, Result extends XataRecord = Record> implements Paginable<Record, Result> {
|
8651
8749
|
#private;
|
8652
8750
|
readonly meta: PaginationQueryMeta;
|
8653
|
-
readonly records:
|
8751
|
+
readonly records: PageRecordArray<Result>;
|
8654
8752
|
constructor(repository: RestRepository<Record> | null, table: {
|
8655
8753
|
name: string;
|
8656
8754
|
schema?: Table;
|
@@ -8778,25 +8876,25 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
8778
8876
|
* Performs the query in the database and returns a set of results.
|
8779
8877
|
* @returns An array of records from the database.
|
8780
8878
|
*/
|
8781
|
-
getMany(): Promise<
|
8879
|
+
getMany(): Promise<PageRecordArray<Result>>;
|
8782
8880
|
/**
|
8783
8881
|
* Performs the query in the database and returns a set of results.
|
8784
8882
|
* @param options Additional options to be used when performing the query.
|
8785
8883
|
* @returns An array of records from the database.
|
8786
8884
|
*/
|
8787
|
-
getMany<Options extends RequiredBy<QueryOptions<Record>, 'columns'>>(options: Options): Promise<
|
8885
|
+
getMany<Options extends RequiredBy<QueryOptions<Record>, 'columns'>>(options: Options): Promise<PageRecordArray<SelectedPick<Record, (typeof options)['columns']>>>;
|
8788
8886
|
/**
|
8789
8887
|
* Performs the query in the database and returns a set of results.
|
8790
8888
|
* @param options Additional options to be used when performing the query.
|
8791
8889
|
* @returns An array of records from the database.
|
8792
8890
|
*/
|
8793
|
-
getMany(options: OmitBy<QueryOptions<Record>, 'columns'>): Promise<
|
8891
|
+
getMany(options: OmitBy<QueryOptions<Record>, 'columns'>): Promise<PageRecordArray<Result>>;
|
8794
8892
|
/**
|
8795
8893
|
* Performs the query in the database and returns all the results.
|
8796
8894
|
* Warning: If there are a large number of results, this method can have performance implications.
|
8797
8895
|
* @returns An array of records from the database.
|
8798
8896
|
*/
|
8799
|
-
getAll(): Promise<Result
|
8897
|
+
getAll(): Promise<RecordArray<Result>>;
|
8800
8898
|
/**
|
8801
8899
|
* Performs the query in the database and returns all the results.
|
8802
8900
|
* Warning: If there are a large number of results, this method can have performance implications.
|
@@ -8805,7 +8903,7 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
8805
8903
|
*/
|
8806
8904
|
getAll<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'> & {
|
8807
8905
|
batchSize?: number;
|
8808
|
-
}>(options: Options): Promise<SelectedPick<Record, (typeof options)['columns']
|
8906
|
+
}>(options: Options): Promise<RecordArray<SelectedPick<Record, (typeof options)['columns']>>>;
|
8809
8907
|
/**
|
8810
8908
|
* Performs the query in the database and returns all the results.
|
8811
8909
|
* Warning: If there are a large number of results, this method can have performance implications.
|
@@ -8814,7 +8912,7 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
8814
8912
|
*/
|
8815
8913
|
getAll(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'> & {
|
8816
8914
|
batchSize?: number;
|
8817
|
-
}): Promise<Result
|
8915
|
+
}): Promise<RecordArray<Result>>;
|
8818
8916
|
/**
|
8819
8917
|
* Performs the query in the database and returns the first result.
|
8820
8918
|
* @returns The first record that matches the query, or null if no record matched the query.
|
@@ -8898,7 +8996,7 @@ type PaginationQueryMeta = {
|
|
8898
8996
|
};
|
8899
8997
|
interface Paginable<Record extends XataRecord, Result extends XataRecord = Record> {
|
8900
8998
|
meta: PaginationQueryMeta;
|
8901
|
-
records:
|
8999
|
+
records: PageRecordArray<Result>;
|
8902
9000
|
nextPage(size?: number, offset?: number): Promise<Page<Record, Result>>;
|
8903
9001
|
previousPage(size?: number, offset?: number): Promise<Page<Record, Result>>;
|
8904
9002
|
startPage(size?: number, offset?: number): Promise<Page<Record, Result>>;
|
@@ -8918,7 +9016,7 @@ declare class Page<Record extends XataRecord, Result extends XataRecord = Record
|
|
8918
9016
|
/**
|
8919
9017
|
* The set of results for this page.
|
8920
9018
|
*/
|
8921
|
-
readonly records:
|
9019
|
+
readonly records: PageRecordArray<Result>;
|
8922
9020
|
constructor(query: Query<Record, Result>, meta: PaginationQueryMeta, records?: Result[]);
|
8923
9021
|
/**
|
8924
9022
|
* Retrieves the next page of results.
|
@@ -8972,6 +9070,14 @@ declare const PAGINATION_MAX_OFFSET = 49000;
|
|
8972
9070
|
declare const PAGINATION_DEFAULT_OFFSET = 0;
|
8973
9071
|
declare function isCursorPaginationOptions(options: Record<string, unknown> | undefined | null): options is CursorNavigationOptions;
|
8974
9072
|
declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
9073
|
+
constructor(overrideRecords?: Result[]);
|
9074
|
+
static parseConstructorParams(...args: any[]): any[];
|
9075
|
+
toArray(): Result[];
|
9076
|
+
toSerializable(): JSONData<Result>[];
|
9077
|
+
toString(): string;
|
9078
|
+
map<U>(callbackfn: (value: Result, index: number, array: Result[]) => U, thisArg?: any): U[];
|
9079
|
+
}
|
9080
|
+
declare class PageRecordArray<Result extends XataRecord> extends Array<Result> {
|
8975
9081
|
#private;
|
8976
9082
|
constructor(page: Paginable<any, Result>, overrideRecords?: Result[]);
|
8977
9083
|
static parseConstructorParams(...args: any[]): any[];
|
@@ -8984,25 +9090,25 @@ declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
|
8984
9090
|
*
|
8985
9091
|
* @returns A new array of objects
|
8986
9092
|
*/
|
8987
|
-
nextPage(size?: number, offset?: number): Promise<
|
9093
|
+
nextPage(size?: number, offset?: number): Promise<PageRecordArray<Result>>;
|
8988
9094
|
/**
|
8989
9095
|
* Retrieve previous page of records
|
8990
9096
|
*
|
8991
9097
|
* @returns A new array of objects
|
8992
9098
|
*/
|
8993
|
-
previousPage(size?: number, offset?: number): Promise<
|
9099
|
+
previousPage(size?: number, offset?: number): Promise<PageRecordArray<Result>>;
|
8994
9100
|
/**
|
8995
9101
|
* Retrieve start page of records
|
8996
9102
|
*
|
8997
9103
|
* @returns A new array of objects
|
8998
9104
|
*/
|
8999
|
-
startPage(size?: number, offset?: number): Promise<
|
9105
|
+
startPage(size?: number, offset?: number): Promise<PageRecordArray<Result>>;
|
9000
9106
|
/**
|
9001
9107
|
* Retrieve end page of records
|
9002
9108
|
*
|
9003
9109
|
* @returns A new array of objects
|
9004
9110
|
*/
|
9005
|
-
endPage(size?: number, offset?: number): Promise<
|
9111
|
+
endPage(size?: number, offset?: number): Promise<PageRecordArray<Result>>;
|
9006
9112
|
/**
|
9007
9113
|
* @returns Boolean indicating if there is a next page
|
9008
9114
|
*/
|
@@ -9706,13 +9812,6 @@ type BaseSchema = {
|
|
9706
9812
|
link: {
|
9707
9813
|
table: string;
|
9708
9814
|
};
|
9709
|
-
} | {
|
9710
|
-
name: string;
|
9711
|
-
type: 'object';
|
9712
|
-
columns: {
|
9713
|
-
name: string;
|
9714
|
-
type: string;
|
9715
|
-
}[];
|
9716
9815
|
})[];
|
9717
9816
|
};
|
9718
9817
|
type SchemaInference<T extends readonly BaseSchema[]> = T extends never[] ? Record<string, Record<string, any>> : T extends readonly unknown[] ? T[number] extends {
|
@@ -9740,19 +9839,13 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
|
|
9740
9839
|
link?: {
|
9741
9840
|
table: infer LinkedTable;
|
9742
9841
|
};
|
9743
|
-
columns?: infer ObjectColumns;
|
9744
9842
|
notNull?: infer NotNull;
|
9745
9843
|
} ? NotNull extends true ? {
|
9746
|
-
[K in PropertyName]: InnerType<Type,
|
9844
|
+
[K in PropertyName]: InnerType<Type, Tables, LinkedTable>;
|
9747
9845
|
} : {
|
9748
|
-
[K in PropertyName]?: InnerType<Type,
|
9846
|
+
[K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
|
9749
9847
|
} : never : never;
|
9750
|
-
type InnerType<Type,
|
9751
|
-
name: string;
|
9752
|
-
type: string;
|
9753
|
-
} ? UnionToIntersection<Values<{
|
9754
|
-
[K in ObjectColumns[number]['name']]: PropertyType<Tables, ObjectColumns[number], K>;
|
9755
|
-
}>> : never : never : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : never;
|
9848
|
+
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 : never;
|
9756
9849
|
|
9757
9850
|
/**
|
9758
9851
|
* Operator to restrict results to only values that are greater than the given value.
|
@@ -9871,7 +9964,7 @@ type SchemaPluginResult<Schemas extends Record<string, XataRecord>> = {
|
|
9871
9964
|
};
|
9872
9965
|
declare class SchemaPlugin<Schemas extends Record<string, XataRecord>> extends XataPlugin {
|
9873
9966
|
#private;
|
9874
|
-
constructor(
|
9967
|
+
constructor();
|
9875
9968
|
build(pluginOptions: XataPluginOptions): SchemaPluginResult<Schemas>;
|
9876
9969
|
}
|
9877
9970
|
|
@@ -9912,15 +10005,46 @@ declare class FilesPlugin<Schemas extends Record<string, XataRecord>> extends Xa
|
|
9912
10005
|
}
|
9913
10006
|
|
9914
10007
|
type SQLQueryParams<T = any[]> = {
|
10008
|
+
/**
|
10009
|
+
* The SQL statement to execute.
|
10010
|
+
* @example
|
10011
|
+
* ```ts
|
10012
|
+
* const { records } = await xata.sql<TeamsRecord>({
|
10013
|
+
* statement: `SELECT * FROM teams WHERE name = $1`,
|
10014
|
+
* params: ['A name']
|
10015
|
+
* });
|
10016
|
+
* ```
|
10017
|
+
*
|
10018
|
+
* Be careful when using this with user input and use parametrized statements to avoid SQL injection.
|
10019
|
+
*/
|
9915
10020
|
statement: string;
|
10021
|
+
/**
|
10022
|
+
* The parameters to pass to the SQL statement.
|
10023
|
+
*/
|
9916
10024
|
params?: T;
|
10025
|
+
/**
|
10026
|
+
* The consistency level to use when executing the query.
|
10027
|
+
*/
|
9917
10028
|
consistency?: 'strong' | 'eventual';
|
9918
10029
|
};
|
9919
|
-
type SQLQuery = TemplateStringsArray | SQLQueryParams
|
9920
|
-
type
|
10030
|
+
type SQLQuery = TemplateStringsArray | SQLQueryParams;
|
10031
|
+
type SQLQueryResult<T> = {
|
10032
|
+
/**
|
10033
|
+
* The records returned by the query.
|
10034
|
+
*/
|
9921
10035
|
records: T[];
|
10036
|
+
/**
|
10037
|
+
* The columns metadata returned by the query.
|
10038
|
+
*/
|
10039
|
+
columns?: Record<string, {
|
10040
|
+
type_name: string;
|
10041
|
+
}>;
|
10042
|
+
/**
|
10043
|
+
* Optional warning message returned by the query.
|
10044
|
+
*/
|
9922
10045
|
warning?: string;
|
9923
|
-
}
|
10046
|
+
};
|
10047
|
+
type SQLPluginResult = <T>(query: SQLQuery, ...parameters: any[]) => Promise<SQLQueryResult<T>>;
|
9924
10048
|
declare class SQLPlugin extends XataPlugin {
|
9925
10049
|
build(pluginOptions: XataPluginOptions): SQLPluginResult;
|
9926
10050
|
}
|
@@ -10087,4 +10211,4 @@ declare class XataError extends Error {
|
|
10087
10211
|
constructor(message: string, status: number);
|
10088
10212
|
}
|
10089
10213
|
|
10090
|
-
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, 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 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 GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, 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 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, type Paginable, type PaginationQueryMeta, type PgRollJobStatusError, type PgRollJobStatusPathParams, type PgRollJobStatusVariables, type PgRollMigrationHistoryError, type PgRollMigrationHistoryPathParams, type PgRollMigrationHistoryVariables, type PgRollStatusError, type PgRollStatusPathParams, type PgRollStatusVariables, 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 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 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 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, 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, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, 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, pgRollJobStatus, pgRollMigrationHistory, pgRollStatus, 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, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, upsertRecordWithID, vectorSearchTable };
|
10214
|
+
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, 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 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 GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, 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 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 PgRollJobStatusError, type PgRollJobStatusPathParams, type PgRollJobStatusVariables, type PgRollMigrationHistoryError, type PgRollMigrationHistoryPathParams, type PgRollMigrationHistoryVariables, type PgRollStatusError, type PgRollStatusPathParams, type PgRollStatusVariables, 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 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 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, 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, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, 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, pgRollJobStatus, pgRollMigrationHistory, pgRollStatus, 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, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, upsertRecordWithID, vectorSearchTable };
|