Skip to main content

Type Alias: OpenApiLocation

OpenApiLocation = { resource: string; view: "list" | "create"; } | { id: string; resource: string; view: "detail" | "edit"; } | { action: string; id?: string; resource: string; view: "action"; }

Defined in: core/locations.ts:11

A screen of a resource. Apps keep it in their router; formatLocation and parseLocation convert it to and from a path.