forked from Ivasoft/mattermost-mobile
* Only call app entry on websocket reconnect * Handle notification on its own entry and run app entry on websocket initialization * Fix notification entry issues * Fix login entry and add retry on entry failure * feedback review * Put back handleEntryAfterLoadNavigation before the batching --------- Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
20 lines
409 B
TypeScript
20 lines
409 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
interface Session {
|
|
id: string;
|
|
create_at: number;
|
|
device_id?: string;
|
|
expires_at: number;
|
|
user_id: string;
|
|
props?: {
|
|
os: string;
|
|
csrf: string;
|
|
};
|
|
}
|
|
|
|
interface LoginActionResponse {
|
|
error?: ClientErrorProps | Error | string;
|
|
failed: boolean;
|
|
}
|