import type {ResultBlockMeta} from '~/components/aigc/drawing'; export interface HistoryItem { fid: string data_id?: string prompt: string meta: ResultBlockMeta images?: string[] } export const useHistory = defineStore('aigc_history', () => { const text2img = ref([]) return { text2img } }, { persist: { storage: persistedState.localStorage } })