@krampa/common 0.12.0 → 0.13.0
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/goal-types.d.ts +1 -4
- package/dist/goal-types.js +0 -7
- package/package.json +1 -1
package/dist/goal-types.d.ts
CHANGED
|
@@ -6,14 +6,11 @@ export declare const GOAL_TYPES: {
|
|
|
6
6
|
readonly WEIGHT_LOSS: "weight/loss";
|
|
7
7
|
readonly WEIGHT_GAIN: "weight/gain";
|
|
8
8
|
readonly WEIGHT_MAINTAIN: "weight/maintain";
|
|
9
|
-
readonly WORKOUT_STRENGTH: "workout/strength";
|
|
10
|
-
readonly WORKOUT_CARDIO: "workout/cardio";
|
|
11
|
-
readonly WORKOUT_OTHER: "workout/other";
|
|
12
9
|
readonly WORKOUT: "workout";
|
|
13
10
|
readonly ACHIEVEMENT_PR: "achievement/pr";
|
|
14
11
|
readonly STEPS_DAILY: "steps/daily";
|
|
15
12
|
readonly MEASUREMENT_BODY: "measurement/body";
|
|
16
13
|
readonly CUSTOM_OTHER: "custom/other";
|
|
17
14
|
};
|
|
18
|
-
export declare const GOAL_TYPE_VALUES: readonly ["weight/loss", "weight/gain", "weight/maintain", "workout
|
|
15
|
+
export declare const GOAL_TYPE_VALUES: readonly ["weight/loss", "weight/gain", "weight/maintain", "workout", "achievement/pr", "steps/daily", "measurement/body", "custom/other"];
|
|
19
16
|
export type GoalType = (typeof GOAL_TYPE_VALUES)[number];
|
package/dist/goal-types.js
CHANGED
|
@@ -11,10 +11,6 @@ exports.GOAL_TYPES = {
|
|
|
11
11
|
WEIGHT_LOSS: "weight/loss",
|
|
12
12
|
WEIGHT_GAIN: "weight/gain",
|
|
13
13
|
WEIGHT_MAINTAIN: "weight/maintain",
|
|
14
|
-
// Workout goals (distance/time embedded in cardio)
|
|
15
|
-
WORKOUT_STRENGTH: "workout/strength",
|
|
16
|
-
WORKOUT_CARDIO: "workout/cardio",
|
|
17
|
-
WORKOUT_OTHER: "workout/other",
|
|
18
14
|
// New workout type
|
|
19
15
|
WORKOUT: "workout",
|
|
20
16
|
// Achievement goals
|
|
@@ -29,9 +25,6 @@ exports.GOAL_TYPE_VALUES = [
|
|
|
29
25
|
exports.GOAL_TYPES.WEIGHT_LOSS,
|
|
30
26
|
exports.GOAL_TYPES.WEIGHT_GAIN,
|
|
31
27
|
exports.GOAL_TYPES.WEIGHT_MAINTAIN,
|
|
32
|
-
exports.GOAL_TYPES.WORKOUT_STRENGTH,
|
|
33
|
-
exports.GOAL_TYPES.WORKOUT_CARDIO,
|
|
34
|
-
exports.GOAL_TYPES.WORKOUT_OTHER,
|
|
35
28
|
exports.GOAL_TYPES.WORKOUT,
|
|
36
29
|
exports.GOAL_TYPES.ACHIEVEMENT_PR,
|
|
37
30
|
exports.GOAL_TYPES.STEPS_DAILY,
|