"""
constants.py — Konstanta bersama yang dipakai di seluruh aplikasi.
"""

# Status task yang valid (termasuk 'cancelled')
VALID_TASK_STATUSES: frozenset[str] = frozenset({
    "pending", "processing", "completed", "failed", "cancelled"
})

# Role user yang valid
VALID_ROLES: frozenset[str] = frozenset({"user", "admin"})

# Panjang minimum password
MIN_PASSWORD_LEN: int = 6