@hy-capital/api-habit-tracker-types 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/habit.js +7 -7
- package/package.json +1 -1
- package/src/habit.ts +7 -7
package/dist/habit.js
CHANGED
@@ -4,13 +4,13 @@ exports.numberToHabitDayMappings = exports.habitDayToNumberMappings = exports.ha
|
|
4
4
|
exports.allHabitDays = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'];
|
5
5
|
exports.habitDateFormat = 'DD-MM-YYYY';
|
6
6
|
exports.habitDayToNumberMappings = {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
Monday: 1,
|
8
|
+
Tuesday: 2,
|
9
|
+
Wednesday: 3,
|
10
|
+
Thursday: 4,
|
11
|
+
Friday: 5,
|
12
|
+
Saturday: 6,
|
13
|
+
Sunday: 0
|
14
14
|
};
|
15
15
|
exports.numberToHabitDayMappings = {
|
16
16
|
1: 'Monday',
|
package/package.json
CHANGED
package/src/habit.ts
CHANGED
@@ -9,13 +9,13 @@ export const allHabitDays: HabitDay[] = ['Monday', 'Tuesday', 'Wednesday', 'Thur
|
|
9
9
|
export const habitDateFormat = 'DD-MM-YYYY';
|
10
10
|
|
11
11
|
export const habitDayToNumberMappings: Record<HabitDay, number> = {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
Monday: 1,
|
13
|
+
Tuesday: 2,
|
14
|
+
Wednesday: 3,
|
15
|
+
Thursday: 4,
|
16
|
+
Friday: 5,
|
17
|
+
Saturday: 6,
|
18
|
+
Sunday: 0
|
19
19
|
};
|
20
20
|
|
21
21
|
export const numberToHabitDayMappings: Record<number, HabitDay> = {
|