@xata.io/client 0.0.0-next.v9a81c4765c87e96d23c4e8ae0cbee78e78451dd5 → 0.0.0-next.vaf38c4bbe8c1d35159e6de658514ac90b419f55a
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-build.log +2 -2
- package/CHANGELOG.md +3 -3
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +199 -14
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
[32mcreated [1mdist/index.cjs[22m in [1m1.1s[22m[39m
|
8
8
|
[36m
|
9
9
|
[1msrc/index.ts[22m → [1mdist/index.mjs[22m...[39m
|
10
|
-
[32mcreated [1mdist/index.mjs[22m in [
|
10
|
+
[32mcreated [1mdist/index.mjs[22m in [1m644ms[22m[39m
|
11
11
|
[36m
|
12
12
|
[1msrc/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
13
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m4.
|
13
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m4.6s[22m[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# @xata.io/client
|
2
2
|
|
3
|
-
## 0.0.0-next.
|
3
|
+
## 0.0.0-next.vaf38c4bbe8c1d35159e6de658514ac90b419f55a
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [`
|
7
|
+
- [#1473](https://github.com/xataio/client-ts/pull/1473) [`5e2bd00`](https://github.com/xataio/client-ts/commit/5e2bd001bf676eb2e98e282bff845e5d3ea9fd72) Thanks [@eemmiillyy](https://github.com/eemmiillyy)! - Make XataApiClient to use ES Proxies
|
8
8
|
|
9
|
-
- [`
|
9
|
+
- [#1473](https://github.com/xataio/client-ts/pull/1473) [`4c6bf38`](https://github.com/xataio/client-ts/commit/4c6bf38023083cefe040f481b3f7bb358c88ed92) Thanks [@eemmiillyy](https://github.com/eemmiillyy)! - Version 1.0
|
10
10
|
|
11
11
|
## 0.29.4
|
12
12
|
|
package/dist/index.cjs
CHANGED
@@ -2497,6 +2497,18 @@ const startMigration = (variables, signal) => dataPlaneFetch({
|
|
2497
2497
|
...variables,
|
2498
2498
|
signal
|
2499
2499
|
});
|
2500
|
+
const completeMigration = (variables, signal) => dataPlaneFetch({
|
2501
|
+
url: "/db/{dbBranchName}/migrations/complete",
|
2502
|
+
method: "post",
|
2503
|
+
...variables,
|
2504
|
+
signal
|
2505
|
+
});
|
2506
|
+
const rollbackMigration = (variables, signal) => dataPlaneFetch({
|
2507
|
+
url: "/db/{dbBranchName}/migrations/rollback",
|
2508
|
+
method: "post",
|
2509
|
+
...variables,
|
2510
|
+
signal
|
2511
|
+
});
|
2500
2512
|
const adaptTable = (variables, signal) => dataPlaneFetch({
|
2501
2513
|
url: "/db/{dbBranchName}/migrations/adapt/{tableName}",
|
2502
2514
|
method: "post",
|
@@ -2916,6 +2928,8 @@ const operationsByTag$2 = {
|
|
2916
2928
|
migrations: {
|
2917
2929
|
applyMigration,
|
2918
2930
|
startMigration,
|
2931
|
+
completeMigration,
|
2932
|
+
rollbackMigration,
|
2919
2933
|
adaptTable,
|
2920
2934
|
adaptAllTables,
|
2921
2935
|
getBranchMigrationJobStatus,
|
@@ -5374,6 +5388,7 @@ exports.cancelWorkspaceMemberInvite = cancelWorkspaceMemberInvite;
|
|
5374
5388
|
exports.compareBranchSchemas = compareBranchSchemas;
|
5375
5389
|
exports.compareBranchWithUserSchema = compareBranchWithUserSchema;
|
5376
5390
|
exports.compareMigrationRequest = compareMigrationRequest;
|
5391
|
+
exports.completeMigration = completeMigration;
|
5377
5392
|
exports.contains = contains;
|
5378
5393
|
exports.copyBranch = copyBranch;
|
5379
5394
|
exports.createBranch = createBranch;
|
@@ -5490,6 +5505,7 @@ exports.removeWorkspaceMember = removeWorkspaceMember;
|
|
5490
5505
|
exports.renameDatabase = renameDatabase;
|
5491
5506
|
exports.resendWorkspaceMemberInvite = resendWorkspaceMemberInvite;
|
5492
5507
|
exports.resolveBranch = resolveBranch;
|
5508
|
+
exports.rollbackMigration = rollbackMigration;
|
5493
5509
|
exports.searchBranch = searchBranch;
|
5494
5510
|
exports.searchTable = searchTable;
|
5495
5511
|
exports.serialize = serialize;
|