@eveble/eveble
Hierarchy
Hookable
Implemented by
- AddingCommitFailedError
- AddingSnapshotError
- Aggregate
- AppConfig
- AssertionError
- Assignment
- CannotRouteMessageError
- ClientError
- Command
- CommandBus
- CommandSchedulingError
- CommandUnschedulingError
- Commit
- CommitConcurrencyError
- CommitReceiver
- Config
- DomainError
- DomainException
- ElementAlreadyExistsError
- ElementNotFoundError
- Entity
- EntityError
- EvebleConfig
- Event
- EventBus
- EventIdMismatchError
- EventSourceable
- EventSourceableError
- EventsNotFoundError
- Guid
- HookableMixin
- IdentifiableAlreadyExistsError
- InactiveClientError
- InfrastructureError
- InitializingIdentifierAlreadyExistsError
- InvalidEventError
- InvalidGuidValueError
- InvalidInitializingMessageError
- InvalidListError
- InvalidStateTransitionError
- InvalidStatusTransitionError
- ListError
- LogTransportConfig
- LoggingConfig
- Message
- MissingEventSourceableError
- MissingInitializingMessageError
- MongoDBCollectionConfig
- MongoDBDatabaseConfig
- Process
- ProjectionAlreadyRebuildingError
- ProjectionNotRebuildingError
- ProjectionRebuildingError
- RebuildingResult
- RouterError
- SavedStateNotFoundError
- ScheduleCommand
- ScheduledJob
- SchedulerError
- Serializable
- SerializableError
- SnapshotterError
- StorageNotFoundError
- Struct
- UndefinedActionError
- UndefinedSnapshotterError
- UndefinedSnapshotterFrequencyError
- UnresolvableIdentifierFromMessageError
- UnscheduleCommand
- UpdatingCommitError
- UpdatingSnapshotError
- ValueObject
- ValueObjectError
Index
Methods
Methods
getActions
▸ getActions(): Actions
Returns: Actions
▸ getActions(): Actions
Returns: Actions
getHook
▸ getHook(action
: string, id
: string): Hook | undefined
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: Hook | undefined
▸ getHook(action
: string, id
: string): Hook | undefined
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: Hook | undefined
getHookOrThrow
▸ getHookOrThrow(action
: string, id
: string): Hook | undefined
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: Hook | undefined
▸ getHookOrThrow(action
: string, id
: string): Hook | undefined
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: Hook | undefined
getHooks
▸ getHooks(action
: string): Mappings
Parameters:
Name | Type |
---|---|
action | string |
Returns: Mappings
▸ getHooks(action
: string): Mappings
Parameters:
Name | Type |
---|---|
action | string |
Returns: Mappings
hasAction
▸ hasAction(action
: string): boolean
Parameters:
Name | Type |
---|---|
action | string |
Returns: boolean
▸ hasAction(action
: string): boolean
Parameters:
Name | Type |
---|---|
action | string |
Returns: boolean
hasHook
▸ hasHook(action
: string, id
: string): boolean
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: boolean
▸ hasHook(action
: string, id
: string): boolean
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: boolean
overrideHook
▸ overrideHook(action
: string, id
: string, hook
: Hook): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
hook | Hook |
Returns: void
▸ overrideHook(action
: string, id
: string, hook
: Hook): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
hook | Hook |
Returns: void
registerHook
▸ registerHook(action
: string, id
: string, hook
: Hook, shouldOverride?
: boolean): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
hook | Hook |
shouldOverride? | boolean |
Returns: void
▸ registerHook(action
: string, id
: string, hook
: Hook, shouldOverride?
: boolean): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
hook | Hook |
shouldOverride? | boolean |
Returns: void
removeHook
▸ removeHook(action
: string, id
: string): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: void
▸ removeHook(action
: string, id
: string): void
Parameters:
Name | Type |
---|---|
action | string |
id | string |
Returns: void