type

AdminRoute

A plugin route mounted beneath the authenticated admin layout.

How it works

path is relative and must exactly match the route declared by the compiled backend descriptor. Omit navigation for link-only routes.

Full signature

type AdminRoute = { /** Relative admin path, without a leading slash. Paired plugins must match their Go descriptor. */ path: string; /** Optional navigation entry; omit it for a route reachable only by links or redirects. */ navigation?: AdminRouteNavigation; } & AdminViewComponent<AdminExtensionProps>

Source packages/plugin/src/lib/index.ts:87

Related types