• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › local‑first/Schema › MutationValues

type MutationValues<T, M> = Simplify<
  M extends "insert"
    ? InsertValues<T>
    : M extends "update"
      ? UpdateValues<T>
      : UpsertValues<T>
>;

Defined in: packages/common/src/local-first/Schema.ts:252

Derives the expected values type for a mutation from a table's column schemas and a MutationKind.

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server