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