| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/framework7/node_modules/framework7/modules/store/ |
Upload File : |
import { Framework7Plugin } from '../../components/app/app-class.js';
interface StoreGetterValue {
value: any;
onUpdated: (value: any) => any;
__callback: any;
}
export interface StoreObject {
state: any;
getters: any;
dispatch: (name: string, data: any) => Promise<any>;
__removeCallback: (callback: any) => void;
}
export interface StoreParameters {
state: object;
actions?: object;
getters?: object;
}
/** Create new store */
interface createStore {
(storeParameters: StoreParameters): StoreObject;
}
export const createStore: createStore;
export namespace Store {
interface AppMethods {
/** Create new store */
createStore: (storeParameters: StoreParameters) => StoreObject;
}
interface AppParams {
/** Store */
store?: StoreParameters | StoreObject;
}
interface AppEvents {}
}
declare const StoreModule: Framework7Plugin;
export default StoreModule;