Placements developer guide
    Preparing search index...
    • The supply that an assistant's stated availability gives: the weekdays not marked unavailable, and, as in the legacy scheduler, both blocks for an eight-week position, whatever block a four-week position would take.

      Parameters

      • personId: string & Brand<"PersonId">
      • availability: {
            fridayUnavailable: boolean;
            language: "Norsk" | "Engelsk" | "Norsk og engelsk";
            mondayUnavailable: boolean;
            positionWeeks: 4 | 8;
            preferredGroup: "all" | "block-1" | "block-2";
            thursdayUnavailable: boolean;
            tuesdayUnavailable: boolean;
            wednesdayUnavailable: boolean;
        }
      • preferredSchool: string | null

      Returns {
          block: "1" | "2" | "Both" | "Either";
          days: readonly ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday")[];
          personId: string & Brand<"PersonId">;
          wishes: {
              language: "Norsk" | "Engelsk" | "Norsk og engelsk";
              preferredSchool: string | null;
          };
      }