refactor: move usages of create-id to common package (#3606)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-07-17 10:42:11 +02:00
1 parent d4acb01efd
commit c00110e426
56 files changed
+69 -64

No files matched your search

@@ -1,8 +1,9 @@
import { TRPCError } from "@trpc/server";
import { z } from "zod";
import { createId } from "@homarr/common";
import type { InferInsertModel } from "@homarr/db";
import { and, createId, desc, eq, like } from "@homarr/db";
import { and, desc, eq, like } from "@homarr/db";
import { iconRepositories, icons, medias } from "@homarr/db/schema";
import { createLocalImageUrl, LOCAL_ICON_REPOSITORY_SLUG, mapMediaToIcon } from "@homarr/icons/local";
import { byIdSchema, paginatedSchema } from "@homarr/validation/common";