Skip to content

Commit

Permalink
Test to Mutation/updateAgendaItem.ts (#3216)
Browse files Browse the repository at this point in the history
* feat:added updateAgendaItem.test.ts

* fix:code_quality

* fix:coderabbit sugg

* fix:improved codequality
  • Loading branch information
shivasankaran18 authored Feb 15, 2025
1 parent 4ade5dc commit f76fd0c
Show file tree
Hide file tree
Showing 3 changed files with 986 additions and 241 deletions.
4 changes: 2 additions & 2 deletions src/graphql/inputs/MutationUpdateAgendaItemInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { z } from "zod";
import { agendaItemsTableInsertSchema } from "~/src/drizzle/tables/agendaItems";
import { builder } from "~/src/graphql/builder";

export const mutationUpdateAgendaItemInputSchema = agendaItemsTableInsertSchema
export const MutationUpdateAgendaItemInputSchema = agendaItemsTableInsertSchema
.pick({
description: true,
duration: true,
Expand All @@ -22,7 +22,7 @@ export const mutationUpdateAgendaItemInputSchema = agendaItemsTableInsertSchema
);

export const MutationUpdateAgendaItemInput = builder
.inputRef<z.infer<typeof mutationUpdateAgendaItemInputSchema>>(
.inputRef<z.infer<typeof MutationUpdateAgendaItemInputSchema>>(
"MutationUpdateAgendaItemInput",
)
.implement({
Expand Down
Loading

0 comments on commit f76fd0c

Please sign in to comment.