SiteQuartermasterController
struct SiteQuartermasterController : SiteControllerUtils
Pages for browsing, searching, creating, editing, and reporting Quartermaster items – the
“have / need” item board. See QuartermasterController for the API layer this calls into.
-
Declaration
Swift
func registerRoutes(_ app: Application) throws
-
renderList(_:Asynchronoustab: queryItems: ) Declaration
Swift
private func renderList(_ req: Request, tab: QuartermasterListPageContext.QMTab, queryItems: [URLQueryItem]) async throws -> View -
haveListPageHandler(_:Asynchronous) Declaration
Swift
func haveListPageHandler(_ req: Request) async throws -> View -
needListPageHandler(_:Asynchronous) Declaration
Swift
func needListPageHandler(_ req: Request) async throws -> View -
ownedListPageHandler(_:Asynchronous) Declaration
Swift
func ownedListPageHandler(_ req: Request) async throws -> View -
aboutPageHandler(_:Asynchronous) Declaration
Swift
func aboutPageHandler(_ req: Request) async throws -> View -
itemPageHandler(_:Asynchronous) Declaration
Swift
func itemPageHandler(_ req: Request) async throws -> View -
createPageHandler(_:Asynchronous) Declaration
Swift
func createPageHandler(_ req: Request) async throws -> View -
editPageHandler(_:Asynchronous) Declaration
Swift
func editPageHandler(_ req: Request) async throws -> View -
createPostHandler(_:Asynchronous) Declaration
Swift
func createPostHandler(_ req: Request) async throws -> HTTPStatus -
updatePostHandler(_:Asynchronous) Declaration
Swift
func updatePostHandler(_ req: Request) async throws -> HTTPStatus -
deletePostHandler(_:Asynchronous) Declaration
Swift
func deletePostHandler(_ req: Request) async throws -> HTTPStatus -
reportPageHandler(_:Asynchronous) Declaration
Swift
func reportPageHandler(_ req: Request) async throws -> View -
reportPostHandler(_:Asynchronous) Declaration
Swift
func reportPostHandler(_ req: Request) async throws -> HTTPStatus
View on GitHub