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

    • Overview
  • Library

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

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

    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › local‑first/Shared › EvoluInput

type EvoluInput =
  | {
      changes: NonEmptyReadonlyArray<MutationChange>;
      onCompleteIds: ReadonlyArray<Id>;
      subscribedQueries: ReadonlySet<Query>;
      type: "Mutate";
    }
  | {
      actions: ReadonlyArray<{
        action: "add" | "remove";
        owner: SyncOwner;
      }>;
      type: "UseOwner";
    }
  | {
      queries: NonEmptyReadonlySet<Query>;
      type: "Query";
    }
  | {
      type: "Export";
    };

Defined in: packages/common/src/local-first/Shared.ts:118

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server