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

    Type Alias PageLike

    the fields of a framework registration the helper reads; every pages.ts registration has them

    type PageLike = {
        path: string;
        pattern?: string;
        reason: string;
        register: Register;
    }
    Index
    path: string

    the framework's own path, such as /articles/[id]

    pattern?: string

    the spool pattern; absent when the framework path does not convert

    reason: string
    register: Register