External module "crud/event"
Functions
Const createEvent
- createEvent(event: Event, locals?: Locals): Promise<void>
-
Parameters
Returns Promise<void>
Const deleteAllUserEvents
- deleteAllUserEvents(userId: number): Promise<Object>
-
Parameters
Returns Promise<Object>
Const getOrganizationEvents
- getOrganizationEvents(organizationId: number): Promise<Event[]>
-
Parameters
Returns Promise<Event[]>
Const getOrganizationRecentEvents
- getOrganizationRecentEvents(organizationId: number): Promise<Event[]>
-
Parameters
Returns Promise<Event[]>
Const getUserEvents
- getUserEvents(userId: number): Promise<Event[]>
-
Parameters
Returns Promise<Event[]>
Const getUserRecentEvents
- getUserRecentEvents(userId: number): Promise<Event[]>
-
Parameters
Returns Promise<Event[]>