@xata.io/client 0.0.0-alpha.vfaf51aa → 0.0.0-alpha.vfb22b4f
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 +12 -0
- package/README.md +41 -35
- package/Usage.md +129 -114
- package/dist/index.cjs +184 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +85 -19
- package/dist/index.mjs +166 -125
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
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,
|
@@ -1845,6 +1851,9 @@ declare type BulkInsertTableRecordsError = ErrorWrapper<{
|
|
1845
1851
|
} | {
|
1846
1852
|
status: 404;
|
1847
1853
|
payload: SimpleError;
|
1854
|
+
} | {
|
1855
|
+
status: 422;
|
1856
|
+
payload: SimpleError;
|
1848
1857
|
}>;
|
1849
1858
|
declare type BulkInsertTableRecordsResponse = {
|
1850
1859
|
recordIDs: string[];
|
@@ -2625,6 +2634,7 @@ declare type SearchTableError = ErrorWrapper<{
|
|
2625
2634
|
declare type SearchTableRequestBody = {
|
2626
2635
|
query: string;
|
2627
2636
|
fuzziness?: FuzzinessExpression;
|
2637
|
+
prefix?: PrefixExpression;
|
2628
2638
|
filter?: FilterExpression;
|
2629
2639
|
highlight?: HighlightExpression;
|
2630
2640
|
};
|
@@ -3214,13 +3224,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3214
3224
|
* @param options Additional options to be used when performing the query.
|
3215
3225
|
* @returns An array of records from the database.
|
3216
3226
|
*/
|
3217
|
-
getMany
|
3227
|
+
getMany<Options extends RequiredBy<QueryOptions<Record>, 'columns'>>(options: Options): Promise<RecordArray<SelectedPick<Record, typeof options['columns']>>>;
|
3218
3228
|
/**
|
3219
3229
|
* Performs the query in the database and returns a set of results.
|
3220
3230
|
* @param options Additional options to be used when performing the query.
|
3221
3231
|
* @returns An array of records from the database.
|
3222
3232
|
*/
|
3223
|
-
getMany
|
3233
|
+
getMany(options: OmitBy<QueryOptions<Record>, 'columns'>): Promise<RecordArray<Result>>;
|
3224
3234
|
/**
|
3225
3235
|
* Performs the query in the database and returns all the results.
|
3226
3236
|
* Warning: If there are a large number of results, this method can have performance implications.
|
@@ -3233,18 +3243,18 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3233
3243
|
* @param options Additional options to be used when performing the query.
|
3234
3244
|
* @returns An array of records from the database.
|
3235
3245
|
*/
|
3236
|
-
getAll
|
3246
|
+
getAll<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'> & {
|
3237
3247
|
batchSize?: number;
|
3238
|
-
}): Promise<
|
3248
|
+
}>(options: Options): Promise<SelectedPick<Record, typeof options['columns']>[]>;
|
3239
3249
|
/**
|
3240
3250
|
* Performs the query in the database and returns all the results.
|
3241
3251
|
* Warning: If there are a large number of results, this method can have performance implications.
|
3242
3252
|
* @param options Additional options to be used when performing the query.
|
3243
3253
|
* @returns An array of records from the database.
|
3244
3254
|
*/
|
3245
|
-
getAll
|
3255
|
+
getAll(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'> & {
|
3246
3256
|
batchSize?: number;
|
3247
|
-
}
|
3257
|
+
}): Promise<Result[]>;
|
3248
3258
|
/**
|
3249
3259
|
* Performs the query in the database and returns the first result.
|
3250
3260
|
* @returns The first record that matches the query, or null if no record matched the query.
|
@@ -3255,13 +3265,13 @@ declare class Query<Record extends XataRecord, Result extends XataRecord = Recor
|
|
3255
3265
|
* @param options Additional options to be used when performing the query.
|
3256
3266
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3257
3267
|
*/
|
3258
|
-
getFirst
|
3268
|
+
getFirst<Options extends RequiredBy<OmitBy<QueryOptions<Record>, 'pagination'>, 'columns'>>(options: Options): Promise<SelectedPick<Record, typeof options['columns']> | null>;
|
3259
3269
|
/**
|
3260
3270
|
* Performs the query in the database and returns the first result.
|
3261
3271
|
* @param options Additional options to be used when performing the query.
|
3262
3272
|
* @returns The first record that matches the query, or null if no record matched the query.
|
3263
3273
|
*/
|
3264
|
-
getFirst
|
3274
|
+
getFirst(options: OmitBy<QueryOptions<Record>, 'columns' | 'pagination'>): Promise<Result | null>;
|
3265
3275
|
/**
|
3266
3276
|
* Builds a new query object adding a cache TTL in milliseconds.
|
3267
3277
|
* @param ttl The cache TTL in milliseconds.
|
@@ -3382,6 +3392,9 @@ declare function isCursorPaginationOptions(options: Record<string, unknown> | un
|
|
3382
3392
|
declare class RecordArray<Result extends XataRecord> extends Array<Result> {
|
3383
3393
|
#private;
|
3384
3394
|
constructor(page: Paginable<any, Result>, overrideRecords?: Result[]);
|
3395
|
+
static parseConstructorParams(...args: any[]): any[];
|
3396
|
+
toArray(): Result[];
|
3397
|
+
map<U>(callbackfn: (value: Result, index: number, array: Result[]) => U, thisArg?: any): U[];
|
3385
3398
|
/**
|
3386
3399
|
* Retrieve next page of records
|
3387
3400
|
*
|
@@ -3539,10 +3552,11 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3539
3552
|
table: string;
|
3540
3553
|
db: SchemaPluginResult<any>;
|
3541
3554
|
pluginOptions: XataPluginOptions;
|
3555
|
+
schemaTables?: Table[];
|
3542
3556
|
});
|
3543
|
-
create(object: EditableData<Data>): Promise<SelectedPick<Record, ['*']
|
3544
|
-
create(recordId: string, object: EditableData<Data>): Promise<SelectedPick<Record, ['*']
|
3545
|
-
create(objects: EditableData<Data>[]): Promise<SelectedPick<Record, ['*']
|
3557
|
+
create(object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3558
|
+
create(recordId: string, object: EditableData<Data>): Promise<Readonly<SelectedPick<Record, ['*']>>>;
|
3559
|
+
create(objects: EditableData<Data>[]): Promise<Readonly<SelectedPick<Record, ['*']>>[]>;
|
3546
3560
|
read(recordId: string): Promise<SelectedPick<Record, ['*']> | null>;
|
3547
3561
|
read(recordIds: string[]): Promise<Array<Readonly<SelectedPick<Record, ['*']>>>>;
|
3548
3562
|
read(object: Identifiable): Promise<SelectedPick<Record, ['*']> | null>;
|
@@ -3562,6 +3576,59 @@ declare class RestRepository<Data extends BaseData, Record extends XataRecord =
|
|
3562
3576
|
query<Result extends XataRecord>(query: Query<Record, Result>): Promise<Page<Record, Result>>;
|
3563
3577
|
}
|
3564
3578
|
|
3579
|
+
declare type BaseSchema = {
|
3580
|
+
name: string;
|
3581
|
+
columns: readonly ({
|
3582
|
+
name: string;
|
3583
|
+
type: Column['type'];
|
3584
|
+
} | {
|
3585
|
+
name: string;
|
3586
|
+
type: 'link';
|
3587
|
+
link: {
|
3588
|
+
table: string;
|
3589
|
+
};
|
3590
|
+
} | {
|
3591
|
+
name: string;
|
3592
|
+
type: 'object';
|
3593
|
+
columns: {
|
3594
|
+
name: string;
|
3595
|
+
type: string;
|
3596
|
+
}[];
|
3597
|
+
})[];
|
3598
|
+
};
|
3599
|
+
declare type SchemaInference<T extends readonly BaseSchema[]> = T extends never[] ? Record<string, Record<string, any>> : T extends readonly unknown[] ? T[number] extends {
|
3600
|
+
name: string;
|
3601
|
+
columns: readonly unknown[];
|
3602
|
+
} ? {
|
3603
|
+
[K in T[number]['name']]: TableType<T[number], K>;
|
3604
|
+
} : never : never;
|
3605
|
+
declare type TableType<Tables, TableName> = Tables & {
|
3606
|
+
name: TableName;
|
3607
|
+
} extends infer Table ? Table extends {
|
3608
|
+
name: string;
|
3609
|
+
columns: infer Columns;
|
3610
|
+
} ? Columns extends readonly unknown[] ? Columns[number] extends {
|
3611
|
+
name: string;
|
3612
|
+
type: string;
|
3613
|
+
} ? Identifiable & {
|
3614
|
+
[K in Columns[number]['name']]?: PropertyType<Tables, Columns[number], K>;
|
3615
|
+
} : never : never : never : never;
|
3616
|
+
declare type PropertyType<Tables, Properties, PropertyName> = Properties & {
|
3617
|
+
name: PropertyName;
|
3618
|
+
} extends infer Property ? Property extends {
|
3619
|
+
name: string;
|
3620
|
+
type: infer Type;
|
3621
|
+
link?: {
|
3622
|
+
table: infer LinkedTable;
|
3623
|
+
};
|
3624
|
+
columns?: infer ObjectColumns;
|
3625
|
+
} ? (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 {
|
3626
|
+
name: string;
|
3627
|
+
type: string;
|
3628
|
+
} ? {
|
3629
|
+
[K in ObjectColumns[number]['name']]?: PropertyType<Tables, ObjectColumns[number], K>;
|
3630
|
+
} : never : never : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : never) | null : never : never;
|
3631
|
+
|
3565
3632
|
/**
|
3566
3633
|
* Operator to restrict results to only values that are greater than the given value.
|
3567
3634
|
*/
|
@@ -3645,8 +3712,7 @@ declare type SchemaPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3645
3712
|
};
|
3646
3713
|
declare class SchemaPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3647
3714
|
#private;
|
3648
|
-
|
3649
|
-
constructor(tableNames?: string[] | undefined);
|
3715
|
+
constructor(schemaTables?: Schemas.Table[]);
|
3650
3716
|
build(pluginOptions: XataPluginOptions): SchemaPluginResult<Schemas>;
|
3651
3717
|
}
|
3652
3718
|
|
@@ -3674,7 +3740,7 @@ declare type SearchPluginResult<Schemas extends Record<string, BaseData>> = {
|
|
3674
3740
|
declare class SearchPlugin<Schemas extends Record<string, BaseData>> extends XataPlugin {
|
3675
3741
|
#private;
|
3676
3742
|
private db;
|
3677
|
-
constructor(db: SchemaPluginResult<Schemas
|
3743
|
+
constructor(db: SchemaPluginResult<Schemas>, schemaTables?: Schemas.Table[]);
|
3678
3744
|
build({ getFetchProps }: XataPluginOptions): SearchPluginResult<Schemas>;
|
3679
3745
|
}
|
3680
3746
|
declare type SearchXataRecord = XataRecord<SearchExtraProperties>;
|
@@ -3705,15 +3771,15 @@ declare type BaseClientOptions = {
|
|
3705
3771
|
};
|
3706
3772
|
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins | undefined) => ClientConstructor<Plugins>;
|
3707
3773
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
3708
|
-
new <
|
3709
|
-
db: Awaited<ReturnType<SchemaPlugin<
|
3710
|
-
search: Awaited<ReturnType<SearchPlugin<
|
3774
|
+
new <T extends readonly BaseSchema[]>(options?: Partial<BaseClientOptions>, schemaTables?: T): Omit<{
|
3775
|
+
db: Awaited<ReturnType<SchemaPlugin<SchemaInference<NonNullable<typeof schemaTables>>>['build']>>;
|
3776
|
+
search: Awaited<ReturnType<SearchPlugin<SchemaInference<NonNullable<typeof schemaTables>>>['build']>>;
|
3711
3777
|
}, keyof Plugins> & {
|
3712
3778
|
[Key in StringKeys<NonNullable<Plugins>>]: Awaited<ReturnType<NonNullable<Plugins>[Key]['build']>>;
|
3713
3779
|
};
|
3714
3780
|
}
|
3715
3781
|
declare const BaseClient_base: ClientConstructor<{}>;
|
3716
|
-
declare class BaseClient extends BaseClient_base<
|
3782
|
+
declare class BaseClient extends BaseClient_base<[]> {
|
3717
3783
|
}
|
3718
3784
|
|
3719
3785
|
declare type BranchResolutionOptions = {
|
@@ -3732,4 +3798,4 @@ declare class XataError extends Error {
|
|
3732
3798
|
constructor(message: string, status: number);
|
3733
3799
|
}
|
3734
3800
|
|
3735
|
-
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 };
|
3801
|
+
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, 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 };
|