[ABANDONED] React/Redux front end for the Flexor social network.
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.

17 lines
655 B

  1. export const MAX_ID_LENGTH = 40
  2. export const MAX_NAME_LENGTH = 80
  3. export const LOCAL_STORAGE_ACCESS_TOKEN_KEY = 'access-token'
  4. export const LOCAL_STORAGE_ACCESS_TOKEN_EXPIRES_AT_KEY = 'access-token-expires-at'
  5. export const LOCAL_STORAGE_REFRESH_TOKEN_KEY = 'refresh-token'
  6. export const MEDIA_DEFAULT_MAX_SIZE = 5242880
  7. export const MEDIA_COVER_MAX_SIZE = 5242880
  8. export const MEDIA_ICON_MAX_SIZE = 1048576
  9. export const PRIVACY_OPTIONS = {
  10. public: 'Anyone can see your posts',
  11. group: 'Only the people in your community can see your posts',
  12. subscribers: 'Only your subscribers can see your posts',
  13. private: 'Nobody can see your posts',
  14. }