.next/dev/types/validator.ts(540,31): error TS2344: Type 'typeof import("/home/lucas/.www/transit/app/api/help/[id]/route")' does not satisfy the constraint 'RouteHandlerConfig<"/api/help/[id]">'.
  Types of property 'PATCH' are incompatible.
    Type '(req: NextRequest, { params }: { params: { id: string; }; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ article: { author: { name: string | null; }; } & { id: number; createdAt: Date; updatedAt: Date; content: string; title: string; authorId: number; }; }>>' is not assignable to type '(request: NextRequest, context: { params: Promise<{ id: string; }>; }) => void | Response | Promise<void | Response>'.
      Types of parameters '__1' and 'context' are incompatible.
        Type '{ params: Promise<{ id: string; }>; }' is not assignable to type '{ params: { id: string; }; }'.
          Types of property 'params' are incompatible.
            Property 'id' is missing in type 'Promise<{ id: string; }>' but required in type '{ id: string; }'.
.next/dev/types/validator.ts(666,31): error TS2344: Type 'typeof import("/home/lucas/.www/transit/app/api/notices/[id]/route")' does not satisfy the constraint 'RouteHandlerConfig<"/api/notices/[id]">'.
  Types of property 'PATCH' are incompatible.
    Type '(req: NextRequest, { params }: { params: { id: string; }; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ notice: { author: { name: string | null; }; } & { id: number; createdAt: Date; updatedAt: Date; content: string; title: string; authorId: number; }; }>>' is not assignable to type '(request: NextRequest, context: { params: Promise<{ id: string; }>; }) => void | Response | Promise<void | Response>'.
      Types of parameters '__1' and 'context' are incompatible.
        Type '{ params: Promise<{ id: string; }>; }' is not assignable to type '{ params: { id: string; }; }'.
          Types of property 'params' are incompatible.
            Property 'id' is missing in type 'Promise<{ id: string; }>' but required in type '{ id: string; }'.
.next/types/app/api/auth/[...nextauth]/route.ts(14,13): error TS2344: Type 'OmitWithTag<typeof import("/home/lucas/.www/transit/app/api/auth/[...nextauth]/route"), "POST" | "PATCH" | "DELETE" | "config" | "generateStaticParams" | "unstable_instant" | "unstable_dynamicStaleTime" | ... 10 more ... | "PUT", "">' does not satisfy the constraint '{ [x: string]: never; }'.
  Property 'authOptions' is incompatible with index signature.
    Type 'AuthOptions' is not assignable to type 'never'.
.next/types/app/api/help/[id]/route.ts(248,7): error TS2344: Type '{ __tag__: "DELETE"; __param_position__: "second"; __param_type__: { params: { id: string; }; }; }' does not satisfy the constraint 'ParamCheck<RouteContext>'.
  The types of '__param_type__.params' are incompatible between these types.
    Type '{ id: string; }' is missing the following properties from type 'Promise<any>': then, catch, finally, [Symbol.toStringTag]
.next/types/app/api/help/[id]/route.ts(287,7): error TS2344: Type '{ __tag__: "PATCH"; __param_position__: "second"; __param_type__: { params: { id: string; }; }; }' does not satisfy the constraint 'ParamCheck<RouteContext>'.
  The types of '__param_type__.params' are incompatible between these types.
    Type '{ id: string; }' is missing the following properties from type 'Promise<any>': then, catch, finally, [Symbol.toStringTag]
.next/types/app/api/notices/[id]/route.ts(248,7): error TS2344: Type '{ __tag__: "DELETE"; __param_position__: "second"; __param_type__: { params: { id: string; }; }; }' does not satisfy the constraint 'ParamCheck<RouteContext>'.
  The types of '__param_type__.params' are incompatible between these types.
    Type '{ id: string; }' is missing the following properties from type 'Promise<any>': then, catch, finally, [Symbol.toStringTag]
.next/types/app/api/notices/[id]/route.ts(287,7): error TS2344: Type '{ __tag__: "PATCH"; __param_position__: "second"; __param_type__: { params: { id: string; }; }; }' does not satisfy the constraint 'ParamCheck<RouteContext>'.
  The types of '__param_type__.params' are incompatible between these types.
    Type '{ id: string; }' is missing the following properties from type 'Promise<any>': then, catch, finally, [Symbol.toStringTag]
