@xata.io/client 0.0.0-next.v6c9e627772cbacc1977ba6ba82e6b403ac64c0b2 → 0.0.0-next.v8c789132fcca7e3aac976aa7b9e1cdd929b3ddab
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 +5 -3
- package/dist/index.cjs +53 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +123 -82
- package/dist/index.mjs +52 -53
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -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
|
@@ -1710,6 +1710,9 @@ type Workspace = WorkspaceMeta & {
|
|
1710
1710
|
memberCount: number;
|
1711
1711
|
plan: WorkspacePlan;
|
1712
1712
|
};
|
1713
|
+
type WorkspaceSettings = {
|
1714
|
+
postgresEnabled: boolean;
|
1715
|
+
};
|
1713
1716
|
type WorkspaceMember = {
|
1714
1717
|
userId: UserID;
|
1715
1718
|
fullname: string;
|
@@ -1968,6 +1971,9 @@ type ClusterMetadata = {
|
|
1968
1971
|
* @x-internal true
|
1969
1972
|
*/
|
1970
1973
|
type ClusterUpdateDetails = {
|
1974
|
+
/**
|
1975
|
+
* @pattern ^[Ss][Tt][Oo][Pp]|[Ss][Tt][Aa][Rr][Tt]$
|
1976
|
+
*/
|
1971
1977
|
command: string;
|
1972
1978
|
};
|
1973
1979
|
/**
|
@@ -2001,6 +2007,10 @@ type DatabaseMetadata = {
|
|
2001
2007
|
* @x-internal true
|
2002
2008
|
*/
|
2003
2009
|
defaultClusterID?: string;
|
2010
|
+
/**
|
2011
|
+
* The database is accessible via the Postgres protocol
|
2012
|
+
*/
|
2013
|
+
postgresEnabled?: boolean;
|
2004
2014
|
/**
|
2005
2015
|
* Metadata about the database for display in Xata user interfaces
|
2006
2016
|
*/
|
@@ -2541,6 +2551,62 @@ type DeleteWorkspaceVariables = {
|
|
2541
2551
|
* Delete the workspace with the provided ID
|
2542
2552
|
*/
|
2543
2553
|
declare const deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal) => Promise<undefined>;
|
2554
|
+
type GetWorkspaceSettingsPathParams = {
|
2555
|
+
/**
|
2556
|
+
* Workspace ID
|
2557
|
+
*/
|
2558
|
+
workspaceId: WorkspaceID;
|
2559
|
+
};
|
2560
|
+
type GetWorkspaceSettingsError = ErrorWrapper$1<{
|
2561
|
+
status: 400;
|
2562
|
+
payload: BadRequestError;
|
2563
|
+
} | {
|
2564
|
+
status: 401;
|
2565
|
+
payload: AuthError;
|
2566
|
+
} | {
|
2567
|
+
status: 403;
|
2568
|
+
payload: AuthError;
|
2569
|
+
} | {
|
2570
|
+
status: 404;
|
2571
|
+
payload: SimpleError;
|
2572
|
+
}>;
|
2573
|
+
type GetWorkspaceSettingsVariables = {
|
2574
|
+
pathParams: GetWorkspaceSettingsPathParams;
|
2575
|
+
} & ControlPlaneFetcherExtraProps;
|
2576
|
+
/**
|
2577
|
+
* Retrieve workspace settings from a workspace ID
|
2578
|
+
*/
|
2579
|
+
declare const getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2580
|
+
type UpdateWorkspaceSettingsPathParams = {
|
2581
|
+
/**
|
2582
|
+
* Workspace ID
|
2583
|
+
*/
|
2584
|
+
workspaceId: WorkspaceID;
|
2585
|
+
};
|
2586
|
+
type UpdateWorkspaceSettingsError = ErrorWrapper$1<{
|
2587
|
+
status: 400;
|
2588
|
+
payload: BadRequestError;
|
2589
|
+
} | {
|
2590
|
+
status: 401;
|
2591
|
+
payload: AuthError;
|
2592
|
+
} | {
|
2593
|
+
status: 403;
|
2594
|
+
payload: AuthError;
|
2595
|
+
} | {
|
2596
|
+
status: 404;
|
2597
|
+
payload: SimpleError;
|
2598
|
+
}>;
|
2599
|
+
type UpdateWorkspaceSettingsRequestBody = {
|
2600
|
+
postgresEnabled: boolean;
|
2601
|
+
};
|
2602
|
+
type UpdateWorkspaceSettingsVariables = {
|
2603
|
+
body: UpdateWorkspaceSettingsRequestBody;
|
2604
|
+
pathParams: UpdateWorkspaceSettingsPathParams;
|
2605
|
+
} & ControlPlaneFetcherExtraProps;
|
2606
|
+
/**
|
2607
|
+
* Update workspace settings
|
2608
|
+
*/
|
2609
|
+
declare const updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2544
2610
|
type GetWorkspaceMembersListPathParams = {
|
2545
2611
|
/**
|
2546
2612
|
* Workspace ID
|
@@ -3273,6 +3339,7 @@ type ApplyMigrationRequestBody = {
|
|
3273
3339
|
operations: {
|
3274
3340
|
[key: string]: any;
|
3275
3341
|
}[];
|
3342
|
+
adaptTables?: boolean;
|
3276
3343
|
};
|
3277
3344
|
type ApplyMigrationVariables = {
|
3278
3345
|
body: ApplyMigrationRequestBody;
|
@@ -3449,8 +3516,11 @@ type UpdateDatabaseSettingsError = ErrorWrapper<{
|
|
3449
3516
|
status: 404;
|
3450
3517
|
payload: SimpleError$1;
|
3451
3518
|
}>;
|
3519
|
+
type UpdateDatabaseSettingsRequestBody = {
|
3520
|
+
searchEnabled?: boolean;
|
3521
|
+
};
|
3452
3522
|
type UpdateDatabaseSettingsVariables = {
|
3453
|
-
body
|
3523
|
+
body?: UpdateDatabaseSettingsRequestBody;
|
3454
3524
|
pathParams: UpdateDatabaseSettingsPathParams;
|
3455
3525
|
} & DataPlaneFetcherExtraProps;
|
3456
3526
|
/**
|
@@ -6848,6 +6918,8 @@ declare const operationsByTag: {
|
|
6848
6918
|
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6849
6919
|
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6850
6920
|
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6921
|
+
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6922
|
+
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6851
6923
|
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceMembers>;
|
6852
6924
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6853
6925
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
@@ -7188,8 +7260,9 @@ type schemas_WorkspaceMember = WorkspaceMember;
|
|
7188
7260
|
type schemas_WorkspaceMembers = WorkspaceMembers;
|
7189
7261
|
type schemas_WorkspaceMeta = WorkspaceMeta;
|
7190
7262
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7263
|
+
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7191
7264
|
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 };
|
7265
|
+
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
7266
|
}
|
7194
7267
|
|
7195
7268
|
declare class XataApiPlugin implements XataPlugin {
|
@@ -7440,7 +7513,7 @@ declare class XataFile {
|
|
7440
7513
|
}
|
7441
7514
|
type XataArrayFile = Identifiable & XataFile;
|
7442
7515
|
|
7443
|
-
type SelectableColumn<O, RecursivePath extends any[] = []> = '*' |
|
7516
|
+
type SelectableColumn<O, RecursivePath extends any[] = []> = '*' | DataProps<O> | NestedColumns<O, RecursivePath>;
|
7444
7517
|
type ExpandedColumnNotation = {
|
7445
7518
|
name: string;
|
7446
7519
|
columns?: SelectableColumn<any>[];
|
@@ -7474,7 +7547,7 @@ type SelectedPick<O extends XataRecord, Key extends SelectableColumnWithObjectNo
|
|
7474
7547
|
};
|
7475
7548
|
};
|
7476
7549
|
}>>;
|
7477
|
-
type ValueAtColumn<Object, Key, RecursivePath extends any[] = []> = RecursivePath['length'] extends MAX_RECURSION ? never : Key extends '*' ? Values<Object> : Key extends
|
7550
|
+
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
7551
|
V: ValueAtColumn<Item, V, [...RecursivePath, Item]>;
|
7479
7552
|
} : never : Object[K] : never> : never : never;
|
7480
7553
|
type MAX_RECURSION = 3;
|
@@ -7482,11 +7555,11 @@ type NestedColumns<O, RecursivePath extends any[]> = RecursivePath['length'] ext
|
|
7482
7555
|
[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
7556
|
K>> : never;
|
7484
7557
|
}>, never>;
|
7485
|
-
type DataProps<O> = Exclude<StringKeys<O>, StringKeys<XataRecord
|
7558
|
+
type DataProps<O> = Exclude<StringKeys<O>, StringKeys<Omit<XataRecord, 'xata_id'>>>;
|
7486
7559
|
type NestedValueAtColumn<O, Key extends SelectableColumn<O>> = Key extends `${infer N}.${infer M}` ? N extends DataProps<O> ? {
|
7487
7560
|
[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
7561
|
} : unknown : Key extends DataProps<O> ? {
|
7489
|
-
[K in Key]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K],
|
7562
|
+
[K in Key]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K], SelectedPick<NonNullable<O[K]>, ['*']>> : O[K];
|
7490
7563
|
} : Key extends '*' ? {
|
7491
7564
|
[K in StringKeys<O>]: NonNullable<O[K]> extends XataRecord ? ForwardNullable<O[K], Link<NonNullable<O[K]>>> : O[K];
|
7492
7565
|
} : unknown;
|
@@ -7501,7 +7574,7 @@ interface Identifiable {
|
|
7501
7574
|
/**
|
7502
7575
|
* Unique id of this record.
|
7503
7576
|
*/
|
7504
|
-
|
7577
|
+
xata_id: Identifier;
|
7505
7578
|
}
|
7506
7579
|
interface BaseData {
|
7507
7580
|
[key: string]: any;
|
@@ -7510,15 +7583,6 @@ interface BaseData {
|
|
7510
7583
|
* Represents a persisted record from the database.
|
7511
7584
|
*/
|
7512
7585
|
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
7586
|
/**
|
7523
7587
|
* Get an object representation of this record.
|
7524
7588
|
*/
|
@@ -7590,22 +7654,7 @@ interface XataRecord<OriginalRecord extends XataRecord<any> = XataRecord<any>> e
|
|
7590
7654
|
delete(): Promise<Readonly<SelectedPick<OriginalRecord, ['*']>> | null>;
|
7591
7655
|
}
|
7592
7656
|
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
7657
|
declare function isIdentifiable(x: any): x is Identifiable & Record<string, unknown>;
|
7608
|
-
declare function isXataRecord(x: any): x is XataRecord & Record<string, unknown>;
|
7609
7658
|
type NumericOperator = ExclusiveOr<{
|
7610
7659
|
$increment?: number;
|
7611
7660
|
}, ExclusiveOr<{
|
@@ -7617,9 +7666,9 @@ type NumericOperator = ExclusiveOr<{
|
|
7617
7666
|
}>>>;
|
7618
7667
|
type InputXataFile = Partial<XataArrayFile> | Promise<Partial<XataArrayFile>>;
|
7619
7668
|
type EditableDataFields<T> = T extends XataRecord ? {
|
7620
|
-
|
7669
|
+
xata_id: Identifier;
|
7621
7670
|
} | Identifier : NonNullable<T> extends XataRecord ? {
|
7622
|
-
|
7671
|
+
xata_id: Identifier;
|
7623
7672
|
} | 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
7673
|
type EditableData<O extends XataRecord> = Identifiable & Partial<Omit<{
|
7625
7674
|
[K in keyof O]: EditableDataFields<O[K]>;
|
@@ -7627,25 +7676,20 @@ type EditableData<O extends XataRecord> = Identifiable & Partial<Omit<{
|
|
7627
7676
|
type JSONDataFile = {
|
7628
7677
|
[K in keyof XataFile]: XataFile[K] extends Function ? never : XataFile[K];
|
7629
7678
|
};
|
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;
|
7679
|
+
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
7680
|
type JSONDataBase = Identifiable & {
|
7632
7681
|
/**
|
7633
|
-
*
|
7682
|
+
* Timestamp when the record was created.
|
7634
7683
|
*/
|
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
|
-
};
|
7684
|
+
xata_createdat: string;
|
7685
|
+
/**
|
7686
|
+
* Timestamp when the record was last updated.
|
7687
|
+
*/
|
7688
|
+
xata_updatedat: string;
|
7689
|
+
/**
|
7690
|
+
* Number that is increased every time the record is updated.
|
7691
|
+
*/
|
7692
|
+
xata_version: number;
|
7649
7693
|
};
|
7650
7694
|
type JSONData<O> = JSONDataBase & Partial<Omit<{
|
7651
7695
|
[K in keyof O]: JSONDataFields<O[K]>;
|
@@ -7658,7 +7702,7 @@ type JSONValue<Value> = Value & {
|
|
7658
7702
|
type JSONFilterColumns<Record> = Values<{
|
7659
7703
|
[K in keyof Record]: NonNullable<Record[K]> extends JSONValue<any> ? K extends string ? `${K}->${string}` : never : never;
|
7660
7704
|
}>;
|
7661
|
-
type FilterColumns<T> = ColumnsByValue<T, any
|
7705
|
+
type FilterColumns<T> = ColumnsByValue<T, any>;
|
7662
7706
|
type FilterValueAtColumn<Record, F> = NonNullable<ValueAtColumn<Record, F>> extends JSONValue<any> ? PropertyFilter<any> : Filter<NonNullable<ValueAtColumn<Record, F>>>;
|
7663
7707
|
/**
|
7664
7708
|
* PropertyMatchFilter
|
@@ -7884,18 +7928,15 @@ declare class SearchPlugin<Schemas extends Record<string, XataRecord>> extends X
|
|
7884
7928
|
constructor(db: SchemaPluginResult<Schemas>);
|
7885
7929
|
build(pluginOptions: XataPluginOptions): SearchPluginResult<Schemas>;
|
7886
7930
|
}
|
7887
|
-
type SearchXataRecord<Record extends XataRecord> =
|
7888
|
-
xata: XataRecordMetadata & SearchExtraProperties;
|
7889
|
-
getMetadata: () => XataRecordMetadata & SearchExtraProperties;
|
7890
|
-
};
|
7931
|
+
type SearchXataRecord<Record extends XataRecord> = Record & SearchExtraProperties;
|
7891
7932
|
type SearchExtraProperties = {
|
7892
|
-
|
7893
|
-
|
7933
|
+
xata_table: string;
|
7934
|
+
xata_highlight?: {
|
7894
7935
|
[key: string]: string[] | {
|
7895
7936
|
[key: string]: any;
|
7896
7937
|
};
|
7897
7938
|
};
|
7898
|
-
|
7939
|
+
xata_score?: number;
|
7899
7940
|
};
|
7900
7941
|
type ReturnTable<Table, Tables> = Table extends Tables ? Table : never;
|
7901
7942
|
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 +8174,7 @@ type RandomFilterExtended = {
|
|
8133
8174
|
column: '*';
|
8134
8175
|
direction: 'random';
|
8135
8176
|
};
|
8136
|
-
type SortColumns<T extends XataRecord> = ColumnsByValue<T, any
|
8177
|
+
type SortColumns<T extends XataRecord> = ColumnsByValue<T, any>;
|
8137
8178
|
type SortFilterExtended<T extends XataRecord, Columns extends string = SortColumns<T>> = RandomFilterExtended | {
|
8138
8179
|
column: Columns;
|
8139
8180
|
direction?: SortDirection;
|
@@ -8570,10 +8611,10 @@ declare class PageRecordArray<Result extends XataRecord> extends Array<Result> {
|
|
8570
8611
|
* Common interface for performing operations on a table.
|
8571
8612
|
*/
|
8572
8613
|
declare abstract class Repository<Record extends XataRecord> extends Query<Record, Readonly<SelectedPick<Record, ['*']>>> {
|
8573
|
-
abstract create<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8614
|
+
abstract create<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8574
8615
|
ifVersion?: number;
|
8575
8616
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8576
|
-
abstract create(object: Omit<EditableData<Record>, '
|
8617
|
+
abstract create(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8577
8618
|
ifVersion?: number;
|
8578
8619
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8579
8620
|
/**
|
@@ -8583,7 +8624,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8583
8624
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8584
8625
|
* @returns The full persisted record.
|
8585
8626
|
*/
|
8586
|
-
abstract create<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, '
|
8627
|
+
abstract create<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8587
8628
|
ifVersion?: number;
|
8588
8629
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8589
8630
|
/**
|
@@ -8592,7 +8633,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8592
8633
|
* @param object Object containing the column names with their values to be stored in the table.
|
8593
8634
|
* @returns The full persisted record.
|
8594
8635
|
*/
|
8595
|
-
abstract create(id: Identifier, object: Omit<EditableData<Record>, '
|
8636
|
+
abstract create(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8596
8637
|
ifVersion?: number;
|
8597
8638
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8598
8639
|
/**
|
@@ -8601,13 +8642,13 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8601
8642
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8602
8643
|
* @returns Array of the persisted records in order.
|
8603
8644
|
*/
|
8604
|
-
abstract create<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
8645
|
+
abstract create<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8605
8646
|
/**
|
8606
8647
|
* Creates multiple records in the table.
|
8607
8648
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8608
8649
|
* @returns Array of the persisted records in order.
|
8609
8650
|
*/
|
8610
|
-
abstract create(objects: Array<Omit<EditableData<Record>, '
|
8651
|
+
abstract create(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8611
8652
|
/**
|
8612
8653
|
* Queries a single record from the table given its unique id.
|
8613
8654
|
* @param id The unique id.
|
@@ -8831,7 +8872,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8831
8872
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8832
8873
|
* @returns The full persisted record.
|
8833
8874
|
*/
|
8834
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8875
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8835
8876
|
ifVersion?: number;
|
8836
8877
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8837
8878
|
/**
|
@@ -8840,7 +8881,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8840
8881
|
* @param object Object containing the column names with their values to be persisted in the table.
|
8841
8882
|
* @returns The full persisted record.
|
8842
8883
|
*/
|
8843
|
-
abstract createOrUpdate(object: Omit<EditableData<Record>, '
|
8884
|
+
abstract createOrUpdate(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8844
8885
|
ifVersion?: number;
|
8845
8886
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8846
8887
|
/**
|
@@ -8851,7 +8892,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8851
8892
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8852
8893
|
* @returns The full persisted record.
|
8853
8894
|
*/
|
8854
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8895
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8855
8896
|
ifVersion?: number;
|
8856
8897
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8857
8898
|
/**
|
@@ -8861,7 +8902,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8861
8902
|
* @param object The column names and the values to be persisted.
|
8862
8903
|
* @returns The full persisted record.
|
8863
8904
|
*/
|
8864
|
-
abstract createOrUpdate(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8905
|
+
abstract createOrUpdate(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8865
8906
|
ifVersion?: number;
|
8866
8907
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8867
8908
|
/**
|
@@ -8871,14 +8912,14 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8871
8912
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8872
8913
|
* @returns Array of the persisted records.
|
8873
8914
|
*/
|
8874
|
-
abstract createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
8915
|
+
abstract createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8875
8916
|
/**
|
8876
8917
|
* Creates or updates a single record. If a record exists with the given id,
|
8877
8918
|
* it will be partially updated, otherwise a new record will be created.
|
8878
8919
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8879
8920
|
* @returns Array of the persisted records.
|
8880
8921
|
*/
|
8881
|
-
abstract createOrUpdate(objects: Array<Omit<EditableData<Record>, '
|
8922
|
+
abstract createOrUpdate(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8882
8923
|
/**
|
8883
8924
|
* Creates or replaces a single record. If a record exists with the given id,
|
8884
8925
|
* it will be replaced, otherwise a new record will be created.
|
@@ -8886,7 +8927,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8886
8927
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8887
8928
|
* @returns The full persisted record.
|
8888
8929
|
*/
|
8889
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, '
|
8930
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, columns: K[], options?: {
|
8890
8931
|
ifVersion?: number;
|
8891
8932
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8892
8933
|
/**
|
@@ -8895,7 +8936,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8895
8936
|
* @param object Object containing the column names with their values to be persisted in the table.
|
8896
8937
|
* @returns The full persisted record.
|
8897
8938
|
*/
|
8898
|
-
abstract createOrReplace(object: Omit<EditableData<Record>, '
|
8939
|
+
abstract createOrReplace(object: Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>, options?: {
|
8899
8940
|
ifVersion?: number;
|
8900
8941
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8901
8942
|
/**
|
@@ -8906,7 +8947,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8906
8947
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8907
8948
|
* @returns The full persisted record.
|
8908
8949
|
*/
|
8909
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8950
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
8910
8951
|
ifVersion?: number;
|
8911
8952
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
8912
8953
|
/**
|
@@ -8916,7 +8957,7 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8916
8957
|
* @param object The column names and the values to be persisted.
|
8917
8958
|
* @returns The full persisted record.
|
8918
8959
|
*/
|
8919
|
-
abstract createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
8960
|
+
abstract createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
8920
8961
|
ifVersion?: number;
|
8921
8962
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
8922
8963
|
/**
|
@@ -8926,14 +8967,14 @@ declare abstract class Repository<Record extends XataRecord> extends Query<Recor
|
|
8926
8967
|
* @param columns Array of columns to be returned. If not specified, first level columns will be returned.
|
8927
8968
|
* @returns Array of the persisted records.
|
8928
8969
|
*/
|
8929
|
-
abstract createOrReplace<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, '
|
8970
|
+
abstract createOrReplace<K extends SelectableColumn<Record>>(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
8930
8971
|
/**
|
8931
8972
|
* Creates or replaces a single record. If a record exists with the given id,
|
8932
8973
|
* it will be replaced, otherwise a new record will be created.
|
8933
8974
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
8934
8975
|
* @returns Array of the persisted records.
|
8935
8976
|
*/
|
8936
|
-
abstract createOrReplace(objects: Array<Omit<EditableData<Record>, '
|
8977
|
+
abstract createOrReplace(objects: Array<Omit<EditableData<Record>, 'xata_id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
8937
8978
|
/**
|
8938
8979
|
* Deletes a record given its unique id.
|
8939
8980
|
* @param object An object with a unique id.
|
@@ -9184,10 +9225,10 @@ declare class RestRepository<Record extends XataRecord> extends Query<Record, Se
|
|
9184
9225
|
createOrUpdate(object: EditableData<Record> & Partial<Identifiable>, options?: {
|
9185
9226
|
ifVersion?: number;
|
9186
9227
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9187
|
-
createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, '
|
9228
|
+
createOrUpdate<K extends SelectableColumn<Record>>(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
9188
9229
|
ifVersion?: number;
|
9189
9230
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
9190
|
-
createOrUpdate(id: Identifier, object: Omit<EditableData<Record>, '
|
9231
|
+
createOrUpdate(id: Identifier, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
9191
9232
|
ifVersion?: number;
|
9192
9233
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9193
9234
|
createOrUpdate<K extends SelectableColumn<Record>>(objects: Array<EditableData<Record> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
@@ -9198,10 +9239,10 @@ declare class RestRepository<Record extends XataRecord> extends Query<Record, Se
|
|
9198
9239
|
createOrReplace(object: EditableData<Record> & Partial<Identifiable>, options?: {
|
9199
9240
|
ifVersion?: number;
|
9200
9241
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9201
|
-
createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
9242
|
+
createOrReplace<K extends SelectableColumn<Record>>(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, columns: K[], options?: {
|
9202
9243
|
ifVersion?: number;
|
9203
9244
|
}): Promise<Readonly<SelectedPick<Record, typeof columns>>>;
|
9204
|
-
createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, '
|
9245
|
+
createOrReplace(id: Identifier | undefined, object: Omit<EditableData<Record>, 'xata_id'>, options?: {
|
9205
9246
|
ifVersion?: number;
|
9206
9247
|
}): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
9207
9248
|
createOrReplace<K extends SelectableColumn<Record>>(objects: Array<EditableData<Record> & Partial<Identifiable>>, columns: K[]): Promise<Readonly<SelectedPick<Record, typeof columns>>[]>;
|
@@ -9685,4 +9726,4 @@ declare class XataError extends Error {
|
|
9685
9726
|
constructor(message: string, status: number);
|
9686
9727
|
}
|
9687
9728
|
|
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 };
|
9729
|
+
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 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, 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 };
|