list users

This commit is contained in:
2025-07-20 13:14:31 +02:00
parent 7f2aac12e6
commit 5ec224b79e
36 changed files with 225 additions and 54 deletions

View File

@@ -1,7 +1,8 @@
import type { AuthUser, AuthUserFields } from '~/types/auth';
import type { AuthUser, AuthUserFields } from '#shared/types/auth';
export const useAdminStore = defineStore('admin', {
state: () => ({
users: [] as AuthUser[],
createUserDialog: null as { user: AuthUserFields } | null,
deleteUserDialog: null as { user: AuthUser } | null,
}),

View File

@@ -1,6 +1,6 @@
import { defineStore } from 'pinia';
import type { DirectoryEntry } from '~/types';
import type { Warren } from '~/types/warrens';
import type { DirectoryEntry } from '#shared/types';
import type { Warren } from '#shared/types/warrens';
export const useWarrenStore = defineStore('warrens', {
state: () => ({

View File

@@ -1,4 +1,4 @@
import type { UploadFile } from '~/types';
import type { UploadFile } from '#shared/types';
export const useUploadStore = defineStore<
'warren-upload',