Pawnote
    Preparing search index...

    Function assignmentsFromIntervals

    • Fetches assignments for a specific range of dates.

      Parameters

      • session: SessionHandle

        The current session handle.

      • startDate: Date

        The start date of the range.

      • endDate: Date

        The end date of the range.

      Returns Promise<
          Readonly<
              {
                  attachments: Readonly<
                      { id: string; kind: AttachmentKind; name: string; url: string },
                  >[];
                  backgroundColor: string;
                  deadline: Date;
                  description: string;
                  difficulty: AssignmentDifficulty;
                  done: boolean;
                  id: string;
                  length?: number;
                  resourceID?: string;
                  return: AssignmentReturn;
                  subject: Subject;
                  themes: Readonly<{ id: string; name: string; subject: Subject }>[];
              },
          >[],
      >

      A promise that resolves to the assignments data.