@xata.io/client 0.13.3 → 0.15.0
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 +32 -0
- package/README.md +41 -35
- package/Usage.md +129 -114
- package/dist/index.cjs +187 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +122 -23
- package/dist/index.mjs +169 -127
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -4
- package/LICENSE +0 -201
package/dist/index.d.ts
CHANGED
@@ -282,6 +282,10 @@ declare type SortOrder = 'asc' | 'desc';
|
|
282
282
|
* @minimum 0
|
283
283
|
*/
|
284
284
|
declare type FuzzinessExpression = number;
|
285
|
+
/**
|
286
|
+
* If the prefix type is set to "disabled" (the default), the search only matches full words. If the prefix type is set to "phrase", the search will return results that match prefixes of the search phrase.
|
287
|
+
*/
|
288
|
+
declare type PrefixExpression = 'phrase' | 'disabled';
|
285
289
|
/**
|
286
290
|
* @minProperties 1
|
287
291
|
*/
|
@@ -433,6 +437,7 @@ type schemas_ColumnMigration = ColumnMigration;
|
|
433
437
|
type schemas_SortExpression = SortExpression;
|
434
438
|
type schemas_SortOrder = SortOrder;
|
435
439
|
type schemas_FuzzinessExpression = FuzzinessExpression;
|
440
|
+
type schemas_PrefixExpression = PrefixExpression;
|
436
441
|
type schemas_FilterExpression = FilterExpression;
|
437
442
|
type schemas_HighlightExpression = HighlightExpression;
|
438
443
|
type schemas_FilterList = FilterList;
|
@@ -488,6 +493,7 @@ declare namespace schemas {
|
|
488
493
|
schemas_SortExpression as SortExpression,
|
489
494
|
schemas_SortOrder as SortOrder,
|
490
495
|
schemas_FuzzinessExpression as FuzzinessExpression,
|
496
|
+
schemas_PrefixExpression as PrefixExpression,
|
491
497
|
schemas_FilterExpression as FilterExpression,
|
492
498
|
schemas_HighlightExpression as HighlightExpression,
|
493
499
|
schemas_FilterList as FilterList,
|
@@ -879,6 +885,9 @@ declare type InviteWorkspaceMemberError = ErrorWrapper<{
|
|
879
885
|
} | {
|
880
886
|
status: 404;
|
881
887
|
payload: SimpleError;
|
888
|
+
} | {
|
889
|
+
status: 409;
|
890
|
+
payload: SimpleError;
|
882
891
|
}>;
|
883
892
|
declare type InviteWorkspaceMemberRequestBody = {
|
884
893
|
email: string;
|
@@ -892,6 +901,35 @@ declare type InviteWorkspaceMemberVariables = {
|
|
892
901
|
* Invite some user to join the workspace with the given role
|
893
902
|
*/
|
894
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>;
|
895
933
|
declare type CancelWorkspaceMemberInvitePathParams = {
|
896
934
|
workspaceId: WorkspaceID;
|
897
935
|
inviteId: InviteID;
|
@@ -1845,6 +1883,9 @@ declare type BulkInsertTableRecordsError = ErrorWrapper<{
|
|
1845
1883
|
} | {
|
1846
1884
|
status: 404;
|
1847
1885
|
payload: SimpleError;
|
1886
|
+
} | {
|
1887
|
+
status: 422;
|
1888
|
+
payload: SimpleError;
|
1848
1889
|
}>;
|
1849
1890
|
declare type BulkInsertTableRecordsResponse = {
|
1850
1891
|
recordIDs: string[];
|
@@ -2625,6 +2666,7 @@ declare type SearchTableError = ErrorWrapper<{
|
|
2625
2666
|
declare type SearchTableRequestBody = {
|
2626
2667
|
query: string;
|
2627
2668
|
fuzziness?: FuzzinessExpression;
|
2669
|
+
prefix?: PrefixExpression;
|
2628
2670
|
filter?: FilterExpression;
|
2629
2671
|
highlight?: HighlightExpression;
|
2630
2672
|
};
|
@@ -2690,6 +2732,7 @@ declare const operationsByTag: {
|
|
2690
2732
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables) => Promise<undefined>;
|
2691
2733
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables) => Promise<undefined>;
|
2692
2734
|
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables) => Promise<WorkspaceInvite>;
|
2735
|
+
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables) => Promise<WorkspaceInvite>;
|
2693
2736
|
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables) => Promise<undefined>;
|
2694
2737
|
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables) => Promise<undefined>;
|
2695
2738
|
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables) => Promise<undefined>;
|
@@ -2788,6 +2831,7 @@ declare class WorkspaceApi {
|
|
2788
2831
|
updateWorkspaceMemberRole(workspaceId: WorkspaceID, userId: UserID, role: Role): Promise<void>;
|
2789
2832
|
removeWorkspaceMember(workspaceId: WorkspaceID, userId: UserID): Promise<void>;
|
2790
2833
|
inviteWorkspaceMember(workspaceId: WorkspaceID, email: string, role: Role): Promise<WorkspaceInvite>;
|
2834
|
+
updateWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID, role: Role): Promise<WorkspaceInvite>;
|
2791
2835
|
cancelWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID): Promise<void>;
|
2792
2836
|
resendWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteId: InviteID): Promise<void>;
|
2793
2837
|
acceptWorkspaceMemberInvite(workspaceId: WorkspaceID, inviteKey: InviteKey): Promise<void>;
|
@@ -3214,13 +3258,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3214
3258
|
* @param options Additional options to be used when performing the query.
|
3215
3259
|
* @returns An array of records from the database.
|
3216
3260
|
*/
|
3217
|
-
getMany
|
3261
|
+
getMany<Options extends RequiredBy<QueryOptions<Record>, 'columns'>>(options: Options): Promise<RecordArray<SelectedPick<Record, typeof options['columns']>>>;
|
3218
3262
|
/**
|
3219
3263
|
* Performs the query in the database and returns a set of results.
|
3220
3264
|
* @param options Additional options to be used when performing the query.
|
3221
3265
|
* @returns An array of records from the database.
|
3222
3266
|
*/
|
3223
|
-
getMany
|
3267
|
+
getMany(options: OmitBy<QueryOptions<Record>, 'columns'>): Promise<RecordArray<Result>>;
|
3224
3268
|
/**
|
3225
3269
|
* Performs the query in the database and returns all the results.
|
3226
3270
|
* Warning: If there are a large number of results, this method can have performance implications.
|
@@ -3233,18 +3277,18 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3233
3277
|
* @param options Additional options to be used when performing the query.
|
3234
3278
|
* @returns An array of records from the database.
|
3235
3279
|
*/
|
3236
|
-
getAll
|
3280
|
+
getAll<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'> & {
|
3237
3281
|
batchSize?: number;
|
3238
|
-
}): Promise<
|
3282
|
+
}>(options: Options): Promise<SelectedPick<Record, typeof options['columns']>[]>;
|
3239
3283
|
/**
|
3240
3284
|
* Performs the query in the database and returns all the results.
|
3241
3285
|
* Warning: If there are a large number of results, this method can have performance implications.
|
3242
3286
|
* @param options Additional options to be used when performing the query.
|
3243
3287
|
* @returns An array of records from the database.
|
3244
3288
|
*/
|
3245
|
-
getAll
|
3289
|
+
getAll(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'> & {
|
3246
3290
|
batchSize?: number;
|
3247
|
-
}
|
3291
|
+
}): Promise<Result[]>;
|
3248
3292
|
/**
|
3249
3293
|
* Performs the query in the database and returns the first result.
|
3250
3294
|
* @returns The first record that matches the query, or null if no record matched the query.
|
@@ -3255,13 +3299,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3255
3299
|
* @param options Additional options to be used when performing the query.
|
3256
3300
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3257
3301
|
*/
|
3258
|
-
getFirst
|
3302
|
+
getFirst<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'>>(options: Options): Promise<SelectedPick<Record, typeof options['columns']> | null>;
|
3259
3303
|
/**
|
3260
3304
|
* Performs the query in the database and returns the first result.
|
3261
3305
|
* @param options Additional options to be used when performing the query.
|
3262
3306
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3263
3307
|
*/
|
3264
|
-
getFirst
|
3308
|
+
getFirst(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'>): Promise<Result | null>;
|
3265
3309
|
/**
|
3266
3310
|
* Builds a new query object adding a cache TTL in milliseconds.
|
3267
3311
|
* @param ttl The cache TTL in milliseconds.
|
@@ -3383,6 +3427,8 @@ declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
|
3383
3427
|
#private;
|
3384
3428
|
constructor(page: Paginable<any, Result>, overrideRecords?: Result[]);
|
3385
3429
|
static parseConstructorParams(...args: any[]): any[];
|
3430
|
+
toArray(): Result[];
|
3431
|
+
map<U>(callbackfn: (value: Result, index: number, array: Result[]) => U, thisArg?: any): U[];
|
3386
3432
|
/**
|
3387
3433
|
* Retrieve next page of records
|
3388
3434
|
*
|
@@ -3417,20 +3463,20 @@ declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
|
3417
3463
|
* Common interface for performing operations on a table.
|
3418
3464
|
*/
|
3419
3465
|
declare abstract class Repository<Data extends BaseData, Record extends XataRecord = Data & XataRecord> extends Query<Record, Readonly<SelectedPick<Record, ['*']>>> {
|
3420
|
-
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, ['*']>>>;
|
3421
3467
|
/**
|
3422
3468
|
* Creates a single record in the table with a unique id.
|
3423
3469
|
* @param id The unique id.
|
3424
3470
|
* @param object Object containing the column names with their values to be stored in the table.
|
3425
3471
|
* @returns The full persisted record.
|
3426
3472
|
*/
|
3427
|
-
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, ['*']>>>;
|
3428
3474
|
/**
|
3429
3475
|
* Creates multiple records in the table.
|
3430
3476
|
* @param objects Array of objects with the column names and the values to be stored in the table.
|
3431
3477
|
* @returns Array of the persisted records.
|
3432
3478
|
*/
|
3433
|
-
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, ['*']>>[]>;
|
3434
3480
|
/**
|
3435
3481
|
* Queries a single record from the table given its unique id.
|
3436
3482
|
* @param id The unique id.
|
@@ -3488,7 +3534,7 @@ declare abstract class Repository<Data extends BaseData, Record extends XataReco
|
|
3488
3534
|
* @param object The column names and the values to be persisted.
|
3489
3535
|
* @returns The full persisted record.
|
3490
3536
|
*/
|
3491
|
-
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, ['*']>>>;
|
3492
3538
|
/**
|
3493
3539
|
* Creates or updates a single record. If a record exists with the given id,
|
3494
3540
|
* it will be update, otherwise a new record will be created.
|
@@ -3540,10 +3586,11 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3540
3586
|
table: string;
|
3541
3587
|
db: SchemaPluginResult<any>;
|
3542
3588
|
pluginOptions: XataPluginOptions;
|
3589
|
+
schemaTables?: Table[];
|
3543
3590
|
});
|
3544
|
-
create(object: EditableData<Data>): Promise<SelectedPick<Record, ['*']
|
3545
|
-
create(recordId: string, object: EditableData<Data>): Promise<SelectedPick<Record, ['*']
|
3546
|
-
create(objects: EditableData<Data>[]): Promise<SelectedPick<Record, ['*']
|
3591
|
+
create(object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3592
|
+
create(recordId: string, object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3593
|
+
create(objects: EditableData<Data>[]): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
3547
3594
|
read(recordId: string): Promise<SelectedPick<Record, ['*']> | null>;
|
3548
3595
|
read(recordIds: string[]): Promise<Array<Readonly<SelectedPick<Record, ['*']>>>>;
|
3549
3596
|
read(object: Identifiable): Promise<SelectedPick<Record, ['*']> | null>;
|
@@ -3563,6 +3610,59 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3563
3610
|
query<Result extends XataRecord>(query: Query<Record, Result>): Promise<Page<Record, Result>>;
|
3564
3611
|
}
|
3565
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
|
+
|
3566
3666
|
/**
|
3567
3667
|
* Operator to restrict results to only values that are greater than the given value.
|
3568
3668
|
*/
|
@@ -3646,8 +3746,7 @@ declare type SchemaPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3646
3746
|
};
|
3647
3747
|
declare class SchemaPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3648
3748
|
#private;
|
3649
|
-
|
3650
|
-
constructor(tableNames?: string[] | undefined);
|
3749
|
+
constructor(schemaTables?: Schemas.Table[]);
|
3651
3750
|
build(pluginOptions: XataPluginOptions): SchemaPluginResult<Schemas>;
|
3652
3751
|
}
|
3653
3752
|
|
@@ -3675,7 +3774,7 @@ declare type SearchPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3675
3774
|
declare class SearchPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3676
3775
|
#private;
|
3677
3776
|
private db;
|
3678
|
-
constructor(db: SchemaPluginResult<Schemas
|
3777
|
+
constructor(db: SchemaPluginResult<Schemas>, schemaTables?: Schemas.Table[]);
|
3679
3778
|
build({ getFetchProps }: XataPluginOptions): SearchPluginResult<Schemas>;
|
3680
3779
|
}
|
3681
3780
|
declare type SearchXataRecord = XataRecord<SearchExtraProperties>;
|
@@ -3706,15 +3805,15 @@ declare type BaseClientOptions = {
|
|
3706
3805
|
};
|
3707
3806
|
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins | undefined) => ClientConstructor<Plugins>;
|
3708
3807
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
3709
|
-
new <
|
3710
|
-
db: Awaited<ReturnType<SchemaPlugin<
|
3711
|
-
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']>>;
|
3712
3811
|
}, keyof Plugins> & {
|
3713
3812
|
[Key in StringKeys<NonNullable<Plugins>>]: Awaited<ReturnType<NonNullable<Plugins>[Key]['build']>>;
|
3714
3813
|
};
|
3715
3814
|
}
|
3716
3815
|
declare const BaseClient_base: ClientConstructor<{}>;
|
3717
|
-
declare class BaseClient extends BaseClient_base<
|
3816
|
+
declare class BaseClient extends BaseClient_base<[]> {
|
3718
3817
|
}
|
3719
3818
|
|
3720
3819
|
declare type BranchResolutionOptions = {
|
@@ -3733,4 +3832,4 @@ declare class XataError extends Error {
|
|
3733
3832
|
constructor(message: string, status: number);
|
3734
3833
|
}
|
3735
3834
|
|
3736
|
-
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 };
|