Files
mattermost-mobile/types/api/session.d.ts
Daniel Espino García 86658edc30 Refactor errors around the app (#7306)
* Refactor errors around the app

* Fix recursive function

* Fix tests
2023-05-03 13:08:55 +02:00

20 lines
383 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?: unknown;
failed: boolean;
}