From 74a1716e1146fb54ca217ef694e25402468c42c4 Mon Sep 17 00:00:00 2001 From: alisaza Date: Thu, 10 Sep 2026 13:08:18 +0330 Subject: [PATCH] feat(openapi): add readStatus filter to API query parameters Introduced a new optional query parameter `filters[readStatus]` in the openapi.json file to allow filtering by read state (read or unread). This enhancement improves the API's flexibility in managing notification states. --- openapi.json | 10 ++++++++++ package.json | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/openapi.json b/openapi.json index 1d0cda4..22a24d9 100644 --- a/openapi.json +++ b/openapi.json @@ -2688,6 +2688,16 @@ ] } }, + { + "name": "filters[readStatus]", + "required": false, + "in": "query", + "description": "Filter by read state: read or unread.", + "schema": { + "example": "unread", + "type": "string" + } + }, { "name": "filters[referenceType]", "required": false, diff --git a/package.json b/package.json index 0e90623..af4a620 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,6 @@ "devDependencies": { "@axe-core/playwright": "^4.12.1", "@eslint/js": "^9.39.1", - "@oxlint/migrate": "^1.82.0", "@playwright/test": "^1.61.1", "@tailwindcss/postcss": "^4.1.17", "@testing-library/dom": "^10.4.1",