Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

fields: Record<string, any>
pod: Pod
provider: RouteProvider

Accessors

  • get contentType(): string
  • Returns the content type header for the route, based on the route's URL path. Routes that terminate in / or have no extension are assumed to be HTML. All other routes are automatically determined using the mime-types module.

    Returns string

  • get podPath(): string
  • Most routes will be generated from files within the pod. Some routes (e.g. routes created dynamically such as from a database query or from explicit parameters) may not be generated from files within the pod, and therefore would be undefined – they would not have a corresponding podPath.

    Returns string

  • get urlPath(): string

Methods

Generated using TypeDoc