Skip to content

RECOGNIZED_UPDATE_KEYS

const RECOGNIZED_UPDATE_KEYS: readonly ["usage", "account_id", "email", "email_type", "plan_handle", "plan", "trial", "payment_failed", "payment_at_risk", "tiers", "entitlements", "instances", "custom", "personalization", "experiments", "derived_config_version", "context_hash", "derived_computed_at"]

Runtime mirror of RevTurbineUpdateInput’s keys — the fields update() patches. satisfies guards each entry against typos/renames; update-keys-exhaustiveness.test-d.ts (compiled by pnpm check:types:exact) derives the reverse direction, so a schema-added context field fails the build until it is acknowledged here or omitted from the browser input types (BL-0352). JS callers’ keys outside this set are dropped with a warning rather than merged into the context.