refactor: server state data type

This commit is contained in:
Zack Spear
2023-08-01 15:25:13 -07:00
parent acadc5417d
commit 600d6f3655

View File

@@ -129,8 +129,8 @@ export interface ServerStateDataError {
export interface ServerStateData {
actions?: ServerStateDataAction[] | undefined;
humanReadable: string; // @todo create interface of ENUM to string mapping
heading?: string;
message?: string;
heading: string;
message: string;
error?: ServerStateDataError | boolean;
withKey?: boolean; // @todo potentially remove
}