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

    Function writePlan

    • Sets or clears the plan override.

      Separate from writeSettings so the two authorisations stay separable: PLAN selects a limits profile whose quotas are account-wide, set by one tenant.

      Parameters

      • kv: PlanKvWriter
      • plan: "free" | "paid" | undefined

        undefined removes the override, so the deployed var comes back into force.

      • Optionalsite: string

      Returns Promise<ResolvedPlan>