UNPKG

@renewx/core

Version:

Lightweight state management library with validation support

30 lines (29 loc) 1.61 kB
export { store } from "./src/store"; export { adapter } from "./src/adapter"; export { watch } from "./src/fn/watch"; export { action, actions } from "./src/fn/actions"; export { cleaner } from "./src/fn/cleaner"; export { creator } from "./src/fn/creator"; export { setup } from "./src/fn/setup"; export { setDiffUnInterval } from "./src/fn/set-diff-un-interval"; export { setUnTimeout } from "./src/fn/set-un-timeout"; export { unsubscribe } from "./src/fn/unsubscribe"; export { tx } from "./src/utils/tx"; export { mainConfig } from "./src/main-config"; export { batch } from "./src/api/batch-api"; export { StoreAPI } from "./src/api/store-api"; export { ActionAPI } from "./src/api/action-api"; export { isActionStore, isAnyStore } from "./src/utils/is"; export type { AnyStore, AnyActionStore, AnyStoreState, } from "./src/types/any-store"; export type { ReadOnlyStore } from "./src/types/read-only-store"; export type { ActionStore } from "./src/types/action-store"; export type { Store } from "./src/types/store"; export type { AdapterStore } from "./src/types/adapter"; export type { HasStore, HasStoreWith, HasReadOnlyStoreWith, } from "./src/types/has-store"; export type { Cleaner, Off, Disposable } from "./src/types/cleaner"; export type { Watcher } from "./src/types/watch"; export type { StoreActions } from "./src/types/actions"; export type { Unsubscribe } from "./src/types/core"; export type { Freeze } from "./src/types/freeze"; export type { Config } from "./src/types/config"; export type { ToReadOnly, StoreTag, AdapterTag, AnyTag, ReadableTag, WritableTag, Tag, } from "./src/types/tag";