feat: render events in configured tz #104
Annotations
8 errors and 1 warning
Test
Type '({ editToken, }: RequireFields<QueryeventByEditTokenArgs, "editToken">) => Promise<{ title: string; slug: string; id: number; editToken: string; previewToken: string; ... 8 more ...; timezone: string; }>' is not assignable to type 'Resolver<ResolverTypeWrapper<{ __typename?: "Event"; utcOffsetMins: number; title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; ... 5 more ...; timezone: string; }>, {}, RedwoodGraphQLContext, RequireFields<...>>'.
|
Test
Type 'Promise<{ title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; confirmed: boolean; visible: boolean; description: string; start: Date; end: Date; timezone: string; }>' is not assignable to type 'ResolverTypeWrapper<{ __typename?: "Event"; utcOffsetMins: number; title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; ... 5 more ...; timezone: string; }> | Promise<...>'.
|
Test
Type '({ input, }: RequireFields<MutationcreateEventArgs, "input">) => Promise<{ title: string; slug: string; id: number; editToken: string; previewToken: string; ... 8 more ...; timezone: string; }>' is not assignable to type 'Resolver<ResolverTypeWrapper<{ __typename?: "Event"; utcOffsetMins: number; title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; ... 5 more ...; timezone: string; }>, {}, RedwoodGraphQLContext, RequireFields<...>>'.
|
Test
Type '({ editToken, input, }: RequireFields<MutationupdateEventArgs, "editToken" | "input">) => Promise<{ title: string; slug: string; id: number; editToken: string; ... 9 more ...; timezone: string; }>' is not assignable to type 'Resolver<ResolverTypeWrapper<{ __typename?: "Event"; utcOffsetMins: number; title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; ... 5 more ...; timezone: string; }>, {}, RedwoodGraphQLContext, RequireFields<...>>'.
|
Test
Argument of type '{ title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; confirmed: boolean; visible: boolean; description: string; start: Date; end: Date; timezone: string; }' is not assignable to parameter of type 'Event'.
|
Test
Type 'Prisma__EventClient<{ title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; confirmed: boolean; visible: boolean; description: string; start: Date; end: Date; timezone: string; }, never, DefaultArgs>' is not assignable to type 'ResolverTypeWrapper<{ __typename?: "Event"; utcOffsetMins: number; title: string; slug: string; id: number; editToken: string; previewToken: string; createdAt: Date; updatedAt: Date; ownerEmail: string; ... 5 more ...; timezone: string; }> | Promise<...>'.
|
Test
Property 'timezone' is missing in type '{ id: number; slug: string; createdAt: string; updatedAt: string; editToken: string; previewToken: string; ownerEmail: string; confirmed: boolean; visible: boolean; title: string; description: string; start: string; end: string; }' but required in type '{ __typename?: "Event"; editToken: string; previewToken: string; confirmed: boolean; visible: boolean; slug: string; title: string; description: string; start: string; end: string; timezone: string; }'.
|
Test
Process completed with exit code 2.
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|