Other Functions
The following functions are available globally.
- 
                  
                  DeclarationSwift func generateSchedule(startDate: Date, length: Int)
- 
                  
                  DeclarationSwift func printEvent(date: Date, startTime: String, endTime: String, summary: String, description: String, location: String, categories: String, uid: String)
- 
                  
                  Three differernt POST structs contain username fields; this fn exists to ensure they all validate the username the same way. This fn is designed to return a list of validation failure strings–if it returns an empty array the username is valid. DeclarationSwift private func usernameValidations(username: String) -> [String]
- 
                  
                  DeclarationSwift func generateContentGroups(from reports: [ReportModerationData]) -> [ReportContentGroup]
- 
                  
                  DeclarationSwift private func titleAndTab(for req: Request) -> (String, TrunkContext.Tab)
- 
                  
                  DeclarationSwift private func titleAndTab(for req: Request, seamail: FezData) -> (String, TrunkContext.Tab)
- 
                  
                  Register your application’s routes here. DeclarationSwift public func routes(_ app: Application) throws
 View on GitHub
            View on GitHub
           Other Functions  Reference
      Other Functions  Reference