refactor: first pass at stateData

This commit is contained in:
Zack Spear
2023-06-02 21:01:11 -07:00
committed by Zack Spear
parent e36e90724c
commit e507b9ffcb
2 changed files with 182 additions and 95 deletions
+2 -2
View File
@@ -62,8 +62,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;
withKey?: boolean; // @todo potentially remove
}