hevy-shared 1.0.753 → 1.0.755

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.
Files changed (2) hide show
  1. package/built/index.d.ts +8 -2
  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,19 @@ 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
+ data: {
1672
+ rating: number;
1673
+ };
1674
+ }
1669
1675
  export interface CancelSubscriptionFeedback extends BaseFeedback {
1670
1676
  type: 'cancel-subscription';
1671
1677
  data?: {
1672
1678
  reason: string;
1673
1679
  };
1674
1680
  }
1675
- export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | CancelSubscriptionFeedback;
1681
+ export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | TrainerRatingPromptFeedback | CancelSubscriptionFeedback;
1676
1682
  export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | null;
1677
1683
  export interface AppLogLine {
1678
1684
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.753",
3
+ "version": "1.0.755",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",