improved file uploads
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user