@suluk/cloudflare - v0.4.0
    Preparing search index...

    Interface RequestOptions

    @suluk/cloudflare — API-driven provisioning + deployment for a Suluk app on Cloudflare, no wrangler CLI. A typed REST client, idempotent provisioners (D1 / KV / R2 / secrets), the Workers module-script + static-assets upload flow, and a one-call deploy() that wires them in dependency order. The platform that ships itself, shipping itself — readable, testable, and the same contract-first discipline as the rest of the suite. CANDIDATE tooling.

    interface RequestOptions {
        json?: unknown;
        body?: BodyInit;
        headers?: Record<string, string>;
        query?: Record<string, string | number | boolean | undefined>;
        token?: string;
    }
    Index

    Properties

    json?: unknown

    a JSON body (sets content-type + serializes).

    body?: BodyInit

    a raw body (e.g. FormData / multipart) — takes precedence over json.

    headers?: Record<string, string>

    extra headers.

    query?: Record<string, string | number | boolean | undefined>

    query params.

    token?: string

    override the Bearer token (e.g. an assets-upload JWT).