Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @mittwald/api-client from 4.35.0 to 4.55.0 in the mittwald-api group across 1 directory #717

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 5 additions & 2 deletions src/commands/backup/list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Response, Simplify } from "@mittwald/api-client-commons";
import type { MittwaldAPIV2 } from "@mittwald/api-client";
import { assertStatus, type MittwaldAPIV2 } from "@mittwald/api-client";
import { ListBaseCommand } from "../../lib/basecommands/ListBaseCommand.js";
import { projectFlags } from "../../lib/resources/project/flags.js";
import { ListColumns } from "../../rendering/formatter/ListFormatter.js";
Expand All @@ -23,9 +23,12 @@ export class List extends ListBaseCommand<typeof List, ListItem, ListResponse> {

public async getData(): Promise<ListResponse> {
const projectId = await this.withProjectId(List);
return await this.apiClient.backup.listProjectBackups({
const response = await this.apiClient.backup.listProjectBackups({
projectId,
} as Parameters<typeof this.apiClient.backup.listProjectBackups>[0]);

assertStatus(response, 200);
return response;
}

protected getColumns(data: ListItem[]): ListColumns<ListItem> {
Expand Down
48 changes: 31 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1189,38 +1189,38 @@ __metadata:
languageName: node
linkType: hard

"@mittwald/api-client-commons@npm:^4.15.0":
version: 4.15.0
resolution: "@mittwald/api-client-commons@npm:4.15.0"
"@mittwald/api-client-commons@npm:^4.55.0":
version: 4.55.0
resolution: "@mittwald/api-client-commons@npm:4.55.0"
dependencies:
"@types/parse-path": ^7.0.3
axios: ^1.6.7
axios: ^1.7.4
parse-path: ^7.0.0
path-to-regexp: ^6.2.1
type-fest: ^4.12.0
path-to-regexp: ^6.2.2
type-fest: ^4.23.0
peerDependencies:
"@mittwald/react-use-promise": ^2.1.0
peerDependenciesMeta:
"@jest/globals":
optional: true
"@mittwald/react-use-promise":
optional: true
checksum: 26685da6953cfeef29f42c8060d22604143490cc783e9c2e35ebe7fc132fd6c01716c2de319a4b0c64939381ff846d1aea90c1a4e1be3fd1db5f04d9e5df23e4
checksum: 0479b5fe3a82348f0f37d0f48c4871442aa4f6175635b6da4cfbace3e706612f58a5ec3f329f3bb952e7863de7a6a80fdff9dd3c35be0f93b16bc7bdb11d2d63
languageName: node
linkType: hard

"@mittwald/api-client@npm:^4.9.0":
version: 4.35.0
resolution: "@mittwald/api-client@npm:4.35.0"
version: 4.55.0
resolution: "@mittwald/api-client@npm:4.55.0"
dependencies:
"@mittwald/api-client-commons": ^4.15.0
browser-or-node: ^3.0.0-pre.0
"@mittwald/api-client-commons": ^4.55.0
browser-or-node: ^3.0.0
peerDependencies:
"@mittwald/react-use-promise": ^2.3.12
peerDependenciesMeta:
"@mittwald/react-use-promise":
optional: true
checksum: a1e02e6889e70c0702d296451b30eb67ca12c8a6c44ec930c9ffdca9415ee22b773ad7134e631cb5d334d2e0c2669f6ea95a59ccc34baa578e4332230de7e988
checksum: 29a690dd9b5394cc19908522827a6e1b00a98828698ff8ab2e9e720cdce398b4504f8bac3df63f45107211bc81f51d016698cb41a9bd3b791974b6cbd1e01de9
languageName: node
linkType: hard

Expand Down Expand Up @@ -3167,14 +3167,14 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^1.6.7":
version: 1.7.4
resolution: "axios@npm:1.7.4"
"axios@npm:^1.7.4":
version: 1.7.5
resolution: "axios@npm:1.7.5"
dependencies:
follow-redirects: ^1.15.6
form-data: ^4.0.0
proxy-from-env: ^1.1.0
checksum: 0c17039a9acfe6a566fca8431ba5c1b455c83d30ea6157fec68a6722878fcd30f3bd32d172f6bee0c51fe75ca98e6414ddcd968a87b5606b573731629440bfaf
checksum: 2859fe01437cf133eee35571abc1d4b5224bb13e530e66cb3581ca226e170541dd5eef9f46abb41592cee0a2f54930c9e4978354e0cf1064748fc20d9a05e9d5
languageName: node
linkType: hard

Expand Down Expand Up @@ -3261,6 +3261,13 @@ __metadata:
languageName: node
linkType: hard

"browser-or-node@npm:^3.0.0":
version: 3.0.0
resolution: "browser-or-node@npm:3.0.0"
checksum: 51d74cc5d0139da3d37e83ff3906fcca20d02c42aa8b81a48d9ea01806f36df1a4b55006670071b1d7423967777275920054ec8b723410534b580b0232c5093d
languageName: node
linkType: hard

"browser-or-node@npm:^3.0.0-pre.0":
version: 3.0.0-pre.0
resolution: "browser-or-node@npm:3.0.0-pre.0"
Expand Down Expand Up @@ -7384,6 +7391,13 @@ __metadata:
languageName: node
linkType: hard

"path-to-regexp@npm:^6.2.2":
version: 6.2.2
resolution: "path-to-regexp@npm:6.2.2"
checksum: b7b0005c36f5099f9ed1fb20a820d2e4ed1297ffe683ea1d678f5e976eb9544f01debb281369dabdc26da82e6453901bf71acf2c7ed14b9243536c2a45286c33
languageName: node
linkType: hard

"path-type@npm:^4.0.0":
version: 4.0.0
resolution: "path-type@npm:4.0.0"
Expand Down Expand Up @@ -8667,7 +8681,7 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^4.12.0, type-fest@npm:^4.18.2, type-fest@npm:^4.6.0, type-fest@npm:^4.8.3":
"type-fest@npm:^4.18.2, type-fest@npm:^4.23.0, type-fest@npm:^4.6.0, type-fest@npm:^4.8.3":
version: 4.25.0
resolution: "type-fest@npm:4.25.0"
checksum: 4c318d0fbfc6e51bb52db6ce4609066888e45346594db502e6040681fc1985a9f5845a80b6bd46ca64310271d1cdee52a9110ccabaf199b978388b098bbc5985
Expand Down