@xata.io/client 0.0.0-next.va0c40fac05828c586d853d558cf07d608a16eb30 → 0.0.0-next.va121e4207b94bfe0a3c025fc00b247b923880930

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @xata.io/client@0.29.5 add-version /home/runner/work/client-ts/client-ts/packages/client
2
+ > @xata.io/client@0.30.0 add-version /home/runner/work/client-ts/client-ts/packages/client
3
3
  > node ../../scripts/add-version-file.mjs
4
4
 
@@ -1,13 +1,13 @@
1
1
 
2
- > @xata.io/client@0.29.5 build /home/runner/work/client-ts/client-ts/packages/client
2
+ > @xata.io/client@0.30.0 build /home/runner/work/client-ts/client-ts/packages/client
3
3
  > rimraf dist && rollup -c
4
4
 
5
5
  
6
6
  src/index.ts → dist/index.cjs...
7
- created dist/index.cjs in 1s
7
+ created dist/index.cjs in 1.2s
8
8
  
9
9
  src/index.ts → dist/index.mjs...
10
- created dist/index.mjs in 784ms
10
+ created dist/index.mjs in 926ms
11
11
  
12
12
  src/index.ts → dist/index.d.ts...
13
- created dist/index.d.ts in 4.3s
13
+ created dist/index.d.ts in 4.4s
package/CHANGELOG.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # @xata.io/client
2
2
 
3
- ## 0.0.0-next.va0c40fac05828c586d853d558cf07d608a16eb30
3
+ ## 0.0.0-next.va121e4207b94bfe0a3c025fc00b247b923880930
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [`c45c431`](https://github.com/xataio/client-ts/commit/c45c43157e13a2107ad6b0cf25168edeb8a27ebf) Thanks [@SferaDev](https://github.com/SferaDev)! - Version 1.0
7
+ - [#1533](https://github.com/xataio/client-ts/pull/1533) [`035990e`](https://github.com/xataio/client-ts/commit/035990efe17dee696d1cbf3614309434a55c2a16) Thanks [@eemmiillyy](https://github.com/eemmiillyy)! - Version 1.0
8
+
9
+ ## 0.30.0
8
10
 
9
11
  ### Minor Changes
10
12
 
package/dist/index.cjs CHANGED
@@ -2171,7 +2171,7 @@ function defaultOnOpen(response) {
2171
2171
  }
2172
2172
  }
2173
2173
 
2174
- const VERSION = "0.29.5";
2174
+ const VERSION = "0.30.0";
2175
2175
 
2176
2176
  class ErrorWithCause extends Error {
2177
2177
  constructor(message, options) {
@@ -2485,6 +2485,18 @@ function parseUrl(url) {
2485
2485
 
2486
2486
  const dataPlaneFetch = async (options) => fetch$1({ ...options, endpoint: "dataPlane" });
2487
2487
 
2488
+ const getTasks = (variables, signal) => dataPlaneFetch({
2489
+ url: "/tasks",
2490
+ method: "get",
2491
+ ...variables,
2492
+ signal
2493
+ });
2494
+ const getTaskStatus = (variables, signal) => dataPlaneFetch({
2495
+ url: "/tasks/{taskId}",
2496
+ method: "get",
2497
+ ...variables,
2498
+ signal
2499
+ });
2488
2500
  const listClusterBranches = (variables, signal) => dataPlaneFetch({
2489
2501
  url: "/cluster/{clusterId}/branches",
2490
2502
  method: "get",
@@ -2588,6 +2600,7 @@ const getDatabaseSettings = (variables, signal) => dataPlaneFetch({
2588
2600
  signal
2589
2601
  });
2590
2602
  const updateDatabaseSettings = (variables, signal) => dataPlaneFetch({ url: "/dbs/{dbName}/settings", method: "patch", ...variables, signal });
2603
+ const createBranchAsync = (variables, signal) => dataPlaneFetch({ url: "/db/{dbBranchName}/async", method: "put", ...variables, signal });
2591
2604
  const getBranchDetails = (variables, signal) => dataPlaneFetch({
2592
2605
  url: "/db/{dbBranchName}",
2593
2606
  method: "get",
@@ -2980,6 +2993,7 @@ const sqlBatchQuery = (variables, signal) => dataPlaneFetch({
2980
2993
  signal
2981
2994
  });
2982
2995
  const operationsByTag$2 = {
2996
+ tasks: { getTasks, getTaskStatus },
2983
2997
  cluster: {
2984
2998
  listClusterBranches,
2985
2999
  listClusterExtensions,
@@ -3013,6 +3027,7 @@ const operationsByTag$2 = {
3013
3027
  },
3014
3028
  branch: {
3015
3029
  getBranchList,
3030
+ createBranchAsync,
3016
3031
  getBranchDetails,
3017
3032
  createBranch,
3018
3033
  deleteBranch,
@@ -5467,6 +5482,7 @@ exports.completeMigration = completeMigration;
5467
5482
  exports.contains = contains;
5468
5483
  exports.copyBranch = copyBranch;
5469
5484
  exports.createBranch = createBranch;
5485
+ exports.createBranchAsync = createBranchAsync;
5470
5486
  exports.createCluster = createCluster;
5471
5487
  exports.createDatabase = createDatabase;
5472
5488
  exports.createMigrationRequest = createMigrationRequest;
@@ -5528,6 +5544,8 @@ exports.getSchema = getSchema;
5528
5544
  exports.getSchemas = getSchemas;
5529
5545
  exports.getTableColumns = getTableColumns;
5530
5546
  exports.getTableSchema = getTableSchema;
5547
+ exports.getTaskStatus = getTaskStatus;
5548
+ exports.getTasks = getTasks;
5531
5549
  exports.getUser = getUser;
5532
5550
  exports.getUserAPIKeys = getUserAPIKeys;
5533
5551
  exports.getUserOAuthAccessTokens = getUserOAuthAccessTokens;