add / edit / delete user warrens
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user