.next/types/validator.ts(540,31): error TS2344: Type 'typeof import("/home/lucas/.www/transit/app/api/help/[id]/route")' does not satisfy the constraint 'RouteHandlerConfig<"/api/help/[id]">'.
  Types of property 'PATCH' are incompatible.
    Type '(req: NextRequest, { params }: { params: { id: string; }; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ article: { author: { name: string | null; }; } & { id: number; createdAt: Date; updatedAt: Date; content: string; title: string; authorId: number; }; }>>' is not assignable to type '(request: NextRequest, context: { params: Promise<{ id: string; }>; }) => void | Response | Promise<void | Response>'.
      Types of parameters '__1' and 'context' are incompatible.
        Type '{ params: Promise<{ id: string; }>; }' is not assignable to type '{ params: { id: string; }; }'.
          Types of property 'params' are incompatible.
            Property 'id' is missing in type 'Promise<{ id: string; }>' but required in type '{ id: string; }'.
.next/types/validator.ts(666,31): error TS2344: Type 'typeof import("/home/lucas/.www/transit/app/api/notices/[id]/route")' does not satisfy the constraint 'RouteHandlerConfig<"/api/notices/[id]">'.
  Types of property 'PATCH' are incompatible.
    Type '(req: NextRequest, { params }: { params: { id: string; }; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ notice: { author: { name: string | null; }; } & { id: number; createdAt: Date; updatedAt: Date; content: string; title: string; authorId: number; }; }>>' is not assignable to type '(request: NextRequest, context: { params: Promise<{ id: string; }>; }) => void | Response | Promise<void | Response>'.
      Types of parameters '__1' and 'context' are incompatible.
        Type '{ params: Promise<{ id: string; }>; }' is not assignable to type '{ params: { id: string; }; }'.
          Types of property 'params' are incompatible.
            Property 'id' is missing in type 'Promise<{ id: string; }>' but required in type '{ id: string; }'.
app/api/auth/[...nextauth]/route.ts(18,7): error TS2322: Type '(profile: any) => { id: string; name: any; email: any; image: any; }' is not assignable to type '(profile: any, tokens: TokenSetParameters) => Awaitable<User>'.
  Type '{ id: string; name: any; email: any; image: any; }' is not assignable to type 'Awaitable<User>'.
    Property 'role' is missing in type '{ id: string; name: any; email: any; image: any; }' but required in type 'User'.
app/api/trailer-trips/excel/route.ts(132,66): error TS2339: Property 'where' does not exist on type '{ select?: TrailerTripSelect<DefaultArgs> | null | undefined; include?: TrailerTripInclude<DefaultArgs> | null | undefined; ... 5 more ...; distinct?: TrailerTripScalarFieldEnum | ... 1 more ... | undefined; } | undefined'.
app/api/trailer-trips/excel/route.ts(151,27): error TS2345: Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Buffer<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trailer-trips/excel/route.ts(151,27): error TS2352: Conversion of type 'Buffer' to type 'Buffer<ArrayBufferLike>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Buffer' is missing the following properties from type 'Buffer<ArrayBufferLike>': subarray, write, toJSON, equals, and 103 more.
app/api/trailer-trips/pdf/route.ts(180,66): error TS2339: Property 'where' does not exist on type '{ select?: TrailerTripSelect<DefaultArgs> | null | undefined; include?: TrailerTripInclude<DefaultArgs> | null | undefined; ... 5 more ...; distinct?: TrailerTripScalarFieldEnum | ... 1 more ... | undefined; } | undefined'.
app/api/trailer-trips/pdf/route.ts(217,31): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Uint8Array<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trailer-trips/pdf/route.ts(229,29): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Uint8Array<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trips/analyze/route.ts(33,39): error TS2769: No overload matches this call.
  Overload 3 of 3, '(body: MessageCreateParamsBase, options?: RequestOptions | undefined): APIPromise<Message | Stream<RawMessageStreamEvent>>', gave the following error.
    Type '{ type: "image"; source: ImageSource; }' is not assignable to type 'string | ContentBlockParam'.
      Type '{ type: "image"; source: ImageSource; }' is not assignable to type 'ImageBlockParam'.
        Types of property 'source' are incompatible.
          Type 'ImageSource' is not assignable to type 'Base64ImageSource | URLImageSource'.
            Type 'ImageSource' is not assignable to type 'Base64ImageSource'.
              Types of property 'media_type' are incompatible.
                Type 'string' is not assignable to type '"image/jpeg" | "image/png" | "image/gif" | "image/webp"'.
  Overload 3 of 3, '(body: MessageCreateParamsBase, options?: RequestOptions | undefined): APIPromise<Message | Stream<RawMessageStreamEvent>>', gave the following error.
    Type '"text"' is not assignable to type '"container_upload"'.
