Functions
addDownloadFile
- addDownloadFile(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
changeModuleItem
- changeModuleItem(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
deleteAllModuleItems
- deleteAllModuleItems(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
deleteAllUploadedFiles
- deleteAllUploadedFiles(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
deleteDownloadFile
- deleteDownloadFile(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
deleteModuleItem
- deleteModuleItem(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
deleteUploadedFile
- deleteUploadedFile(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
registerModuleItem
- registerModuleItem(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
selectAllModuleItems
- selectAllModuleItems(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
selectModuleItem
- selectModuleItem(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
uploadFile
- uploadFile(req: Request, res: Response): Promise<void>
Parameters
req: Request
res: Response
Returns Promise<void>
Adds a downloadable file to a moduleItem with the data given by the HTTP-Request
Corresponding API-Call: POST /module/:moduleId/:moduleItemId/addDownloadFile