@sunsteel/contracts 0.2.4 → 0.2.5
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.d.cts +18 -1
- package/dist/index.d.ts +18 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,23 @@ interface UpdateProfileRequest {
|
|
|
45
45
|
height?: number | null;
|
|
46
46
|
weightUnit?: WeightUnit;
|
|
47
47
|
}
|
|
48
|
+
interface UserSearchResponse {
|
|
49
|
+
id: string;
|
|
50
|
+
email: string;
|
|
51
|
+
name: string;
|
|
52
|
+
lastName?: string | null;
|
|
53
|
+
avatarUrl?: string | null;
|
|
54
|
+
}
|
|
55
|
+
interface PublicUserProfile {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
lastName?: string | null;
|
|
59
|
+
avatarUrl?: string | null;
|
|
60
|
+
followersCount: number;
|
|
61
|
+
followingCount: number;
|
|
62
|
+
isFollowing: boolean;
|
|
63
|
+
createdAt: IsoDateString;
|
|
64
|
+
}
|
|
48
65
|
interface RoutineSet {
|
|
49
66
|
setNumber: number;
|
|
50
67
|
repType: RepType;
|
|
@@ -361,4 +378,4 @@ declare const TM_ADJUSTMENT_CONSTANTS: {
|
|
|
361
378
|
readonly MAX_REASON_LENGTH: 160;
|
|
362
379
|
};
|
|
363
380
|
|
|
364
|
-
export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateTmEventRequest, type ExerciseId, type FinishStatus, type FinishWorkoutRequest, type GetTmAdjustmentsParams, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, PROGRAM_STYLES, PROGRESSION_SCHEMES, type PaginatedResponse, type ProgramStyle, type ProgressionScheme, REP_TYPES, type RepType, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, type RtfExerciseGoal, type RtfForecast, type RtfForecastData, type RtfForecastWeek, type RtfTimeline, type RtfTimelineEntry, type RtfVariant, type RtfWeekGoals, SEXES, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, TM_ADJUSTMENT_CONSTANTS, type TmEventResponse, type TmEventSummary, type UpdateProfileRequest, type UpsertSetLogRequest, type UserId, type UserProfile, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionStatus, type WorkoutSessionSummary };
|
|
381
|
+
export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateTmEventRequest, type ExerciseId, type FinishStatus, type FinishWorkoutRequest, type GetTmAdjustmentsParams, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, PROGRAM_STYLES, PROGRESSION_SCHEMES, type PaginatedResponse, type ProgramStyle, type ProgressionScheme, type PublicUserProfile, REP_TYPES, type RepType, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, type RtfExerciseGoal, type RtfForecast, type RtfForecastData, type RtfForecastWeek, type RtfTimeline, type RtfTimelineEntry, type RtfVariant, type RtfWeekGoals, SEXES, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, TM_ADJUSTMENT_CONSTANTS, type TmEventResponse, type TmEventSummary, type UpdateProfileRequest, type UpsertSetLogRequest, type UserId, type UserProfile, type UserSearchResponse, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionStatus, type WorkoutSessionSummary };
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,23 @@ interface UpdateProfileRequest {
|
|
|
45
45
|
height?: number | null;
|
|
46
46
|
weightUnit?: WeightUnit;
|
|
47
47
|
}
|
|
48
|
+
interface UserSearchResponse {
|
|
49
|
+
id: string;
|
|
50
|
+
email: string;
|
|
51
|
+
name: string;
|
|
52
|
+
lastName?: string | null;
|
|
53
|
+
avatarUrl?: string | null;
|
|
54
|
+
}
|
|
55
|
+
interface PublicUserProfile {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
lastName?: string | null;
|
|
59
|
+
avatarUrl?: string | null;
|
|
60
|
+
followersCount: number;
|
|
61
|
+
followingCount: number;
|
|
62
|
+
isFollowing: boolean;
|
|
63
|
+
createdAt: IsoDateString;
|
|
64
|
+
}
|
|
48
65
|
interface RoutineSet {
|
|
49
66
|
setNumber: number;
|
|
50
67
|
repType: RepType;
|
|
@@ -361,4 +378,4 @@ declare const TM_ADJUSTMENT_CONSTANTS: {
|
|
|
361
378
|
readonly MAX_REASON_LENGTH: 160;
|
|
362
379
|
};
|
|
363
380
|
|
|
364
|
-
export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateTmEventRequest, type ExerciseId, type FinishStatus, type FinishWorkoutRequest, type GetTmAdjustmentsParams, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, PROGRAM_STYLES, PROGRESSION_SCHEMES, type PaginatedResponse, type ProgramStyle, type ProgressionScheme, REP_TYPES, type RepType, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, type RtfExerciseGoal, type RtfForecast, type RtfForecastData, type RtfForecastWeek, type RtfTimeline, type RtfTimelineEntry, type RtfVariant, type RtfWeekGoals, SEXES, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, TM_ADJUSTMENT_CONSTANTS, type TmEventResponse, type TmEventSummary, type UpdateProfileRequest, type UpsertSetLogRequest, type UserId, type UserProfile, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionStatus, type WorkoutSessionSummary };
|
|
381
|
+
export { type Brand, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateTmEventRequest, type ExerciseId, type FinishStatus, type FinishWorkoutRequest, type GetTmAdjustmentsParams, type IsoDateString, type ListSessionsParams, MUSCLE_GROUPS, type MuscleGroup, PROGRAM_STYLES, PROGRESSION_SCHEMES, type PaginatedResponse, type ProgramStyle, type ProgressionScheme, type PublicUserProfile, REP_TYPES, type RepType, type Routine, type RoutineDay, type RoutineDayId, type RoutineExercise, type RoutineId, type RoutineSet, type RtfExerciseGoal, type RtfForecast, type RtfForecastData, type RtfForecastWeek, type RtfTimeline, type RtfTimelineEntry, type RtfVariant, type RtfWeekGoals, SEXES, type SetLog, type Sex, type StartWorkoutRequest, type StartWorkoutResponse, TM_ADJUSTMENT_CONSTANTS, type TmEventResponse, type TmEventSummary, type UpdateProfileRequest, type UpsertSetLogRequest, type UserId, type UserProfile, type UserSearchResponse, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WeightUnit, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionStatus, type WorkoutSessionSummary };
|