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

@@ -7,7 +7,7 @@ import {
BreadcrumbPage,
BreadcrumbSeparator,
} from '@/components/ui/breadcrumb';
import type { BreadcrumbData } from '~/types';
import type { BreadcrumbData } from '#shared/types';
const route = useRoute();
const store = useWarrenStore();

View File

@@ -7,7 +7,7 @@ import {
ContextMenuSeparator,
} from '@/components/ui/context-menu';
import { deleteWarrenDirectory, deleteWarrenFile } from '~/lib/api/warrens';
import type { DirectoryEntry } from '~/types';
import type { DirectoryEntry } from '#shared/types';
const warrenStore = useWarrenStore();
const renameDialog = useRenameDirectoryDialog();

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { ScrollArea } from '@/components/ui/scroll-area';
import type { DirectoryEntry } from '~/types';
import type { DirectoryEntry } from '#shared/types';
const { entries } = defineProps<{
entries: DirectoryEntry[];
}>();

View File

@@ -13,7 +13,7 @@ import {
} from '@/components/ui/dropdown-menu';
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
import { logout } from '~/lib/api/auth/logout';
import type { AuthUser } from '~/types/auth';
import type { AuthUser } from '#shared/types/auth';
const { isMobile } = useSidebar();
const { user } = defineProps<{

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import byteSize from 'byte-size';
import type { UploadFile } from '~/types';
import type { UploadFile } from '#shared/types';
const emit = defineEmits(['removeFile']);

View File

@@ -11,7 +11,7 @@ import {
AlertDialogTitle,
AlertDialogTrigger,
} from '@/components/ui/alert-dialog';
import type { AuthUser } from '~/types/auth';
import type { AuthUser } from '#shared/types/auth';
const adminStore = useAdminStore();
// We'll only update this value if there is a user to prevent layout shifts on close

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { AuthUser } from '~/types/auth';
import type { AuthUser } from '#shared/types/auth';
const { user } = defineProps<{
user: AuthUser;