From a843f6043b0ed90c5a205b697497490631e0dd19 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Wed, 10 Sep 2025 21:18:59 +0200 Subject: [PATCH] fix(api): page is crashing (#4039) --- package.json | 3 ++- pnpm-lock.yaml | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8c36c6f2b..a9c616839 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,8 @@ "vite@>=5.0.0 <=5.4.18": ">=7.1.5" }, "patchedDependencies": { - "@types/node-unifi": "patches/@types__node-unifi.patch" + "@types/node-unifi": "patches/@types__node-unifi.patch", + "trpc-to-openapi": "patches/trpc-to-openapi.patch" }, "allowUnusedPatches": true, "ignoredBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 232bb1cdf..acdf271fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,6 +28,9 @@ patchedDependencies: '@types/node-unifi': hash: 5e6ae51e2a17a7f9729bfa30b0eb3d0842a5810ac6db47603ab4a6efa1ed84c5 path: patches/@types__node-unifi.patch + trpc-to-openapi: + hash: 2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c + path: patches/trpc-to-openapi.patch importers: @@ -651,7 +654,7 @@ importers: version: 2.2.2 trpc-to-openapi: specifier: ^3.0.1 - version: 3.0.1(@trpc/server@11.5.1(typescript@5.9.2))(zod-openapi@5.3.0(zod@4.1.5))(zod@4.1.5) + version: 3.0.1(patch_hash=2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c)(@trpc/server@11.5.1(typescript@5.9.2))(zod-openapi@5.3.0(zod@4.1.5))(zod@4.1.5) zod: specifier: ^4.1.5 version: 4.1.5 @@ -19450,7 +19453,7 @@ snapshots: trough@2.2.0: {} - trpc-to-openapi@3.0.1(@trpc/server@11.5.1(typescript@5.9.2))(zod-openapi@5.3.0(zod@4.1.5))(zod@4.1.5): + trpc-to-openapi@3.0.1(patch_hash=2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c)(@trpc/server@11.5.1(typescript@5.9.2))(zod-openapi@5.3.0(zod@4.1.5))(zod@4.1.5): dependencies: '@trpc/server': 11.5.1(typescript@5.9.2) co-body: 6.2.0