Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DeutscherDude committed Oct 19, 2024
1 parent 8b986c1 commit 499198c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type Static, Type } from '@sinclair/typebox';
import type * as contracts from '@common/contracts';

import { type TypeExtends } from '../../../../../../common/types/schemaExtends.js';
import { userDTOSchema } from '../../common/userDTO.js';
import { userWithBucketsDTOSchema } from '../../common/userDTO.js';

export const findUsersQueryParamsDTOSchema = Type.Object({
page: Type.Optional(Type.Integer({ minimum: 1 })),
Expand All @@ -16,7 +16,7 @@ export type FindUsersQueryParamsDTO = TypeExtends<
>;

export const findUsersResponseBodyDTOSchema = Type.Object({
data: Type.Array(userDTOSchema),
data: Type.Array(userWithBucketsDTOSchema),
metadata: Type.Object({
page: Type.Integer(),
pageSize: Type.Integer(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useQuery } from "@tanstack/react-query";
import { adminFindUsersQueryOptions } from "../../api/admin/queries/findUsersQuery/findUsersQueryOptions";
import { Form, FormControl, FormField, FormItem, FormLabel } from "../../../../../@/components/ui/form";
import { DialogPopoverContent, Popover, PopoverContent, PopoverTrigger } from "../../../../../@/components/ui/popover";
import { DialogPopoverContent, Popover, PopoverTrigger } from "../../../../../@/components/ui/popover";
import { Button } from "../../../../../@/components/ui/button";
import { Check, ChevronsUpDown } from "lucide-react";
import { Command, CommandEmpty, CommandInput, CommandItem, CommandList } from "../../../../../@/components/ui/command";
Expand Down

0 comments on commit 499198c

Please sign in to comment.