refactor(api): remove dead resource mutation imports
This commit is contained in:
@@ -1,17 +1,9 @@
|
|||||||
import { calculateAllocation } from "@capakraken/engine";
|
import { BlueprintTarget, CreateResourceSchema, PermissionKey, ResourceRoleSchema, UpdateResourceSchema, inferStateFromPostalCode } from "@capakraken/shared";
|
||||||
import {
|
|
||||||
BlueprintTarget,
|
|
||||||
CreateResourceSchema,
|
|
||||||
PermissionKey,
|
|
||||||
ResourceRoleSchema,
|
|
||||||
UpdateResourceSchema,
|
|
||||||
inferStateFromPostalCode,
|
|
||||||
} from "@capakraken/shared";
|
|
||||||
import { TRPCError } from "@trpc/server";
|
import { TRPCError } from "@trpc/server";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { findUniqueOrThrow } from "../db/helpers.js";
|
import { findUniqueOrThrow } from "../db/helpers.js";
|
||||||
import { ROLE_BRIEF_SELECT } from "../db/selects.js";
|
import { ROLE_BRIEF_SELECT } from "../db/selects.js";
|
||||||
import { adminProcedure, managerProcedure, requirePermission } from "../trpc.js";
|
import { managerProcedure, requirePermission } from "../trpc.js";
|
||||||
import { assertBlueprintDynamicFields } from "./blueprint-validation.js";
|
import { assertBlueprintDynamicFields } from "./blueprint-validation.js";
|
||||||
|
|
||||||
export const resourceMutationProcedures = {
|
export const resourceMutationProcedures = {
|
||||||
|
|||||||
Reference in New Issue
Block a user