From 19e52f7af6c99bf18f6085f70809394b0db51a92 Mon Sep 17 00:00:00 2001 From: elpatron Date: Wed, 1 Oct 2025 22:29:23 +0200 Subject: [PATCH] =?UTF-8?q?fix(server-build):=20f=C3=BCge=20.js-Erweiterun?= =?UTF-8?q?gen=20zu=20lib-Imports=20in=20RPC-Dateien=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/rpc/availability.ts | 2 +- src/server/rpc/cancellation.ts | 4 ++-- src/server/rpc/legal.ts | 2 +- src/server/rpc/treatments.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/rpc/availability.ts b/src/server/rpc/availability.ts index c14ca79..be23bae 100644 --- a/src/server/rpc/availability.ts +++ b/src/server/rpc/availability.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; import { randomUUID } from "crypto"; -import { createKV } from "../lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; const AvailabilitySchema = z.object({ id: z.string(), diff --git a/src/server/rpc/cancellation.ts b/src/server/rpc/cancellation.ts index f59164d..9e68534 100644 --- a/src/server/rpc/cancellation.ts +++ b/src/server/rpc/cancellation.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; -import { createKV } from "../lib/create-kv"; -import { createKV as createAvailabilityKV } from "@/server/lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; +import { createKV as createAvailabilityKV } from "../lib/create-kv.js"; import { randomUUID } from "crypto"; // Schema for booking access token (used for both status viewing and cancellation) diff --git a/src/server/rpc/legal.ts b/src/server/rpc/legal.ts index 8a3f7f9..4d1fdca 100644 --- a/src/server/rpc/legal.ts +++ b/src/server/rpc/legal.ts @@ -1,5 +1,5 @@ import { os } from "@orpc/server"; -import { getLegalConfig } from "../lib/legal-config"; +import { getLegalConfig } from "../lib/legal-config.js"; export const router = { getConfig: os.handler(async () => { diff --git a/src/server/rpc/treatments.ts b/src/server/rpc/treatments.ts index 78cf419..ffaaaf1 100644 --- a/src/server/rpc/treatments.ts +++ b/src/server/rpc/treatments.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; import { randomUUID } from "crypto"; -import { createKV } from "../lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; const TreatmentSchema = z.object({ id: z.string(),