@castore/core
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -77,3 +77,3 @@ { | ||
}, | ||
"version": "1.15.0" | ||
"version": "1.15.1" | ||
} |
@@ -510,3 +510,3 @@ <p align="center"> | ||
> | ||
> - <code>listAggregateIds <i>((opt?: OptionsObj = {}) => Promise\<ResponseObj\>)</i></code>: Retrieves the list of `aggregateId` of an event store, ordered by `timestamp` of their first event. Returns an empty array if no aggregate is found. | ||
> - <code>listAggregateIds <i>((opt?: OptionsObj = {}) => Promise\<ResponseObj\>)</i></code>: Retrieves the list of `aggregateId` of an event store, ordered by the `timestamp` of their initial event. Returns an empty array if no aggregate is found. | ||
> | ||
@@ -516,2 +516,5 @@ > `OptionsObj` contains the following properties: | ||
> - <code>limit <i>(?number)</i></code>: Maximum number of aggregate ids to retrieve | ||
> - <code>initialEventAfter <i>(?string)</i></code>: To retrieve aggregate ids that appeared after a certain timestamp | ||
> - <code>initialEventBefore <i>(?string)</i></code>: To retrieve aggregate ids that appeared before a certain timestamp | ||
> - <code>reverse <i>(?boolean)</i></code>: To retrieve the aggregate ids in reverse order | ||
> - <code>pageToken <i>(?string)</i></code>: To retrieve a paginated result of aggregate ids | ||
@@ -522,3 +525,3 @@ > | ||
> - <code>aggregateIds <i>(string[])</i></code>: The list of aggregate ids | ||
> - <code>nextPageToken <i>(?string)</i></code>: A token for the next page of aggregate ids if one exists | ||
> - <code>nextPageToken <i>(?string)</i></code>: A token for the next page of aggregate ids if one exists. The nextPageToken carries the previously used options, so you do not have to provide them again (though you can still do it to override them). | ||
> | ||
@@ -623,3 +626,3 @@ > ```ts | ||
- Fetching the required aggregates (if not the first event of a new aggregate) | ||
- Fetching the required aggregates (if not the initial event of a new aggregate) | ||
- Validating that the modification is acceptable | ||
@@ -626,0 +629,0 @@ - Pushing new events with incremented versions |
398890
1125