|
| 1 | +import { EventRequestedRsvpType } from '~/constants/EventRequestedRsvpType'; |
| 2 | +import { EventRegions, EventTypes } from '~/constants/Events'; |
| 3 | +import { EventScheduleStatus } from '~/constants/EventScheduleStatus'; |
| 4 | + |
| 5 | +export class GetEventScheduleResponseDto { |
| 6 | + /** The ID of the event */ |
| 7 | + event_schedule_id: number; |
| 8 | + |
| 9 | + /** The title of the event */ |
| 10 | + title: string; |
| 11 | + |
| 12 | + /** The member ID of the host */ |
| 13 | + host_id: number | null; |
| 14 | + |
| 15 | + /** The type of the event */ |
| 16 | + type: EventTypes; |
| 17 | + |
| 18 | + /** The status of the event schedule */ |
| 19 | + status: EventScheduleStatus; |
| 20 | + |
| 21 | + /** The region in which the event will be hosted */ |
| 22 | + region: EventRegions; |
| 23 | + |
| 24 | + /** The game of the event */ |
| 25 | + game: string; |
| 26 | + |
| 27 | + /** The start time of the event */ |
| 28 | + start_date: Date; |
| 29 | + |
| 30 | + /** The end time of the event */ |
| 31 | + end_date: Date; |
| 32 | + |
| 33 | + /** The HTML description of the event */ |
| 34 | + description: string; |
| 35 | + |
| 36 | + /** Whether the event is cancelled */ |
| 37 | + cancelled: boolean; |
| 38 | + |
| 39 | + /** Whether the event is featured */ |
| 40 | + featured: boolean; |
| 41 | + |
| 42 | + /** Whether the event is a flex event */ |
| 43 | + is_flex: boolean; |
| 44 | + |
| 45 | + /** Whether the event is 21+ */ |
| 46 | + is_over21: boolean; |
| 47 | + |
| 48 | + /** The ID of the member whom posted the event */ |
| 49 | + posted_by: number; |
| 50 | + |
| 51 | + /** The time at which the event was posted */ |
| 52 | + posted_at: Date; |
| 53 | + |
| 54 | + /** The url to the event banner */ |
| 55 | + image_path: string | null; |
| 56 | + |
| 57 | + /** Whether the event is private or not */ |
| 58 | + is_private: boolean; |
| 59 | + |
| 60 | + /** The group/member(s) rsvps have been requested from */ |
| 61 | + requested_rsvps?: { requested_entity_id: string; type: EventRequestedRsvpType }[]; |
| 62 | + |
| 63 | + /** A cron expression that the event schedule creates events for */ |
| 64 | + cron_schedule: string; |
| 65 | +} |
0 commit comments