stacker.news/lib/constants.js

17 lines
461 B
JavaScript
Raw Normal View History

2022-07-24 00:00:57 +00:00
export const NOFOLLOW_LIMIT = 1000
export const BOOST_MIN = 5000
2022-05-12 18:44:21 +00:00
export const UPLOAD_SIZE_MAX = 2 * 1024 * 1024
export const IMAGE_PIXELS_MAX = 35000000
export const UPLOAD_TYPES_ALLOW = [
'image/gif',
'image/heic',
'image/png',
'image/jpeg',
'image/webp'
]
2022-05-17 22:09:15 +00:00
export const COMMENT_DEPTH_LIMIT = 10
2022-07-13 15:49:55 +00:00
export const MAX_TITLE_LENGTH = 80
2022-07-30 13:25:46 +00:00
export const MAX_POLL_CHOICE_LENGTH = 30
2022-08-10 15:06:31 +00:00
export const ITEM_SPAM_INTERVAL = '10m'
2022-08-18 18:15:24 +00:00
export const MAX_POLL_NUM_CHOICES = 10