@kaiord/core / profileSnapshotSchema
Variable: profileSnapshotSchema
constprofileSnapshotSchema:ZodPipe<ZodUnknown,ZodObject<{activeSport:ZodOptional<ZodEnum<{cycling:"cycling";running:"running";swimming:"swimming"; }>>;generatedAt:ZodISODateTime;heartRate:ZodDefault<ZodObject<{lthr:ZodOptional<ZodNumber>;max:ZodOptional<ZodNumber>; },$strict>>;profile:ZodObject<{bodyWeight:ZodOptional<ZodNumber>;name:ZodString; },$strict>;schemaVersion:ZodLiteral<1>;thresholds:ZodDefault<ZodObject<{cycling:ZodOptional<ZodObject<{ftp:ZodOptional<ZodNumber>; },$strict>>;running:ZodOptional<ZodObject<{lthr:ZodOptional<ZodNumber>;thresholdPaceSecPerKm:ZodOptional<ZodNumber>; },$strict>>;swimming:ZodOptional<ZodObject<{cssPaceSecPer100m:ZodOptional<ZodNumber>; },$strict>>; },$strict>>; },$strict>>
Defined in: packages/core/src/protocol/profile-snapshot.ts:77