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:

NameType
usagesEventEntity[]
aggregationFieldsSet<string>

getEvents

getEvents(take: number | undefined, skip: number | undefined, filters: IFilter[] | undefined, options?: { account?: Account }): Promise<EventEntity[]>

Parameters:

NameType
takenumber | undefined
skipnumber | undefined
filtersIFilter[] | undefined
options?object
options.account?Account

Returns: Promise<EventEntity[]>


getEventsFilters

getEventsFilters(filters: IFilter[] | undefined, fillFilters: IFilter[], options?: { account?: Account }): Promise<IFilter[]>

Parameters:

NameType
filtersIFilter[] | undefined
fillFiltersIFilter[]
options?object
options.account?Account

Returns: Promise<IFilter[]>

Found a mistake? Email us, and we'll send you a free t-shirt!

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.