feat:node-modules
This commit is contained in:
20
node_modules/pinia-plugin-persist-uni/dist/index.d.ts
generated
vendored
Normal file
20
node_modules/pinia-plugin-persist-uni/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { PiniaPluginContext } from 'pinia';
|
||||
export interface PersistStrategy {
|
||||
key?: string;
|
||||
storage?: Storage;
|
||||
paths?: string[];
|
||||
}
|
||||
export interface PersistOptions {
|
||||
enabled: true;
|
||||
detached?: true;
|
||||
enforceCustomStorage?: boolean;
|
||||
H5Storage?: Storage;
|
||||
strategies?: PersistStrategy[];
|
||||
}
|
||||
declare module 'pinia' {
|
||||
interface DefineStoreOptionsBase<S, Store> {
|
||||
persist?: PersistOptions;
|
||||
}
|
||||
}
|
||||
declare const _default: ({ options, store }: PiniaPluginContext) => void;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user