초기 커밋

This commit is contained in:
2026-03-01 07:44:19 +09:00
commit 09359f30be
146 changed files with 6120 additions and 0 deletions

11
app/utils/validators.py Normal file
View File

@@ -0,0 +1,11 @@
from __future__ import annotations
import re
def is_valid_device_uid(uid: str) -> bool:
return bool(re.match(r"^[a-zA-Z0-9_-]{3,100}$", uid))
def is_valid_email(email: str) -> bool:
return bool(re.match(r"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$", email))