drupflare/worker - v1.0.4
    Preparing search index...

    Interface ReconcileHost

    what a step may ask the host for beyond plain SQL

    interface ReconcileHost {
        claimedAtMs(): number | undefined;
        meta(key: string): string | null;
        modules?(): string;
        origin(): string;
        packedContainer?(): PackedContainer | undefined;
        setMeta(key: string, value: string): void;
    }
    Index
    • the ms timestamp the site was claimed, or undefined when it never has been

      Returns number | undefined

    • reads a cfw_meta value

      Parameters

      • key: string

      Returns string | null

    • extensionFingerprint of the site's own core.extension

      Returns string

    • The site's canonical scheme://host[:port]; Request::create() ignores $_SERVER, so this URI alone sets the host Drupal builds absolute URLs against in a PHP step.

      Returns string

    • Writes a cfw_meta value; a marker step writes it inside its apply, or the verdict that follows reads the old value and files a successful run as failed.

      Parameters

      • key: string
      • value: string

      Returns void