list users
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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[];
|
||||
}>();
|
||||
|
||||
@@ -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<{
|
||||
|
||||
@@ -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']);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user