Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesRepository ¶
type LaboratoriesRepository interface { GetLaboratoryByUUID(dto *dtos.GetLaboratoryDTO) (laboratory *entities.Laboratory, err error) GetLaboratoryInformationByUUID(uuid string) (laboratory *dtos.LaboratoryDetailsDTO, err error) SaveLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error CreateMarkdownBlock(laboratoryUUID string) (blockUUID string, err error) CreateTestBlock(dto *dtos.CreateTestBlockDTO) (blockUUID string, err error) GetTotalTestBlocks(laboratoryUUID string) (total int, err error) GetStudentsProgress(laboratoryUUID string) ( progress []*dtos.SummarizedStudentProgressDTO, err error, ) GetStudentSubmissions(laboratoryUUID string, studentUUID string) ( submissions []*dtos.SummarizedStudentSubmissionDTO, err error, ) DoesTeacherOwnLaboratory(teacherUUID string, laboratoryUUID string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.