hevy-shared 1.0.953 → 1.0.955
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/built/index.d.ts +4 -11
- package/built/index.js +1 -0
- package/built/schemas.d.ts +6 -0
- package/built/schemas.js +12 -0
- package/package.json +3 -2
package/built/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { WorkoutDurationMinutes } from './hevyTrainer';
|
|
2
|
+
import { postEmailBackofficeSchema } from './schemas';
|
|
2
3
|
import { Language } from './translations';
|
|
3
4
|
import { Lookup } from './typeUtils';
|
|
5
|
+
import z from 'zod';
|
|
6
|
+
export * from './schemas';
|
|
4
7
|
export * from './constants';
|
|
5
8
|
export * from './utils';
|
|
6
9
|
export * from './units';
|
|
@@ -1987,14 +1990,4 @@ export interface GetAccountsByEmailResponse {
|
|
|
1987
1990
|
wellhub_email: string | null;
|
|
1988
1991
|
}[];
|
|
1989
1992
|
}
|
|
1990
|
-
export
|
|
1991
|
-
reported_by: string;
|
|
1992
|
-
reported_at: string;
|
|
1993
|
-
report_type: string | null;
|
|
1994
|
-
reason: string;
|
|
1995
|
-
data: unknown;
|
|
1996
|
-
}
|
|
1997
|
-
export interface GetReportedUserSummaryBackofficeResponse {
|
|
1998
|
-
username: string;
|
|
1999
|
-
user_reports: UserReportSummaryBackoffice[];
|
|
2000
|
-
}
|
|
1993
|
+
export type PostEmailBackofficeRequest = z.infer<typeof postEmailBackofficeSchema>;
|
package/built/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.isPublicWorkout = exports.isSetType = exports.isRPE = exports.validRpeValues = exports.isSetPersonalRecordType = exports.supportedInstructionsLanguages = exports.weeklyTrainingFrequencies = exports.isGranularEquipment = exports.granularEquipments = exports.hevyTrainerProgramEquipments = exports.restTimerLengths = exports.exerciseCategories = exports.trainingLevels = exports.trainingGoals = exports.isCustomExerciseType = exports.customExericseTypes = exports.isExerciseType = exports.exerciseTypes = exports.isExerciseRepType = exports.exerciseRepTypes = exports.isEquipmentFilter = exports.equipmentFilters = exports.isEquipment = exports.equipments = exports.simplifiedMuscleGroupToMuscleGroups = exports.isMuscleGroupFilter = exports.muscleGroupFilters = exports.isMuscleGroup = exports.muscleGroups = exports.isSimplifiedMuscleGroup = exports.simplifiedMuscleGroups = exports.miscellaneousMuscles = exports.chestMuscles = exports.backMuscles = exports.legMuscles = exports.armMuscles = exports.shoulderMuscles = exports.coreMuscles = exports.DefaultClientConfiguration = exports.parseClientAuthTokenResponse = exports.isCoachRole = exports.isErrorResponse = exports.isLivePRVolumeOption = exports.isTimerVolumeOption = exports.isWeekday = exports.orderedWeekdays = exports.isBodyMeasurementUnit = exports.isDistanceUnitShort = exports.isDistanceUnit = exports.isWeightUnit = void 0;
|
|
18
18
|
exports.isOAuthScope = exports.supportedScopes = exports.isSuggestedUserSource = exports.isValidUserWorkoutMetricsType = exports.isBodyMeasurementKey = exports.measurementsList = exports.isHevyTrainerRoutine = exports.isWorkoutBiometrics = exports.isHeartRateSamples = void 0;
|
|
19
19
|
const typeUtils_1 = require("./typeUtils");
|
|
20
|
+
__exportStar(require("./schemas"), exports);
|
|
20
21
|
__exportStar(require("./constants"), exports);
|
|
21
22
|
__exportStar(require("./utils"), exports);
|
|
22
23
|
__exportStar(require("./units"), exports);
|
package/built/schemas.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.postEmailBackofficeSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.postEmailBackofficeSchema = zod_1.default.object({
|
|
9
|
+
toUserId: zod_1.default.string(),
|
|
10
|
+
subject: zod_1.default.string(),
|
|
11
|
+
message: zod_1.default.string(),
|
|
12
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hevy-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.955",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "built/index.js",
|
|
6
6
|
"types": "built/index.d.ts",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"dayjs": "^1.11.19",
|
|
54
|
-
"lodash": "^4.17.21"
|
|
54
|
+
"lodash": "^4.17.21",
|
|
55
|
+
"zod": "^4.3.6"
|
|
55
56
|
}
|
|
56
57
|
}
|