1
0
mirror of https://github.com/koloml/philomena-tagging-assistant.git synced 2026-05-09 15:12:21 +00:00

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

This commit is contained in:
2026-03-12 00:17:45 +04:00
parent 6c2ef795b3
commit 74866949bb
24 changed files with 720 additions and 8 deletions

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))
});