@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.
@@ -7,7 +7,7 @@
7
7
  created dist/index.cjs in 1.1s
8
8
  
9
9
  src/index.ts → dist/index.mjs...
10
- created dist/index.mjs in 787ms
10
+ created dist/index.mjs in 644ms
11
11
  
12
12
  src/index.ts → dist/index.d.ts...
13
- created dist/index.d.ts in 4.4s
13
+ created dist/index.d.ts in 4.6s
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @xata.io/client
2
2
 
3
- ## 0.0.0-next.v9a81c4765c87e96d23c4e8ae0cbee78e78451dd5
3
+ ## 0.0.0-next.vaf38c4bbe8c1d35159e6de658514ac90b419f55a
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [`aaa817f`](https://github.com/xataio/client-ts/commit/aaa817fe8098e2756eba3ea1dda2523c890be46c) Thanks [@SferaDev](https://github.com/SferaDev)! - Make XataApiClient to use ES Proxies
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
- - [`f4a2fe4`](https://github.com/xataio/client-ts/commit/f4a2fe48fe8b28edec8eef3572e06a070ddc7bf8) Thanks [@SferaDev](https://github.com/SferaDev)! - Version 1.0
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;