Options
All
  • Public
  • Public/Protected
  • All
Menu

Module orm_functions/evaluation

Index

Functions

  • checkIfFinalEvaluationExists(jobApplicationId: number): Promise<null | { evaluation_id: number }>
  • helper function of createEvaluationForStudent

    Parameters

    • jobApplicationId: number

    Returns Promise<null | { evaluation_id: number }>

    the found evaluation or null if no final evaluation exists yet

  • deleteEvaluationsByJobApplication(jobApplicationId: number): Promise<BatchPayload>
  • getEvaluationByPartiesFor(userId: number, studentId: undefined | number, osocId: number): Promise<evaluation[]>
  • return all evaluations created by the user with userId, for student with studentID in osoc edition with given osocId

    Parameters

    • userId: number
    • studentId: undefined | number
    • osocId: number

    Returns Promise<evaluation[]>

  • getLoginUserByEvaluationId(evaluationId: number): Promise<null | (evaluation & { login_user: null | (login_user & { person: person }) })>
  • returns the loginUser with person data of the person that created the evaluation with given id

    Parameters

    • evaluationId: number

    Returns Promise<null | (evaluation & { login_user: null | (login_user & { person: person }) })>

Generated using TypeDoc