@xata.io/client 0.0.0-next.va2d8ec2a91aa05ba703071b545a477e727db67d6 → 0.0.0-next.vb1fd79681a510951394a3f7028704cbfba2e74b6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +17 -3
- package/dist/index.cjs +1865 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +705 -14
- package/dist/index.mjs +1862 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ declare abstract class XataPlugin {
|
|
4
4
|
type XataPluginOptions = ApiExtraProps & {
|
5
5
|
host: HostProvider;
|
6
6
|
tables: Table[];
|
7
|
+
branch: string;
|
7
8
|
};
|
8
9
|
|
9
10
|
type AttributeDictionary = Record<string, string | number | boolean | undefined>;
|
@@ -170,7 +171,6 @@ type Branch = {
|
|
170
171
|
* The cluster where this branch resides. Value of 'shared-cluster' for branches in shared clusters
|
171
172
|
*
|
172
173
|
* @minLength 1
|
173
|
-
* @x-internal true
|
174
174
|
*/
|
175
175
|
clusterID?: string;
|
176
176
|
createdAt: DateTime$1;
|
@@ -180,7 +180,7 @@ type ListBranchesResponse = {
|
|
180
180
|
branches: Branch[];
|
181
181
|
};
|
182
182
|
type DatabaseSettings = {
|
183
|
-
|
183
|
+
searchEnabled: boolean;
|
184
184
|
};
|
185
185
|
/**
|
186
186
|
* @maxLength 255
|
@@ -224,7 +224,7 @@ type ColumnFile = {
|
|
224
224
|
};
|
225
225
|
type Column = {
|
226
226
|
name: string;
|
227
|
-
type:
|
227
|
+
type: string;
|
228
228
|
link?: ColumnLink;
|
229
229
|
vector?: ColumnVector;
|
230
230
|
file?: ColumnFile;
|
@@ -1710,6 +1710,10 @@ type Workspace = WorkspaceMeta & {
|
|
1710
1710
|
memberCount: number;
|
1711
1711
|
plan: WorkspacePlan;
|
1712
1712
|
};
|
1713
|
+
type WorkspaceSettings = {
|
1714
|
+
postgresEnabled: boolean;
|
1715
|
+
dedicatedClusters: boolean;
|
1716
|
+
};
|
1713
1717
|
type WorkspaceMember = {
|
1714
1718
|
userId: UserID;
|
1715
1719
|
fullname: string;
|
@@ -1873,6 +1877,13 @@ type ClusterConfiguration = {
|
|
1873
1877
|
* @format int64
|
1874
1878
|
*/
|
1875
1879
|
replicas?: number;
|
1880
|
+
/**
|
1881
|
+
* @format int64
|
1882
|
+
* @default 1
|
1883
|
+
* @maximum 3
|
1884
|
+
* @minimum 1
|
1885
|
+
*/
|
1886
|
+
instanceCount?: number;
|
1876
1887
|
/**
|
1877
1888
|
* @default false
|
1878
1889
|
*/
|
@@ -1891,7 +1902,7 @@ type ClusterCreateDetails = {
|
|
1891
1902
|
/**
|
1892
1903
|
* @maxLength 63
|
1893
1904
|
* @minLength 1
|
1894
|
-
* @pattern [a-
|
1905
|
+
* @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
|
1895
1906
|
*/
|
1896
1907
|
name: string;
|
1897
1908
|
configuration: ClusterConfiguration;
|
@@ -1943,6 +1954,10 @@ type ClusterConfigurationResponse = {
|
|
1943
1954
|
* @format int64
|
1944
1955
|
*/
|
1945
1956
|
replicas: number;
|
1957
|
+
/**
|
1958
|
+
* @format int64
|
1959
|
+
*/
|
1960
|
+
instanceCount: number;
|
1946
1961
|
/**
|
1947
1962
|
* @default false
|
1948
1963
|
*/
|
@@ -2001,9 +2016,13 @@ type DatabaseMetadata = {
|
|
2001
2016
|
*/
|
2002
2017
|
newMigrations?: boolean;
|
2003
2018
|
/**
|
2004
|
-
*
|
2019
|
+
* The default cluster ID where branches from this database reside. Value of 'shared-cluster' for branches in shared clusters.
|
2005
2020
|
*/
|
2006
2021
|
defaultClusterID?: string;
|
2022
|
+
/**
|
2023
|
+
* The database is accessible via the Postgres protocol
|
2024
|
+
*/
|
2025
|
+
postgresEnabled?: boolean;
|
2007
2026
|
/**
|
2008
2027
|
* Metadata about the database for display in Xata user interfaces
|
2009
2028
|
*/
|
@@ -2544,6 +2563,62 @@ type DeleteWorkspaceVariables = {
|
|
2544
2563
|
* Delete the workspace with the provided ID
|
2545
2564
|
*/
|
2546
2565
|
declare const deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal) => Promise<undefined>;
|
2566
|
+
type GetWorkspaceSettingsPathParams = {
|
2567
|
+
/**
|
2568
|
+
* Workspace ID
|
2569
|
+
*/
|
2570
|
+
workspaceId: WorkspaceID;
|
2571
|
+
};
|
2572
|
+
type GetWorkspaceSettingsError = ErrorWrapper$1<{
|
2573
|
+
status: 400;
|
2574
|
+
payload: BadRequestError;
|
2575
|
+
} | {
|
2576
|
+
status: 401;
|
2577
|
+
payload: AuthError;
|
2578
|
+
} | {
|
2579
|
+
status: 403;
|
2580
|
+
payload: AuthError;
|
2581
|
+
} | {
|
2582
|
+
status: 404;
|
2583
|
+
payload: SimpleError;
|
2584
|
+
}>;
|
2585
|
+
type GetWorkspaceSettingsVariables = {
|
2586
|
+
pathParams: GetWorkspaceSettingsPathParams;
|
2587
|
+
} & ControlPlaneFetcherExtraProps;
|
2588
|
+
/**
|
2589
|
+
* Retrieve workspace settings from a workspace ID
|
2590
|
+
*/
|
2591
|
+
declare const getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2592
|
+
type UpdateWorkspaceSettingsPathParams = {
|
2593
|
+
/**
|
2594
|
+
* Workspace ID
|
2595
|
+
*/
|
2596
|
+
workspaceId: WorkspaceID;
|
2597
|
+
};
|
2598
|
+
type UpdateWorkspaceSettingsError = ErrorWrapper$1<{
|
2599
|
+
status: 400;
|
2600
|
+
payload: BadRequestError;
|
2601
|
+
} | {
|
2602
|
+
status: 401;
|
2603
|
+
payload: AuthError;
|
2604
|
+
} | {
|
2605
|
+
status: 403;
|
2606
|
+
payload: AuthError;
|
2607
|
+
} | {
|
2608
|
+
status: 404;
|
2609
|
+
payload: SimpleError;
|
2610
|
+
}>;
|
2611
|
+
type UpdateWorkspaceSettingsRequestBody = {
|
2612
|
+
postgresEnabled: boolean;
|
2613
|
+
};
|
2614
|
+
type UpdateWorkspaceSettingsVariables = {
|
2615
|
+
body: UpdateWorkspaceSettingsRequestBody;
|
2616
|
+
pathParams: UpdateWorkspaceSettingsPathParams;
|
2617
|
+
} & ControlPlaneFetcherExtraProps;
|
2618
|
+
/**
|
2619
|
+
* Update workspace settings
|
2620
|
+
*/
|
2621
|
+
declare const updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
2547
2622
|
type GetWorkspaceMembersListPathParams = {
|
2548
2623
|
/**
|
2549
2624
|
* Workspace ID
|
@@ -3276,7 +3351,7 @@ type ApplyMigrationRequestBody = {
|
|
3276
3351
|
operations: {
|
3277
3352
|
[key: string]: any;
|
3278
3353
|
}[];
|
3279
|
-
|
3354
|
+
adaptTables?: boolean;
|
3280
3355
|
};
|
3281
3356
|
type ApplyMigrationVariables = {
|
3282
3357
|
body: ApplyMigrationRequestBody;
|
@@ -3315,6 +3390,31 @@ type AdaptTableVariables = {
|
|
3315
3390
|
* Adapt a table to be used from Xata, this will add the Xata metadata fields to the table, making it accessible through the data API.
|
3316
3391
|
*/
|
3317
3392
|
declare const adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3393
|
+
type AdaptAllTablesPathParams = {
|
3394
|
+
/**
|
3395
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3396
|
+
*/
|
3397
|
+
dbBranchName: DBBranchName;
|
3398
|
+
workspace: string;
|
3399
|
+
region: string;
|
3400
|
+
};
|
3401
|
+
type AdaptAllTablesError = ErrorWrapper<{
|
3402
|
+
status: 400;
|
3403
|
+
payload: BadRequestError$1;
|
3404
|
+
} | {
|
3405
|
+
status: 401;
|
3406
|
+
payload: AuthError$1;
|
3407
|
+
} | {
|
3408
|
+
status: 404;
|
3409
|
+
payload: SimpleError$1;
|
3410
|
+
}>;
|
3411
|
+
type AdaptAllTablesVariables = {
|
3412
|
+
pathParams: AdaptAllTablesPathParams;
|
3413
|
+
} & DataPlaneFetcherExtraProps;
|
3414
|
+
/**
|
3415
|
+
* Adapt all xata incompatible tables present in the branch, this will add the Xata metadata fields to the table, making them accessible through the data API.
|
3416
|
+
*/
|
3417
|
+
declare const adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3318
3418
|
type GetBranchMigrationJobStatusPathParams = {
|
3319
3419
|
/**
|
3320
3420
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3453,8 +3553,11 @@ type UpdateDatabaseSettingsError = ErrorWrapper<{
|
|
3453
3553
|
status: 404;
|
3454
3554
|
payload: SimpleError$1;
|
3455
3555
|
}>;
|
3556
|
+
type UpdateDatabaseSettingsRequestBody = {
|
3557
|
+
searchEnabled?: boolean;
|
3558
|
+
};
|
3456
3559
|
type UpdateDatabaseSettingsVariables = {
|
3457
|
-
body
|
3560
|
+
body?: UpdateDatabaseSettingsRequestBody;
|
3458
3561
|
pathParams: UpdateDatabaseSettingsPathParams;
|
3459
3562
|
} & DataPlaneFetcherExtraProps;
|
3460
3563
|
/**
|
@@ -6852,6 +6955,8 @@ declare const operationsByTag: {
|
|
6852
6955
|
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6853
6956
|
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<Workspace>;
|
6854
6957
|
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6958
|
+
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6959
|
+
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceSettings>;
|
6855
6960
|
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal | undefined) => Promise<WorkspaceMembers>;
|
6856
6961
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6857
6962
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
@@ -6859,6 +6964,7 @@ declare const operationsByTag: {
|
|
6859
6964
|
migrations: {
|
6860
6965
|
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6861
6966
|
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6967
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6862
6968
|
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6863
6969
|
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6864
6970
|
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal | undefined) => Promise<MigrationHistoryResponse>;
|
@@ -6993,6 +7099,8 @@ declare function buildProviderString(provider: HostProvider): string;
|
|
6993
7099
|
declare function parseWorkspacesUrlParts(url: string): {
|
6994
7100
|
workspace: string;
|
6995
7101
|
region: string;
|
7102
|
+
database: string;
|
7103
|
+
branch?: string;
|
6996
7104
|
host: HostAliases;
|
6997
7105
|
} | null;
|
6998
7106
|
|
@@ -7192,8 +7300,9 @@ type schemas_WorkspaceMember = WorkspaceMember;
|
|
7192
7300
|
type schemas_WorkspaceMembers = WorkspaceMembers;
|
7193
7301
|
type schemas_WorkspaceMeta = WorkspaceMeta;
|
7194
7302
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7303
|
+
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7195
7304
|
declare namespace schemas {
|
7196
|
-
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_ClusterUpdateMetadata as ClusterUpdateMetadata, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, schemas_DatabaseSettings as DatabaseSettings, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaintenanceConfigResponse as MaintenanceConfigResponse, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MigrationType as MigrationType, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, XataRecord$1 as XataRecord };
|
7305
|
+
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_ClusterUpdateMetadata as ClusterUpdateMetadata, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, schemas_DatabaseSettings as DatabaseSettings, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaintenanceConfigResponse as MaintenanceConfigResponse, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MigrationType as MigrationType, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, schemas_WorkspaceSettings as WorkspaceSettings, XataRecord$1 as XataRecord };
|
7197
7306
|
}
|
7198
7307
|
|
7199
7308
|
declare class XataApiPlugin implements XataPlugin {
|
@@ -7365,6 +7474,580 @@ interface ImageTransformations {
|
|
7365
7474
|
declare function transformImage(url: string, ...transformations: ImageTransformations[]): string;
|
7366
7475
|
declare function transformImage(url: string | undefined, ...transformations: ImageTransformations[]): string | undefined;
|
7367
7476
|
|
7477
|
+
declare class Buffer extends Uint8Array {
|
7478
|
+
/**
|
7479
|
+
* Allocates a new buffer containing the given `str`.
|
7480
|
+
*
|
7481
|
+
* @param str String to store in buffer.
|
7482
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
7483
|
+
*/
|
7484
|
+
constructor(str: string, encoding?: Encoding);
|
7485
|
+
/**
|
7486
|
+
* Allocates a new buffer of `size` octets.
|
7487
|
+
*
|
7488
|
+
* @param size Count of octets to allocate.
|
7489
|
+
*/
|
7490
|
+
constructor(size: number);
|
7491
|
+
/**
|
7492
|
+
* Allocates a new buffer containing the given `array` of octets.
|
7493
|
+
*
|
7494
|
+
* @param array The octets to store.
|
7495
|
+
*/
|
7496
|
+
constructor(array: Uint8Array);
|
7497
|
+
/**
|
7498
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
7499
|
+
*
|
7500
|
+
* @param array
|
7501
|
+
*/
|
7502
|
+
constructor(array: number[]);
|
7503
|
+
/**
|
7504
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
7505
|
+
*
|
7506
|
+
* @param array
|
7507
|
+
* @param encoding
|
7508
|
+
*/
|
7509
|
+
constructor(array: number[], encoding: Encoding);
|
7510
|
+
/**
|
7511
|
+
* Copies the passed `buffer` data onto a new `Buffer` instance.
|
7512
|
+
*
|
7513
|
+
* @param buffer
|
7514
|
+
*/
|
7515
|
+
constructor(buffer: Buffer);
|
7516
|
+
/**
|
7517
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
7518
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
7519
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
7520
|
+
*
|
7521
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
7522
|
+
* @param byteOffset
|
7523
|
+
* @param length
|
7524
|
+
*/
|
7525
|
+
constructor(buffer: ArrayBuffer, byteOffset?: number, length?: number);
|
7526
|
+
/**
|
7527
|
+
* Return JSON representation of the buffer.
|
7528
|
+
*/
|
7529
|
+
toJSON(): {
|
7530
|
+
type: 'Buffer';
|
7531
|
+
data: number[];
|
7532
|
+
};
|
7533
|
+
/**
|
7534
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
7535
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
7536
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
7537
|
+
*
|
7538
|
+
* @param string String to write to `buf`.
|
7539
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
7540
|
+
*/
|
7541
|
+
write(string: string, encoding?: Encoding): number;
|
7542
|
+
/**
|
7543
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
7544
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
7545
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
7546
|
+
*
|
7547
|
+
* @param string String to write to `buf`.
|
7548
|
+
* @param offset Number of bytes to skip before starting to write `string`. Default: `0`.
|
7549
|
+
* @param length Maximum number of bytes to write: Default: `buf.length - offset`.
|
7550
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
7551
|
+
*/
|
7552
|
+
write(string: string, offset?: number, length?: number, encoding?: Encoding): number;
|
7553
|
+
/**
|
7554
|
+
* Decodes the buffer to a string according to the specified character encoding.
|
7555
|
+
* Passing `start` and `end` will decode only a subset of the buffer.
|
7556
|
+
*
|
7557
|
+
* Note that if the encoding is `utf8` and a byte sequence in the input is not valid UTF-8, then each invalid byte
|
7558
|
+
* will be replaced with `U+FFFD`.
|
7559
|
+
*
|
7560
|
+
* @param encoding
|
7561
|
+
* @param start
|
7562
|
+
* @param end
|
7563
|
+
*/
|
7564
|
+
toString(encoding?: Encoding, start?: number, end?: number): string;
|
7565
|
+
/**
|
7566
|
+
* Returns true if this buffer's is equal to the provided buffer, meaning they share the same exact data.
|
7567
|
+
*
|
7568
|
+
* @param otherBuffer
|
7569
|
+
*/
|
7570
|
+
equals(otherBuffer: Buffer): boolean;
|
7571
|
+
/**
|
7572
|
+
* Compares the buffer with `otherBuffer` and returns a number indicating whether the buffer comes before, after,
|
7573
|
+
* or is the same as `otherBuffer` in sort order. Comparison is based on the actual sequence of bytes in each
|
7574
|
+
* buffer.
|
7575
|
+
*
|
7576
|
+
* - `0` is returned if `otherBuffer` is the same as this buffer.
|
7577
|
+
* - `1` is returned if `otherBuffer` should come before this buffer when sorted.
|
7578
|
+
* - `-1` is returned if `otherBuffer` should come after this buffer when sorted.
|
7579
|
+
*
|
7580
|
+
* @param otherBuffer The buffer to compare to.
|
7581
|
+
* @param targetStart The offset within `otherBuffer` at which to begin comparison.
|
7582
|
+
* @param targetEnd The offset within `otherBuffer` at which to end comparison (exclusive).
|
7583
|
+
* @param sourceStart The offset within this buffer at which to begin comparison.
|
7584
|
+
* @param sourceEnd The offset within this buffer at which to end the comparison (exclusive).
|
7585
|
+
*/
|
7586
|
+
compare(otherBuffer: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
|
7587
|
+
/**
|
7588
|
+
* Copies data from a region of this buffer to a region in `targetBuffer`, even if the `targetBuffer` memory
|
7589
|
+
* region overlaps with this buffer.
|
7590
|
+
*
|
7591
|
+
* @param targetBuffer The target buffer to copy into.
|
7592
|
+
* @param targetStart The offset within `targetBuffer` at which to begin writing.
|
7593
|
+
* @param sourceStart The offset within this buffer at which to begin copying.
|
7594
|
+
* @param sourceEnd The offset within this buffer at which to end copying (exclusive).
|
7595
|
+
*/
|
7596
|
+
copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
|
7597
|
+
/**
|
7598
|
+
* Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start`
|
7599
|
+
* and `end` indices. This is the same behavior as `buf.subarray()`.
|
7600
|
+
*
|
7601
|
+
* This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of Buffer. To copy
|
7602
|
+
* the slice, use `Uint8Array.prototype.slice()`.
|
7603
|
+
*
|
7604
|
+
* @param start
|
7605
|
+
* @param end
|
7606
|
+
*/
|
7607
|
+
slice(start?: number, end?: number): Buffer;
|
7608
|
+
/**
|
7609
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
7610
|
+
* of accuracy. Behavior is undefined when value is anything other than an unsigned integer.
|
7611
|
+
*
|
7612
|
+
* @param value Number to write.
|
7613
|
+
* @param offset Number of bytes to skip before starting to write.
|
7614
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
7615
|
+
* @param noAssert
|
7616
|
+
* @returns `offset` plus the number of bytes written.
|
7617
|
+
*/
|
7618
|
+
writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
7619
|
+
/**
|
7620
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits of
|
7621
|
+
* accuracy. Behavior is undefined when `value` is anything other than an unsigned integer.
|
7622
|
+
*
|
7623
|
+
* @param value Number to write.
|
7624
|
+
* @param offset Number of bytes to skip before starting to write.
|
7625
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
7626
|
+
* @param noAssert
|
7627
|
+
* @returns `offset` plus the number of bytes written.
|
7628
|
+
*/
|
7629
|
+
writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
7630
|
+
/**
|
7631
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
7632
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
7633
|
+
*
|
7634
|
+
* @param value Number to write.
|
7635
|
+
* @param offset Number of bytes to skip before starting to write.
|
7636
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
7637
|
+
* @param noAssert
|
7638
|
+
* @returns `offset` plus the number of bytes written.
|
7639
|
+
*/
|
7640
|
+
writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
7641
|
+
/**
|
7642
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits
|
7643
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
7644
|
+
*
|
7645
|
+
* @param value Number to write.
|
7646
|
+
* @param offset Number of bytes to skip before starting to write.
|
7647
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
7648
|
+
* @param noAssert
|
7649
|
+
* @returns `offset` plus the number of bytes written.
|
7650
|
+
*/
|
7651
|
+
writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
7652
|
+
/**
|
7653
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
7654
|
+
* unsigned, little-endian integer supporting up to 48 bits of accuracy.
|
7655
|
+
*
|
7656
|
+
* @param offset Number of bytes to skip before starting to read.
|
7657
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
7658
|
+
* @param noAssert
|
7659
|
+
*/
|
7660
|
+
readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
7661
|
+
/**
|
7662
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
7663
|
+
* unsigned, big-endian integer supporting up to 48 bits of accuracy.
|
7664
|
+
*
|
7665
|
+
* @param offset Number of bytes to skip before starting to read.
|
7666
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
7667
|
+
* @param noAssert
|
7668
|
+
*/
|
7669
|
+
readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
7670
|
+
/**
|
7671
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
7672
|
+
* little-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
7673
|
+
*
|
7674
|
+
* @param offset Number of bytes to skip before starting to read.
|
7675
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
7676
|
+
* @param noAssert
|
7677
|
+
*/
|
7678
|
+
readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
7679
|
+
/**
|
7680
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
7681
|
+
* big-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
7682
|
+
*
|
7683
|
+
* @param offset Number of bytes to skip before starting to read.
|
7684
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
7685
|
+
* @param noAssert
|
7686
|
+
*/
|
7687
|
+
readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
7688
|
+
/**
|
7689
|
+
* Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
|
7690
|
+
*
|
7691
|
+
* @param offset Number of bytes to skip before starting to read.
|
7692
|
+
* @param noAssert
|
7693
|
+
*/
|
7694
|
+
readUInt8(offset: number, noAssert?: boolean): number;
|
7695
|
+
/**
|
7696
|
+
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
|
7697
|
+
*
|
7698
|
+
* @param offset Number of bytes to skip before starting to read.
|
7699
|
+
* @param noAssert
|
7700
|
+
*/
|
7701
|
+
readUInt16LE(offset: number, noAssert?: boolean): number;
|
7702
|
+
/**
|
7703
|
+
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified `offset`.
|
7704
|
+
*
|
7705
|
+
* @param offset Number of bytes to skip before starting to read.
|
7706
|
+
* @param noAssert
|
7707
|
+
*/
|
7708
|
+
readUInt16BE(offset: number, noAssert?: boolean): number;
|
7709
|
+
/**
|
7710
|
+
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified `offset`.
|
7711
|
+
*
|
7712
|
+
* @param offset Number of bytes to skip before starting to read.
|
7713
|
+
* @param noAssert
|
7714
|
+
*/
|
7715
|
+
readUInt32LE(offset: number, noAssert?: boolean): number;
|
7716
|
+
/**
|
7717
|
+
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified `offset`.
|
7718
|
+
*
|
7719
|
+
* @param offset Number of bytes to skip before starting to read.
|
7720
|
+
* @param noAssert
|
7721
|
+
*/
|
7722
|
+
readUInt32BE(offset: number, noAssert?: boolean): number;
|
7723
|
+
/**
|
7724
|
+
* Reads a signed 8-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer` are interpreted
|
7725
|
+
* as two's complement signed values.
|
7726
|
+
*
|
7727
|
+
* @param offset Number of bytes to skip before starting to read.
|
7728
|
+
* @param noAssert
|
7729
|
+
*/
|
7730
|
+
readInt8(offset: number, noAssert?: boolean): number;
|
7731
|
+
/**
|
7732
|
+
* Reads a signed, little-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
7733
|
+
* are interpreted as two's complement signed values.
|
7734
|
+
*
|
7735
|
+
* @param offset Number of bytes to skip before starting to read.
|
7736
|
+
* @param noAssert
|
7737
|
+
*/
|
7738
|
+
readInt16LE(offset: number, noAssert?: boolean): number;
|
7739
|
+
/**
|
7740
|
+
* Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
7741
|
+
* are interpreted as two's complement signed values.
|
7742
|
+
*
|
7743
|
+
* @param offset Number of bytes to skip before starting to read.
|
7744
|
+
* @param noAssert
|
7745
|
+
*/
|
7746
|
+
readInt16BE(offset: number, noAssert?: boolean): number;
|
7747
|
+
/**
|
7748
|
+
* Reads a signed, little-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
7749
|
+
* are interpreted as two's complement signed values.
|
7750
|
+
*
|
7751
|
+
* @param offset Number of bytes to skip before starting to read.
|
7752
|
+
* @param noAssert
|
7753
|
+
*/
|
7754
|
+
readInt32LE(offset: number, noAssert?: boolean): number;
|
7755
|
+
/**
|
7756
|
+
* Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
7757
|
+
* are interpreted as two's complement signed values.
|
7758
|
+
*
|
7759
|
+
* @param offset Number of bytes to skip before starting to read.
|
7760
|
+
* @param noAssert
|
7761
|
+
*/
|
7762
|
+
readInt32BE(offset: number, noAssert?: boolean): number;
|
7763
|
+
/**
|
7764
|
+
* Interprets `buf` as an array of unsigned 16-bit integers and swaps the byte order in-place.
|
7765
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 2.
|
7766
|
+
*/
|
7767
|
+
swap16(): Buffer;
|
7768
|
+
/**
|
7769
|
+
* Interprets `buf` as an array of unsigned 32-bit integers and swaps the byte order in-place.
|
7770
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 4.
|
7771
|
+
*/
|
7772
|
+
swap32(): Buffer;
|
7773
|
+
/**
|
7774
|
+
* Interprets `buf` as an array of unsigned 64-bit integers and swaps the byte order in-place.
|
7775
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 8.
|
7776
|
+
*/
|
7777
|
+
swap64(): Buffer;
|
7778
|
+
/**
|
7779
|
+
* Swaps two octets.
|
7780
|
+
*
|
7781
|
+
* @param b
|
7782
|
+
* @param n
|
7783
|
+
* @param m
|
7784
|
+
*/
|
7785
|
+
private _swap;
|
7786
|
+
/**
|
7787
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid unsigned 8-bit integer.
|
7788
|
+
* Behavior is undefined when `value` is anything other than an unsigned 8-bit integer.
|
7789
|
+
*
|
7790
|
+
* @param value Number to write.
|
7791
|
+
* @param offset Number of bytes to skip before starting to write.
|
7792
|
+
* @param noAssert
|
7793
|
+
* @returns `offset` plus the number of bytes written.
|
7794
|
+
*/
|
7795
|
+
writeUInt8(value: number, offset: number, noAssert?: boolean): number;
|
7796
|
+
/**
|
7797
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit
|
7798
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
7799
|
+
*
|
7800
|
+
* @param value Number to write.
|
7801
|
+
* @param offset Number of bytes to skip before starting to write.
|
7802
|
+
* @param noAssert
|
7803
|
+
* @returns `offset` plus the number of bytes written.
|
7804
|
+
*/
|
7805
|
+
writeUInt16LE(value: number | string, offset: number, noAssert?: boolean): number;
|
7806
|
+
/**
|
7807
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit
|
7808
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
7809
|
+
*
|
7810
|
+
* @param value Number to write.
|
7811
|
+
* @param offset Number of bytes to skip before starting to write.
|
7812
|
+
* @param noAssert
|
7813
|
+
* @returns `offset` plus the number of bytes written.
|
7814
|
+
*/
|
7815
|
+
writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
7816
|
+
/**
|
7817
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit
|
7818
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
7819
|
+
*
|
7820
|
+
* @param value Number to write.
|
7821
|
+
* @param offset Number of bytes to skip before starting to write.
|
7822
|
+
* @param noAssert
|
7823
|
+
* @returns `offset` plus the number of bytes written.
|
7824
|
+
*/
|
7825
|
+
writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
7826
|
+
/**
|
7827
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit
|
7828
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
7829
|
+
*
|
7830
|
+
* @param value Number to write.
|
7831
|
+
* @param offset Number of bytes to skip before starting to write.
|
7832
|
+
* @param noAssert
|
7833
|
+
* @returns `offset` plus the number of bytes written.
|
7834
|
+
*/
|
7835
|
+
writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
7836
|
+
/**
|
7837
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid signed 8-bit integer.
|
7838
|
+
* Behavior is undefined when `value` is anything other than a signed 8-bit integer.
|
7839
|
+
*
|
7840
|
+
* @param value Number to write.
|
7841
|
+
* @param offset Number of bytes to skip before starting to write.
|
7842
|
+
* @param noAssert
|
7843
|
+
* @returns `offset` plus the number of bytes written.
|
7844
|
+
*/
|
7845
|
+
writeInt8(value: number, offset: number, noAssert?: boolean): number;
|
7846
|
+
/**
|
7847
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit
|
7848
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
7849
|
+
*
|
7850
|
+
* @param value Number to write.
|
7851
|
+
* @param offset Number of bytes to skip before starting to write.
|
7852
|
+
* @param noAssert
|
7853
|
+
* @returns `offset` plus the number of bytes written.
|
7854
|
+
*/
|
7855
|
+
writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
|
7856
|
+
/**
|
7857
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit
|
7858
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
7859
|
+
*
|
7860
|
+
* @param value Number to write.
|
7861
|
+
* @param offset Number of bytes to skip before starting to write.
|
7862
|
+
* @param noAssert
|
7863
|
+
* @returns `offset` plus the number of bytes written.
|
7864
|
+
*/
|
7865
|
+
writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
7866
|
+
/**
|
7867
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit
|
7868
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
7869
|
+
*
|
7870
|
+
* @param value Number to write.
|
7871
|
+
* @param offset Number of bytes to skip before starting to write.
|
7872
|
+
* @param noAssert
|
7873
|
+
* @returns `offset` plus the number of bytes written.
|
7874
|
+
*/
|
7875
|
+
writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
7876
|
+
/**
|
7877
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit
|
7878
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
7879
|
+
*
|
7880
|
+
* @param value Number to write.
|
7881
|
+
* @param offset Number of bytes to skip before starting to write.
|
7882
|
+
* @param noAssert
|
7883
|
+
* @returns `offset` plus the number of bytes written.
|
7884
|
+
*/
|
7885
|
+
writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
7886
|
+
/**
|
7887
|
+
* Fills `buf` with the specified `value`. If the `offset` and `end` are not given, the entire `buf` will be
|
7888
|
+
* filled. The `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or integer. If the resulting
|
7889
|
+
* integer is greater than `255` (decimal), then `buf` will be filled with `value & 255`.
|
7890
|
+
*
|
7891
|
+
* If the final write of a `fill()` operation falls on a multi-byte character, then only the bytes of that
|
7892
|
+
* character that fit into `buf` are written.
|
7893
|
+
*
|
7894
|
+
* If `value` contains invalid characters, it is truncated; if no valid fill data remains, an exception is thrown.
|
7895
|
+
*
|
7896
|
+
* @param value
|
7897
|
+
* @param encoding
|
7898
|
+
*/
|
7899
|
+
fill(value: any, offset?: number, end?: number, encoding?: Encoding): this;
|
7900
|
+
/**
|
7901
|
+
* Returns the index of the specified value.
|
7902
|
+
*
|
7903
|
+
* If `value` is:
|
7904
|
+
* - a string, `value` is interpreted according to the character encoding in `encoding`.
|
7905
|
+
* - a `Buffer` or `Uint8Array`, `value` will be used in its entirety. To compare a partial Buffer, use `slice()`.
|
7906
|
+
* - a number, `value` will be interpreted as an unsigned 8-bit integer value between `0` and `255`.
|
7907
|
+
*
|
7908
|
+
* Any other types will throw a `TypeError`.
|
7909
|
+
*
|
7910
|
+
* @param value What to search for.
|
7911
|
+
* @param byteOffset Where to begin searching in `buf`. If negative, then calculated from the end.
|
7912
|
+
* @param encoding If `value` is a string, this is the encoding used to search.
|
7913
|
+
* @returns The index of the first occurrence of `value` in `buf`, or `-1` if not found.
|
7914
|
+
*/
|
7915
|
+
indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
7916
|
+
/**
|
7917
|
+
* Gets the last index of the specified value.
|
7918
|
+
*
|
7919
|
+
* @see indexOf()
|
7920
|
+
* @param value
|
7921
|
+
* @param byteOffset
|
7922
|
+
* @param encoding
|
7923
|
+
*/
|
7924
|
+
lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
7925
|
+
private _bidirectionalIndexOf;
|
7926
|
+
/**
|
7927
|
+
* Equivalent to `buf.indexOf() !== -1`.
|
7928
|
+
*
|
7929
|
+
* @param value
|
7930
|
+
* @param byteOffset
|
7931
|
+
* @param encoding
|
7932
|
+
*/
|
7933
|
+
includes(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): boolean;
|
7934
|
+
/**
|
7935
|
+
* Allocates a new Buffer using an `array` of octet values.
|
7936
|
+
*
|
7937
|
+
* @param array
|
7938
|
+
*/
|
7939
|
+
static from(array: number[]): Buffer;
|
7940
|
+
/**
|
7941
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
7942
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
7943
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
7944
|
+
*
|
7945
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
7946
|
+
* @param byteOffset
|
7947
|
+
* @param length
|
7948
|
+
*/
|
7949
|
+
static from(buffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
7950
|
+
/**
|
7951
|
+
* Copies the passed `buffer` data onto a new Buffer instance.
|
7952
|
+
*
|
7953
|
+
* @param buffer
|
7954
|
+
*/
|
7955
|
+
static from(buffer: Buffer | Uint8Array): Buffer;
|
7956
|
+
/**
|
7957
|
+
* Creates a new Buffer containing the given string `str`. If provided, the `encoding` parameter identifies the
|
7958
|
+
* character encoding.
|
7959
|
+
*
|
7960
|
+
* @param str String to store in buffer.
|
7961
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
7962
|
+
*/
|
7963
|
+
static from(str: string, encoding?: Encoding): Buffer;
|
7964
|
+
/**
|
7965
|
+
* Returns true if `obj` is a Buffer.
|
7966
|
+
*
|
7967
|
+
* @param obj
|
7968
|
+
*/
|
7969
|
+
static isBuffer(obj: any): obj is Buffer;
|
7970
|
+
/**
|
7971
|
+
* Returns true if `encoding` is a supported encoding.
|
7972
|
+
*
|
7973
|
+
* @param encoding
|
7974
|
+
*/
|
7975
|
+
static isEncoding(encoding: string): encoding is Encoding;
|
7976
|
+
/**
|
7977
|
+
* Gives the actual byte length of a string for an encoding. This is not the same as `string.length` since that
|
7978
|
+
* returns the number of characters in the string.
|
7979
|
+
*
|
7980
|
+
* @param string The string to test.
|
7981
|
+
* @param encoding The encoding to use for calculation. Defaults is `utf8`.
|
7982
|
+
*/
|
7983
|
+
static byteLength(string: string | Buffer | ArrayBuffer, encoding?: Encoding): number;
|
7984
|
+
/**
|
7985
|
+
* Returns a Buffer which is the result of concatenating all the buffers in the list together.
|
7986
|
+
*
|
7987
|
+
* - If the list has no items, or if the `totalLength` is 0, then it returns a zero-length buffer.
|
7988
|
+
* - If the list has exactly one item, then the first item is returned.
|
7989
|
+
* - If the list has more than one item, then a new buffer is created.
|
7990
|
+
*
|
7991
|
+
* It is faster to provide the `totalLength` if it is known. However, it will be calculated if not provided at
|
7992
|
+
* a small computational expense.
|
7993
|
+
*
|
7994
|
+
* @param list An array of Buffer objects to concatenate.
|
7995
|
+
* @param totalLength Total length of the buffers when concatenated.
|
7996
|
+
*/
|
7997
|
+
static concat(list: Uint8Array[], totalLength?: number): Buffer;
|
7998
|
+
/**
|
7999
|
+
* The same as `buf1.compare(buf2)`.
|
8000
|
+
*/
|
8001
|
+
static compare(buf1: Uint8Array, buf2: Uint8Array): number;
|
8002
|
+
/**
|
8003
|
+
* Allocates a new buffer of `size` octets.
|
8004
|
+
*
|
8005
|
+
* @param size The number of octets to allocate.
|
8006
|
+
* @param fill If specified, the buffer will be initialized by calling `buf.fill(fill)`, or with zeroes otherwise.
|
8007
|
+
* @param encoding The encoding used for the call to `buf.fill()` while initializing.
|
8008
|
+
*/
|
8009
|
+
static alloc(size: number, fill?: string | Buffer | number, encoding?: Encoding): Buffer;
|
8010
|
+
/**
|
8011
|
+
* Allocates a new buffer of `size` octets without initializing memory. The contents of the buffer are unknown.
|
8012
|
+
*
|
8013
|
+
* @param size
|
8014
|
+
*/
|
8015
|
+
static allocUnsafe(size: number): Buffer;
|
8016
|
+
/**
|
8017
|
+
* Returns true if the given `obj` is an instance of `type`.
|
8018
|
+
*
|
8019
|
+
* @param obj
|
8020
|
+
* @param type
|
8021
|
+
*/
|
8022
|
+
private static _isInstance;
|
8023
|
+
private static _checked;
|
8024
|
+
private static _blitBuffer;
|
8025
|
+
private static _utf8Write;
|
8026
|
+
private static _asciiWrite;
|
8027
|
+
private static _base64Write;
|
8028
|
+
private static _ucs2Write;
|
8029
|
+
private static _hexWrite;
|
8030
|
+
private static _utf8ToBytes;
|
8031
|
+
private static _base64ToBytes;
|
8032
|
+
private static _asciiToBytes;
|
8033
|
+
private static _utf16leToBytes;
|
8034
|
+
private static _hexSlice;
|
8035
|
+
private static _base64Slice;
|
8036
|
+
private static _utf8Slice;
|
8037
|
+
private static _decodeCodePointsArray;
|
8038
|
+
private static _asciiSlice;
|
8039
|
+
private static _latin1Slice;
|
8040
|
+
private static _utf16leSlice;
|
8041
|
+
private static _arrayIndexOf;
|
8042
|
+
private static _checkOffset;
|
8043
|
+
private static _checkInt;
|
8044
|
+
private static _getEncoding;
|
8045
|
+
}
|
8046
|
+
/**
|
8047
|
+
* The encodings that are supported in both native and polyfilled `Buffer` instances.
|
8048
|
+
*/
|
8049
|
+
type Encoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'binary' | 'hex' | 'latin1' | 'base64';
|
8050
|
+
|
7368
8051
|
type XataFileEditableFields = Partial<Pick<XataArrayFile, keyof InputFileEntry>>;
|
7369
8052
|
type XataFileFields = Partial<Pick<XataArrayFile, {
|
7370
8053
|
[K in StringKeys<XataArrayFile>]: XataArrayFile[K] extends Function ? never : K;
|
@@ -9268,7 +9951,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
|
|
9268
9951
|
} : {
|
9269
9952
|
[K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
|
9270
9953
|
} : never : never;
|
9271
|
-
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 :
|
9954
|
+
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;
|
9272
9955
|
|
9273
9956
|
/**
|
9274
9957
|
* Operator to restrict results to only values that are greater than the given value.
|
@@ -9321,11 +10004,11 @@ declare const le: <T extends ComparableType>(value: T) => ComparableTypeFilter<T
|
|
9321
10004
|
/**
|
9322
10005
|
* Operator to restrict results to only values that are not null.
|
9323
10006
|
*/
|
9324
|
-
declare const exists: <T>(column?: FilterColumns<T>
|
10007
|
+
declare const exists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
9325
10008
|
/**
|
9326
10009
|
* Operator to restrict results to only values that are null.
|
9327
10010
|
*/
|
9328
|
-
declare const notExists: <T>(column?: FilterColumns<T>
|
10011
|
+
declare const notExists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
9329
10012
|
/**
|
9330
10013
|
* Operator to restrict results to only values that start with the given prefix.
|
9331
10014
|
*/
|
@@ -9491,7 +10174,15 @@ type SQLQueryResultArray = {
|
|
9491
10174
|
warning?: string;
|
9492
10175
|
};
|
9493
10176
|
type SQLQueryResult<T, Mode extends SQLResponseType = 'json'> = Mode extends 'json' ? SQLQueryResultJSON<T> : Mode extends 'array' ? SQLQueryResultArray : never;
|
9494
|
-
type
|
10177
|
+
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'>>;
|
10178
|
+
type SQLPluginResult = SQLPluginFunction & {
|
10179
|
+
/**
|
10180
|
+
* Connection string to use when connecting to the database.
|
10181
|
+
* It includes the workspace, region, database and branch.
|
10182
|
+
* Connects with the same credentials as the Xata client.
|
10183
|
+
*/
|
10184
|
+
connectionString: string;
|
10185
|
+
};
|
9495
10186
|
declare class SQLPlugin extends XataPlugin {
|
9496
10187
|
build(pluginOptions: XataPluginOptions): SQLPluginResult;
|
9497
10188
|
}
|
@@ -9606,7 +10297,7 @@ type BaseClientOptions = {
|
|
9606
10297
|
clientName?: string;
|
9607
10298
|
xataAgentExtra?: Record<string, string>;
|
9608
10299
|
};
|
9609
|
-
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins
|
10300
|
+
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins) => ClientConstructor<Plugins>;
|
9610
10301
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
9611
10302
|
new <Schemas extends Record<string, XataRecord> = {}>(options?: Partial<BaseClientOptions>, schemaTables?: readonly BaseSchema[]): Omit<{
|
9612
10303
|
db: Awaited<ReturnType<SchemaPlugin<Schemas>['build']>>;
|
@@ -9657,4 +10348,4 @@ declare class XataError extends Error {
|
|
9657
10348
|
constructor(message: string, status: number);
|
9658
10349
|
}
|
9659
10350
|
|
9660
|
-
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, 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 };
|
10351
|
+
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 CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|