Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias RouteContext

    RouteContext: {
        identity: Identity | null;
        params: Params;
        request: Request;
        url: URL;
    } & Pick<Collector, "record" | "projection" | "row">

    What depends and load receive. record and projection put data into the replica once and return the reference to embed in the page's data; see Collector.

    Type Declaration

    • identity: Identity | null

      the principal the app resolved for this request; null when none

    • params: Params

      the values the route pattern captured

    • request: Request

      the request being answered

    • url: URL

      the request URL, parsed