@xata.io/client 0.18.3 → 0.18.4
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 +6 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +26 -24
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# @xata.io/client
|
2
2
|
|
3
|
+
## 0.18.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#650](https://github.com/xataio/client-ts/pull/650) [`b8d441f`](https://github.com/xataio/client-ts/commit/b8d441f80867322f41989d52c94bba230632782b) Thanks [@xata-bot](https://github.com/xata-bot)! - API: Rename listMigrationRequests to queryMigrationRequests
|
8
|
+
|
3
9
|
## 0.18.3
|
4
10
|
|
5
11
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
@@ -172,7 +172,7 @@ function getFetchImplementation(userFetch) {
|
|
172
172
|
return fetchImpl;
|
173
173
|
}
|
174
174
|
|
175
|
-
const VERSION = "0.18.
|
175
|
+
const VERSION = "0.18.4";
|
176
176
|
|
177
177
|
class ErrorWithCause extends Error {
|
178
178
|
constructor(message, options) {
|
@@ -417,7 +417,7 @@ const resolveBranch = (variables) => fetch$1({
|
|
417
417
|
method: "get",
|
418
418
|
...variables
|
419
419
|
});
|
420
|
-
const
|
420
|
+
const queryMigrationRequests = (variables) => fetch$1({ url: "/dbs/{dbName}/migrations/query", method: "post", ...variables });
|
421
421
|
const createMigrationRequest = (variables) => fetch$1({ url: "/dbs/{dbName}/migrations", method: "post", ...variables });
|
422
422
|
const getMigrationRequest = (variables) => fetch$1({
|
423
423
|
url: "/dbs/{dbName}/migrations/{mrNumber}",
|
@@ -595,7 +595,7 @@ const operationsByTag = {
|
|
595
595
|
getBranchStats
|
596
596
|
},
|
597
597
|
migrationRequests: {
|
598
|
-
|
598
|
+
queryMigrationRequests,
|
599
599
|
createMigrationRequest,
|
600
600
|
getMigrationRequest,
|
601
601
|
updateMigrationRequest,
|
@@ -1134,8 +1134,8 @@ class MigrationRequestsApi {
|
|
1134
1134
|
constructor(extraProps) {
|
1135
1135
|
this.extraProps = extraProps;
|
1136
1136
|
}
|
1137
|
-
|
1138
|
-
return operationsByTag.migrationRequests.
|
1137
|
+
queryMigrationRequests(workspace, database, options = {}) {
|
1138
|
+
return operationsByTag.migrationRequests.queryMigrationRequests({
|
1139
1139
|
pathParams: { workspace, dbName: database },
|
1140
1140
|
body: options,
|
1141
1141
|
...this.extraProps
|
@@ -2707,7 +2707,6 @@ exports.le = le;
|
|
2707
2707
|
exports.lessEquals = lessEquals;
|
2708
2708
|
exports.lessThan = lessThan;
|
2709
2709
|
exports.lessThanEquals = lessThanEquals;
|
2710
|
-
exports.listMigrationRequests = listMigrationRequests;
|
2711
2710
|
exports.listMigrationRequestsCommits = listMigrationRequestsCommits;
|
2712
2711
|
exports.lt = lt;
|
2713
2712
|
exports.lte = lte;
|
@@ -2716,6 +2715,7 @@ exports.notExists = notExists;
|
|
2716
2715
|
exports.operationsByTag = operationsByTag;
|
2717
2716
|
exports.pattern = pattern;
|
2718
2717
|
exports.previewBranchSchemaEdit = previewBranchSchemaEdit;
|
2718
|
+
exports.queryMigrationRequests = queryMigrationRequests;
|
2719
2719
|
exports.queryTable = queryTable;
|
2720
2720
|
exports.removeGitBranchesEntry = removeGitBranchesEntry;
|
2721
2721
|
exports.removeWorkspaceMember = removeWorkspaceMember;
|