An object representing a server reply to performing an action.

interface IActionReply {
    message?: string;
    needs_restart: ("kernel" | "server" | "frontend")[];
    status: null | "error" | "ok" | "warning";
}

Properties

message?: string

An optional message when the status is not 'ok'.

needs_restart: ("kernel" | "server" | "frontend")[]

Follow-up restart needed by the action

status: null | "error" | "ok" | "warning"

The status category of the reply.