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

    • Quickstart
  • Library

    • Result
    • Type
    • Dependency injection
    • Conventions
  • Local-first

    • How it works
    • Privacy
    • Indexes
    • Migrations
    • Patterns
    • Time travel
    • Examples
  • Other

    • API reference
    • Comparison
    • Showcase
    • FAQ
    • Changelog

API reference / @evolu/common / Evolu/Internal / MutationMapping

Type Alias: MutationMapping<P, M>

type MutationMapping<P, M> = M extends "insert" ? InsertableProps<P> : M extends "update" ? UpdateableProps<P> : UpsertableProps<P>;

Defined in: packages/common/src/Evolu/Schema.ts:250

Type Parameters

Type Parameter
P extends Record<string, AnyType>
M extends MutationKind

Was this page helpful?

© Copyright 2025. All rights reserved.

Follow us on GitHubFollow us on XJoin our Discord server