@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
20 lines (19 loc) • 456 B
TypeScript
import { Store } from "@omnia/fx/stores";
export declare class DynamicStateStore extends Store {
private itemState;
onActivated(): void;
onDisposing(): void;
/**
* Implementation of getters
*/
getters: {
state: (id: string) => any;
};
/**
* Implementation of mutations
*/
mutations: {
setState: (id: string, state: any) => void;
initState: (id: string, state: any) => any;
};
}