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;
}
| {
action: "sync";
ownerId: OwnerId;
}
>;
type: "UseOwner";
}
| {
queries: NonEmptyReadonlySet<Query>;
type: "Query";
}
| {
type: "Export";
};
Defined in: packages/common/src/local-first/Shared.ts:179