@xata.io/client 0.0.0-next.v6c9e627772cbacc1977ba6ba82e6b403ac64c0b2 → 0.0.0-next.v6e0260c6939d61fc865c7829b179342da9da348c
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 +4 -4
- package/CHANGELOG.md +17 -3
- package/dist/index.cjs +102 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +180 -91
- package/dist/index.mjs +100 -64
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ declare abstract class XataPlugin {
|
|
4
4
|
type XataPluginOptions = ApiExtraProps & {
|
5
5
|
host: HostProvider;
|
6
6
|
tables: Table[];
|
7
|
+
branch: string;
|
7
8
|
};
|
8
9
|
|
9
10
|
type AttributeDictionary = Record<string, string | number | boolean | undefined>;
|
@@ -170,7 +171,6 @@ type Branch = {
|
|
170
171
|
* The cluster where this branch resides. Value of 'shared-cluster' for branches in shared clusters
|
171
172
|
*
|
172
173
|
* @minLength 1
|
173
|
-
* @x-internal true
|
174
174
|
*/
|
175
175
|
clusterID?: string;
|
176
176
|
createdAt: DateTime$1;
|
@@ -180,7 +180,7 @@ type ListBranchesResponse = {
|
|
180
180
|
branches: Branch[];
|
181
181
|
};
|
182
182
|
type DatabaseSettings = {
|
183
|
-
|
183
|
+
searchEnabled: boolean;
|
184
184
|
};
|
185
185
|
/**
|
186
186
|
* @maxLength 255
|
@@ -224,7 +224,7 @@ type ColumnFile = {
|
|
224
224
|
};
|
225
225
|
type Column = {
|
226
226
|
name: string;
|
227
|
-
type:
|
227
|
+
type: string;
|
228
228
|
link?: ColumnLink;
|
229
229
|
vector?: ColumnVector;
|
230
230
|
file?: ColumnFile;
|
@@ -1710,6 +1710,10 @@ type Workspace = WorkspaceMeta & {
|
|
1710
1710
|
memberCount: number;
|
1711
1711
|
plan: WorkspacePlan;
|
1712
1712
|
};
|
1713
|
+
type WorkspaceSettings = {
|
1714
|
+
postgresEnabled: boolean;
|
1715
|
+
dedicatedClusters: boolean;
|
1716
|
+
};
|
1713
1717
|
type WorkspaceMember = {
|
1714
1718
|
userId: UserID;
|
1715
1719
|
fullname: string;
|
@@ -1873,6 +1877,13 @@ type ClusterConfiguration = {
|
|
1873
1877
|
* @format int64
|
1874
1878
|
*/
|
1875
1879
|
replicas?: number;
|
1880
|
+
/**
|
1881
|
+
* @format int64
|
1882
|
+
* @default 1
|
1883
|
+
* @maximum 3
|
1884
|
+
* @minimum 1
|
1885
|
+
*/
|
1886
|
+
instanceCount?: number;
|
1876
1887
|
/**
|
1877
1888
|
* @default false
|
1878
1889
|
*/
|
@@ -1891,7 +1902,7 @@ type ClusterCreateDetails = {
|
|
1891
1902
|
/**
|
1892
1903
|
* @maxLength 63
|
1893
1904
|
* @minLength 1
|
1894
|
-
* @pattern [a-
|
1905
|
+
* @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
|
1895
1906
|
*/
|
1896
1907
|
name: string;
|
1897
1908
|
configuration: ClusterConfiguration;
|
@@ -1943,6 +1954,10 @@ type ClusterConfigurationResponse = {
|
|
1943
1954
|
* @format int64
|
1944
1955
|
*/
|
1945
1956
|
replicas: number;
|
1957
|
+
/**
|
1958
|
+
* @format int64
|
1959
|
+
*/
|
1960
|
+
instanceCount: number;
|
1946
1961
|
/**
|
1947
1962
|
* @default false
|
1948
1963
|
*/
|
@@ -1968,6 +1983,9 @@ type ClusterMetadata = {
|
|
1968
1983
|
* @x-internal true
|
1969
1984
|
*/
|
1970
1985
|
type ClusterUpdateDetails = {
|
1986
|
+
/**
|
1987
|
+
* @pattern ^[Ss][Tt][Oo][Pp]|[Ss][Tt][Aa][Rr][Tt]$
|
1988
|
+
*/
|
1971
1989
|
command: string;
|
1972
1990
|
};
|
1973
1991
|
/**
|
@@ -1998,9 +2016,13 @@ type DatabaseMetadata = {
|
|
1998
2016
|
*/
|
1999
2017
|
newMigrations?: boolean;
|
2000
2018
|
/**
|
2001
|
-
*
|
2019
|
+
* The default cluster ID where branches from this database reside. Value of 'shared-cluster' for branches in shared clusters.
|
2002
2020
|
*/
|
2003
2021
|
defaultClusterID?: string;
|
2022
|
+
/**
|
2023
|
+
* The database is accessible via the Postgres protocol
|
2024
|
+
*/
|
2025
|
+
postgresEnabled?: boolean;
|
2004
2026
|
/**
|
2005
2027
|
* Metadata about the database for display in Xata user interfaces
|
2006
2028
|
*/
|
@@ -2541,6 +2563,62 @@ type DeleteWorkspaceVariables = {
|
|
2541
2563
|
* Delete the workspace with the provided ID
|
2542
2564
|
*/
|
2543
2565
|
declare const deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal) => Promise<undefined>;
|
2566
|
+
type GetWorkspaceSettingsPathParams = {
|
2567
|
+
/**
|
2568
|
+
* Workspace ID
|
2569
|
+
*/
|
2570
|
+
workspaceId: WorkspaceID;
|
2571
|
+
};
|
2572
|
+
type GetWorkspaceSettingsError = ErrorWrapper$1<{
|
2573
|
+
status: 400;
|
2574
|
+
payload: BadRequestError;
|
2575
|
+
} | {
|
2576
|
+
status: 401;
|
2577
|
+
payload: AuthError;
|
2578
|
+
} | {
|
2579
|
+
status: 403;
|
2580
|
+
payload: AuthError;
|
2581
|
+
} | {
|
2582
|
+
status: 404;
|
2583
|
+
payload: SimpleError;
|
2584
|
+
}>;
|
2585
|
+
type GetWorkspaceSettingsVariables = {
|
2586
|
+
pathParams: GetWorkspaceSettingsPathParams;
|
2587
|
+
} & ControlPlaneFetcherExtraProps;
|
2588
|
+
/**
|
2589
|
+
* Retrieve workspace settings from a workspace ID
|
2590
|
+
*/
|
2591
|
+
declare const getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2592
|
+
type UpdateWorkspaceSettingsPathParams = {
|
2593
|
+
/**
|
2594
|
+
* Workspace ID
|
2595
|
+
*/
|
2596
|
+
workspaceId: WorkspaceID;
|
2597
|
+
};
|
2598
|
+
type UpdateWorkspaceSettingsError = ErrorWrapper$1<{
|
2599
|
+
status: 400;
|
2600
|
+
payload: BadRequestError;
|
2601
|
+
} | {
|
2602
|
+
status: 401;
|
2603
|
+
payload: AuthError;
|
2604
|
+
} | {
|
2605
|
+
status: 403;
|
2606
|
+
payload: AuthError;
|
2607
|
+
} | {
|
2608
|
+
status: 404;
|
2609
|
+
payload: SimpleError;
|
2610
|
+
}>;
|
2611
|
+
type UpdateWorkspaceSettingsRequestBody = {
|
2612
|
+
postgresEnabled: boolean;
|
2613
|
+
};
|
2614
|
+
type UpdateWorkspaceSettingsVariables = {
|
2615
|
+
body: UpdateWorkspaceSettingsRequestBody;
|
2616
|
+
pathParams: UpdateWorkspaceSettingsPathParams;
|
2617
|
+
} & ControlPlaneFetcherExtraProps;
|
2618
|
+
/**
|
2619
|
+
* Update workspace settings
|
2620
|
+
*/
|
2621
|
+
declare const updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2544
2622
|
type GetWorkspaceMembersListPathParams = {
|
2545
2623
|
/**
|
2546
2624
|
* Workspace ID
|
@@ -3273,6 +3351,7 @@ type ApplyMigrationRequestBody = {
|
|
3273
3351
|
operations: {
|
3274
3352
|
[key: string]: any;
|
3275
3353
|
}[];
|
3354
|
+
adaptTables?: boolean;
|
3276
3355
|
};
|
3277
3356
|
type ApplyMigrationVariables = {
|
3278
3357
|
body: ApplyMigrationRequestBody;
|
@@ -3311,6 +3390,31 @@ type AdaptTableVariables = {
|
|
3311
3390
|
* 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.
|
3312
3391
|
*/
|
3313
3392
|
declare const adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3393
|
+
type AdaptAllTablesPathParams = {
|
3394
|
+
/**
|
3395
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3396
|
+
*/
|
3397
|
+
dbBranchName: DBBranchName;
|
3398
|
+
workspace: string;
|
3399
|
+
region: string;
|
3400
|
+
};
|
3401
|
+
type AdaptAllTablesError = ErrorWrapper<{
|
3402
|
+
status: 400;
|
3403
|
+
payload: BadRequestError$1;
|
3404
|
+
} | {
|
3405
|
+
status: 401;
|
3406
|
+
payload: AuthError$1;
|
3407
|
+
} | {
|
3408
|
+
status: 404;
|
3409
|
+
payload: SimpleError$1;
|
3410
|
+
}>;
|
3411
|
+
type AdaptAllTablesVariables = {
|
3412
|
+
pathParams: AdaptAllTablesPathParams;
|
3413
|
+
} & DataPlaneFetcherExtraProps;
|
3414
|
+
/**
|
3415
|
+
* 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.
|
3416
|
+
*/
|
3417
|
+
declare const adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3314
3418
|
type GetBranchMigrationJobStatusPathParams = {
|
3315
3419
|
/**
|
3316
3420
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3449,8 +3553,11 @@ type UpdateDatabaseSettingsError = ErrorWrapper<{
|
|
3449
3553
|
status: 404;
|
3450
3554
|
payload: SimpleError$1;
|
3451
3555
|
}>;
|
3556
|
+
type UpdateDatabaseSettingsRequestBody = {
|
3557
|
+
searchEnabled?: boolean;
|
3558
|
+
};
|
3452
3559
|
type UpdateDatabaseSettingsVariables = {
|
3453
|
-
body
|
3560
|
+
body?: UpdateDatabaseSettingsRequestBody;
|
3454
3561
|
pathParams: UpdateDatabaseSettingsPathParams;
|
3455
3562
|
} & DataPlaneFetcherExtraProps;
|
3456
3563
|
/**
|
@@ -6848,6 +6955,8 @@ declare const operationsByTag: {
|
|
6848
6955
|
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6849
6956
|
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6850
6957
|
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6958
|
+
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6959
|
+
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6851
6960
|
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceMembers>;
|
6852
6961
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6853
6962
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
@@ -6855,6 +6964,7 @@ declare const operationsByTag: {
|
|
6855
6964
|
migrations: {
|
6856
6965
|
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6857
6966
|
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6967
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6858
6968
|
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6859
6969
|
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6860
6970
|
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal | undefined) => Promise<MigrationHistoryResponse>;
|
@@ -6989,6 +7099,8 @@ declare function buildProviderString(provider: HostProvider): string;
|
|
6989
7099
|
declare function parseWorkspacesUrlParts(url: string): {
|
6990
7100
|
workspace: string;
|
6991
7101
|
region: string;
|
7102
|
+
database: string;
|
7103
|
+
branch?: string;
|
6992
7104
|
host: HostAliases;
|
6993
7105
|
} | null;
|
6994
7106
|
|
@@ -7188,8 +7300,9 @@ type schemas_WorkspaceMember = WorkspaceMember;
|
|
7188
7300
|
type schemas_WorkspaceMembers = WorkspaceMembers;
|
7189
7301
|
type schemas_WorkspaceMeta = WorkspaceMeta;
|
7190
7302
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7303
|
+
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7191
7304
|
declare namespace schemas {
|
7192
|
-
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, 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_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, 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_ClusterUpdateMetadata as ClusterUpdateMetadata, 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, schemas_DatabaseSettings as DatabaseSettings, 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_MaintenanceConfigResponse as MaintenanceConfigResponse, 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_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, 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_MigrationType as MigrationType, 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_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 };
|
7305
|
+
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, 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_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, 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_ClusterUpdateMetadata as ClusterUpdateMetadata, 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, schemas_DatabaseSettings as DatabaseSettings, 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_MaintenanceConfigResponse as MaintenanceConfigResponse, 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_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, 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_MigrationType as MigrationType, 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_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, schemas_WorkspaceSettings as WorkspaceSettings, XataRecord$1 as XataRecord };
|
7193
7306
|
}
|
7194
7307
|
|
7195
7308
|
declare class XataApiPlugin implements XataPlugin {
|
@@ -7440,7 +7553,7 @@ declare class XataFile {
|
|
7440
7553
|
}
|
7441
7554
|
type XataArrayFile = Identifiable & XataFile;
|
7442
7555
|
|
7443
|
-
type SelectableColumn<O, RecursivePath extends any[] = []> = '*' |
|
7556
|
+
type SelectableColumn<O, RecursivePath extends any[] = []> = '*' | DataProps<O> | NestedColumns<O, RecursivePath>;
|
7444
7557
|
type ExpandedColumnNotation = {
|
7445
7558
|
name: string;
|
7446
7559
|
columns?: SelectableColumn<any>[];
|
@@ -7474,7 +7587,7 @@ type SelectedPick<O extends XataRecord, Key extends SelectableColumnWithObjectNo
|
|
7474
7587
|
};
|
7475
7588
|
};
|
7476
7589
|
}>>;
|
7477
|
-
type ValueAtColumn<Object, Key, RecursivePath extends any[] = []> = RecursivePath['length'] extends MAX_RECURSION ? never : Key extends '*' ? Values<Object> : Key extends
|
7590
|
+
type ValueAtColumn<Object, Key, RecursivePath extends any[] = []> = RecursivePath['length'] extends MAX_RECURSION ? never : Key extends '*' ? Values<Object> : Key extends keyof Object ? Object[Key] : Key extends `${infer K}.${infer V}` ? K extends keyof Object ? Values<NonNullable<Object[K]> extends infer Item ? Item extends Record<string, any> ? V extends SelectableColumn<Item> ? {
|
7478
7591
|
V: ValueAtColumn<Item, V, [...RecursivePath, Item]>;
|
7479
7592
|
} : never : Object[K] : never> : never : never;
|
7480
7593
|
type MAX_RECURSION = 3;
|
@@ -7482,11 +7595,11 @@ type NestedColumns<O, RecursivePath extends any[]> = RecursivePath['length'] ext
|
|
7482
7595
|
[K in DataProps<O>]: NonNullable<O[K]> extends infer Item ? If<IsArray<Item>, Item extends (infer Type)[] ? Type extends XataArrayFile ? K | `${K}.${keyof XataFileFields | '*'}` : K | `${K}.${StringKeys<Type> | '*'}` : never, If<IsObject<Item>, Item extends XataRecord ? SelectableColumn<Item, [...RecursivePath, Item]> extends infer Column ? Column extends string ? K | `${K}.${Column}` : never : never : Item extends Date ? K : Item extends XataFile ? K | `${K}.${keyof XataFileFields | '*'}` : `${K}.${StringKeys<Item> | '*'}`, // This allows usage of objects that are not links
|
7483
7596
|
K>> : never;
|
7484
7597
|
}>, never>;
|
7485
|
-
type DataProps<O> = Exclude<StringKeys<O>, StringKeys<XataRecord
|
7598
|
+
type DataProps<O> = Exclude<StringKeys<O>, StringKeys<Omit<XataRecord, 'xata_id'>>>;
|
7486
7599
|
type NestedValueAtColumn<O, Key extends SelectableColumn<O>> = Key extends `${infer N}.${infer M}` ? N extends DataProps<O> ? {
|
7487
7600
|
[K in N]: M extends SelectableColumn<NonNullable<O[K]>> ? NonNullable<O[K]> extends XataFile ? ForwardNullable<O[K], XataFile> : NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K], NestedValueAtColumn<NonNullable<O[K]>, M> & XataRecord> : ForwardNullable<O[K], NestedValueAtColumn<NonNullable<O[K]>, M>> : NonNullable<O[K]> extends (infer ArrayType)[] ? ArrayType extends XataArrayFile ? ForwardNullable<O[K], XataArrayFile[]> : M extends SelectableColumn<NonNullable<ArrayType>> ? ForwardNullable<O[K], NestedValueAtColumn<NonNullable<ArrayType>, M>[]> : unknown : unknown;
|
7488
7601
|
} : unknown : Key extends DataProps<O> ? {
|
7489
|
-
[K in Key]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K],
|
7602
|
+
[K in Key]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K], SelectedPick<NonNullable<O[K]>, ['*']>> : O[K];
|
7490
7603
|
} : Key extends '*' ? {
|
7491
7604
|
[K in StringKeys<O>]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K], Link<NonNullable<O[K]>>> : O[K];
|
7492
7605
|
} : unknown;
|
@@ -7501,7 +7614,7 @@ interface Identifiable {
|
|
7501
7614
|
/**
|
7502
7615
|
* Unique id of this record.
|
7503
7616
|
*/
|
7504
|
-
|
7617
|
+
xata_id: Identifier;
|
7505
7618
|
}
|
7506
7619
|
interface BaseData {
|
7507
7620
|
[key: string]: any;
|
@@ -7510,15 +7623,6 @@ interface BaseData {
|
|
7510
7623
|
* Represents a persisted record from the database.
|
7511
7624
|
*/
|
7512
7625
|
interface XataRecord<OriginalRecord extends XataRecord<any> = XataRecord<any>> extends Identifiable {
|
7513
|
-
/**
|
7514
|
-
* Metadata of this record.
|
7515
|
-
*/
|
7516
|
-
xata: XataRecordMetadata;
|
7517
|
-
/**
|
7518
|
-
* Get metadata of this record.
|
7519
|
-
* @deprecated Use `xata` property instead.
|
7520
|
-
*/
|
7521
|
-
getMetadata(): XataRecordMetadata;
|
7522
7626
|
/**
|
7523
7627
|
* Get an object representation of this record.
|
7524
7628
|
*/
|
@@ -7590,22 +7694,7 @@ interface XataRecord<OriginalRecord extends XataRecord<any> = XataRecord<any>> e
|
|
7590
7694
|
delete(): Promise<Readonly<SelectedPick<OriginalRecord, ['*']>> | null>;
|
7591
7695
|
}
|
7592
7696
|
type Link<Record extends XataRecord> = XataRecord<Record>;
|
7593
|
-
type XataRecordMetadata = {
|
7594
|
-
/**
|
7595
|
-
* Number that is increased every time the record is updated.
|
7596
|
-
*/
|
7597
|
-
version: number;
|
7598
|
-
/**
|
7599
|
-
* Timestamp when the record was created.
|
7600
|
-
*/
|
7601
|
-
createdAt: Date;
|
7602
|
-
/**
|
7603
|
-
* Timestamp when the record was last updated.
|
7604
|
-
*/
|
7605
|
-
updatedAt: Date;
|
7606
|
-
};
|
7607
7697
|
declare function isIdentifiable(x: any): x is Identifiable & Record<string, unknown>;
|
7608
|
-
declare function isXataRecord(x: any): x is XataRecord & Record<string, unknown>;
|
7609
7698
|
type NumericOperator = ExclusiveOr<{
|
7610
7699
|
$increment?: number;
|
7611
7700
|
}, ExclusiveOr<{
|
@@ -7617,9 +7706,9 @@ type NumericOperator = ExclusiveOr<{
|
|
7617
7706
|
}>>>;
|
7618
7707
|
type InputXataFile = Partial<XataArrayFile> | Promise<Partial<XataArrayFile>>;
|
7619
7708
|
type EditableDataFields<T> = T extends XataRecord ? {
|
7620
|
-
|
7709
|
+
xata_id: Identifier;
|
7621
7710
|
} | Identifier : NonNullable<T> extends XataRecord ? {
|
7622
|
-
|
7711
|
+
xata_id: Identifier;
|
7623
7712
|
} | Identifier | null | undefined : T extends Date ? string | Date : NonNullable<T> extends Date ? string | Date | null | undefined : T extends XataFile ? InputXataFile : T extends XataFile[] ? InputXataFile[] : T extends number ? number | NumericOperator : T;
|
7624
7713
|
type EditableData<O extends XataRecord> = Identifiable & Partial<Omit<{
|
7625
7714
|
[K in keyof O]: EditableDataFields<O[K]>;
|
@@ -7627,25 +7716,20 @@ type EditableData<O extends XataRecord> = Identifiable & Partial<Omit<{
|
|
7627
7716
|
type JSONDataFile = {
|
7628
7717
|
[K in keyof XataFile]: XataFile[K] extends Function ? never : XataFile[K];
|
7629
7718
|
};
|
7630
|
-
type JSONDataFields<T> = T extends XataFile ? JSONDataFile : NonNullable<T> extends XataFile ? JSONDataFile | null | undefined : T extends XataRecord ? JSONData<T> : NonNullable<T> extends XataRecord ? JSONData<T> | null | undefined : T extends Date ? string : NonNullable<T> extends Date ? string | null | undefined : T;
|
7719
|
+
type JSONDataFields<T> = T extends null | undefined | void ? null | undefined : T extends XataFile ? JSONDataFile : NonNullable<T> extends XataFile ? JSONDataFile | null | undefined : T extends XataRecord ? JSONData<T> : NonNullable<T> extends XataRecord ? JSONData<T> | null | undefined : T extends Date ? string : NonNullable<T> extends Date ? string | null | undefined : T;
|
7631
7720
|
type JSONDataBase = Identifiable & {
|
7632
7721
|
/**
|
7633
|
-
*
|
7722
|
+
* Timestamp when the record was created.
|
7634
7723
|
*/
|
7635
|
-
|
7636
|
-
|
7637
|
-
|
7638
|
-
|
7639
|
-
|
7640
|
-
|
7641
|
-
|
7642
|
-
|
7643
|
-
|
7644
|
-
/**
|
7645
|
-
* Number that is increased every time the record is updated.
|
7646
|
-
*/
|
7647
|
-
version: number;
|
7648
|
-
};
|
7724
|
+
xata_createdat: string;
|
7725
|
+
/**
|
7726
|
+
* Timestamp when the record was last updated.
|
7727
|
+
*/
|
7728
|
+
xata_updatedat: string;
|
7729
|
+
/**
|
7730
|
+
* Number that is increased every time the record is updated.
|
7731
|
+
*/
|
7732
|
+
xata_version: number;
|
7649
7733
|
};
|
7650
7734
|
type JSONData<O> = JSONDataBase & Partial<Omit<{
|
7651
7735
|
[K in keyof O]: JSONDataFields<O[K]>;
|
@@ -7658,7 +7742,7 @@ type JSONValue<Value> = Value & {
|
|
7658
7742
|
type JSONFilterColumns<Record> = Values<{
|
7659
7743
|
[K in keyof Record]: NonNullable<Record[K]> extends JSONValue<any> ? K extends string ? `${K}->${string}` : never : never;
|
7660
7744
|
}>;
|
7661
|
-
type FilterColumns<T> = ColumnsByValue<T, any
|
7745
|
+
type FilterColumns<T> = ColumnsByValue<T, any>;
|
7662
7746
|
type FilterValueAtColumn<Record, F> = NonNullable<ValueAtColumn<Record, F>> extends JSONValue<any> ? PropertyFilter<any> : Filter<NonNullable<ValueAtColumn<Record, F>>>;
|
7663
7747
|
/**
|
7664
7748
|
* PropertyMatchFilter
|
@@ -7884,18 +7968,15 @@ declare class SearchPlugin<Schemas extends Record<string, XataRecord>> extends X
|
|
7884
7968
|
constructor(db: SchemaPluginResult<Schemas>);
|
7885
7969
|
build(pluginOptions: XataPluginOptions): SearchPluginResult<Schemas>;
|
7886
7970
|
}
|
7887
|
-
type SearchXataRecord<Record extends XataRecord> =
|
7888
|
-
xata: XataRecordMetadata & SearchExtraProperties;
|
7889
|
-
getMetadata: () => XataRecordMetadata & SearchExtraProperties;
|
7890
|
-
};
|
7971
|
+
type SearchXataRecord<Record extends XataRecord> = Record & SearchExtraProperties;
|
7891
7972
|
type SearchExtraProperties = {
|
7892
|
-
|
7893
|
-
|
7973
|
+
xata_table: string;
|
7974
|
+
xata_highlight?: {
|
7894
7975
|
[key: string]: string[] | {
|
7895
7976
|
[key: string]: any;
|
7896
7977
|
};
|
7897
7978
|
};
|
7898
|
-
|
7979
|
+
xata_score?: number;
|
7899
7980
|
};
|
7900
7981
|
type ReturnTable<Table, Tables> = Table extends Tables ? Table : never;
|
7901
7982
|
type ExtractTables<Schemas extends Record<string, BaseData>, Tables extends StringKeys<Schemas>, TableOptions extends GetArrayInnerType<NonNullable<NonNullable<SearchOptions<Schemas, Tables>>['tables']>>> = TableOptions extends `${infer Table}` ? ReturnTable<Table, Tables> : TableOptions extends {
|
@@ -8133,7 +8214,7 @@ type RandomFilterExtended = {
|
|
8133
8214
|
column: '*';
|
8134
8215
|
direction: 'random';
|
8135
8216
|
};
|
8136
|
-
type SortColumns<T extends XataRecord> = ColumnsByValue<T, any
|
8217
|
+
type SortColumns<T extends XataRecord> = ColumnsByValue<T, any>;
|
8137
8218
|
type SortFilterExtended<T extends XataRecord, Columns extends string = SortColumns<T>> = RandomFilterExtended | {
|
8138
8219
|
column: Columns;
|
8139
8220
|
direction?: SortDirection;
|
@@ -8570,10 +8651,10 @@ declare class PageRecordArray<Result extends XataRecord> extends Array<Result> {
|
|
8570
8651
|
* Common interface for performing operations on a table.
|
8571
8652
|
*/
|
8572
8653
|
declare abstract class Repository<Record extends XataRecord> extends Query<Record, Readonly<SelectedPick<Record, ['*']>>> {
|
8573
|
-
abstract create<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8654
|
+
abstract create<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8574
8655
|
ifVersion?: number;
|
8575
8656
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8576
|
-
abstract create(object: Omit<EditableData<Record>, '
|
8657
|
+
abstract create(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8577
8658
|
ifVersion?: number;
|
8578
8659
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8579
8660
|
/**
|
@@ -8583,7 +8664,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8583
8664
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8584
8665
|
* @returns The full persisted record.
|
8585
8666
|
*/
|
8586
|
-
abstract create<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, '
|
8667
|
+
abstract create<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8587
8668
|
ifVersion?: number;
|
8588
8669
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8589
8670
|
/**
|
@@ -8592,7 +8673,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8592
8673
|
* @param object Object containing the column names with their values to be stored in the table.
|
8593
8674
|
* @returns The full persisted record.
|
8594
8675
|
*/
|
8595
|
-
abstract create(id: Identifier, object: Omit<EditableData<Record>, '
|
8676
|
+
abstract create(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8596
8677
|
ifVersion?: number;
|
8597
8678
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8598
8679
|
/**
|
@@ -8601,13 +8682,13 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8601
8682
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8602
8683
|
* @returns Array of the persisted records in order.
|
8603
8684
|
*/
|
8604
|
-
abstract create<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
8685
|
+
abstract create<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8605
8686
|
/**
|
8606
8687
|
* Creates multiple records in the table.
|
8607
8688
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8608
8689
|
* @returns Array of the persisted records in order.
|
8609
8690
|
*/
|
8610
|
-
abstract create(objects: Array<Omit<EditableData<Record>, '
|
8691
|
+
abstract create(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8611
8692
|
/**
|
8612
8693
|
* Queries a single record from the table given its unique id.
|
8613
8694
|
* @param id The unique id.
|
@@ -8831,7 +8912,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8831
8912
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8832
8913
|
* @returns The full persisted record.
|
8833
8914
|
*/
|
8834
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8915
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8835
8916
|
ifVersion?: number;
|
8836
8917
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8837
8918
|
/**
|
@@ -8840,7 +8921,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8840
8921
|
* @param object Object containing the column names with their values to be persisted in the table.
|
8841
8922
|
* @returns The full persisted record.
|
8842
8923
|
*/
|
8843
|
-
abstract createOrUpdate(object: Omit<EditableData<Record>, '
|
8924
|
+
abstract createOrUpdate(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8844
8925
|
ifVersion?: number;
|
8845
8926
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8846
8927
|
/**
|
@@ -8851,7 +8932,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8851
8932
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8852
8933
|
* @returns The full persisted record.
|
8853
8934
|
*/
|
8854
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8935
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8855
8936
|
ifVersion?: number;
|
8856
8937
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8857
8938
|
/**
|
@@ -8861,7 +8942,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8861
8942
|
* @param object The column names and the values to be persisted.
|
8862
8943
|
* @returns The full persisted record.
|
8863
8944
|
*/
|
8864
|
-
abstract createOrUpdate(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8945
|
+
abstract createOrUpdate(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8865
8946
|
ifVersion?: number;
|
8866
8947
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8867
8948
|
/**
|
@@ -8871,14 +8952,14 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8871
8952
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8872
8953
|
* @returns Array of the persisted records.
|
8873
8954
|
*/
|
8874
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
8955
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8875
8956
|
/**
|
8876
8957
|
* Creates or updates a single record. If a record exists with the given id,
|
8877
8958
|
* it will be partially updated, otherwise a new record will be created.
|
8878
8959
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8879
8960
|
* @returns Array of the persisted records.
|
8880
8961
|
*/
|
8881
|
-
abstract createOrUpdate(objects: Array<Omit<EditableData<Record>, '
|
8962
|
+
abstract createOrUpdate(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8882
8963
|
/**
|
8883
8964
|
* Creates or replaces a single record. If a record exists with the given id,
|
8884
8965
|
* it will be replaced, otherwise a new record will be created.
|
@@ -8886,7 +8967,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8886
8967
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8887
8968
|
* @returns The full persisted record.
|
8888
8969
|
*/
|
8889
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8970
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8890
8971
|
ifVersion?: number;
|
8891
8972
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8892
8973
|
/**
|
@@ -8895,7 +8976,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8895
8976
|
* @param object Object containing the column names with their values to be persisted in the table.
|
8896
8977
|
* @returns The full persisted record.
|
8897
8978
|
*/
|
8898
|
-
abstract createOrReplace(object: Omit<EditableData<Record>, '
|
8979
|
+
abstract createOrReplace(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8899
8980
|
ifVersion?: number;
|
8900
8981
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8901
8982
|
/**
|
@@ -8906,7 +8987,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8906
8987
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8907
8988
|
* @returns The full persisted record.
|
8908
8989
|
*/
|
8909
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8990
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8910
8991
|
ifVersion?: number;
|
8911
8992
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8912
8993
|
/**
|
@@ -8916,7 +8997,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8916
8997
|
* @param object The column names and the values to be persisted.
|
8917
8998
|
* @returns The full persisted record.
|
8918
8999
|
*/
|
8919
|
-
abstract createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
9000
|
+
abstract createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8920
9001
|
ifVersion?: number;
|
8921
9002
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8922
9003
|
/**
|
@@ -8926,14 +9007,14 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8926
9007
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8927
9008
|
* @returns Array of the persisted records.
|
8928
9009
|
*/
|
8929
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
9010
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8930
9011
|
/**
|
8931
9012
|
* Creates or replaces a single record. If a record exists with the given id,
|
8932
9013
|
* it will be replaced, otherwise a new record will be created.
|
8933
9014
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8934
9015
|
* @returns Array of the persisted records.
|
8935
9016
|
*/
|
8936
|
-
abstract createOrReplace(objects: Array<Omit<EditableData<Record>, '
|
9017
|
+
abstract createOrReplace(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8937
9018
|
/**
|
8938
9019
|
* Deletes a record given its unique id.
|
8939
9020
|
* @param object An object with a unique id.
|
@@ -9184,10 +9265,10 @@ declare class RestRepository<Record extends XataRecord> extends Query<Record, Se
|
|
9184
9265
|
createOrUpdate(object: EditableData<Record> & Partial<Identifiable>, options?: {
|
9185
9266
|
ifVersion?: number;
|
9186
9267
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9187
|
-
createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, '
|
9268
|
+
createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
9188
9269
|
ifVersion?: number;
|
9189
9270
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
9190
|
-
createOrUpdate(id: Identifier, object: Omit<EditableData<Record>, '
|
9271
|
+
createOrUpdate(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
9191
9272
|
ifVersion?: number;
|
9192
9273
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9193
9274
|
createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<EditableData<Record> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
@@ -9198,10 +9279,10 @@ declare class RestRepository<Record extends XataRecord> extends Query<Record, Se
|
|
9198
9279
|
createOrReplace(object: EditableData<Record> & Partial<Identifiable>, options?: {
|
9199
9280
|
ifVersion?: number;
|
9200
9281
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9201
|
-
createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
9282
|
+
createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
9202
9283
|
ifVersion?: number;
|
9203
9284
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
9204
|
-
createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
9285
|
+
createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
9205
9286
|
ifVersion?: number;
|
9206
9287
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9207
9288
|
createOrReplace<K extends SelectableColumn<Record>>(objects: Array<EditableData<Record> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
@@ -9296,7 +9377,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
|
|
9296
9377
|
} : {
|
9297
9378
|
[K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
|
9298
9379
|
} : never : never;
|
9299
|
-
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 :
|
9380
|
+
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;
|
9300
9381
|
|
9301
9382
|
/**
|
9302
9383
|
* Operator to restrict results to only values that are greater than the given value.
|
@@ -9349,11 +9430,11 @@ declare const le: <T extends ComparableType>(value: T) => ComparableTypeFilter<T
|
|
9349
9430
|
/**
|
9350
9431
|
* Operator to restrict results to only values that are not null.
|
9351
9432
|
*/
|
9352
|
-
declare const exists: <T>(column?: FilterColumns<T>
|
9433
|
+
declare const exists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
9353
9434
|
/**
|
9354
9435
|
* Operator to restrict results to only values that are null.
|
9355
9436
|
*/
|
9356
|
-
declare const notExists: <T>(column?: FilterColumns<T>
|
9437
|
+
declare const notExists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
9357
9438
|
/**
|
9358
9439
|
* Operator to restrict results to only values that start with the given prefix.
|
9359
9440
|
*/
|
@@ -9519,7 +9600,15 @@ type SQLQueryResultArray = {
|
|
9519
9600
|
warning?: string;
|
9520
9601
|
};
|
9521
9602
|
type SQLQueryResult<T, Mode extends SQLResponseType = 'json'> = Mode extends 'json' ? SQLQueryResultJSON<T> : Mode extends 'array' ? SQLQueryResultArray : never;
|
9522
|
-
type
|
9603
|
+
type SQLPluginFunction = <T, Query extends SQLQuery = SQLQuery>(query: Query, ...parameters: any[]) => Promise<SQLQueryResult<T, Query extends SQLQueryParams<any> ? Query['responseType'] extends SQLResponseType ? NonNullable<Query['responseType']> : 'json' : 'json'>>;
|
9604
|
+
type SQLPluginResult = SQLPluginFunction & {
|
9605
|
+
/**
|
9606
|
+
* Connection string to use when connecting to the database.
|
9607
|
+
* It includes the workspace, region, database and branch.
|
9608
|
+
* Connects with the same credentials as the Xata client.
|
9609
|
+
*/
|
9610
|
+
connectionString: string;
|
9611
|
+
};
|
9523
9612
|
declare class SQLPlugin extends XataPlugin {
|
9524
9613
|
build(pluginOptions: XataPluginOptions): SQLPluginResult;
|
9525
9614
|
}
|
@@ -9634,7 +9723,7 @@ type BaseClientOptions = {
|
|
9634
9723
|
clientName?: string;
|
9635
9724
|
xataAgentExtra?: Record<string, string>;
|
9636
9725
|
};
|
9637
|
-
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins
|
9726
|
+
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins) => ClientConstructor<Plugins>;
|
9638
9727
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
9639
9728
|
new <Schemas extends Record<string, XataRecord> = {}>(options?: Partial<BaseClientOptions>, schemaTables?: readonly BaseSchema[]): Omit<{
|
9640
9729
|
db: Awaited<ReturnType<SchemaPlugin<Schemas>['build']>>;
|
@@ -9685,4 +9774,4 @@ declare class XataError extends Error {
|
|
9685
9774
|
constructor(message: string, status: number);
|
9686
9775
|
}
|
9687
9776
|
|
9688
|
-
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 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 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, 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 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 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, 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, upsertRecordWithID, vectorSearchTable };
|
9777
|
+
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, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, 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, 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, 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 };
|