# Timeline Constants
BRANCH_NAME_LEN = 100
BRANCH_DESCRIPTION_LEN = 200

STORY_TITLE_LEN = 100
STORY_DESCRIPTION_LEN = 400
STORY_TEXT_LEN = 500

MAP_TITLE_LEN = 200
MAP_BASE_FOLDER_LEN = 40
MAP_AUTHOR_LEN = 200

BASE_URL_LEN = 200

# Timeline API Constants
STORY_RESOURCE_LIMIT = 100

KEY_LEN = 100

# File Constraints
UPLOAD_MIME_TYPES = ('image/png',
                     'image/jpeg',
                     'image/pjpeg',
                     'audio/mpeg',
                     'audio/mpeg3',
                     'audio/x-mpeg-3',
                     'application/pdf',
                     'video/mp4')
UPLOAD_EXTENSIONS = ('png', 'jpg', 'mp4', 'pdf', 'mp3')

API_MIME_TYPES = ('image/png',
                  'image/jpeg',
                  'image/pjpeg',
                  'application/pdf')

API_EXTENSIONS = ('png', 'jpg', 'pdf')
