Module / v1.0.0-beta.7

@typed/navigation/model

9 unique exports available through this public import path, including their members and aliases.

import * as model from "@typed/navigation/model";

Destination schemas

  • Destination

    variable

    Describes a committed history entry with stable id and key identity.

  • ProposedDestination

    variable

    Describes a destination before the navigation backend assigns stable entry identity.

Navigation event schemas

  • BeforeNavigationEvent

    variable

    Describes the pre-commit event presented to navigation guards.

  • NavigationEvent

    variable

    Describes a destination after it has been committed by the navigation backend.

Navigation failures

  • NavigationError

    class

    Wraps malformed URLs, unknown traversal keys, identifier failures, and backend history failures.

Transition control

  • CancelNavigation

    class

    Signals that a pre-navigation handler rejects the pending transition.

  • RedirectError

    class

    Signals that a pre-navigation handler wants to replace the pending destination.

Transition schemas

  • NavigationType

    variable

    Validates the four transition operations understood by navigation providers.

  • Transition

    variable

    Describes the currently proposed navigation before handlers and commit finish.