Skip to content

Commit

Permalink
feat: new calendar event props
Browse files Browse the repository at this point in the history
  • Loading branch information
DaStormer committed Mar 17, 2023
1 parent 00684fc commit dc00d28
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 162 deletions.
20 changes: 20 additions & 0 deletions packages/guilded-api-typings/lib/v1/structs/CalendarEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,30 @@ export type CalendarEventPayload = {
* The ID of the server
*/
serverId: string;
/**
* The ID of the calendar event series. Only shows if the event is repeating
*/
seriesId?: string;
/**
* The role IDs to restrict the event to (min items 1; must have unique items true)
*/
roleIds?: number[];
/**
* The ISO 8601 timestamp that the event starts at
*/
startsAt: string;
/**
* Whether this is a repeating event
*/
repeats?: boolean;
/**
* Whether this event lasts all day
*/
isAllDay?: boolean;
/**
* When rsvpLimit is set, users from the waitlist will be added as space becomes available in the event
*/
autofillWaitlist?: boolean;
/**
* A URL to associate with the event
*/
Expand Down
Loading

0 comments on commit dc00d28

Please sign in to comment.