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

    Type Alias CatalogEntry

    one catalog entry: a pre-packed module and what it needs

    type CatalogEntry = {
        bytes?: number;
        core: string;
        name: string;
        needs?: readonly ModuleCapability[];
        php?: string;
        r2: string;
        requires?: string[];
        version: string;
    }
    Index
    bytes?: number

    uncompressed bytes, so a caller can refuse before reading

    core: string

    the Drupal core constraint this pack was built against

    name: string

    composer name, e.g. drupal/pathauto

    needs?: readonly ModuleCapability[]

    Request-time capabilities, which core and php cannot express; cron runs from the alarm (automated_cron.interval = 0), so a cron module is unwired, not impossible.

    php?: string

    the PHP constraint this pack declares, when it declares one

    r2: string

    the R2 key prefix; the mount appends .pf.json and .pf.bin

    requires?: string[]

    other catalog modules this one needs, by composer name

    version: string