@eveble/eveble

Hierarchy

Implemented by

Index

Properties

Methods

Properties

status

status: Status

Methods

getSelectableStatuses

getSelectableStatuses(): Record‹string, Status

Returns: Record‹string, Status

getSelectableStatuses(): Record‹string, Status

Returns: Record‹string, Status


getStatus

getStatus(): Status

Returns: Status

getStatus(): Status

Returns: Status


hasStatus

hasStatus(): boolean

Returns: boolean

hasStatus(): boolean

Returns: boolean


isInOneOfStatuses

isInOneOfStatuses(status: Status | Status[]): boolean

Parameters:

NameType
statusStatus | Status[]

Returns: boolean

isInOneOfStatuses(status: Status | Status[]): boolean

Parameters:

NameType
statusStatus | Status[]

Returns: boolean


isInStatus

isInStatus(status: Status | Status[]): boolean

Parameters:

NameType
statusStatus | Status[]

Returns: boolean

isInStatus(status: Status | Status[]): boolean

Parameters:

NameType
statusStatus | Status[]

Returns: boolean


setStatus

setStatus(status: Status): void

Parameters:

NameType
statusStatus

Returns: void

setStatus(status: Status): void

Parameters:

NameType
statusStatus

Returns: void


validateStatus

validateStatus(statusOrStatuses: Status | Status[], error?: Error): boolean

Parameters:

NameType
statusOrStatusesStatus | Status[]
error?Error

Returns: boolean

validateStatus(statusOrStatuses: Status | Status[], error?: Error): boolean

Parameters:

NameType
statusOrStatusesStatus | Status[]
error?Error

Returns: boolean