Options
All
  • Public
  • Public/Protected
  • All
Menu
namespace

Index

Functions

Const test

  • test(path: string, store: Store): boolean

Const get

  • get(path: string, store: Store): Json

Const getMdr

  • getMdr(path: string, store: Store): Mdr

Const add

  • add(path: string, value: Json, store: Store): Store

Const remove

  • remove(path: string, store: Store): Store

Const replace

  • replace(path: string, value: Json, store: Store): Store

Const move

  • move(from: string, path: string, store: Store): Store

Const copy

  • copy(from: string, path: string, store: Store): Store

Const duplicate

  • duplicate(path: string, fromStore: Store, toStore: Store): Store

Const validate

  • validate(path: string, store: Store): Store

Const mapDeep

  • mapDeep(f: (mdr: Mdr, path: string) => Mdr, path: string, store: Store): Store

Const reduceDeep

  • reduceDeep<T>(f: (cur: T, mdr: Mdr, path: string) => T, cur: T, path: string, store: Store): T
  • Type parameters

    • T

    Parameters

    • f: (cur: T, mdr: Mdr, path: string) => T
        • (cur: T, mdr: Mdr, path: string): T
        • Parameters

          • cur: T
          • mdr: Mdr
          • path: string

          Returns T

    • cur: T
    • path: string
    • store: Store

    Returns T

Const getExtra

  • getExtra(name: string, store: Store): Object

Const touchAll

  • touchAll(path: string, store: Store): Store

Const countValidationErrors

  • countValidationErrors(path: string, store: Store): number

Const validationErrors

  • validationErrors(path: string, store: Store): string[]

Const foldValidity

  • foldValidity(path: string, store: Store): Validity

Const sleep

  • sleep(ms: number, store: Store): [Promise<null>, Store]

Const startReordering

  • startReordering<T>(name: string, itemPath: string, group: string, store: Store): [Promise<T>, Store]
  • Type parameters

    • T

    Parameters

    • name: string
    • itemPath: string
    • group: string
    • store: Store

    Returns [Promise<T>, Store]

Const endReordering

  • endReordering(name: string, store: Store): Store

Const getReordering

  • getReordering(name: string, store: Store): string

Const openDialog

  • openDialog(name: string, data: any, store: Store): [Promise<boolean>, Store]

Const closeDialog

  • closeDialog(name: string, store: Store): Store

Const getDialog

  • getDialog(name: string, store: Store): any

Const openFeedback

  • openFeedback(name: string, data: any, store: Store): Store

Const closeFeedback

  • closeFeedback(name: string, store: Store): Store

Const getFeedback

  • getFeedback(name: string, store: Store): any

Const setPage

  • setPage(name: string, current: number, store: Store): Store

Const getPage

  • getPage(name: string, store: Store): number

Const nextPage

  • nextPage(name: string, store: Store): Store

Const prevPage

  • prevPage(name: string, store: Store): Store

Const setSwitch

  • setSwitch(name: string, shown: boolean, store: Store): Store

Const getSwitch

  • getSwitch(name: string, store: Store): boolean

Const toggleSwitch

  • toggleSwitch(name: string, store: Store): Store

Const openProgress

  • openProgress(name: string, unknown: any, store: Store): Store

Const closeProgress

  • closeProgress(name: string, store: Store): Store

Const getProgress

  • getProgress(name: string, store: Store): number

Const reorder

  • reorder(name: string, fromPath: string, group: string, store: Store): Store | Promise<{ path: string }>
  • Parameters

    • name: string
    • fromPath: string
    • group: string
    • store: Store

    Returns Store | Promise<{ path: string }>

Const makePortal

  • makePortal(store: Store): { enter: (handler: XThenHandler) => ThenHandler; leave: <T>(x: T | [T, Store], y?: Store) => T }
  • Parameters

    • store: Store

    Returns { enter: (handler: XThenHandler) => ThenHandler; leave: <T>(x: T | [T, Store], y?: Store) => T }

    • enter: (handler: XThenHandler) => ThenHandler
        • (handler: XThenHandler): ThenHandler
        • Parameters

          • handler: XThenHandler

          Returns ThenHandler

    • leave: <T>(x: T | [T, Store], y?: Store) => T
        • <T>(x: T | [T, Store], y?: Store): T
        • Type parameters

          • T

          Parameters

          • x: T | [T, Store]
          • Optional y: Store

          Returns T

Generated using TypeDoc