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

    Type Alias Resource

    what defineResource returns: the item family and the writes that change it

    type Resource = {
        dataset: string;
        key: string;
        pattern: string;
        routes: Route[];
        writes: ResourceWrite[];
    }
    Index
    dataset: string
    key: string
    pattern: string
    routes: Route[]
    writes: ResourceWrite[]