All checks were successful
continuous-integration/drone/tag Build is passing
Reviewed-on: #2
17 lines
238 B
TypeScript
17 lines
238 B
TypeScript
export enum MessageType {
|
|
LOGIN,
|
|
}
|
|
|
|
export type LoginMessage = {
|
|
type: MessageType.LOGIN;
|
|
url: string;
|
|
loginUrl: string;
|
|
server: string;
|
|
};
|
|
|
|
export type Message = LoginMessage;
|
|
|
|
export type ErrorResponse = {
|
|
error: string;
|
|
};
|