@eveble/eveble
Hierarchy
- EventSourceableRepository
Implemented by
Index
Methods
Methods
find
▸ find(EventSourceableType
: EventSourceableType, eventSourceableId
: string | Stringifiable): Promise‹EventSourceable | undefined›
Parameters:
Name | Type |
---|---|
EventSourceableType | EventSourceableType |
eventSourceableId | string | Stringifiable |
Returns: Promise‹EventSourceable | undefined›
▸ find(EventSourceableType
: EventSourceableType, eventSourceableId
: string | Stringifiable): Promise‹EventSourceable | undefined›
Parameters:
Name | Type |
---|---|
EventSourceableType | EventSourceableType |
eventSourceableId | string | Stringifiable |
Returns: Promise‹EventSourceable | undefined›
getSnapshotOf
▸ getSnapshotOf(EventSourceableType
: EventSourceableType, eventSourceableId
: string | Stringifiable): Promise‹EventSourceable | undefined›
Parameters:
Name | Type |
---|---|
EventSourceableType | EventSourceableType |
eventSourceableId | string | Stringifiable |
Returns: Promise‹EventSourceable | undefined›
▸ getSnapshotOf(EventSourceableType
: EventSourceableType, eventSourceableId
: string | Stringifiable): Promise‹EventSourceable | undefined›
Parameters:
Name | Type |
---|---|
EventSourceableType | EventSourceableType |
eventSourceableId | string | Stringifiable |
Returns: Promise‹EventSourceable | undefined›
hasBySourceId
▸ hasBySourceId(eventSourceableId
: string | Stringifiable): Promise‹boolean›
Parameters:
Name | Type |
---|---|
eventSourceableId | string | Stringifiable |
Returns: Promise‹boolean›
▸ hasBySourceId(eventSourceableId
: string | Stringifiable): Promise‹boolean›
Parameters:
Name | Type |
---|---|
eventSourceableId | string | Stringifiable |
Returns: Promise‹boolean›
isSnapshotting
▸ isSnapshotting(): boolean
Returns: boolean
▸ isSnapshotting(): boolean
Returns: boolean
makeSnapshotOf
▸ makeSnapshotOf(eventSourceable
: EventSourceable): Promise‹string | undefined›
Parameters:
Name | Type |
---|---|
eventSourceable | EventSourceable |
Returns: Promise‹string | undefined›
▸ makeSnapshotOf(eventSourceable
: EventSourceable): Promise‹string | undefined›
Parameters:
Name | Type |
---|---|
eventSourceable | EventSourceable |
Returns: Promise‹string | undefined›
save
▸ save(eventSourceable
: EventSourceable): Promise‹StorageIdentifiers›
Parameters:
Name | Type |
---|---|
eventSourceable | EventSourceable |
Returns: Promise‹StorageIdentifiers›
▸ save(eventSourceable
: EventSourceable): Promise‹StorageIdentifiers›
Parameters:
Name | Type |
---|---|
eventSourceable | EventSourceable |
Returns: Promise‹StorageIdentifiers›