mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
25 lines
506 B
Python
25 lines
506 B
Python
REQUEST_TIMEOUT = 2
|
|
|
|
POST_TYPE_LINK = 1
|
|
POST_TYPE_ARTICLE = 2
|
|
POST_TYPE_IMAGE = 3
|
|
POST_TYPE_VIDEO = 4
|
|
POST_TYPE_POLL = 5
|
|
|
|
DATETIME_MS_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
|
|
|
|
# Community subscription levels
|
|
SUBSCRIPTION_OWNER = 3
|
|
SUBSCRIPTION_MODERATOR = 2
|
|
SUBSCRIPTION_MEMBER = 1
|
|
SUBSCRIPTION_NONMEMBER = 0
|
|
SUBSCRIPTION_PENDING = -1
|
|
SUBSCRIPTION_BANNED = -2
|
|
|
|
THREAD_CUTOFF_DEPTH = 4
|
|
|
|
REPORT_STATE_NEW = 0
|
|
REPORT_STATE_ESCALATED = 1
|
|
REPORT_STATE_APPEALED = 2
|
|
REPORT_STATE_RESOLVED = 3
|
|
REPORT_STATE_DISCARDED = -1
|