Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesRepository ¶
type LaboratoriesRepository interface { GetLaboratoryByUUID(uuid string) (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.LaboratoryStudentProgressDTO, err error) DoesTeacherOwnLaboratory(teacherUUID string, laboratoryUUID string) (bool, error) }
Click to show internal directories.
Click to hide internal directories.