lora-studio / src /lib /stores /use-generation.ts
enzostvs's picture
enzostvs HF staff
fix click on reaction stopPropagation and already_saved is stored now
3d344de
raw
history blame
389 Bytes
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { CommunityCard } from "$lib/type";
import { writable } from "svelte/store";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const generationStore = writable<{
form?: Record<string, any>,
gallery?: CommunityCard,
image?: string | ArrayBuffer | null,
already_saved?: boolean,
}>(undefined);