improved file uploads

This commit is contained in:
2025-07-13 12:35:48 +02:00
parent 548dd7e9ef
commit 596d7ac35d
12 changed files with 370 additions and 87 deletions

View File

@@ -1,9 +1,15 @@
import { defineStore } from 'pinia';
import type { Warren } from '~/types/warrens';
export const useWarrenStore = defineStore('warrens', {
export const useWarrenStore = defineStore<
'warrens',
{
warrens: Record<string, Warren>;
}
>('warrens', {
state: () => ({
warrens: {} as Record<string, Warren>,
warrens: {},
upload: null,
}),
});