Compare commits

..

2 Commits

Author SHA1 Message Date
dependabot[bot] 864d6c8e41 Chore(deps): Bump crowdin/github-action from 3.0.1 to 3.0.2
Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/71fdb8814261dd703be4ca7c6450d21b1868da4b...0d5670f539973aea2f01abce61a8989934df0025)

---
updated-dependencies:
- dependency-name: crowdin/github-action
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 16:33:03 +00:00
shamoon f7666df9d8 Move PBS since param to optional params
Docker CI / Docker Build & Push (push) Waiting to run
Lint / Linting Checks (push) Waiting to run
Release Drafter / Update Release Draft (push) Waiting to run
Release Drafter / Auto Label PR (push) Waiting to run
Tests / vitest (1) (push) Waiting to run
Tests / vitest (2) (push) Waiting to run
Tests / vitest (3) (push) Waiting to run
Tests / vitest (4) (push) Waiting to run
2026-09-17 07:36:08 -07:00
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: crowdin action
uses: crowdin/github-action@71fdb8814261dd703be4ca7c6450d21b1868da4b # v3.0.1
uses: crowdin/github-action@0d5670f539973aea2f01abce61a8989934df0025 # v3.0.2
with:
upload_translations: false
download_translations: true
+2 -1
View File
@@ -10,7 +10,8 @@ const widget = {
},
"nodes/localhost/tasks": {
endpoint: "nodes/localhost/tasks",
params: ["errors", "limit", "since"],
params: ["errors", "limit"],
optionalParams: ["since"],
},
"nodes/localhost/status": {
endpoint: "nodes/localhost/status",
@@ -9,7 +9,8 @@ describe("proxmoxbackupserver widget config", () => {
expectWidgetConfigShape(widget);
});
it("requires failed task query params for the tasks endpoint", () => {
expect(widget.mappings["nodes/localhost/tasks"].params).toEqual(["errors", "limit", "since"]);
it("requires failed task query params for the tasks endpoint, with since optional", () => {
expect(widget.mappings["nodes/localhost/tasks"].params).toEqual(["errors", "limit"]);
expect(widget.mappings["nodes/localhost/tasks"].optionalParams).toEqual(["since"]);
});
});