@@ 1,15 1,15 @@
-export type ImageTable = {
+export interface ImageTable {
id: string,
- imageId: string,
- imageTag: string,
+ image_id: string,
+ image_tag: string,
}
-export type ServersTable = {
+export interface ServersTable {
id: string,
- serverName: string,
+ server_name: string,
comment: string,
- containerId: string,
- imageId: string,
+ container_id: string,
+ image_id: string,
}
export enum userLevels {
@@ 19,9 19,9 @@ export enum userLevels {
'HEADLESS'
}
-export type UsersTable = {
+export interface UsersTable {
id: string,
username: string,
password: string,
- accessLevel: userLevels,
+ access_level: userLevels
}