File tree Expand file tree Collapse file tree
src/routes/(authenticated)/admin/users Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { RoleType } from ' $lib/api/internal/v1' ;
2+ import { RoleType , type AdminUsersView } from ' $lib/api/internal/v1' ;
33 import { Button } from ' $lib/components/ui/button' ;
44 import * as DropdownMenu from ' $lib/components/ui/dropdown-menu' ;
55 import { toast } from ' svelte-sonner' ;
6- import type { User } from ' ./columns' ;
76 import UserDeleteDialog from ' ./dialog-user-delete.svelte' ;
87 import UserEditDialog from ' ./dialog-user-edit.svelte' ;
98
109 import Ellipsis from ' @lucide/svelte/icons/ellipsis' ;
1110
1211 type Props = {
13- user: User ;
12+ user: AdminUsersView ;
1413 };
1514
1615 let { user }: Props = $props ();
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ import type { AdminUsersView } from ' $lib/api/internal/v1' ;
23 import AbsolutelySureButton from ' $lib/components/AbsolutelySureButton.svelte' ;
34 import * as Dialog from ' $lib/components/ui/dialog' ;
4- import type { User } from ' ./columns' ;
55
66 type Props = {
77 open: boolean ;
8- user: User ;
8+ user: AdminUsersView ;
99 };
1010
1111 let { open = $bindable <boolean >(), user }: Props = $props ();
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { RoleType } from ' $lib/api/internal/v1' ;
2+ import { RoleType , type AdminUsersView } from ' $lib/api/internal/v1' ;
33 import EmailInput from ' $lib/components/input/EmailInput.svelte' ;
44 import TextInput from ' $lib/components/input/TextInput.svelte' ;
55 import UsernameInput from ' $lib/components/input/UsernameInput.svelte' ;
66 import { Button } from ' $lib/components/ui/button' ;
77 import { Checkbox } from ' $lib/components/ui/checkbox' ;
88 import * as Dialog from ' $lib/components/ui/dialog' ;
9- import type { User } from ' ./columns' ;
109
1110 type Props = {
1211 open: boolean ;
13- user: User ;
12+ user: AdminUsersView ;
1413 };
1514
1615 let { open = $bindable <boolean >(), user }: Props = $props ();
You can’t perform that action at this time.
0 commit comments