UNPKG

epps

Version:

Enhances Pinia stores with advanced features such as persistence, encryption, and store extension. Simplifies state management and ensures data security for Vue.js and Nuxt applications.

8 lines (7 loc) 549 B
import type { Item } from "../models/item"; import type { AnyObject } from "../types"; import type { DefineEppsStore, PersistedState } from "../types/store"; export declare const itemState: Item; export declare const persistedState: (persist?: boolean, persistedPropertiesToEncrypt?: string[], excludedKeys?: string[], isEncrypted?: boolean) => PersistedState; export declare function defineEppsStore<Sto, Sta>(id: string, storeDefinition: () => AnyObject): DefineEppsStore<Sto, Sta>; export declare function getStoreName(store: AnyObject): string;