stadtwerke/innungsapp/apps/mobile/tsc_output_2.txt

11 lines
2.1 KiB
Plaintext

../admin/server/context.ts(2,22): error TS2307: Cannot find module '@/lib/auth' or its corresponding type declarations.
../admin/server/routers/members.ts(3,22): error TS2307: Cannot find module '@/lib/auth' or its corresponding type declarations.
../admin/server/routers/members.ts(4,33): error TS2307: Cannot find module '@/lib/email' or its corresponding type declarations.
../admin/server/routers/news.ts(3,10): error TS2724: '"@/lib/notifications"' has no exported member named 'sendPushNotifications'. Did you mean 'setupPushNotifications'?
lib/notifications.ts(7,35): error TS2322: Type 'Promise<{ shouldShowAlert: true; shouldPlaySound: true; shouldSetBadge: true; }>' is not assignable to type 'Promise<NotificationBehavior>'.
Type '{ shouldShowAlert: true; shouldPlaySound: true; shouldSetBadge: true; }' is missing the following properties from type 'NotificationBehavior': shouldShowBanner, shouldShowList
lib/trpc.ts(41,5): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '{ client: TRPCClient<BuiltRouter<{ ctx: { req: Request; session: any; prisma: PrismaClient<Prisma.PrismaClientOptions, never, DefaultArgs>; }; meta: object; errorShape: { ...; }; transformer: true; }, DecorateCreateRouterOptions<...>>>; queryClient: QueryClient; }' is not assignable to parameter of type 'Attributes & TRPCProviderProps<BuiltRouter<{ ctx: { req: Request; session: any; prisma: PrismaClient<PrismaClientOptions, never, DefaultArgs>; }; meta: object; errorShape: { ...; }; transformer: true; }, DecorateCreateRouterOptions<...>>, unknown>'.
Property 'children' is missing in type '{ client: TRPCClient<BuiltRouter<{ ctx: { req: Request; session: any; prisma: PrismaClient<Prisma.PrismaClientOptions, never, DefaultArgs>; }; meta: object; errorShape: { ...; }; transformer: true; }, DecorateCreateRouterOptions<...>>>; queryClient: QueryClient; }' but required in type 'TRPCProviderProps<BuiltRouter<{ ctx: { req: Request; session: any; prisma: PrismaClient<PrismaClientOptions, never, DefaultArgs>; }; meta: object; errorShape: { ...; }; transformer: true; }, DecorateCreateRouterOptions<...>>, unknown>'.