app/api/trips/excel/route.ts(135,59): error TS2339: Property 'where' does not exist on type '{ select?: TripSelect<DefaultArgs> | null | undefined; include?: TripInclude<DefaultArgs> | null | undefined; where?: TripWhereInput | undefined; ... 4 more ...; distinct?: TripScalarFieldEnum | ... 1 more ... | undefined; } | undefined'.
app/api/trips/excel/route.ts(156,27): error TS2345: Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Buffer<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trips/excel/route.ts(156,27): error TS2352: Conversion of type 'Buffer' to type 'Buffer<ArrayBufferLike>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Buffer' is missing the following properties from type 'Buffer<ArrayBufferLike>': subarray, write, toJSON, equals, and 103 more.
app/api/trips/pdf/route.ts(184,59): error TS2339: Property 'where' does not exist on type '{ select?: TripSelect<DefaultArgs> | null | undefined; include?: TripInclude<DefaultArgs> | null | undefined; where?: TripWhereInput | undefined; ... 4 more ...; distinct?: TripScalarFieldEnum | ... 1 more ... | undefined; } | undefined'.
app/api/trips/pdf/route.ts(223,31): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Uint8Array<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trips/pdf/route.ts(235,29): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
  Type 'Uint8Array<ArrayBufferLike>' is missing the following properties from type 'URLSearchParams': size, append, delete, get, and 2 more.
app/api/trips/summary/route.ts(31,7): error TS2322: Type '{ date?: unknown; userId: number; }' is not assignable to type 'ExpenseWhereInput'.
  Types of property 'date' are incompatible.
    Type 'unknown' is not assignable to type 'string | Date | DateTimeFilter<"Expense"> | undefined'.
app/components/DesktopSidebar.tsx(6,26): error TS2307: Cannot find module 'next-themes' or its corresponding type declarations.
app/components/MobileMenuButton.tsx(76,32): error TS7006: Parameter 'v' implicitly has an 'any' type.
app/components/MobileMenuButton.tsx(76,32): error TS2345: Argument of type '(v: any) => boolean' is not assignable to parameter of type 'boolean'.
app/lib/printSettings.ts(60,3): error TS2322: Type '({ weight: number; align: Align; key: string; label: string; required?: boolean | undefined; } | null)[]' is not assignable to type 'FieldDef[]'.
  Type '{ weight: number; align: Align; key: string; label: string; required?: boolean | undefined; } | null' is not assignable to type 'FieldDef'.
    Type 'null' is not assignable to type 'FieldDef'.
app/lib/printSettings.ts(70,23): error TS2677: A type predicate's type must be assignable to its parameter's type.
  Type 'FieldDef' is not assignable to type '{ weight: number; align: Align; key: string; label: string; required?: boolean; }'.
    Types of property 'align' are incompatible.
      Type 'Align | undefined' is not assignable to type 'Align'.
        Type 'undefined' is not assignable to type 'Align'.
app/register/page.tsx(183,13): error TS2322: Type 'RefObject<HTMLInputElement | null>' is not assignable to type 'RefObject<HTMLInputElement>'.
  Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
    Type 'null' is not assignable to type 'HTMLInputElement'.
prisma.config.ts(3,8): error TS2882: Cannot find module or type declarations for side-effect import of 'dotenv/config'.
prisma.config.ts(4,30): error TS2307: Cannot find module 'prisma/config' or its corresponding type declarations.
sample/app/page.tsx(9,8): error TS2307: Cannot find module '@/lib/data' or its corresponding type declarations.
sample/app/page.tsx(142,41): error TS7006: Parameter 's' implicitly has an 'any' type.
sample/app/page.tsx(143,45): error TS7006: Parameter 's' implicitly has an 'any' type.
sample/app/page.tsx(290,44): error TS7006: Parameter 's' implicitly has an 'any' type.
sample/app/page.tsx(291,44): error TS7006: Parameter 's' implicitly has an 'any' type.
sample/app/page.tsx(296,50): error TS7006: Parameter 's' implicitly has an 'any' type.
sample/app/page.tsx(314,47): error TS7006: Parameter 'c' implicitly has an 'any' type.
sample/app/page.tsx(315,49): error TS7006: Parameter 'c' implicitly has an 'any' type.
sample/app/page.tsx(333,42): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(333,73): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(334,44): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(334,75): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(413,37): error TS7006: Parameter 'trip' implicitly has an 'any' type.
sample/app/page.tsx(464,34): error TS7006: Parameter 'trip' implicitly has an 'any' type.
sample/app/page.tsx(521,40): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(521,71): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(522,42): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(522,73): error TS7006: Parameter 'f' implicitly has an 'any' type.
sample/app/page.tsx(549,34): error TS7006: Parameter 'fuel' implicitly has an 'any' type.
sample/app/page.tsx(659,43): error TS7006: Parameter 'cr' implicitly has an 'any' type.
sample/app/page.tsx(659,47): error TS7006: Parameter 'i' implicitly has an 'any' type.
sample/app/page.tsx(741,46): error TS7006: Parameter 'w' implicitly has an 'any' type.
sample/app/page.tsx(748,104): error TS7006: Parameter 'wr' implicitly has an 'any' type.
