@xata.io/client 0.0.0-alpha.vf45a2df → 0.0.0-alpha.vf4789c2
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/CHANGELOG.md +18 -0
- package/dist/index.cjs +177 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +112 -20
- package/dist/index.mjs +159 -101
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -885,6 +885,9 @@ declare type InviteWorkspaceMemberError = ErrorWrapper<{
|
|
885
885
|
} | {
|
886
886
|
status: 404;
|
887
887
|
payload: SimpleError;
|
888
|
+
} | {
|
889
|
+
status: 409;
|
890
|
+
payload: SimpleError;
|
888
891
|
}>;
|
889
892
|
declare type InviteWorkspaceMemberRequestBody = {
|
890
893
|
email: string;
|
@@ -898,6 +901,35 @@ declare type InviteWorkspaceMemberVariables = {
|
|
898
901
|
* Invite some user to join the workspace with the given role
|
899
902
|
*/
|
900
903
|
declare const inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables) => Promise<WorkspaceInvite>;
|
904
|
+
declare type UpdateWorkspaceMemberInvitePathParams = {
|
905
|
+
workspaceId: WorkspaceID;
|
906
|
+
inviteId: InviteID;
|
907
|
+
};
|
908
|
+
declare type UpdateWorkspaceMemberInviteError = ErrorWrapper<{
|
909
|
+
status: 400;
|
910
|
+
payload: BadRequestError;
|
911
|
+
} | {
|
912
|
+
status: 401;
|
913
|
+
payload: AuthError;
|
914
|
+
} | {
|
915
|
+
status: 404;
|
916
|
+
payload: SimpleError;
|
917
|
+
} | {
|
918
|
+
status: 422;
|
919
|
+
payload: SimpleError;
|
920
|
+
}>;
|
921
|
+
declare type UpdateWorkspaceMemberInviteRequestBody = {
|
922
|
+
role: Role;
|
923
|
+
};
|
924
|
+
declare type UpdateWorkspaceMemberInviteVariables = {
|
925
|
+
body: UpdateWorkspaceMemberInviteRequestBody;
|
926
|
+
pathParams: UpdateWorkspaceMemberInvitePathParams;
|
927
|
+
} & FetcherExtraProps;
|
928
|
+
/**
|
929
|
+
* This operation provides a way to update an existing invite. Updates are performed in-place; they do not
|
930
|
+
* change the invite link, the expiry time, nor do they re-notify the recipient of the invite.
|
931
|
+
*/
|
932
|
+
declare const updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables) => Promise<WorkspaceInvite>;
|
901
933
|
declare type CancelWorkspaceMemberInvitePathParams = {
|
902
934
|
workspaceId: WorkspaceID;
|
903
935
|
inviteId: InviteID;
|
@@ -1851,6 +1883,9 @@ declare type BulkInsertTableRecordsError = ErrorWrapper<{
|
|
1851
1883
|
} | {
|
1852
1884
|
status: 404;
|
1853
1885
|
payload: SimpleError;
|
1886
|
+
} | {
|
1887
|
+
status: 422;
|
1888
|
+
payload: SimpleError;
|
1854
1889
|
}>;
|
1855
1890
|
declare type BulkInsertTableRecordsResponse = {
|
1856
1891
|
recordIDs: string[];
|
@@ -2697,6 +2732,7 @@ declare const operationsByTag: {
|
|
2697
2732
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables) => Promise<undefined>;
|
2698
2733
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables) => Promise<undefined>;
|
2699
2734
|
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables) => Promise<WorkspaceInvite>;
|
2735
|
+
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables) => Promise<WorkspaceInvite>;
|
2700
2736
|
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables) => Promise<undefined>;
|
2701
2737
|
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables) => Promise<undefined>;
|
2702
2738
|
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables) => Promise<undefined>;
|
@@ -2795,6 +2831,7 @@ declare class WorkspaceApi {
|
|
2795
2831
|
updateWorkspaceMemberRole(workspaceId: WorkspaceID, userId: UserID, role: Role): Promise<void>;
|
2796
2832
|
removeWorkspaceMember(workspaceId: WorkspaceID, userId: UserID): Promise<void>;
|
2797
2833
|
inviteWorkspaceMember(workspaceId: WorkspaceID, email: string, role: Role): Promise<WorkspaceInvite>;
|
2834
|
+
updateWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID, role: Role): Promise<WorkspaceInvite>;
|
2798
2835
|
cancelWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID): Promise<void>;
|
2799
2836
|
resendWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID): Promise<void>;
|
2800
2837
|
acceptWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteKey: InviteKey): Promise<void>;
|
@@ -3221,13 +3258,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3221
3258
|
* @param options Additional options to be used when performing the query.
|
3222
3259
|
* @returns An array of records from the database.
|
3223
3260
|
*/
|
3224
|
-
getMany
|
3261
|
+
getMany<Options extends RequiredBy<QueryOptions<Record>, 'columns'>>(options: Options): Promise<RecordArray<SelectedPick<Record, typeof options['columns']>>>;
|
3225
3262
|
/**
|
3226
3263
|
* Performs the query in the database and returns a set of results.
|
3227
3264
|
* @param options Additional options to be used when performing the query.
|
3228
3265
|
* @returns An array of records from the database.
|
3229
3266
|
*/
|
3230
|
-
getMany
|
3267
|
+
getMany(options: OmitBy<QueryOptions<Record>, 'columns'>): Promise<RecordArray<Result>>;
|
3231
3268
|
/**
|
3232
3269
|
* Performs the query in the database and returns all the results.
|
3233
3270
|
* Warning: If there are a large number of results, this method can have performance implications.
|
@@ -3240,18 +3277,18 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3240
3277
|
* @param options Additional options to be used when performing the query.
|
3241
3278
|
* @returns An array of records from the database.
|
3242
3279
|
*/
|
3243
|
-
getAll
|
3280
|
+
getAll<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'> & {
|
3244
3281
|
batchSize?: number;
|
3245
|
-
}): Promise<
|
3282
|
+
}>(options: Options): Promise<SelectedPick<Record, typeof options['columns']>[]>;
|
3246
3283
|
/**
|
3247
3284
|
* Performs the query in the database and returns all the results.
|
3248
3285
|
* Warning: If there are a large number of results, this method can have performance implications.
|
3249
3286
|
* @param options Additional options to be used when performing the query.
|
3250
3287
|
* @returns An array of records from the database.
|
3251
3288
|
*/
|
3252
|
-
getAll
|
3289
|
+
getAll(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'> & {
|
3253
3290
|
batchSize?: number;
|
3254
|
-
}
|
3291
|
+
}): Promise<Result[]>;
|
3255
3292
|
/**
|
3256
3293
|
* Performs the query in the database and returns the first result.
|
3257
3294
|
* @returns The first record that matches the query, or null if no record matched the query.
|
@@ -3262,13 +3299,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3262
3299
|
* @param options Additional options to be used when performing the query.
|
3263
3300
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3264
3301
|
*/
|
3265
|
-
getFirst
|
3302
|
+
getFirst<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'>>(options: Options): Promise<SelectedPick<Record, typeof options['columns']> | null>;
|
3266
3303
|
/**
|
3267
3304
|
* Performs the query in the database and returns the first result.
|
3268
3305
|
* @param options Additional options to be used when performing the query.
|
3269
3306
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3270
3307
|
*/
|
3271
|
-
getFirst
|
3308
|
+
getFirst(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'>): Promise<Result | null>;
|
3272
3309
|
/**
|
3273
3310
|
* Builds a new query object adding a cache TTL in milliseconds.
|
3274
3311
|
* @param ttl The cache TTL in milliseconds.
|
@@ -3390,6 +3427,8 @@ declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
|
3390
3427
|
#private;
|
3391
3428
|
constructor(page: Paginable<any, Result>, overrideRecords?: Result[]);
|
3392
3429
|
static parseConstructorParams(...args: any[]): any[];
|
3430
|
+
toArray(): Result[];
|
3431
|
+
map<U>(callbackfn: (value: Result, index: number, array: Result[]) => U, thisArg?: any): U[];
|
3393
3432
|
/**
|
3394
3433
|
* Retrieve next page of records
|
3395
3434
|
*
|
@@ -3424,20 +3463,20 @@ declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
|
3424
3463
|
* Common interface for performing operations on a table.
|
3425
3464
|
*/
|
3426
3465
|
declare abstract class Repository<Data extends BaseData, Record extends XataRecord = Data & XataRecord> extends Query<Record, Readonly<SelectedPick<Record, ['*']>>> {
|
3427
|
-
abstract create(object: EditableData<Data> & Partial<Identifiable>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3466
|
+
abstract create(object: Omit<EditableData<Data>, 'id'> & Partial<Identifiable>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3428
3467
|
/**
|
3429
3468
|
* Creates a single record in the table with a unique id.
|
3430
3469
|
* @param id The unique id.
|
3431
3470
|
* @param object Object containing the column names with their values to be stored in the table.
|
3432
3471
|
* @returns The full persisted record.
|
3433
3472
|
*/
|
3434
|
-
abstract create(id: string, object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3473
|
+
abstract create(id: string, object: Omit<EditableData<Data>, 'id'>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3435
3474
|
/**
|
3436
3475
|
* Creates multiple records in the table.
|
3437
3476
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
3438
3477
|
* @returns Array of the persisted records.
|
3439
3478
|
*/
|
3440
|
-
abstract create(objects: Array<EditableData<Data> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
3479
|
+
abstract create(objects: Array<Omit<EditableData<Data>, 'id'> & Partial<Identifiable>>): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
3441
3480
|
/**
|
3442
3481
|
* Queries a single record from the table given its unique id.
|
3443
3482
|
* @param id The unique id.
|
@@ -3495,7 +3534,7 @@ declare abstract class Repository<Data extends BaseData, Record extends XataReco
|
|
3495
3534
|
* @param object The column names and the values to be persisted.
|
3496
3535
|
* @returns The full persisted record.
|
3497
3536
|
*/
|
3498
|
-
abstract createOrUpdate(id: string, object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3537
|
+
abstract createOrUpdate(id: string, object: Omit<EditableData<Data>, 'id'>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3499
3538
|
/**
|
3500
3539
|
* Creates or updates a single record. If a record exists with the given id,
|
3501
3540
|
* it will be update, otherwise a new record will be created.
|
@@ -3547,6 +3586,7 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3547
3586
|
table: string;
|
3548
3587
|
db: SchemaPluginResult<any>;
|
3549
3588
|
pluginOptions: XataPluginOptions;
|
3589
|
+
schemaTables?: Table[];
|
3550
3590
|
});
|
3551
3591
|
create(object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3552
3592
|
create(recordId: string, object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
@@ -3570,6 +3610,59 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3570
3610
|
query<Result extends XataRecord>(query: Query<Record, Result>): Promise<Page<Record, Result>>;
|
3571
3611
|
}
|
3572
3612
|
|
3613
|
+
declare type BaseSchema = {
|
3614
|
+
name: string;
|
3615
|
+
columns: readonly ({
|
3616
|
+
name: string;
|
3617
|
+
type: Column['type'];
|
3618
|
+
} | {
|
3619
|
+
name: string;
|
3620
|
+
type: 'link';
|
3621
|
+
link: {
|
3622
|
+
table: string;
|
3623
|
+
};
|
3624
|
+
} | {
|
3625
|
+
name: string;
|
3626
|
+
type: 'object';
|
3627
|
+
columns: {
|
3628
|
+
name: string;
|
3629
|
+
type: string;
|
3630
|
+
}[];
|
3631
|
+
})[];
|
3632
|
+
};
|
3633
|
+
declare type SchemaInference<T extends readonly BaseSchema[]> = T extends never[] ? Record<string, Record<string, any>> : T extends readonly unknown[] ? T[number] extends {
|
3634
|
+
name: string;
|
3635
|
+
columns: readonly unknown[];
|
3636
|
+
} ? {
|
3637
|
+
[K in T[number]['name']]: TableType<T[number], K>;
|
3638
|
+
} : never : never;
|
3639
|
+
declare type TableType<Tables, TableName> = Tables & {
|
3640
|
+
name: TableName;
|
3641
|
+
} extends infer Table ? Table extends {
|
3642
|
+
name: string;
|
3643
|
+
columns: infer Columns;
|
3644
|
+
} ? Columns extends readonly unknown[] ? Columns[number] extends {
|
3645
|
+
name: string;
|
3646
|
+
type: string;
|
3647
|
+
} ? Identifiable & {
|
3648
|
+
[K in Columns[number]['name']]?: PropertyType<Tables, Columns[number], K>;
|
3649
|
+
} : never : never : never : never;
|
3650
|
+
declare type PropertyType<Tables, Properties, PropertyName> = Properties & {
|
3651
|
+
name: PropertyName;
|
3652
|
+
} extends infer Property ? Property extends {
|
3653
|
+
name: string;
|
3654
|
+
type: infer Type;
|
3655
|
+
link?: {
|
3656
|
+
table: infer LinkedTable;
|
3657
|
+
};
|
3658
|
+
columns?: infer ObjectColumns;
|
3659
|
+
} ? (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 'object' ? ObjectColumns extends readonly unknown[] ? ObjectColumns[number] extends {
|
3660
|
+
name: string;
|
3661
|
+
type: string;
|
3662
|
+
} ? {
|
3663
|
+
[K in ObjectColumns[number]['name']]?: PropertyType<Tables, ObjectColumns[number], K>;
|
3664
|
+
} : never : never : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : never) | null : never : never;
|
3665
|
+
|
3573
3666
|
/**
|
3574
3667
|
* Operator to restrict results to only values that are greater than the given value.
|
3575
3668
|
*/
|
@@ -3653,8 +3746,7 @@ declare type SchemaPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3653
3746
|
};
|
3654
3747
|
declare class SchemaPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3655
3748
|
#private;
|
3656
|
-
|
3657
|
-
constructor(tableNames?: string[] | undefined);
|
3749
|
+
constructor(schemaTables?: Schemas.Table[]);
|
3658
3750
|
build(pluginOptions: XataPluginOptions): SchemaPluginResult<Schemas>;
|
3659
3751
|
}
|
3660
3752
|
|
@@ -3682,7 +3774,7 @@ declare type SearchPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3682
3774
|
declare class SearchPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3683
3775
|
#private;
|
3684
3776
|
private db;
|
3685
|
-
constructor(db: SchemaPluginResult<Schemas
|
3777
|
+
constructor(db: SchemaPluginResult<Schemas>, schemaTables?: Schemas.Table[]);
|
3686
3778
|
build({ getFetchProps }: XataPluginOptions): SearchPluginResult<Schemas>;
|
3687
3779
|
}
|
3688
3780
|
declare type SearchXataRecord = XataRecord<SearchExtraProperties>;
|
@@ -3713,15 +3805,15 @@ declare type BaseClientOptions = {
|
|
3713
3805
|
};
|
3714
3806
|
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins | undefined) => ClientConstructor<Plugins>;
|
3715
3807
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
3716
|
-
new <
|
3717
|
-
db: Awaited<ReturnType<SchemaPlugin<
|
3718
|
-
search: Awaited<ReturnType<SearchPlugin<
|
3808
|
+
new <T extends readonly BaseSchema[]>(options?: Partial<BaseClientOptions>, schemaTables?: T): Omit<{
|
3809
|
+
db: Awaited<ReturnType<SchemaPlugin<SchemaInference<NonNullable<typeof schemaTables>>>['build']>>;
|
3810
|
+
search: Awaited<ReturnType<SearchPlugin<SchemaInference<NonNullable<typeof schemaTables>>>['build']>>;
|
3719
3811
|
}, keyof Plugins> & {
|
3720
3812
|
[Key in StringKeys<NonNullable<Plugins>>]: Awaited<ReturnType<NonNullable<Plugins>[Key]['build']>>;
|
3721
3813
|
};
|
3722
3814
|
}
|
3723
3815
|
declare const BaseClient_base: ClientConstructor<{}>;
|
3724
|
-
declare class BaseClient extends BaseClient_base<
|
3816
|
+
declare class BaseClient extends BaseClient_base<[]> {
|
3725
3817
|
}
|
3726
3818
|
|
3727
3819
|
declare type BranchResolutionOptions = {
|
@@ -3740,4 +3832,4 @@ declare class XataError extends Error {
|
|
3740
3832
|
constructor(message: string, status: number);
|
3741
3833
|
}
|
3742
3834
|
|
3743
|
-
export { AcceptWorkspaceMemberInviteError, AcceptWorkspaceMemberInvitePathParams, AcceptWorkspaceMemberInviteVariables, AddGitBranchesEntryError, AddGitBranchesEntryPathParams, AddGitBranchesEntryRequestBody, AddGitBranchesEntryResponse, AddGitBranchesEntryVariables, AddTableColumnError, AddTableColumnPathParams, AddTableColumnVariables, BaseClient, BaseClientOptions, BaseData, BulkInsertTableRecordsError, BulkInsertTableRecordsPathParams, BulkInsertTableRecordsRequestBody, BulkInsertTableRecordsResponse, BulkInsertTableRecordsVariables, CacheImpl, CancelWorkspaceMemberInviteError, CancelWorkspaceMemberInvitePathParams, CancelWorkspaceMemberInviteVariables, ClientConstructor, CreateBranchError, CreateBranchPathParams, CreateBranchQueryParams, CreateBranchRequestBody, CreateBranchVariables, CreateDatabaseError, CreateDatabasePathParams, CreateDatabaseRequestBody, CreateDatabaseResponse, CreateDatabaseVariables, CreateTableError, CreateTablePathParams, CreateTableVariables, CreateUserAPIKeyError, CreateUserAPIKeyPathParams, CreateUserAPIKeyResponse, CreateUserAPIKeyVariables, CreateWorkspaceError, CreateWorkspaceVariables, CursorNavigationOptions, DeleteBranchError, DeleteBranchPathParams, DeleteBranchVariables, DeleteColumnError, DeleteColumnPathParams, DeleteColumnVariables, DeleteDatabaseError, DeleteDatabasePathParams, DeleteDatabaseVariables, DeleteRecordError, DeleteRecordPathParams, DeleteRecordVariables, DeleteTableError, DeleteTablePathParams, DeleteTableVariables, DeleteUserAPIKeyError, DeleteUserAPIKeyPathParams, DeleteUserAPIKeyVariables, DeleteUserError, DeleteUserVariables, DeleteWorkspaceError, DeleteWorkspacePathParams, DeleteWorkspaceVariables, EditableData, ExecuteBranchMigrationPlanError, ExecuteBranchMigrationPlanPathParams, ExecuteBranchMigrationPlanRequestBody, ExecuteBranchMigrationPlanVariables, FetchImpl, FetcherExtraProps, GetBranchDetailsError, GetBranchDetailsPathParams, GetBranchDetailsVariables, GetBranchListError, GetBranchListPathParams, GetBranchListVariables, GetBranchMetadataError, GetBranchMetadataPathParams, GetBranchMetadataVariables, GetBranchMigrationHistoryError, GetBranchMigrationHistoryPathParams, GetBranchMigrationHistoryRequestBody, GetBranchMigrationHistoryResponse, GetBranchMigrationHistoryVariables, GetBranchMigrationPlanError, GetBranchMigrationPlanPathParams, GetBranchMigrationPlanVariables, GetBranchStatsError, GetBranchStatsPathParams, GetBranchStatsResponse, GetBranchStatsVariables, GetColumnError, GetColumnPathParams, GetColumnVariables, GetDatabaseListError, GetDatabaseListPathParams, GetDatabaseListVariables, GetGitBranchesMappingError, GetGitBranchesMappingPathParams, GetGitBranchesMappingVariables, GetRecordError, GetRecordPathParams, GetRecordRequestBody, GetRecordVariables, GetTableColumnsError, GetTableColumnsPathParams, GetTableColumnsResponse, GetTableColumnsVariables, GetTableSchemaError, GetTableSchemaPathParams, GetTableSchemaResponse, GetTableSchemaVariables, GetUserAPIKeysError, GetUserAPIKeysResponse, GetUserAPIKeysVariables, GetUserError, GetUserVariables, GetWorkspaceError, GetWorkspaceMembersListError, GetWorkspaceMembersListPathParams, GetWorkspaceMembersListVariables, GetWorkspacePathParams, GetWorkspaceVariables, GetWorkspacesListError, GetWorkspacesListResponse, GetWorkspacesListVariables, Identifiable, InsertRecordError, InsertRecordPathParams, InsertRecordResponse, InsertRecordVariables, InsertRecordWithIDError, InsertRecordWithIDPathParams, InsertRecordWithIDQueryParams, InsertRecordWithIDVariables, InviteWorkspaceMemberError, InviteWorkspaceMemberPathParams, InviteWorkspaceMemberRequestBody, InviteWorkspaceMemberVariables, OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, Paginable, PaginationQueryMeta, Query, QueryTableError, QueryTablePathParams, QueryTableRequestBody, QueryTableVariables, RecordArray, RemoveGitBranchesEntryError, RemoveGitBranchesEntryPathParams, RemoveGitBranchesEntryQueryParams, RemoveGitBranchesEntryVariables, RemoveWorkspaceMemberError, RemoveWorkspaceMemberPathParams, RemoveWorkspaceMemberVariables, Repository, ResendWorkspaceMemberInviteError, ResendWorkspaceMemberInvitePathParams, ResendWorkspaceMemberInviteVariables, ResolveBranchError, ResolveBranchPathParams, ResolveBranchQueryParams, ResolveBranchResponse, ResolveBranchVariables, responses as Responses, RestRepository, SchemaDefinition, SchemaPlugin, SchemaPluginResult, schemas as Schemas, SearchBranchError, SearchBranchPathParams, SearchBranchRequestBody, SearchBranchVariables, SearchOptions, SearchPlugin, SearchPluginResult, SearchTableError, SearchTablePathParams, SearchTableRequestBody, SearchTableVariables, SelectableColumn, SelectedPick, SetTableSchemaError, SetTableSchemaPathParams, SetTableSchemaRequestBody, SetTableSchemaVariables, SimpleCache, SimpleCacheOptions, UpdateBranchMetadataError, UpdateBranchMetadataPathParams, UpdateBranchMetadataVariables, UpdateColumnError, UpdateColumnPathParams, UpdateColumnRequestBody, UpdateColumnVariables, UpdateRecordWithIDError, UpdateRecordWithIDPathParams, UpdateRecordWithIDQueryParams, UpdateRecordWithIDVariables, UpdateTableError, UpdateTablePathParams, UpdateTableRequestBody, UpdateTableVariables, UpdateUserError, UpdateUserVariables, UpdateWorkspaceError, UpdateWorkspaceMemberRoleError, UpdateWorkspaceMemberRolePathParams, UpdateWorkspaceMemberRoleRequestBody, UpdateWorkspaceMemberRoleVariables, UpdateWorkspacePathParams, UpdateWorkspaceVariables, UpsertRecordWithIDError, UpsertRecordWithIDPathParams, UpsertRecordWithIDQueryParams, UpsertRecordWithIDVariables, ValueAtColumn, XataApiClient, XataApiClientOptions, XataApiPlugin, XataError, XataPlugin, XataPluginOptions, XataRecord, acceptWorkspaceMemberInvite, addGitBranchesEntry, addTableColumn, buildClient, bulkInsertTableRecords, cancelWorkspaceMemberInvite, contains, createBranch, createDatabase, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteWorkspace, endsWith, executeBranchMigrationPlan, exists, ge, getAPIKey, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationPlan, getBranchStats, getColumn, getCurrentBranchDetails, getCurrentBranchName, getDatabaseList, getDatabaseURL, getGitBranchesMapping, getRecord, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getWorkspace, getWorkspaceMembersList, getWorkspacesList, gt, gte, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isIdentifiable, isNot, isXataRecord, le, lt, lte, notExists, operationsByTag, pattern, queryTable, removeGitBranchesEntry, removeWorkspaceMember, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, setTableSchema, startsWith, updateBranchMetadata, updateColumn, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberRole, upsertRecordWithID };
|
3835
|
+
export { AcceptWorkspaceMemberInviteError, AcceptWorkspaceMemberInvitePathParams, AcceptWorkspaceMemberInviteVariables, AddGitBranchesEntryError, AddGitBranchesEntryPathParams, AddGitBranchesEntryRequestBody, AddGitBranchesEntryResponse, AddGitBranchesEntryVariables, AddTableColumnError, AddTableColumnPathParams, AddTableColumnVariables, BaseClient, BaseClientOptions, BaseData, BaseSchema, BulkInsertTableRecordsError, BulkInsertTableRecordsPathParams, BulkInsertTableRecordsRequestBody, BulkInsertTableRecordsResponse, BulkInsertTableRecordsVariables, CacheImpl, CancelWorkspaceMemberInviteError, CancelWorkspaceMemberInvitePathParams, CancelWorkspaceMemberInviteVariables, ClientConstructor, CreateBranchError, CreateBranchPathParams, CreateBranchQueryParams, CreateBranchRequestBody, CreateBranchVariables, CreateDatabaseError, CreateDatabasePathParams, CreateDatabaseRequestBody, CreateDatabaseResponse, CreateDatabaseVariables, CreateTableError, CreateTablePathParams, CreateTableVariables, CreateUserAPIKeyError, CreateUserAPIKeyPathParams, CreateUserAPIKeyResponse, CreateUserAPIKeyVariables, CreateWorkspaceError, CreateWorkspaceVariables, CursorNavigationOptions, DeleteBranchError, DeleteBranchPathParams, DeleteBranchVariables, DeleteColumnError, DeleteColumnPathParams, DeleteColumnVariables, DeleteDatabaseError, DeleteDatabasePathParams, DeleteDatabaseVariables, DeleteRecordError, DeleteRecordPathParams, DeleteRecordVariables, DeleteTableError, DeleteTablePathParams, DeleteTableVariables, DeleteUserAPIKeyError, DeleteUserAPIKeyPathParams, DeleteUserAPIKeyVariables, DeleteUserError, DeleteUserVariables, DeleteWorkspaceError, DeleteWorkspacePathParams, DeleteWorkspaceVariables, EditableData, ExecuteBranchMigrationPlanError, ExecuteBranchMigrationPlanPathParams, ExecuteBranchMigrationPlanRequestBody, ExecuteBranchMigrationPlanVariables, FetchImpl, FetcherExtraProps, GetBranchDetailsError, GetBranchDetailsPathParams, GetBranchDetailsVariables, GetBranchListError, GetBranchListPathParams, GetBranchListVariables, GetBranchMetadataError, GetBranchMetadataPathParams, GetBranchMetadataVariables, GetBranchMigrationHistoryError, GetBranchMigrationHistoryPathParams, GetBranchMigrationHistoryRequestBody, GetBranchMigrationHistoryResponse, GetBranchMigrationHistoryVariables, GetBranchMigrationPlanError, GetBranchMigrationPlanPathParams, GetBranchMigrationPlanVariables, GetBranchStatsError, GetBranchStatsPathParams, GetBranchStatsResponse, GetBranchStatsVariables, GetColumnError, GetColumnPathParams, GetColumnVariables, GetDatabaseListError, GetDatabaseListPathParams, GetDatabaseListVariables, GetGitBranchesMappingError, GetGitBranchesMappingPathParams, GetGitBranchesMappingVariables, GetRecordError, GetRecordPathParams, GetRecordRequestBody, GetRecordVariables, GetTableColumnsError, GetTableColumnsPathParams, GetTableColumnsResponse, GetTableColumnsVariables, GetTableSchemaError, GetTableSchemaPathParams, GetTableSchemaResponse, GetTableSchemaVariables, GetUserAPIKeysError, GetUserAPIKeysResponse, GetUserAPIKeysVariables, GetUserError, GetUserVariables, GetWorkspaceError, GetWorkspaceMembersListError, GetWorkspaceMembersListPathParams, GetWorkspaceMembersListVariables, GetWorkspacePathParams, GetWorkspaceVariables, GetWorkspacesListError, GetWorkspacesListResponse, GetWorkspacesListVariables, Identifiable, InsertRecordError, InsertRecordPathParams, InsertRecordResponse, InsertRecordVariables, InsertRecordWithIDError, InsertRecordWithIDPathParams, InsertRecordWithIDQueryParams, InsertRecordWithIDVariables, InviteWorkspaceMemberError, InviteWorkspaceMemberPathParams, InviteWorkspaceMemberRequestBody, InviteWorkspaceMemberVariables, Link, OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, Paginable, PaginationQueryMeta, Query, QueryTableError, QueryTablePathParams, QueryTableRequestBody, QueryTableVariables, RecordArray, RemoveGitBranchesEntryError, RemoveGitBranchesEntryPathParams, RemoveGitBranchesEntryQueryParams, RemoveGitBranchesEntryVariables, RemoveWorkspaceMemberError, RemoveWorkspaceMemberPathParams, RemoveWorkspaceMemberVariables, Repository, ResendWorkspaceMemberInviteError, ResendWorkspaceMemberInvitePathParams, ResendWorkspaceMemberInviteVariables, ResolveBranchError, ResolveBranchPathParams, ResolveBranchQueryParams, ResolveBranchResponse, ResolveBranchVariables, responses as Responses, RestRepository, SchemaDefinition, SchemaInference, SchemaPlugin, SchemaPluginResult, schemas as Schemas, SearchBranchError, SearchBranchPathParams, SearchBranchRequestBody, SearchBranchVariables, SearchOptions, SearchPlugin, SearchPluginResult, SearchTableError, SearchTablePathParams, SearchTableRequestBody, SearchTableVariables, SelectableColumn, SelectedPick, SetTableSchemaError, SetTableSchemaPathParams, SetTableSchemaRequestBody, SetTableSchemaVariables, SimpleCache, SimpleCacheOptions, UpdateBranchMetadataError, UpdateBranchMetadataPathParams, UpdateBranchMetadataVariables, UpdateColumnError, UpdateColumnPathParams, UpdateColumnRequestBody, UpdateColumnVariables, UpdateRecordWithIDError, UpdateRecordWithIDPathParams, UpdateRecordWithIDQueryParams, UpdateRecordWithIDVariables, UpdateTableError, UpdateTablePathParams, UpdateTableRequestBody, UpdateTableVariables, UpdateUserError, UpdateUserVariables, UpdateWorkspaceError, UpdateWorkspaceMemberInviteError, UpdateWorkspaceMemberInvitePathParams, UpdateWorkspaceMemberInviteRequestBody, UpdateWorkspaceMemberInviteVariables, UpdateWorkspaceMemberRoleError, UpdateWorkspaceMemberRolePathParams, UpdateWorkspaceMemberRoleRequestBody, UpdateWorkspaceMemberRoleVariables, UpdateWorkspacePathParams, UpdateWorkspaceVariables, UpsertRecordWithIDError, UpsertRecordWithIDPathParams, UpsertRecordWithIDQueryParams, UpsertRecordWithIDVariables, ValueAtColumn, XataApiClient, XataApiClientOptions, XataApiPlugin, XataError, XataPlugin, XataPluginOptions, XataRecord, acceptWorkspaceMemberInvite, addGitBranchesEntry, addTableColumn, buildClient, bulkInsertTableRecords, cancelWorkspaceMemberInvite, contains, createBranch, createDatabase, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteWorkspace, endsWith, executeBranchMigrationPlan, exists, ge, getAPIKey, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationPlan, getBranchStats, getColumn, getCurrentBranchDetails, getCurrentBranchName, getDatabaseList, getDatabaseURL, getGitBranchesMapping, getRecord, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getWorkspace, getWorkspaceMembersList, getWorkspacesList, gt, gte, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isIdentifiable, isNot, isXataRecord, le, lt, lte, notExists, operationsByTag, pattern, queryTable, removeGitBranchesEntry, removeWorkspaceMember, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, setTableSchema, startsWith, updateBranchMetadata, updateColumn, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, upsertRecordWithID };
|