move version to its own endpoint

This commit is contained in:
Jacob Overgaard
2022-05-19 10:38:02 +02:00
parent 4bde7bf86b
commit 64fe70d9f9
5 changed files with 73 additions and 8 deletions

View File

@@ -1,8 +1,11 @@
export interface InitResponse {
version: string;
installed: boolean;
}
export interface VersionResponse {
version: string;
}
export interface UserResponse {
username: string;
role: string;