feat: improve ux and security

This commit is contained in:
2026-03-25 17:30:49 +01:00
parent fedb0ae8db
commit 9c61d7561a
8 changed files with 80 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ import { db } from "#server/db";
import * as tables from "#server/db/schema";
import { and, eq, ne } from "drizzle-orm";
const UNIQUE_FIELDS = ["name", "path", "url"] as const;
const UNIQUE_FIELDS = ["name", "path"] as const;
type UniqueField = (typeof UNIQUE_FIELDS)[number];
export const joinFields = (fields: string[]): string => {