@sunsteel/contracts 0.21.0 → 0.23.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/index.cjs CHANGED
@@ -29,6 +29,7 @@ __export(index_exports, {
29
29
  PROFILE_TRAINING_GOALS_MAX: () => PROFILE_TRAINING_GOALS_MAX,
30
30
  PROFILE_VISIBILITY_VALUES: () => PROFILE_VISIBILITY_VALUES,
31
31
  PROGRESSION_SCHEMES: () => PROGRESSION_SCHEMES,
32
+ PROGRESS_TIMELINE_EVENT_TYPES: () => PROGRESS_TIMELINE_EVENT_TYPES,
32
33
  REP_TYPES: () => REP_TYPES,
33
34
  RESERVED_USERNAMES: () => RESERVED_USERNAMES,
34
35
  SEXES: () => SEXES,
@@ -161,6 +162,10 @@ var TRAINING_EVENT_TYPES = [
161
162
  "PERSONAL_RECORD",
162
163
  "PROGRESSION_CHANGED"
163
164
  ];
165
+ var PROGRESS_TIMELINE_EVENT_TYPES = [
166
+ "PERSONAL_RECORD",
167
+ "PROGRESSION_CHANGED"
168
+ ];
164
169
  // Annotate the CommonJS export names for ESM import in node:
165
170
  0 && (module.exports = {
166
171
  MUSCLE_GROUPS,
@@ -172,6 +177,7 @@ var TRAINING_EVENT_TYPES = [
172
177
  PROFILE_TRAINING_GOALS_MAX,
173
178
  PROFILE_VISIBILITY_VALUES,
174
179
  PROGRESSION_SCHEMES,
180
+ PROGRESS_TIMELINE_EVENT_TYPES,
175
181
  REP_TYPES,
176
182
  RESERVED_USERNAMES,
177
183
  SEXES,
package/dist/index.d.cts CHANGED
@@ -414,6 +414,95 @@ interface VolumeTrendResponse {
414
414
  routines: VolumeTrendSeries[];
415
415
  exercises: VolumeTrendSeries[];
416
416
  }
417
+ interface SessionComparisonQuery {
418
+ routineDayId?: string;
419
+ }
420
+ interface SessionComparisonRoutineDay {
421
+ routineDayId: string;
422
+ routineId: string;
423
+ routineName: string;
424
+ dayName?: string | null;
425
+ lastCompletedAt: IsoDateString;
426
+ completedSessionCount: number;
427
+ }
428
+ interface SessionComparisonSet {
429
+ routineExerciseId: string;
430
+ setNumber: number;
431
+ reps: number;
432
+ weightKg?: number | null;
433
+ rpe?: number | null;
434
+ }
435
+ interface SessionComparisonExercise {
436
+ routineExerciseId: string;
437
+ exerciseId: string;
438
+ exerciseName: string;
439
+ order: number;
440
+ sets: SessionComparisonSet[];
441
+ }
442
+ interface SessionComparisonSession {
443
+ sessionId: string;
444
+ routineDayId: string;
445
+ routineName: string;
446
+ dayName?: string | null;
447
+ startedAt: IsoDateString;
448
+ endedAt: IsoDateString;
449
+ durationSec: number;
450
+ totalVolumeKg: number;
451
+ completedSets: number;
452
+ notes?: string | null;
453
+ exercises: SessionComparisonExercise[];
454
+ }
455
+ /** Stable successful response of GET /workouts/progress/session-comparison. */
456
+ interface SessionComparisonResponse {
457
+ routineDays: SessionComparisonRoutineDay[];
458
+ selectedRoutineDay: SessionComparisonRoutineDay | null;
459
+ latestSession: SessionComparisonSession | null;
460
+ previousSession: SessionComparisonSession | null;
461
+ }
462
+ declare const PROGRESS_TIMELINE_EVENT_TYPES: readonly ["PERSONAL_RECORD", "PROGRESSION_CHANGED"];
463
+ type ProgressTimelineEventType = (typeof PROGRESS_TIMELINE_EVENT_TYPES)[number];
464
+ interface ProgressTimelineQuery {
465
+ type?: ProgressTimelineEventType;
466
+ cursor?: string;
467
+ limit?: number;
468
+ }
469
+ interface ProgressTimelineSessionContext {
470
+ sessionId: string;
471
+ routineName: string;
472
+ dayName?: string | null;
473
+ }
474
+ interface ProgressTimelineRecordPerformance {
475
+ weightKg: number;
476
+ reps: number;
477
+ estimated1rmKg: number;
478
+ }
479
+ type ProgressTimelineRecordReason = 'FIRST_RECORDED_BEST' | 'HEAVIER_LOAD' | 'MORE_REPS_AT_SAME_LOAD';
480
+ interface ProgressTimelinePersonalRecordItem {
481
+ eventId: string;
482
+ type: 'PERSONAL_RECORD';
483
+ occurredAt: IsoDateString;
484
+ session: ProgressTimelineSessionContext;
485
+ exerciseId: string;
486
+ exerciseName: string;
487
+ current: ProgressTimelineRecordPerformance;
488
+ previous: ProgressTimelineRecordPerformance | null;
489
+ reason: ProgressTimelineRecordReason;
490
+ }
491
+ interface ProgressTimelineProgressionItem {
492
+ eventId: string;
493
+ type: 'PROGRESSION_CHANGED';
494
+ occurredAt: IsoDateString;
495
+ session: ProgressTimelineSessionContext;
496
+ exerciseId: string;
497
+ exerciseName: string;
498
+ change: ProgressionChange;
499
+ }
500
+ type ProgressTimelineItem = ProgressTimelinePersonalRecordItem | ProgressTimelineProgressionItem;
501
+ /** Stable successful response of GET /workouts/progress/timeline. */
502
+ interface ProgressTimelineResponse {
503
+ items: ProgressTimelineItem[];
504
+ nextCursor?: string;
505
+ }
417
506
  /** Immutable prescription captured before any sets or progression. */
418
507
  interface WorkoutSessionSnapshotV1 {
419
508
  schemaVersion: 1;
@@ -694,4 +783,4 @@ interface CreateRoutineRequest {
694
783
  }
695
784
  type UpdateRoutineRequest = Partial<CreateRoutineRequest>;
696
785
 
697
- export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type EarnedPersonalRecord, type Exercise, type ExerciseId, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, type PaginatedResponse, type PersonalRecordEntry, type PersonalRecordKind, type PlatePairInventory, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicTrainingSummary, type PublicUserProfile, REP_TYPES, RESERVED_USERNAMES, type RecentActivityEntry, type RepType, type ReplaceTrainingLocationsRequest, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, SEXES, type SessionRecapRecord, type SetAccountTimeZoneRequest, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutStatsQuery, type WorkoutStatsResponse };
786
+ export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type EarnedPersonalRecord, type Exercise, type ExerciseId, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, PROGRESS_TIMELINE_EVENT_TYPES, type PaginatedResponse, type PersonalRecordEntry, type PersonalRecordKind, type PlatePairInventory, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressTimelineEventType, type ProgressTimelineItem, type ProgressTimelinePersonalRecordItem, type ProgressTimelineProgressionItem, type ProgressTimelineQuery, type ProgressTimelineRecordPerformance, type ProgressTimelineRecordReason, type ProgressTimelineResponse, type ProgressTimelineSessionContext, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicTrainingSummary, type PublicUserProfile, REP_TYPES, RESERVED_USERNAMES, type RecentActivityEntry, type RepType, type ReplaceTrainingLocationsRequest, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, SEXES, type SessionComparisonExercise, type SessionComparisonQuery, type SessionComparisonResponse, type SessionComparisonRoutineDay, type SessionComparisonSession, type SessionComparisonSet, type SessionRecapRecord, type SetAccountTimeZoneRequest, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutStatsQuery, type WorkoutStatsResponse };
package/dist/index.d.ts CHANGED
@@ -414,6 +414,95 @@ interface VolumeTrendResponse {
414
414
  routines: VolumeTrendSeries[];
415
415
  exercises: VolumeTrendSeries[];
416
416
  }
417
+ interface SessionComparisonQuery {
418
+ routineDayId?: string;
419
+ }
420
+ interface SessionComparisonRoutineDay {
421
+ routineDayId: string;
422
+ routineId: string;
423
+ routineName: string;
424
+ dayName?: string | null;
425
+ lastCompletedAt: IsoDateString;
426
+ completedSessionCount: number;
427
+ }
428
+ interface SessionComparisonSet {
429
+ routineExerciseId: string;
430
+ setNumber: number;
431
+ reps: number;
432
+ weightKg?: number | null;
433
+ rpe?: number | null;
434
+ }
435
+ interface SessionComparisonExercise {
436
+ routineExerciseId: string;
437
+ exerciseId: string;
438
+ exerciseName: string;
439
+ order: number;
440
+ sets: SessionComparisonSet[];
441
+ }
442
+ interface SessionComparisonSession {
443
+ sessionId: string;
444
+ routineDayId: string;
445
+ routineName: string;
446
+ dayName?: string | null;
447
+ startedAt: IsoDateString;
448
+ endedAt: IsoDateString;
449
+ durationSec: number;
450
+ totalVolumeKg: number;
451
+ completedSets: number;
452
+ notes?: string | null;
453
+ exercises: SessionComparisonExercise[];
454
+ }
455
+ /** Stable successful response of GET /workouts/progress/session-comparison. */
456
+ interface SessionComparisonResponse {
457
+ routineDays: SessionComparisonRoutineDay[];
458
+ selectedRoutineDay: SessionComparisonRoutineDay | null;
459
+ latestSession: SessionComparisonSession | null;
460
+ previousSession: SessionComparisonSession | null;
461
+ }
462
+ declare const PROGRESS_TIMELINE_EVENT_TYPES: readonly ["PERSONAL_RECORD", "PROGRESSION_CHANGED"];
463
+ type ProgressTimelineEventType = (typeof PROGRESS_TIMELINE_EVENT_TYPES)[number];
464
+ interface ProgressTimelineQuery {
465
+ type?: ProgressTimelineEventType;
466
+ cursor?: string;
467
+ limit?: number;
468
+ }
469
+ interface ProgressTimelineSessionContext {
470
+ sessionId: string;
471
+ routineName: string;
472
+ dayName?: string | null;
473
+ }
474
+ interface ProgressTimelineRecordPerformance {
475
+ weightKg: number;
476
+ reps: number;
477
+ estimated1rmKg: number;
478
+ }
479
+ type ProgressTimelineRecordReason = 'FIRST_RECORDED_BEST' | 'HEAVIER_LOAD' | 'MORE_REPS_AT_SAME_LOAD';
480
+ interface ProgressTimelinePersonalRecordItem {
481
+ eventId: string;
482
+ type: 'PERSONAL_RECORD';
483
+ occurredAt: IsoDateString;
484
+ session: ProgressTimelineSessionContext;
485
+ exerciseId: string;
486
+ exerciseName: string;
487
+ current: ProgressTimelineRecordPerformance;
488
+ previous: ProgressTimelineRecordPerformance | null;
489
+ reason: ProgressTimelineRecordReason;
490
+ }
491
+ interface ProgressTimelineProgressionItem {
492
+ eventId: string;
493
+ type: 'PROGRESSION_CHANGED';
494
+ occurredAt: IsoDateString;
495
+ session: ProgressTimelineSessionContext;
496
+ exerciseId: string;
497
+ exerciseName: string;
498
+ change: ProgressionChange;
499
+ }
500
+ type ProgressTimelineItem = ProgressTimelinePersonalRecordItem | ProgressTimelineProgressionItem;
501
+ /** Stable successful response of GET /workouts/progress/timeline. */
502
+ interface ProgressTimelineResponse {
503
+ items: ProgressTimelineItem[];
504
+ nextCursor?: string;
505
+ }
417
506
  /** Immutable prescription captured before any sets or progression. */
418
507
  interface WorkoutSessionSnapshotV1 {
419
508
  schemaVersion: 1;
@@ -694,4 +783,4 @@ interface CreateRoutineRequest {
694
783
  }
695
784
  type UpdateRoutineRequest = Partial<CreateRoutineRequest>;
696
785
 
697
- export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type EarnedPersonalRecord, type Exercise, type ExerciseId, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, type PaginatedResponse, type PersonalRecordEntry, type PersonalRecordKind, type PlatePairInventory, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicTrainingSummary, type PublicUserProfile, REP_TYPES, RESERVED_USERNAMES, type RecentActivityEntry, type RepType, type ReplaceTrainingLocationsRequest, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, SEXES, type SessionRecapRecord, type SetAccountTimeZoneRequest, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutStatsQuery, type WorkoutStatsResponse };
786
+ export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type EarnedPersonalRecord, type Exercise, type ExerciseId, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, PROGRESS_TIMELINE_EVENT_TYPES, type PaginatedResponse, type PersonalRecordEntry, type PersonalRecordKind, type PlatePairInventory, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressTimelineEventType, type ProgressTimelineItem, type ProgressTimelinePersonalRecordItem, type ProgressTimelineProgressionItem, type ProgressTimelineQuery, type ProgressTimelineRecordPerformance, type ProgressTimelineRecordReason, type ProgressTimelineResponse, type ProgressTimelineSessionContext, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicTrainingSummary, type PublicUserProfile, REP_TYPES, RESERVED_USERNAMES, type RecentActivityEntry, type RepType, type ReplaceTrainingLocationsRequest, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, SEXES, type SessionComparisonExercise, type SessionComparisonQuery, type SessionComparisonResponse, type SessionComparisonRoutineDay, type SessionComparisonSession, type SessionComparisonSet, type SessionRecapRecord, type SetAccountTimeZoneRequest, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutStatsQuery, type WorkoutStatsResponse };
package/dist/index.js CHANGED
@@ -115,6 +115,10 @@ var TRAINING_EVENT_TYPES = [
115
115
  "PERSONAL_RECORD",
116
116
  "PROGRESSION_CHANGED"
117
117
  ];
118
+ var PROGRESS_TIMELINE_EVENT_TYPES = [
119
+ "PERSONAL_RECORD",
120
+ "PROGRESSION_CHANGED"
121
+ ];
118
122
  export {
119
123
  MUSCLE_GROUPS,
120
124
  PREFERRED_TRAINING_STYLE_VALUES,
@@ -125,6 +129,7 @@ export {
125
129
  PROFILE_TRAINING_GOALS_MAX,
126
130
  PROFILE_VISIBILITY_VALUES,
127
131
  PROGRESSION_SCHEMES,
132
+ PROGRESS_TIMELINE_EVENT_TYPES,
128
133
  REP_TYPES,
129
134
  RESERVED_USERNAMES,
130
135
  SEXES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunsteel/contracts",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ezee969/sunsteel-contracts.git"