Skip to content

@statesync/vue


@statesync/vue / VueSnapshotApplierOptions

Type Alias: VueSnapshotApplierOptions<State, Data>

ts
type VueSnapshotApplierOptions<State, Data> = 
  | VueReactiveSnapshotApplierOptions<State, Data>
| VueRefSnapshotApplierOptions<State, Data>;

Defined in: vue.ts:246

Union of all Vue snapshot applier option shapes.

Discriminated by the target field:

Type Parameters

Type ParameterDescription
State extends Record<string, unknown>The shape of the Vue reactive object or ref value. Must be a plain object.
DataThe snapshot payload type received from the sync engine.

Released under the MIT License.