proxy-state-tree
Advanced tools
Comparing version
import { IProxifier, IProxyStateTree, ITrackCallback, ITrackScopedCallback, ITrackStateTree } from './types'; | ||
export declare class TrackStateTree<T extends object, D> implements ITrackStateTree<T, D> { | ||
private disposeOnReset; | ||
root: IProxyStateTree<T, D>; | ||
@@ -5,0 +4,0 @@ pathDependencies: Set<string>; |
export class TrackStateTree { | ||
disposeOnReset; | ||
root; | ||
@@ -4,0 +3,0 @@ pathDependencies = new Set(); |
@@ -27,2 +27,4 @@ export interface IProxifier<T extends object> { | ||
}; | ||
blockMutations(): void; | ||
enableMutations(): void; | ||
dispose(): IMutationTree<T, D>; | ||
@@ -34,2 +36,4 @@ objectChanges: Set<string>; | ||
state: T; | ||
isTracking: boolean; | ||
isBlocking: boolean; | ||
trackPathListeners: Array<(path: string) => void>; | ||
@@ -36,0 +40,0 @@ } |
import { IProxifier, IProxyStateTree, ITrackCallback, ITrackScopedCallback, ITrackStateTree } from './types'; | ||
export declare class TrackStateTree<T extends object, D> implements ITrackStateTree<T, D> { | ||
private disposeOnReset; | ||
root: IProxyStateTree<T, D>; | ||
@@ -5,0 +4,0 @@ pathDependencies: Set<string>; |
@@ -27,2 +27,4 @@ export interface IProxifier<T extends object> { | ||
}; | ||
blockMutations(): void; | ||
enableMutations(): void; | ||
dispose(): IMutationTree<T, D>; | ||
@@ -34,2 +36,4 @@ objectChanges: Set<string>; | ||
state: T; | ||
isTracking: boolean; | ||
isBlocking: boolean; | ||
trackPathListeners: Array<(path: string) => void>; | ||
@@ -36,0 +40,0 @@ } |
{ | ||
"name": "proxy-state-tree", | ||
"version": "6.3.2-1746089553697", | ||
"version": "6.3.2-1746095659049", | ||
"description": "An implementation of the Mobx/Vue state tracking approach, for library authors", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
184910
0.13%1762
0.28%