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

    Type Alias Family

    The held dataset row a template, projection or data route renders. The row is the one whose key is the value of the route param key. A template or renderer receives { params, row }; a data route answers with the row's JSON.

    type Family = {
        dataset: string;
        key: string;
    }
    Index
    dataset: string

    the dataset the row is read from; it must be held on the device

    key: string

    the route param whose value is the row's key, such as id for /courses/:id