refactor: messaging

This commit is contained in:
eneller
2026-06-26 12:49:17 +02:00
parent 37fdc28e1f
commit 8da3be131f
5 changed files with 24 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
export class LoginRequest{
constructor(
username: string,
password: string
public username: string,
public password: string
){}
}
export class LoginResponse{

View File

@@ -0,0 +1,5 @@
export class GenericMessage{
constructor(
public message: string
){}
}

View File

@@ -9,6 +9,5 @@ export class SendRequest{
export class SendResponse{
constructor(
public balance: number,
public message: string
){}
}