hevy-shared 1.0.667 → 1.0.669
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 +2 -1
- package/built/index.js +10 -14
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1617,7 +1617,8 @@ export interface CancelSubscriptionFeedback extends BaseFeedback {
|
|
|
1617
1617
|
};
|
|
1618
1618
|
}
|
|
1619
1619
|
export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | CancelSubscriptionFeedback;
|
|
1620
|
-
|
|
1620
|
+
declare const _suggestedUserSources: readonly ["popular", "local", "contact", "mutual_follows", "follows_you", "featured", "hyper_local"];
|
|
1621
|
+
export type SuggestedUserSource = Lookup<typeof _suggestedUserSources>;
|
|
1621
1622
|
export declare const isSuggestedUserSource: (source: string) => source is SuggestedUserSource;
|
|
1622
1623
|
export type SuggestedUserLabel = 'contact' | 'mutual_friends' | 'follows_you' | 'featured';
|
|
1623
1624
|
export interface SuggestedUser {
|
package/built/index.js
CHANGED
|
@@ -293,18 +293,14 @@ exports.isBodyMeasurementKey = isBodyMeasurementKey;
|
|
|
293
293
|
const _validUserWorkoutMetricsTypes = ['duration', 'reps'];
|
|
294
294
|
const isValidUserWorkoutMetricsType = (x) => (0, typeUtils_1.isInArray)(x, _validUserWorkoutMetricsTypes);
|
|
295
295
|
exports.isValidUserWorkoutMetricsType = isValidUserWorkoutMetricsType;
|
|
296
|
-
const
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
default:
|
|
307
|
-
return false;
|
|
308
|
-
}
|
|
309
|
-
};
|
|
296
|
+
const _suggestedUserSources = [
|
|
297
|
+
'popular',
|
|
298
|
+
'local',
|
|
299
|
+
'contact',
|
|
300
|
+
'mutual_follows',
|
|
301
|
+
'follows_you',
|
|
302
|
+
'featured',
|
|
303
|
+
'hyper_local',
|
|
304
|
+
];
|
|
305
|
+
const isSuggestedUserSource = (source) => (0, typeUtils_1.isInArray)(source, _suggestedUserSources);
|
|
310
306
|
exports.isSuggestedUserSource = isSuggestedUserSource;
|