Skip to main content

ICreateEventInput

Admin Docs


Interface: ICreateEventInput

Defined in: src/types/Event/interface.ts:267

Input interface for creating events via CREATE_EVENT_MUTATION. Used by both Admin Portal (CreateEventModal) and User Portal (Events).

Note: The recurrence property type matches the return type of formatRecurrenceForPayload from EventForm.tsx

Properties

allDay

allDay: boolean

Defined in: src/types/Event/interface.ts:272


description?

optional description: string

Defined in: src/types/Event/interface.ts:280


endAt

endAt: string

Defined in: src/types/Event/interface.ts:270


isInviteOnly

isInviteOnly: boolean

Defined in: src/types/Event/interface.ts:279


isPublic

isPublic: boolean

Defined in: src/types/Event/interface.ts:277

Determines if the event is visible to the entire community. Often referred to as "Community Visible" in the UI.


isRegisterable

isRegisterable: boolean

Defined in: src/types/Event/interface.ts:278


location?

optional location: string

Defined in: src/types/Event/interface.ts:281


name

name: string

Defined in: src/types/Event/interface.ts:268


organizationId

organizationId: string

Defined in: src/types/Event/interface.ts:271


recurrence?

optional recurrence: Omit<InterfaceRecurrenceRule, "endDate"> & object

Defined in: src/types/Event/interface.ts:282

Type Declaration

endDate?

optional endDate: string


startAt

startAt: string

Defined in: src/types/Event/interface.ts:269