@hy-capital/api-habit-tracker-types 1.0.74 → 1.0.76

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.d.ts CHANGED
@@ -64,12 +64,8 @@ export interface HabitStats {
64
64
  habit: DbHabit | null;
65
65
  count: number;
66
66
  };
67
- longestStreak: {
68
- habit: DbHabit | null;
69
- streak: number;
70
- };
71
67
  totalHabitsCompleted: number;
72
- currentOverallStreak: number;
68
+ pledgeStreak: number;
73
69
  doneHabits: {
74
70
  count: number;
75
71
  percentage: number;
package/dist/habit.js CHANGED
@@ -199,12 +199,12 @@ exports.habitTypesByTopicType = {
199
199
  possibleNotificationDescriptions: [
200
200
  'LATE again?... You’re a walking DISASTER. ⏰',
201
201
  'NO BEDTIME yet?... Tomorrow’s already TRASHED. 💔',
202
- 'Your brain’s BEGGING for routine... Hit the sack NOW. 🛏️',
202
+ 'Your brain’s BEGGING for routine... Start winding down NOW. 🛏️',
203
203
  'Tomorrow’s edge starts TONIGHT... Bedtime’s calling. 💤',
204
204
  'Stat: 30% focus boost from 7+ hours of sleep... FACT. ⏰',
205
205
  'Stat: 40% less fatigue with consistent bedtime... Lock it in. 💤',
206
206
  'Challenge: Set a bedtime alarm for 10 PM. You’re DISCIPLINED. 🏆',
207
- 'Challenge: Sleep 7 hours for 3 nights straight. Future you’s UNSTOPPABLE. 💤'
207
+ 'Challenge: Sleep more than 7 hours for 3 nights straight. Future you’s UNSTOPPABLE. 💤'
208
208
  ]
209
209
  },
210
210
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hy-capital/api-habit-tracker-types",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
package/src/habit.ts CHANGED
@@ -74,12 +74,8 @@ export interface HabitStats {
74
74
  habit: DbHabit | null,
75
75
  count: number
76
76
  };
77
- longestStreak: {
78
- habit: DbHabit | null,
79
- streak: number
80
- };
81
77
  totalHabitsCompleted: number;
82
- currentOverallStreak: number;
78
+ pledgeStreak: number;
83
79
  doneHabits: {
84
80
  count: number;
85
81
  percentage: number
@@ -300,12 +296,12 @@ export const habitTypesByTopicType: Record<TopicType, HabitType[]> = {
300
296
  possibleNotificationDescriptions: [
301
297
  'LATE again?... You’re a walking DISASTER. ⏰',
302
298
  'NO BEDTIME yet?... Tomorrow’s already TRASHED. 💔',
303
- 'Your brain’s BEGGING for routine... Hit the sack NOW. 🛏️',
299
+ 'Your brain’s BEGGING for routine... Start winding down NOW. 🛏️',
304
300
  'Tomorrow’s edge starts TONIGHT... Bedtime’s calling. 💤',
305
301
  'Stat: 30% focus boost from 7+ hours of sleep... FACT. ⏰',
306
302
  'Stat: 40% less fatigue with consistent bedtime... Lock it in. 💤',
307
303
  'Challenge: Set a bedtime alarm for 10 PM. You’re DISCIPLINED. 🏆',
308
- 'Challenge: Sleep 7 hours for 3 nights straight. Future you’s UNSTOPPABLE. 💤'
304
+ 'Challenge: Sleep more than 7 hours for 3 nights straight. Future you’s UNSTOPPABLE. 💤'
309
305
  ]
310
306
  },
311
307
  {