ぼざクリタグ広場 https://hub.nizika.monster
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.
 
 
 
 
 

51 lines
1.1 KiB

  1. import type { Category } from 'types'
  2. export const LIGHT_COLOUR_SHADE = 800
  3. export const DARK_COLOUR_SHADE = 300
  4. export const CATEGORIES = [
  5. 'deerjikist',
  6. 'meme',
  7. 'character',
  8. 'general',
  9. 'material',
  10. 'meta',
  11. 'nico',
  12. ] as const
  13. export const CATEGORY_NAMES: Record<Category, string> = {
  14. deerjikist: 'ニジラー',
  15. meme: '原作・ネタ元・ミーム等',
  16. character: 'キャラクター',
  17. general: '一般',
  18. material: '素材',
  19. meta: 'メタタグ',
  20. nico: 'ニコニコタグ',
  21. } as const
  22. export const FETCH_POSTS_ORDER_FIELDS = [
  23. 'title',
  24. 'url',
  25. 'original_created_at',
  26. 'created_at',
  27. 'updated_at',
  28. ] as const
  29. export const TAG_COLOUR = {
  30. deerjikist: 'rose',
  31. meme: 'purple',
  32. character: 'lime',
  33. general: 'cyan',
  34. material: 'orange',
  35. meta: 'yellow',
  36. nico: 'gray',
  37. } as const satisfies Record<Category, string>
  38. export const USER_ROLES = ['admin', 'member', 'guest'] as const
  39. export const ViewFlagBehavior = {
  40. OnShowedDetail: 1,
  41. OnClickedLink: 2,
  42. NotAuto: 3,
  43. } as const