Skip to content

Commit

Permalink
feat(datadirect): add recurring assignments to assignment creation
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Jan 19, 2025
1 parent 64d0941 commit 16fc8fc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/datadirect/src/api/Assignment2/List/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ type DownloadItem = {
UploadedFile: string;
};

type Recurrence = {
/** c */
dateDue: DateTimeString;
timeDue: TimeString;
/** c */
dateAssigned: DateTimeString;
timeAssigned: TimeString;
};

export type Payload = {
LongDescription: HTMLString;
SendNotification: boolean;
Expand All @@ -116,8 +125,8 @@ export type Payload = {
OnPaperSubmission: boolean | { value: boolean };
DropboxInd: boolean | { value: boolean };
'assignment-instance': boolean | { value: boolean };
RecurrenceNum: null;
'recurrence-list': [];
RecurrenceNum: number | null;
'recurrence-list': Recurrence[];
/** h:i:s A */
DropboxTimeLate: TimeString;
SectionLinks: SectionLink[];
Expand Down

0 comments on commit 16fc8fc

Please sign in to comment.