← All types
En Enum

PortalPartKind

Which part a .portal file holds.

Values

PAGE

A page: <page route> or its blocks (template, server, handlers, style).

COMPONENT

A component: <component name> or its blocks (props, template, style, server).

Referenced by (1)
Exact type SDL
"""Which part a `.portal` file holds."""
enum PortalPartKind {
  """
  A page: `<page route>` or its blocks (`template`, `server`, `handlers`, `style`).
  """
  PAGE
  """
  A component: `<component name>` or its blocks (`props`, `template`, `style`, `server`).
  """
  COMPONENT
}