hevy-shared 1.0.920 → 1.0.922
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 +3 -2
- package/built/index.js +1 -0
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -246,7 +246,8 @@ export interface UsernameAvailabilityResponse {
|
|
|
246
246
|
isAvailable: boolean;
|
|
247
247
|
suggestions: string[];
|
|
248
248
|
}
|
|
249
|
-
export interface CoachLoginResult
|
|
249
|
+
export interface CoachLoginResult {
|
|
250
|
+
auth_token: string;
|
|
250
251
|
is_first_login_to_coach_platform: boolean;
|
|
251
252
|
}
|
|
252
253
|
export interface CoachSocialLoginResult extends SocialLoginResult {
|
|
@@ -1832,7 +1833,7 @@ export interface BackofficeAppLogIndexResponse {
|
|
|
1832
1833
|
fileSizeBytes: number;
|
|
1833
1834
|
}[];
|
|
1834
1835
|
}
|
|
1835
|
-
declare const _suggestedUserSources: readonly ["popular", "local", "contact", "mutual_follows", "follows_you", "featured", "hyper_local"];
|
|
1836
|
+
declare const _suggestedUserSources: readonly ["popular", "local", "contact", "mutual_follows", "follows_you", "featured", "hyper_local", "top_discovery"];
|
|
1836
1837
|
export type SuggestedUserSource = Lookup<typeof _suggestedUserSources>;
|
|
1837
1838
|
export declare const isSuggestedUserSource: (source: string) => source is SuggestedUserSource;
|
|
1838
1839
|
export type SuggestedUserLabel = 'contact' | 'mutual_friends' | 'follows_you' | 'featured';
|
package/built/index.js
CHANGED
|
@@ -358,6 +358,7 @@ const _suggestedUserSources = [
|
|
|
358
358
|
'follows_you',
|
|
359
359
|
'featured',
|
|
360
360
|
'hyper_local',
|
|
361
|
+
'top_discovery',
|
|
361
362
|
];
|
|
362
363
|
const isSuggestedUserSource = (source) => (0, typeUtils_1.isInArray)(source, _suggestedUserSources);
|
|
363
364
|
exports.isSuggestedUserSource = isSuggestedUserSource;
|