Types
EditTrainingInput
Changes to a draft training, applied through editTraining; fields left out are unchanged.
input
EditTrainingInputFields
active
Boolean
Whether the training is active.
anchor
String
How occurrences are scheduled: one of 'CALENDAR' (once, by due date), 'DUE' (yearly after the initial training's due date) or 'RRULE' (yearly on a set date).
id
String!
required
Id of the training to edit.
materials
The material that replaces the training's current content.
recurrenceRule
String
Recurrence as an iCalendar rule, for example 'FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=15', when the anchor is 'DUE' or 'RRULE'.
title
String
New title of the training.
type
String
One of 'ONLINE' (Online) or 'IN_PERSON' (In person).
version
Int!
required
Version of the training to edit.