hevy-shared 1.0.746 → 1.0.748
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 +13 -2
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1673,13 +1673,24 @@ export interface CancelSubscriptionFeedback extends BaseFeedback {
|
|
|
1673
1673
|
};
|
|
1674
1674
|
}
|
|
1675
1675
|
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | CancelSubscriptionFeedback;
|
|
1676
|
-
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
1676
|
+
export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | null;
|
|
1677
1677
|
export interface AppLogLine {
|
|
1678
|
+
/**
|
|
1679
|
+
* Line index, starts from 0 when app is initialised and increments by 1 for
|
|
1680
|
+
* each line logged by the log util.
|
|
1681
|
+
*/
|
|
1678
1682
|
index: number;
|
|
1679
|
-
|
|
1683
|
+
/** Unix ms. String so it's simpler to handle across different platforms. */
|
|
1684
|
+
timestamp: string;
|
|
1685
|
+
logLevel: LogLevel;
|
|
1686
|
+
/** Used by android.util.Log on Wear OS */
|
|
1680
1687
|
tag?: string;
|
|
1681
1688
|
msg: string;
|
|
1682
1689
|
}
|
|
1690
|
+
export interface PostAppLogRequest {
|
|
1691
|
+
version: 1;
|
|
1692
|
+
lines: AppLogLine[];
|
|
1693
|
+
}
|
|
1683
1694
|
declare const _suggestedUserSources: readonly ["popular", "local", "contact", "mutual_follows", "follows_you", "featured", "hyper_local"];
|
|
1684
1695
|
export type SuggestedUserSource = Lookup<typeof _suggestedUserSources>;
|
|
1685
1696
|
export declare const isSuggestedUserSource: (source: string) => source is SuggestedUserSource;
|