Documentation ¶
Index ¶
- type LaboratoriesUseCases
- func (useCases *LaboratoriesUseCases) CreateLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (useCases *LaboratoriesUseCases) CreateMarkdownBlock(dto *dtos.CreateMarkdownBlockDTO) (blockUUID string, err error)
- func (useCases *LaboratoriesUseCases) CreateTestBlock(reqDTO *dtos.CreateTestBlockDTO) (blockUUID string, err error)
- func (useCases *LaboratoriesUseCases) GetLaboratory(dto *dtos.GetLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (useCases *LaboratoriesUseCases) GetLaboratoryInformation(dto *dtos.GetLaboratoryDTO) (laboratoryInformation *dtos.LaboratoryDetailsDTO, err error)
- func (useCases *LaboratoriesUseCases) GetLaboratoryProgress(dto *dtos.GetLaboratoryProgressDTO) (progress *dtos.LaboratoryProgressDTO, err error)
- func (useCases *LaboratoriesUseCases) GetProgressOfStudentInLaboratory(dto *dtos.GetProgressOfStudentInLaboratoryDTO) (progress *dtos.StudentProgressInLaboratoryDTO, err error)
- func (useCases *LaboratoriesUseCases) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesUseCases ¶
type LaboratoriesUseCases struct { CoursesRepository coursesDefinitions.CoursesRepository LaboratoriesRepository definitions.LaboratoriesRepository RubricsRepository rubricsDefinitions.RubricsRepository LanguagesRepository languagesDefinitions.LanguagesRepository BlocksRepository blocksDefinitions.BlockRepository StaticFilesRepository staticFilesDefinitions.StaticFilesRepository }
func (*LaboratoriesUseCases) CreateLaboratory ¶
func (useCases *LaboratoriesUseCases) CreateLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesUseCases) CreateMarkdownBlock ¶ added in v0.32.0
func (useCases *LaboratoriesUseCases) CreateMarkdownBlock(dto *dtos.CreateMarkdownBlockDTO) (blockUUID string, err error)
func (*LaboratoriesUseCases) CreateTestBlock ¶ added in v0.36.0
func (useCases *LaboratoriesUseCases) CreateTestBlock(reqDTO *dtos.CreateTestBlockDTO) (blockUUID string, err error)
func (*LaboratoriesUseCases) GetLaboratory ¶ added in v0.31.0
func (useCases *LaboratoriesUseCases) GetLaboratory(dto *dtos.GetLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesUseCases) GetLaboratoryInformation ¶ added in v0.45.0
func (useCases *LaboratoriesUseCases) GetLaboratoryInformation(dto *dtos.GetLaboratoryDTO) (laboratoryInformation *dtos.LaboratoryDetailsDTO, err error)
func (*LaboratoriesUseCases) GetLaboratoryProgress ¶ added in v0.44.0
func (useCases *LaboratoriesUseCases) GetLaboratoryProgress(dto *dtos.GetLaboratoryProgressDTO) (progress *dtos.LaboratoryProgressDTO, err error)
func (*LaboratoriesUseCases) GetProgressOfStudentInLaboratory ¶ added in v0.53.0
func (useCases *LaboratoriesUseCases) GetProgressOfStudentInLaboratory(dto *dtos.GetProgressOfStudentInLaboratoryDTO) (progress *dtos.StudentProgressInLaboratoryDTO, err error)
func (*LaboratoriesUseCases) UpdateLaboratory ¶ added in v0.30.0
func (useCases *LaboratoriesUseCases) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Click to show internal directories.
Click to hide internal directories.