hevy-shared 1.0.852 → 1.0.853
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 +8 -0
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -234,6 +234,14 @@ export interface ClientAuthTokenResponse {
|
|
|
234
234
|
refresh_token: string;
|
|
235
235
|
expires_at: string;
|
|
236
236
|
}
|
|
237
|
+
export interface AuthResponse extends ClientAuthTokenResponse {
|
|
238
|
+
user_id: string;
|
|
239
|
+
/**
|
|
240
|
+
* Legacy auth token, will be removed in the future.
|
|
241
|
+
* @deprecated 2.5.3
|
|
242
|
+
*/
|
|
243
|
+
auth_token: string;
|
|
244
|
+
}
|
|
237
245
|
export declare const parseClientAuthTokenResponse: (data: ClientAuthTokenResponse) => ClientAuthToken | null;
|
|
238
246
|
export interface UsernameAvailabilityResponse {
|
|
239
247
|
isAvailable: boolean;
|