Files
mattermost-mobile/types/api/session.d.ts
Daniel Espino García 9f84ab79ce Only call app entry on websocket reconnect (#7065)
* 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>
2023-02-23 10:11:34 +01:00

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;
}