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.
11 lines (10 loc) • 414 B
TypeScript
import { PiniaPlugin } from "pinia";
import type { PersistedStore } from "../types";
import { EppsStoreOptions } from "../types/store";
export declare function createPlugin(dbName?: string, cryptKey?: string, debug?: boolean): PiniaPlugin;
declare module 'pinia' {
interface PiniaCustomProperties extends PersistedStore {
}
interface DefineStoreOptionsBase<S, Store> extends EppsStoreOptions {
}
}