API reference@evolu/commonlocal‑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";
    }
  | {
      type: "Dispose";
    };

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