summaryrefslogtreecommitdiff
path: root/cask/src/cask/package.scala
blob: fddb1e05e16017dcf0dc8b00b2da073d6485f0ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package object cask {
  // model
  type Response = model.Response
  val Response = model.Response
  type Abort = model.Abort
  val Abort = model.Abort
  type Redirect = model.Redirect
  val Redirect = model.Redirect
  type FormValue = model.FormValue
  val FormValue = model.FormValue
  type Cookie = model.Cookie
  val Cookie = model.Cookie
  type Cookies = model.Cookies
  type Subpath = model.Subpath

  // endpoints
  type get = endpoints.get
  type post = endpoints.post
  type put = endpoints.put
  type route = endpoints.route
  type static = endpoints.static
  type postJson = endpoints.postJson
  type postForm = endpoints.postForm

  // main
  type MainRoutes = main.MainRoutes
  type Routes = main.Routes
  type Main = main.Main

}