Home Reference Source

References

Class Summary

Static Public Class Summary
public

Function Summary

Static Public Function Summary
public

BindHandlers(args: ...*): *

Creates a decorator for binding action handlers to a store.

public

bindActions(args: ...*): *

Decorates a store with any number of viewAction definitions.

public

bindCalls(args: ...*): *

Decorates a store with any number of call definitions.

public

bindHandlers(actions: *, handlers: ...*): *

Decorates a store with any number of action handlers.

public

callFactory(name: *, objectPattern1: {"namespace": *, "defaultActions": *, "actions": *, "logger": *}): {"name": *, "actions": *, "create": *, "createActions": *}

public

callSeries(calls: array, options: object): promise

Retuns a promise and executes a series of calls.

public

connect(definitions: Array<{store: AltStore, props: Array<string>}>): *

A component decorator for connecting to immutable stores.

public

connectAlternative(store: *, mapStateToProps: *, WrappedComponent: *): *

public

createActions(namespace: string, actions: array<string>): object

Creates simple (data-pass-through) actions with a namespace.

public

createLogger(name: *): {"log": *, "info": *, "warn": *, "error": *, "trace": *}

public

createStore(displayName: *, objectPattern1: {"alt": *, "state": *, "calls": *, "sources": *, "viewActions": *}): *

public
public
public

flatten(args: ...*): *

Reduces a mixed array to a flat one.

public
public

getLevel(): *

public

getSources(calls: *): *

public
public

handlerFactory(action: *, objectPattern1: {"namespace": *, "logger": *}): {"create": *}

public
public

setAltInstance(alt: *)

public

setLevel(value: *)

public

validateCreator(call: *, logger: *): *

public

validateDefinition(definition: *, logger: *): *

public

validateHandler(handler: *, logger: *): *

Variable Summary

Static Public Variable Summary
public

logLevel: {"NONE": *, "ALLOW": *, "FORCE": *}

public

loggerConstraints: {"logger.warn": *, "logger.error": *, "logger.log": *, "logger.info": *}