hevy-shared 1.0.756 → 1.0.757
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 +5 -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' | 'trainer-rating' | 'cancel-subscription';
|
|
1620
|
+
export type FeedbackType = 'general' | 'feature-request' | 'bug-report' | 'get-help' | 'report-comment' | 'report-workout' | 'report-profile' | 'rating-review' | 'trainer-rating' | 'trainer-general' | 'cancel-subscription';
|
|
1621
1621
|
interface BaseFeedback {
|
|
1622
1622
|
platform: HevyPlatforms;
|
|
1623
1623
|
type: FeedbackType;
|
|
@@ -1672,13 +1672,16 @@ export interface TrainerRatingPromptFeedback extends BaseFeedback {
|
|
|
1672
1672
|
rating: number;
|
|
1673
1673
|
};
|
|
1674
1674
|
}
|
|
1675
|
+
export interface TrainerGeneralFeedback extends BaseFeedback {
|
|
1676
|
+
type: 'trainer-general';
|
|
1677
|
+
}
|
|
1675
1678
|
export interface CancelSubscriptionFeedback extends BaseFeedback {
|
|
1676
1679
|
type: 'cancel-subscription';
|
|
1677
1680
|
data?: {
|
|
1678
1681
|
reason: string;
|
|
1679
1682
|
};
|
|
1680
1683
|
}
|
|
1681
|
-
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | TrainerRatingPromptFeedback | CancelSubscriptionFeedback;
|
|
1684
|
+
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | TrainerRatingPromptFeedback | TrainerGeneralFeedback | CancelSubscriptionFeedback;
|
|
1682
1685
|
export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | null;
|
|
1683
1686
|
export interface AppLogLine {
|
|
1684
1687
|
/**
|