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

    Type Alias Shaped

    Shaped: { data: Plain; ok: true } | { ok: false; reason: string }

    what shapeQuery and shapeRows return

    Type Declaration

    • { data: Plain; ok: true }
      • data: Plain

        the stored data with the page's items and the query view

      • ok: true

        true when the query was answered from the stored collection

    • { ok: false; reason: string }
      • ok: false

        false when the proof or the query was refused

      • reason: string

        why the query was refused