typings: add comments to clarify user roles in UserRole enum

This commit is contained in:
Carlos Santos 2025-06-10 12:10:19 +02:00
parent eb6427eb99
commit 71f315c4b8

View File

@ -5,8 +5,11 @@ export interface User {
}
export const enum UserRole {
// Represents a user with administrative privileges
ADMIN = 'admin',
// Represents a regular user with standard access
USER = 'user',
// Represents a user who accesses the application via an API key
APP = 'app',
}