list users
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
|
||||
@@ -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: () => ({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { UploadFile } from '~/types';
|
||||
import type { UploadFile } from '#shared/types';
|
||||
|
||||
export const useUploadStore = defineStore<
|
||||
'warren-upload',
|
||||
|
||||
Reference in New Issue
Block a user