@sourceloop/scheduler-service / Exports / CalendarEventService
Class: CalendarEventService¶
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new CalendarEventService(subscriptionRepository
)
Parameters¶
Name | Type |
---|---|
subscriptionRepository |
SubscriptionRepository |
Defined in¶
services/scheduler-service/src/services/calendar-event.service.ts:12
Properties¶
subscriptionRepository¶
• subscriptionRepository: SubscriptionRepository
Defined in¶
services/scheduler-service/src/services/calendar-event.service.ts:14
Methods¶
getFilter¶
▸ getFilter(identifier
, whereClause
, filter?
): Filter
<EventAttendeeView
>
Parameters¶
Name | Type |
---|---|
identifier |
string |
whereClause |
Where <AnyObject > |
filter? |
Filter <EventAttendeeView > |
Returns¶
Filter
<EventAttendeeView
>
Defined in¶
services/scheduler-service/src/services/calendar-event.service.ts:54
getWhereClause¶
▸ getWhereClause(timeMin?
, timeMax?
): Where
<AnyObject
>
Parameters¶
Name | Type |
---|---|
timeMin? |
Date |
timeMax? |
Date |
Returns¶
Where
<AnyObject
>
Defined in¶
services/scheduler-service/src/services/calendar-event.service.ts:25
primarySubscription¶
▸ primarySubscription(calendarId
): Promise
<null
| Subscription
& SubscriptionRelations
>
Parameters¶
Name | Type |
---|---|
calendarId |
string |
Returns¶
Promise
<null
| Subscription
& SubscriptionRelations
>
Defined in¶
services/scheduler-service/src/services/calendar-event.service.ts:17