hevy-shared 1.0.752 → 1.0.754
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 +6 -2
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1617,7 +1617,7 @@ export interface CreateRoutineCopyRequest {
|
|
|
1617
1617
|
folderId: number | null;
|
|
1618
1618
|
}
|
|
1619
1619
|
export type HevyPlatforms = 'hevy' | 'hevy-web' | 'hevy-coach' | 'hevy-coach-web';
|
|
1620
|
-
export type FeedbackType = 'general' | 'feature-request' | 'bug-report' | 'get-help' | 'report-comment' | 'report-workout' | 'report-profile' | 'rating-review' | 'cancel-subscription';
|
|
1620
|
+
export type FeedbackType = 'general' | 'feature-request' | 'bug-report' | 'get-help' | 'report-comment' | 'report-workout' | 'report-profile' | 'rating-review' | 'trainer-rating' | 'cancel-subscription';
|
|
1621
1621
|
interface BaseFeedback {
|
|
1622
1622
|
platform: HevyPlatforms;
|
|
1623
1623
|
type: FeedbackType;
|
|
@@ -1666,13 +1666,17 @@ export interface ReportProfileFeedback extends BaseFeedback {
|
|
|
1666
1666
|
export interface RatingPromptFeedback extends BaseFeedback {
|
|
1667
1667
|
type: 'rating-review';
|
|
1668
1668
|
}
|
|
1669
|
+
export interface TrainerRatingPromptFeedback extends BaseFeedback {
|
|
1670
|
+
type: 'trainer-rating';
|
|
1671
|
+
rating: number;
|
|
1672
|
+
}
|
|
1669
1673
|
export interface CancelSubscriptionFeedback extends BaseFeedback {
|
|
1670
1674
|
type: 'cancel-subscription';
|
|
1671
1675
|
data?: {
|
|
1672
1676
|
reason: string;
|
|
1673
1677
|
};
|
|
1674
1678
|
}
|
|
1675
|
-
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | CancelSubscriptionFeedback;
|
|
1679
|
+
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | TrainerRatingPromptFeedback | CancelSubscriptionFeedback;
|
|
1676
1680
|
export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | null;
|
|
1677
1681
|
export interface AppLogLine {
|
|
1678
1682
|
/**
|