Skip to main content

RecurrenceInput

Input type for defining recurrence rules for events. Must specify exactly one end condition: endDate, count, or never.

input RecurrenceInput {
byDay: [String!]
byMonth: [Int!]
byMonthDay: [Int!]
count: Int
endDate: DateTime
frequency: Frequency!
interval: Int
never: Boolean
}

Fields

RecurrenceInput.byDay ● [String!] list scalar

Days of the week (e.g., ['MO', 'WE', 'FR']).

RecurrenceInput.byMonth ● [Int!] list scalar

Months of the year (1-12).

RecurrenceInput.byMonthDay ● [Int!] list scalar

Days of the month (-31 to 31, excluding 0).

RecurrenceInput.count ● Int scalar

Number of occurrences.

RecurrenceInput.endDate ● DateTime scalar

Date when the recurrence ends.

RecurrenceInput.frequency ● Frequency! non-null enum

Frequency of recurrence (DAILY, WEEKLY, MONTHLY, YEARLY).

RecurrenceInput.interval ● Int scalar

Interval between recurrences (e.g., 2 for every 2 weeks). Defaults to 1.

RecurrenceInput.never ● Boolean scalar

Indicates if the event recurs indefinitely (never ends).

Member Of

MutationCreateEventInput input ● MutationUpdateThisAndFollowingEventsInput input