@eveble/eveble

Hierarchy

Implemented by

Index

Methods

Methods

getActions

getActions(): Actions

Returns: Actions

getActions(): Actions

Returns: Actions


getHook

getHook(action: string, id: string): Hook | undefined

Parameters:

NameType
actionstring
idstring

Returns: Hook | undefined

getHook(action: string, id: string): Hook | undefined

Parameters:

NameType
actionstring
idstring

Returns: Hook | undefined


getHookOrThrow

getHookOrThrow(action: string, id: string): Hook | undefined

Parameters:

NameType
actionstring
idstring

Returns: Hook | undefined

getHookOrThrow(action: string, id: string): Hook | undefined

Parameters:

NameType
actionstring
idstring

Returns: Hook | undefined


getHooks

getHooks(action: string): Mappings

Parameters:

NameType
actionstring

Returns: Mappings

getHooks(action: string): Mappings

Parameters:

NameType
actionstring

Returns: Mappings


hasAction

hasAction(action: string): boolean

Parameters:

NameType
actionstring

Returns: boolean

hasAction(action: string): boolean

Parameters:

NameType
actionstring

Returns: boolean


hasHook

hasHook(action: string, id: string): boolean

Parameters:

NameType
actionstring
idstring

Returns: boolean

hasHook(action: string, id: string): boolean

Parameters:

NameType
actionstring
idstring

Returns: boolean


overrideHook

overrideHook(action: string, id: string, hook: Hook): void

Parameters:

NameType
actionstring
idstring
hookHook

Returns: void

overrideHook(action: string, id: string, hook: Hook): void

Parameters:

NameType
actionstring
idstring
hookHook

Returns: void


registerHook

registerHook(action: string, id: string, hook: Hook, shouldOverride?: boolean): void

Parameters:

NameType
actionstring
idstring
hookHook
shouldOverride?boolean

Returns: void

registerHook(action: string, id: string, hook: Hook, shouldOverride?: boolean): void

Parameters:

NameType
actionstring
idstring
hookHook
shouldOverride?boolean

Returns: void


removeHook

removeHook(action: string, id: string): void

Parameters:

NameType
actionstring
idstring

Returns: void

removeHook(action: string, id: string): void

Parameters:

NameType
actionstring
idstring

Returns: void