You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
365 B
20 lines
365 B
6 months ago
|
from enum import Enum
|
||
|
|
||
|
class UserRole(Enum):
|
||
|
ADMIN = 0
|
||
|
USER = 1
|
||
|
|
||
|
class PublishedStatus(Enum):
|
||
|
APPROVED = 0
|
||
|
PENDING = 1
|
||
|
DECLINED = 2
|
||
|
REVOKED = 3
|
||
|
BANNED = 4
|
||
|
DRAFT = 5
|
||
|
|
||
|
class NotificationTypes(Enum):
|
||
|
MENTION = 0
|
||
|
COURSE_PUBLISH_STATUS_UPDATE = 1
|
||
|
NEW_BADGE = 2
|
||
|
TEXT_WITH_URL = 3
|
||
|
PLAINTEXT_NOTICE = 4
|