@xata.io/client 0.0.0-next.v6c9e627772cbacc1977ba6ba82e6b403ac64c0b2 → 0.0.0-next.v8c789132fcca7e3aac976aa7b9e1cdd929b3ddab
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +5 -3
- package/dist/index.cjs +53 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +123 -82
- package/dist/index.mjs +52 -53
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -526,7 +526,7 @@ function defaultOnOpen(response) {
|
|
526
526
|
}
|
527
527
|
}
|
528
528
|
|
529
|
-
const VERSION = "0.29.
|
529
|
+
const VERSION = "0.29.2";
|
530
530
|
|
531
531
|
class ErrorWithCause extends Error {
|
532
532
|
constructor(message, options) {
|
@@ -738,6 +738,8 @@ async function fetch$1({
|
|
738
738
|
"X-Xata-Client-ID": clientID ?? defaultClientID,
|
739
739
|
"X-Xata-Session-ID": sessionID ?? generateUUID(),
|
740
740
|
"X-Xata-Agent": xataAgent,
|
741
|
+
// Force field rename to xata_ internal properties
|
742
|
+
"X-Features": compact(["feat-internal-field-rename-api=1", customHeaders?.["X-Features"]]).join(" "),
|
741
743
|
...customHeaders,
|
742
744
|
...hostHeader(fullUrl),
|
743
745
|
Authorization: `Bearer ${apiKey}`
|
@@ -1255,6 +1257,8 @@ const deleteWorkspace = (variables, signal) => controlPlaneFetch({
|
|
1255
1257
|
...variables,
|
1256
1258
|
signal
|
1257
1259
|
});
|
1260
|
+
const getWorkspaceSettings = (variables, signal) => controlPlaneFetch({ url: "/workspaces/{workspaceId}/settings", method: "get", ...variables, signal });
|
1261
|
+
const updateWorkspaceSettings = (variables, signal) => controlPlaneFetch({ url: "/workspaces/{workspaceId}/settings", method: "patch", ...variables, signal });
|
1258
1262
|
const getWorkspaceMembersList = (variables, signal) => controlPlaneFetch({ url: "/workspaces/{workspaceId}/members", method: "get", ...variables, signal });
|
1259
1263
|
const updateWorkspaceMemberRole = (variables, signal) => controlPlaneFetch({ url: "/workspaces/{workspaceId}/members/{userId}", method: "put", ...variables, signal });
|
1260
1264
|
const removeWorkspaceMember = (variables, signal) => controlPlaneFetch({
|
@@ -1320,6 +1324,8 @@ const operationsByTag$1 = {
|
|
1320
1324
|
getWorkspace,
|
1321
1325
|
updateWorkspace,
|
1322
1326
|
deleteWorkspace,
|
1327
|
+
getWorkspaceSettings,
|
1328
|
+
updateWorkspaceSettings,
|
1323
1329
|
getWorkspaceMembersList,
|
1324
1330
|
updateWorkspaceMemberRole,
|
1325
1331
|
removeWorkspaceMember
|
@@ -2023,8 +2029,8 @@ cleanFilterConstraint_fn = function(column, value) {
|
|
2023
2029
|
if (columnType === "multiple" && (isString(value) || isStringArray(value))) {
|
2024
2030
|
return { $includes: value };
|
2025
2031
|
}
|
2026
|
-
if (columnType === "link" && isObject(value) && isString(value.
|
2027
|
-
return value.
|
2032
|
+
if (columnType === "link" && isObject(value) && isString(value.xata_id)) {
|
2033
|
+
return value.xata_id;
|
2028
2034
|
}
|
2029
2035
|
return value;
|
2030
2036
|
};
|
@@ -2052,12 +2058,7 @@ const RecordColumnTypes = [
|
|
2052
2058
|
"json"
|
2053
2059
|
];
|
2054
2060
|
function isIdentifiable(x) {
|
2055
|
-
return isObject(x) && isString(x?.
|
2056
|
-
}
|
2057
|
-
function isXataRecord(x) {
|
2058
|
-
const record = x;
|
2059
|
-
const metadata = record?.getMetadata();
|
2060
|
-
return isIdentifiable(x) && isObject(metadata) && typeof metadata.version === "number";
|
2061
|
+
return isObject(x) && isString(x?.xata_id);
|
2061
2062
|
}
|
2062
2063
|
|
2063
2064
|
function isValidExpandedColumn(column) {
|
@@ -2184,11 +2185,14 @@ class RestRepository extends Query {
|
|
2184
2185
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2185
2186
|
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a, b, columns, { createOnly: true, ifVersion });
|
2186
2187
|
}
|
2187
|
-
if (isObject(a) && isString(a.
|
2188
|
-
if (a.
|
2188
|
+
if (isObject(a) && isString(a.xata_id)) {
|
2189
|
+
if (a.xata_id === "")
|
2189
2190
|
throw new Error("The id can't be empty");
|
2190
2191
|
const columns = isValidSelectableColumns(b) ? b : void 0;
|
2191
|
-
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a.
|
2192
|
+
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a.xata_id, { ...a, xata_id: void 0 }, columns, {
|
2193
|
+
createOnly: true,
|
2194
|
+
ifVersion
|
2195
|
+
});
|
2192
2196
|
}
|
2193
2197
|
if (isObject(a)) {
|
2194
2198
|
const columns = isValidSelectableColumns(b) ? b : void 0;
|
@@ -2204,9 +2208,9 @@ class RestRepository extends Query {
|
|
2204
2208
|
if (a.length === 0)
|
2205
2209
|
return [];
|
2206
2210
|
const ids = a.map((item) => extractId(item));
|
2207
|
-
const finalObjects = await this.getAll({ filter: {
|
2211
|
+
const finalObjects = await this.getAll({ filter: { xata_id: { $any: compact(ids) } }, columns });
|
2208
2212
|
const dictionary = finalObjects.reduce((acc, object) => {
|
2209
|
-
acc[object.
|
2213
|
+
acc[object.xata_id] = object;
|
2210
2214
|
return acc;
|
2211
2215
|
}, {});
|
2212
2216
|
return ids.map((id2) => dictionary[id2 ?? ""] ?? null);
|
@@ -2268,7 +2272,7 @@ class RestRepository extends Query {
|
|
2268
2272
|
if (Array.isArray(a)) {
|
2269
2273
|
if (a.length === 0)
|
2270
2274
|
return [];
|
2271
|
-
const existing = await this.read(a, ["
|
2275
|
+
const existing = await this.read(a, ["xata_id"]);
|
2272
2276
|
const updates = a.filter((_item, index) => existing[index] !== null);
|
2273
2277
|
await __privateMethod$2(this, _updateRecords, updateRecords_fn).call(this, updates, {
|
2274
2278
|
ifVersion,
|
@@ -2283,9 +2287,9 @@ class RestRepository extends Query {
|
|
2283
2287
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2284
2288
|
return await __privateMethod$2(this, _updateRecordWithID, updateRecordWithID_fn).call(this, a, b, columns, { ifVersion });
|
2285
2289
|
}
|
2286
|
-
if (isObject(a) && isString(a.
|
2290
|
+
if (isObject(a) && isString(a.xata_id)) {
|
2287
2291
|
const columns = isValidSelectableColumns(b) ? b : void 0;
|
2288
|
-
return await __privateMethod$2(this, _updateRecordWithID, updateRecordWithID_fn).call(this, a.
|
2292
|
+
return await __privateMethod$2(this, _updateRecordWithID, updateRecordWithID_fn).call(this, a.xata_id, { ...a, xata_id: void 0 }, columns, { ifVersion });
|
2289
2293
|
}
|
2290
2294
|
} catch (error) {
|
2291
2295
|
if (error.status === 422)
|
@@ -2334,16 +2338,16 @@ class RestRepository extends Query {
|
|
2334
2338
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2335
2339
|
return await __privateMethod$2(this, _upsertRecordWithID, upsertRecordWithID_fn).call(this, a, b, columns, { ifVersion });
|
2336
2340
|
}
|
2337
|
-
if (isObject(a) && isString(a.
|
2338
|
-
if (a.
|
2341
|
+
if (isObject(a) && isString(a.xata_id)) {
|
2342
|
+
if (a.xata_id === "")
|
2339
2343
|
throw new Error("The id can't be empty");
|
2340
2344
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2341
|
-
return await __privateMethod$2(this, _upsertRecordWithID, upsertRecordWithID_fn).call(this, a.
|
2345
|
+
return await __privateMethod$2(this, _upsertRecordWithID, upsertRecordWithID_fn).call(this, a.xata_id, { ...a, xata_id: void 0 }, columns, { ifVersion });
|
2342
2346
|
}
|
2343
2347
|
if (!isDefined(a) && isObject(b)) {
|
2344
2348
|
return await this.create(b, c);
|
2345
2349
|
}
|
2346
|
-
if (isObject(a) && !isDefined(a.
|
2350
|
+
if (isObject(a) && !isDefined(a.xata_id)) {
|
2347
2351
|
return await this.create(a, b);
|
2348
2352
|
}
|
2349
2353
|
throw new Error("Invalid arguments for createOrUpdate method");
|
@@ -2366,16 +2370,19 @@ class RestRepository extends Query {
|
|
2366
2370
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2367
2371
|
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a, b, columns, { createOnly: false, ifVersion });
|
2368
2372
|
}
|
2369
|
-
if (isObject(a) && isString(a.
|
2370
|
-
if (a.
|
2373
|
+
if (isObject(a) && isString(a.xata_id)) {
|
2374
|
+
if (a.xata_id === "")
|
2371
2375
|
throw new Error("The id can't be empty");
|
2372
2376
|
const columns = isValidSelectableColumns(c) ? c : void 0;
|
2373
|
-
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a.
|
2377
|
+
return await __privateMethod$2(this, _insertRecordWithId, insertRecordWithId_fn).call(this, a.xata_id, { ...a, xata_id: void 0 }, columns, {
|
2378
|
+
createOnly: false,
|
2379
|
+
ifVersion
|
2380
|
+
});
|
2374
2381
|
}
|
2375
2382
|
if (!isDefined(a) && isObject(b)) {
|
2376
2383
|
return await this.create(b, c);
|
2377
2384
|
}
|
2378
|
-
if (isObject(a) && !isDefined(a.
|
2385
|
+
if (isObject(a) && !isDefined(a.xata_id)) {
|
2379
2386
|
return await this.create(a, b);
|
2380
2387
|
}
|
2381
2388
|
throw new Error("Invalid arguments for createOrReplace method");
|
@@ -2389,8 +2396,8 @@ class RestRepository extends Query {
|
|
2389
2396
|
const ids = a.map((o) => {
|
2390
2397
|
if (isString(o))
|
2391
2398
|
return o;
|
2392
|
-
if (isString(o.
|
2393
|
-
return o.
|
2399
|
+
if (isString(o.xata_id))
|
2400
|
+
return o.xata_id;
|
2394
2401
|
throw new Error("Invalid arguments for delete method");
|
2395
2402
|
});
|
2396
2403
|
const columns = isValidSelectableColumns(b) ? b : ["*"];
|
@@ -2401,8 +2408,8 @@ class RestRepository extends Query {
|
|
2401
2408
|
if (isString(a)) {
|
2402
2409
|
return __privateMethod$2(this, _deleteRecord, deleteRecord_fn).call(this, a, b);
|
2403
2410
|
}
|
2404
|
-
if (isObject(a) && isString(a.
|
2405
|
-
return __privateMethod$2(this, _deleteRecord, deleteRecord_fn).call(this, a.
|
2411
|
+
if (isObject(a) && isString(a.xata_id)) {
|
2412
|
+
return __privateMethod$2(this, _deleteRecord, deleteRecord_fn).call(this, a.xata_id, b);
|
2406
2413
|
}
|
2407
2414
|
throw new Error("Invalid arguments for delete method");
|
2408
2415
|
});
|
@@ -2664,7 +2671,7 @@ _updateRecordWithID = new WeakSet();
|
|
2664
2671
|
updateRecordWithID_fn = async function(recordId, object, columns = ["*"], { ifVersion }) {
|
2665
2672
|
if (!recordId)
|
2666
2673
|
return null;
|
2667
|
-
const {
|
2674
|
+
const { xata_id: _id, ...record } = await __privateMethod$2(this, _transformObjectToApi, transformObjectToApi_fn).call(this, object);
|
2668
2675
|
try {
|
2669
2676
|
const response = await updateRecordWithID({
|
2670
2677
|
pathParams: {
|
@@ -2689,9 +2696,9 @@ updateRecordWithID_fn = async function(recordId, object, columns = ["*"], { ifVe
|
|
2689
2696
|
};
|
2690
2697
|
_updateRecords = new WeakSet();
|
2691
2698
|
updateRecords_fn = async function(objects, { ifVersion, upsert }) {
|
2692
|
-
const operations = await promiseMap(objects, async ({
|
2699
|
+
const operations = await promiseMap(objects, async ({ xata_id, ...object }) => {
|
2693
2700
|
const fields = await __privateMethod$2(this, _transformObjectToApi, transformObjectToApi_fn).call(this, object);
|
2694
|
-
return { update: { table: __privateGet$2(this, _table), id, ifVersion, upsert, fields } };
|
2701
|
+
return { update: { table: __privateGet$2(this, _table), id: xata_id, ifVersion, upsert, fields } };
|
2695
2702
|
});
|
2696
2703
|
const chunkedOperations = chunk(operations, BULK_OPERATION_MAX_SIZE);
|
2697
2704
|
const ids = [];
|
@@ -2796,12 +2803,12 @@ transformObjectToApi_fn = async function(object) {
|
|
2796
2803
|
throw new Error(`Table ${__privateGet$2(this, _table)} not found in schema`);
|
2797
2804
|
const result = {};
|
2798
2805
|
for (const [key, value] of Object.entries(object)) {
|
2799
|
-
if (
|
2806
|
+
if (["xata_version", "xata_createdat", "xata_updatedat"].includes(key))
|
2800
2807
|
continue;
|
2801
2808
|
const type = schema.columns.find((column) => column.name === key)?.type;
|
2802
2809
|
switch (type) {
|
2803
2810
|
case "link": {
|
2804
|
-
result[key] = isIdentifiable(value) ? value.
|
2811
|
+
result[key] = isIdentifiable(value) ? value.xata_id : value;
|
2805
2812
|
break;
|
2806
2813
|
}
|
2807
2814
|
case "datetime": {
|
@@ -2825,8 +2832,7 @@ transformObjectToApi_fn = async function(object) {
|
|
2825
2832
|
};
|
2826
2833
|
const initObject = (db, schemaTables, table, object, selectedColumns) => {
|
2827
2834
|
const data = {};
|
2828
|
-
|
2829
|
-
Object.assign(data, rest);
|
2835
|
+
Object.assign(data, { ...object });
|
2830
2836
|
const { columns } = schemaTables.find(({ name }) => name === table) ?? {};
|
2831
2837
|
if (!columns)
|
2832
2838
|
console.error(`Table ${table} not found in schema`);
|
@@ -2889,28 +2895,21 @@ const initObject = (db, schemaTables, table, object, selectedColumns) => {
|
|
2889
2895
|
}
|
2890
2896
|
}
|
2891
2897
|
const record = { ...data };
|
2892
|
-
const metadata = xata !== void 0 ? { ...xata, createdAt: new Date(xata.createdAt), updatedAt: new Date(xata.updatedAt) } : void 0;
|
2893
2898
|
record.read = function(columns2) {
|
2894
|
-
return db[table].read(record["
|
2899
|
+
return db[table].read(record["xata_id"], columns2);
|
2895
2900
|
};
|
2896
2901
|
record.update = function(data2, b, c) {
|
2897
2902
|
const columns2 = isValidSelectableColumns(b) ? b : ["*"];
|
2898
2903
|
const ifVersion = parseIfVersion(b, c);
|
2899
|
-
return db[table].update(record["
|
2904
|
+
return db[table].update(record["xata_id"], data2, columns2, { ifVersion });
|
2900
2905
|
};
|
2901
2906
|
record.replace = function(data2, b, c) {
|
2902
2907
|
const columns2 = isValidSelectableColumns(b) ? b : ["*"];
|
2903
2908
|
const ifVersion = parseIfVersion(b, c);
|
2904
|
-
return db[table].createOrReplace(record["
|
2909
|
+
return db[table].createOrReplace(record["xata_id"], data2, columns2, { ifVersion });
|
2905
2910
|
};
|
2906
2911
|
record.delete = function() {
|
2907
|
-
return db[table].delete(record["
|
2908
|
-
};
|
2909
|
-
if (metadata !== void 0) {
|
2910
|
-
record.xata = Object.freeze(metadata);
|
2911
|
-
}
|
2912
|
-
record.getMetadata = function() {
|
2913
|
-
return record.xata;
|
2912
|
+
return db[table].delete(record["xata_id"]);
|
2914
2913
|
};
|
2915
2914
|
record.toSerializable = function() {
|
2916
2915
|
return JSON.parse(JSON.stringify(record));
|
@@ -2918,7 +2917,7 @@ const initObject = (db, schemaTables, table, object, selectedColumns) => {
|
|
2918
2917
|
record.toString = function() {
|
2919
2918
|
return JSON.stringify(record);
|
2920
2919
|
};
|
2921
|
-
for (const prop of ["read", "update", "replace", "delete", "
|
2920
|
+
for (const prop of ["read", "update", "replace", "delete", "toSerializable", "toString"]) {
|
2922
2921
|
Object.defineProperty(record, prop, { enumerable: false });
|
2923
2922
|
}
|
2924
2923
|
Object.freeze(record);
|
@@ -2927,8 +2926,8 @@ const initObject = (db, schemaTables, table, object, selectedColumns) => {
|
|
2927
2926
|
function extractId(value) {
|
2928
2927
|
if (isString(value))
|
2929
2928
|
return value;
|
2930
|
-
if (isObject(value) && isString(value.
|
2931
|
-
return value.
|
2929
|
+
if (isObject(value) && isString(value.xata_id))
|
2930
|
+
return value.xata_id;
|
2932
2931
|
return void 0;
|
2933
2932
|
}
|
2934
2933
|
function isValidColumn(columns, column) {
|
@@ -3116,7 +3115,7 @@ class SearchPlugin extends XataPlugin {
|
|
3116
3115
|
return {
|
3117
3116
|
totalCount,
|
3118
3117
|
records: records.map((record) => {
|
3119
|
-
const
|
3118
|
+
const table = record.xata_table;
|
3120
3119
|
return { table, record: initObject(this.db, pluginOptions.tables, table, record, ["*"]) };
|
3121
3120
|
})
|
3122
3121
|
};
|
@@ -3124,7 +3123,7 @@ class SearchPlugin extends XataPlugin {
|
|
3124
3123
|
byTable: async (query, options = {}) => {
|
3125
3124
|
const { records: rawRecords, totalCount } = await __privateMethod$1(this, _search, search_fn).call(this, query, options, pluginOptions);
|
3126
3125
|
const records = rawRecords.reduce((acc, record) => {
|
3127
|
-
const
|
3126
|
+
const table = record.xata_table;
|
3128
3127
|
const items = acc[table] ?? [];
|
3129
3128
|
const item = initObject(this.db, pluginOptions.tables, table, record, ["*"]);
|
3130
3129
|
return { ...acc, [table]: [...items, item] };
|
@@ -3462,5 +3461,5 @@ class XataError extends Error {
|
|
3462
3461
|
}
|
3463
3462
|
}
|
3464
3463
|
|
3465
|
-
export { BaseClient, FetcherError, FilesPlugin, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, Query, RecordArray, RecordColumnTypes, Repository, RestRepository, SQLPlugin, SchemaPlugin, SearchPlugin, Serializer, TransactionPlugin, XataApiClient, XataApiPlugin, XataError, XataFile, XataPlugin, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns,
|
3464
|
+
export { BaseClient, FetcherError, FilesPlugin, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, Query, RecordArray, RecordColumnTypes, Repository, RestRepository, SQLPlugin, SchemaPlugin, SearchPlugin, Serializer, TransactionPlugin, XataApiClient, XataApiPlugin, XataError, XataFile, XataPlugin, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|
3466
3465
|
//# sourceMappingURL=index.mjs.map
|