Response type for the state

interface StatusResponse {
    message: string;
    status?: null | Status[];
    success: boolean;
}

Properties

message: string
status?: null | Status[]
success: boolean