@suluk/better-auth - v0.2.0
    Preparing search index...

    Interface PreviewEnvLike

    The two independent locks live on the Worker env: a var and a binding. Duck-typed; extra keys ignored.

    interface PreviewEnvLike {
        SULUK_PREVIEW?: string;
        PREVIEW_DB?: unknown;
    }
    Index

    Properties

    SULUK_PREVIEW?: string

    lock 1 — the deploy-time preview flag.

    PREVIEW_DB?: unknown

    lock 2 — a D1 binding only the preview deploy declares (presence is the lock; we never read prod's DB here).