mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
refactor: server state data type
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user