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

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

View File

@@ -2,8 +2,9 @@ import { TRPCError } from "@trpc/server";
import { z } from "zod";
import { createSaltAsync, hashPasswordAsync } from "@homarr/auth";
import { createId } from "@homarr/common";
import type { Database } from "@homarr/db";
import { and, createId, eq, like } from "@homarr/db";
import { and, eq, like } from "@homarr/db";
import { getMaxGroupPositionAsync } from "@homarr/db/queries";
import { boards, groupMembers, groupPermissions, groups, invites, users } from "@homarr/db/schema";
import { selectUserSchema } from "@homarr/db/validationSchemas";