diff --git a/packages/pl-api/lib/entities/grouped-notifications-results.ts b/packages/pl-api/lib/entities/grouped-notifications-results.ts index 96b6483e8..e78c892f0 100644 --- a/packages/pl-api/lib/entities/grouped-notifications-results.ts +++ b/packages/pl-api/lib/entities/grouped-notifications-results.ts @@ -22,7 +22,7 @@ const partialAccountWithAvatarSchema = v.object({ const baseNotificationGroupSchema = v.object({ group_key: v.string(), notifications_count: v.pipe(v.number(), v.integer()), - most_recent_notification_id: v.string(), + most_recent_notification_id: v.pipe(v.unknown(), v.transform(String), v.string()), page_min_id: v.fallback(v.optional(v.string()), undefined), page_max_id: v.fallback(v.optional(v.string()), undefined), latest_page_notification_at: v.fallback(v.optional(datetimeSchema), undefined), diff --git a/packages/pl-api/package.json b/packages/pl-api/package.json index a15d22de1..581a227fb 100644 --- a/packages/pl-api/package.json +++ b/packages/pl-api/package.json @@ -1,6 +1,6 @@ { "name": "pl-api", - "version": "0.1.7", + "version": "0.1.8", "type": "module", "homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api", "repository": { diff --git a/packages/pl-fe/package.json b/packages/pl-fe/package.json index 1f3a73681..b08ffff32 100644 --- a/packages/pl-fe/package.json +++ b/packages/pl-fe/package.json @@ -102,7 +102,7 @@ "mini-css-extract-plugin": "^2.9.1", "multiselect-react-dropdown": "^2.0.25", "path-browserify": "^1.0.1", - "pl-api": "^0.1.7", + "pl-api": "^0.1.8", "postcss": "^8.4.47", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/packages/pl-fe/yarn.lock b/packages/pl-fe/yarn.lock index 327912e12..75d3a8d00 100644 --- a/packages/pl-fe/yarn.lock +++ b/packages/pl-fe/yarn.lock @@ -7575,10 +7575,10 @@ pkg-dir@^4.1.0: dependencies: find-up "^4.0.0" -pl-api@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.1.7.tgz#929b557903b280bda9e7c7bf6aa8cd015698c42f" - integrity sha512-cTUHacufHDlNl7zHsOH+LW5MvotY5pUnBhfFMofVfvGOswURl0F1x1L8+V5k1D4VGn+mE7CnOv3esz/3QrrQmg== +pl-api@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.1.8.tgz#f8fa5bcd50fb2cf322dc345b7658d232b330d73a" + integrity sha512-RsSYXjgOM4IjyVnDyJxvnmC64APCRwT6+J9q7qDu4ZfxR4kSgoDSMUoMDzdkUFXQ9E3I2o4Nt2x+sd2Dpob9BA== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"