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[]>
getJobIds
▸ getJobIds(take
: number | undefined, skip
: number | undefined, filters
: IFilter[] | undefined, options?
: { account?
: Account }): Promise<string[]>
Parameters:
Name | Type |
---|---|
take | number | undefined |
skip | number | undefined |
filters | IFilter[] | undefined |
options? | object |
options.account? | Account |
Returns: Promise<string[]>