mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-19 09:04:36 -04:00
31 lines
355 B
TypeScript
31 lines
355 B
TypeScript
import type { Id } from "./_common";
|
|
|
|
export interface Account {
|
|
/**
|
|
* User ID
|
|
*/
|
|
id: Id;
|
|
|
|
/**
|
|
* User Email
|
|
*/
|
|
email: string;
|
|
}
|
|
|
|
export interface Session {
|
|
/**
|
|
* Session ID
|
|
*/
|
|
id?: Id;
|
|
|
|
/**
|
|
* User ID
|
|
*/
|
|
user_id: Id;
|
|
|
|
/**
|
|
* @maxLength 64
|
|
*/
|
|
session_token: string;
|
|
}
|