diff --git a/stores/autosaveStore.ts b/stores/autosaveStore.ts index ffab162..25b538a 100644 --- a/stores/autosaveStore.ts +++ b/stores/autosaveStore.ts @@ -2,12 +2,17 @@ import { defineStore } from "pinia"; export interface autoSavePayload { draftId?: number; + fetchId: number; } export const useAutoSaveStore = defineStore("autosave", { state() { return { draftId: undefined, + fetchId: 1, } as autoSavePayload; }, + actions: { + async doSomething(did: number) {}, + }, });