events
Type aliases
AggregatedEventEntity
Ƭ AggregatedEventEntity: Partial<EventEntity> & { count
: number ; total
: number }
EventEntity
Ƭ EventEntity: EventsResponseDTO
Variables
PossibleAggregationFields
• Const
PossibleAggregationFields: Set<string>
Functions
aggregateEvent
▸ aggregateEvent(usages
: EventEntity[], aggregationFields
: Set<string>): AggregatedEventEntity[]
Parameters:
Name | Type |
---|---|
usages | EventEntity[] |
aggregationFields | Set<string> |
Returns: AggregatedEventEntity[]
getEvents
▸ getEvents(take
: number | undefined, skip
: number | undefined, filters
: IFilter[] | undefined, options?
: { account?
: Account }): Promise<EventEntity[]>
Parameters:
Name | Type |
---|---|
take | number | undefined |
skip | number | undefined |
filters | IFilter[] | undefined |
options? | object |
options.account? | Account |
Returns: Promise<EventEntity[]>
getEventsFilters
▸ getEventsFilters(filters
: IFilter[] | undefined, fillFilters
: IFilter[], options?
: { account?
: Account }): Promise<IFilter[]>
Parameters:
Name | Type |
---|---|
filters | IFilter[] | undefined |
fillFilters | IFilter[] |
options? | object |
options.account? | Account |
Returns: Promise<IFilter[]>
Found a mistake? Email us, and we'll send you a free t-shirt!