package vue-jsoo

  1. Overview
  2. Docs

Module Vuex.TablesSource

Parameters

module S : sig ... end

Signature

Sourcetype state = S.state
Sourcetype getters = S.getters
Sourceval getters_t : (state Mjs.t -> Mjs.any) Mjs.Table.t
Sourceval mutations_t : (state Mjs.t -> Mjs.any -> unit) Mjs.Table.t
Sourceval actions_t : ((state, getters) Internal.action_input_js Mjs.t -> Mjs.any -> unit) Mjs.Table.t
Sourceval modules_t : (Mjs.top, Mjs.top) module_obj Mjs.t Mjs.Table.t
Sourceval getters_to_computed : string list ref
Sourceval mutations_to_methods : string list ref
Sourceval actions_to_methods : string list ref
Sourceval add_getter : ?computed:bool -> string -> (state Mjs.t -> 'a) -> unit
Sourceval add_mutation : ?methods:bool -> string -> (state Mjs.t -> 'a -> unit) -> unit
Sourceval add_action : ?methods:bool -> string -> ((state, getters) action_input -> 'a -> unit) -> unit
Sourceval add_module : string -> ('a, 'b) module_obj Mjs.t -> unit
Sourceval merge_lists : ?getters:(string * (state Mjs.t -> Mjs.any)) list -> ?mutations:(string * (state Mjs.t -> Mjs.any -> unit)) list -> ?actions:(string * ((state, getters) action_input -> Mjs.any -> unit)) list -> ?modules:(string * (Mjs.top, Mjs.top) module_obj Mjs.t) list -> unit -> unit
OCaml

Innovation. Community. Security.