hyperstack-react 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -3
- package/dist/index.esm.js +371 -297
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +371 -297
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -110,7 +110,6 @@ declare function useInstructionMutation(execute: InstructionExecutor): UseMutati
|
|
|
110
110
|
|
|
111
111
|
interface ZustandState {
|
|
112
112
|
entities: Map<string, Map<string, unknown>>;
|
|
113
|
-
sortedKeys: Map<string, string[]>;
|
|
114
113
|
viewConfigs: Map<string, ViewSortConfig>;
|
|
115
114
|
connectionState: ConnectionState;
|
|
116
115
|
lastError?: string;
|
|
@@ -121,7 +120,6 @@ interface ZustandActions {
|
|
|
121
120
|
_clear: (viewPath?: string) => void;
|
|
122
121
|
_setConnectionState: (state: ConnectionState, error?: string) => void;
|
|
123
122
|
_setViewConfig: (viewPath: string, config: ViewSortConfig) => void;
|
|
124
|
-
_updateSortedKeys: (viewPath: string, sortedKeys: string[]) => void;
|
|
125
123
|
}
|
|
126
124
|
type HyperStackStore = ZustandState & ZustandActions;
|
|
127
125
|
declare class ZustandAdapter implements StorageAdapter {
|
|
@@ -148,7 +146,6 @@ declare class ZustandAdapter implements StorageAdapter {
|
|
|
148
146
|
setConnectionState(state: ConnectionState, error?: string): void;
|
|
149
147
|
setViewConfig(viewPath: string, config: ViewSortConfig): void;
|
|
150
148
|
getViewConfig(viewPath: string): ViewSortConfig | undefined;
|
|
151
|
-
private rebuildSortedKeys;
|
|
152
149
|
}
|
|
153
150
|
|
|
154
151
|
type ViewHookForDef<TDef> = TDef extends ViewDef<infer T, 'state'> ? {
|