fix(api): fix import paths missed by router reorganisation
- allocation-conflict-procedures: allocation-shared.js → allocation/shared.js - allocation/index.ts: add missing allocationConflictProcedures spread - allocation-conflict-check.test.ts: router/allocation.js → allocation/index.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { AllocationStatus, SystemRole } from "@capakraken/shared";
|
import { AllocationStatus, SystemRole } from "@capakraken/shared";
|
||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
import { allocationRouter } from "../router/allocation.js";
|
import { allocationRouter } from "../router/allocation/index.js";
|
||||||
import { createCallerFactory } from "../trpc.js";
|
import { createCallerFactory } from "../trpc.js";
|
||||||
|
|
||||||
vi.mock("../sse/event-bus.js", () => ({
|
vi.mock("../sse/event-bus.js", () => ({
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
import { TRPCError } from "@trpc/server";
|
import { TRPCError } from "@trpc/server";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { managerProcedure } from "../trpc.js";
|
import { managerProcedure } from "../trpc.js";
|
||||||
import { toIsoDate } from "./allocation-shared.js";
|
import { toIsoDate } from "./allocation/shared.js";
|
||||||
|
|
||||||
const CheckConflictsInputSchema = z.object({
|
const CheckConflictsInputSchema = z.object({
|
||||||
resourceId: z.string(),
|
resourceId: z.string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user