add / edit / delete user warrens

This commit is contained in:
2025-07-21 19:27:41 +02:00
parent 50e066f794
commit 2c26002507
86 changed files with 2197 additions and 300 deletions

View File

@@ -1,10 +1,10 @@
import { defineStore } from 'pinia';
import type { DirectoryEntry } from '#shared/types';
import type { Warren } from '#shared/types/warrens';
import type { WarrenData } from '#shared/types/warrens';
export const useWarrenStore = defineStore('warrens', {
state: () => ({
warrens: {} as Record<string, Warren>,
warrens: {} as Record<string, WarrenData>,
current: null as { warrenId: string; path: string } | null,
loading: false,
}),