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

    Function couplingReport

    • For each write a page made, the resource it couples to and the GET families it updates. A write that couples to no resource reports resource: null and no families; that is the uncovered case.

      Parameters

      • writes: readonly { method: string; url: string }[]
      • resources: readonly Resource[]
      • pageOrigin: string

      Returns { families: string[]; method: string; resource: string | null; url: string }[]