Pawnote
    Preparing search index...

    Function resourcesFromIntervals

    • Get the resources from a specific date range.

      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<
              {
                  assignmentDeadline?: Date;
                  backgroundColor: string;
                  contents: Readonly<
                      {
                          category: ResourceContentCategory;
                          categoryText?: string;
                          description?: string;
                          educativeValue: number;
                          files: Readonly<
                              { id: string; kind: AttachmentKind; name: string; url: string },
                          >[];
                          id: string;
                          themes: Readonly<{ id: string; name: string; subject: Subject }>[];
                          title?: string;
                      },
                  >[];
                  endDate: Date;
                  groups: string[];
                  haveAssignment: boolean;
                  id: string;
                  startDate: Date;
                  subject: Subject;
                  teachers: string[];
              },
          >[],
      >

      A promise that resolves to an array of resources.