The repository query request
The CompanyModel mongoose schema model
The Company mongoose schema
The CompanyModel mongoose schema model
The InternshipProposalModel mongoose schema model
The InternshipProposalSchema mongoose schema
The [[Internship]] mongoose schema
The RoleModel mongoose schema model
The Role mongoose schema
The UserModel mongoose schema model
The User mongoose schema
Create Express server.
The dependency injection global container
Permit execution if and only if current JWT token owner has role.type Admin
The request with the populated body.__user
The response stream
The next middleware function
Return true if the given role number has at least one requiredRoles or is an admin
The current logged in user role
The required roles for the operation
Check if the current request has a body property with the decoded JWT information. If this value exists and its 'role' property has value it gets returned, otherwise an auth error will be sent in the response stream.
The request
The response
Permit execution if and only if current JWT token owner has role.type Company
The request with the populated body.__user
The response stream
The next middleware function
Return the document template object used to generate a PDF
The InternshipProposal of which obtain the PDF template
The template object model
Ensure returned object has property id instead of _id and __v
The schema to normalize
Ensure returned object has property id instead of _id and __v
The original document
The document to return
Ensure returned object has property id instead of _id and __v
The original document
The document to return
Permit execution if and only if current JWT token owner has role.type Professor
The request with the populated body.__user
The response stream
The next middleware function
Permit execution if and only if current JWT token owner has role.type Student
The request with the populated body.__user
The response stream
The next middleware function
The application environment
The mongoose connection string
If the current application is in debug mode
The JSON Web Token secret
The emails configuration
The Google OAuth config
The Dependency Injection symbols (used to inject interfaces)
The express application
The mongoose schema models
Generated using TypeDoc
A type used to query a mongoose entity