Pixel/links development. New validations folder. More refactoring.

This commit is contained in:
Mike Cao committed 2025-08-14 23:48:11 -07:00
1 parent 88639dfe83
commit 247e14646b
136 files changed
+1395 -516

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { z } from 'zod';
import { canUpdateUser, canViewUser, canDeleteUser } from '@/lib/auth';
import { canUpdateUser, canViewUser, canDeleteUser } from '@/validations';
import { getUser, getUserByUsername, updateUser, deleteUser } from '@/queries';
import { json, unauthorized, badRequest, ok } from '@/lib/response';
import { hashPassword } from '@/lib/auth';
+2 -1
View File
@@ -1,5 +1,6 @@
import { z } from 'zod';
import { hashPassword, canCreateUser } from '@/lib/auth';
import { hashPassword } from '@/lib/auth';
import { canCreateUser } from '@/validations';
import { ROLES } from '@/lib/constants';
import { uuid } from '@/lib/crypto';
import { parseRequest } from '@/lib/request';