fix(server-build): füge .js-Erweiterungen zu lib-Imports in RPC-Dateien hinzu

This commit is contained in:
2025-10-01 22:29:23 +02:00
parent a80cb86cd5
commit 19e52f7af6
4 changed files with 5 additions and 5 deletions

View File

@@ -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(),

View File

@@ -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)

View File

@@ -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 () => {

View File

@@ -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(),