2022-11-27 09:20:27 +00:00
|
|
|
export enum MessageType {
|
|
|
|
LOGIN,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type LoginMessage = {
|
|
|
|
type: MessageType.LOGIN;
|
|
|
|
url: string;
|
|
|
|
loginUrl: string;
|
|
|
|
server: string;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type Message = LoginMessage;
|
|
|
|
|
2022-12-02 04:50:41 +00:00
|
|
|
export type ErrorResponse = {
|
2022-12-03 07:23:24 +00:00
|
|
|
error: string;
|
2022-11-27 09:20:27 +00:00
|
|
|
};
|