Type alias RefreshAuthResult
RefreshAuthResult: { code: "Authorized"; data: { user: UserData; }; message: "Successfully refreshed auth"; refreshToken: string; token: string; } Type declaration
code: "Authorized"
data: {
user: UserData;
}
message: "Successfully refreshed auth"
refreshToken: string
token: string
Linkcode
https://github.com/sensebox/openSenseMap-API/blob/2e645bdc4c80e668720b5eaaf384a35d2909569e/packages/api/lib/controllers/usersController.js#L153