Added Tag Presets, popup editor for them, implemented presets image edit

This commit is contained in:
koloml committed 2026-03-12 00:17:45 +04:00
1 parent 6c2ef795b3
commit 74866949bb
24 files changed
+720 -8

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { type Writable, writable } from "svelte/store";
import TagEditorPreset from "$entities/TagEditorPreset";
export const tagEditorPresets: Writable<TagEditorPreset[]> = writable([]);
TagEditorPreset
.readAll()
.then(presets => tagEditorPresets.set(presets))
.then(() => {
TagEditorPreset.subscribe(presets => tagEditorPresets.set(presets))
});