eletrotupi / tcc/ api/src/services/export/label.map.ts82219bffa59da16277fbdf343d327a77d7714dfc
1.1 KB | 50 lines Raw
1
import {
2
  BaseMoodOption,
3
  IntensityLevel,
4
  MoodComponentOption,
5
  TriggerType,
6
} from "@prisma/client";
7

8
// Temporary copy of the labels the app shows. The app-wide map will eventually
9
// live with the i18n labels work; these are intentionally pt-BR only.
10
export const baseMoodLabel: Record<BaseMoodOption, string> = {
11
  SAD: "Triste",
12
  NEUTRAL: "Neutro",
13
  GOOD: "Bem",
14
  GREAT: "Ótimo",
15
  ANGRY: "Irritado",
16
};
17

18
export const moodComponentLabel: Record<MoodComponentOption, string> = {
19
  JOY: "Alegria",
20
  ANGER: "Raiva",
21
  SADNESS: "Tristeza",
22
  FEAR: "Medo",
23
  GUILT: "Culpa",
24
  FRUSTRATION: "Frustração",
25
  CALM: "Calmo",
26
  MOTIVATED: "Motivado",
27
  TIREDNESS: "Cansaço",
28
  GRATITUDE: "Gratidão",
29
  FOCUS: "Foco",
30
  RESTLESS: "Inquieto",
31
  RELAXED: "Relaxado",
32
  OVERWHELMED: "Sobrecarga",
33
};
34

35
export const intensityLabel: Record<IntensityLevel, string> = {
36
  LIGHT: "Suave",
37
  MODERATE: "Moderada",
38
  HIGH: "Intensa",
39
};
40

41
export const triggerTypeLabel: Record<TriggerType, string> = {
42
  SOCIAL: "Social",
43
  WORK: "Trabalho",
44
  HEALTH: "Saúde",
45
  PHYSICAL: "Físico",
46
  FAMILY: "Família",
47
  THERAPY: "Terapia",
48
  INTERNAL: "Interno",
49
  OTHER: "Outro",
50
};