Skip to content

Commit

Permalink
Made changes to the desired util files (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
marko0124 authored Jan 13, 2025
1 parent e9caac0 commit 483900d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
28 changes: 18 additions & 10 deletions tpp-app/src/services/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ export const EXERCISE_TYPE = {
};

export const TRACK_SYMPTOMS = {
FLOW: "trackFlow",
MOOD: "trackMood",
SLEEP: "trackSleep",
CRAMPS: "trackCramps",
EXERCISE: "trackExercise",
};
FLOW: 'trackFlow',
MOOD: 'trackMood',
SLEEP: 'trackSleep',
CRAMPS: 'trackCramps',
EXERCISE: 'trackExercise',
OVULATION: 'trackOvulation'
}

export const FILTER_COLOURS = {
FLOW: {
Expand Down Expand Up @@ -125,7 +126,9 @@ export const KEYS = {
SELECTED_MONTH: "selectedMonth",
SELECTED_VIEW: "selectedView",
JOINED_DATE: "joinedDate",
};
AVERAGE_OVULATION_PHASE_LENGTH: "averageOvulationPhaseLength",
AVERAGE_TIME_BETWEEN_PERIOD_AND_OVULATION: "averageTimeBetweenPeriodAndOvulation"
}

export const FACT_NUM = {
FACT_CYCLE_NUM: "factCycleNumber",
Expand Down Expand Up @@ -166,7 +169,12 @@ export const APPLE_CREDENTIALS = {

export const ICLOUD = {
BACKUP_KEY: "tpp-backup",
LAST_SAVED_TIME: "lastSavedTime",
};
LAST_SAVED_TIME: "lastSavedTime"
}

export const NOTIFICATIONS = {
ALLOW_OVULATION_NOTIFICATIONS: "allowOvulationNotifications"
}

export const TUTORIAL_KEY = 'showTutorial'; // key for backend value that returns 'true' if user needs to see tutorial

export const TUTORIAL_KEY = "showTutorial"; // key for backend value that returns 'true' if user needs to see tutorial
1 change: 1 addition & 0 deletions tpp-app/src/services/utils/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class Symptoms {
this.cramps = cramps;
this.exercise = exercise;
this.notes = notes;
this.ovulating = null;
}
}

Expand Down

0 comments on commit 483900d

Please sign in to comment.