Created a skeleton of the api

This commit is contained in:
2024-11-22 19:45:29 -06:00
parent a9c055ddab
commit 38a5abbbc8
10 changed files with 120 additions and 41 deletions

View File

@@ -0,0 +1,12 @@
import { z } from "zod";
import { taskCreationFormSchema } from "~/lib/schemas/task-creation-form";
import { createTRPCRouter, protectedProcedure } from "~/server/api/trpc";
export const tasksRouter = createTRPCRouter({
create: protectedProcedure
.input(taskCreationFormSchema)
.mutation(async ({ ctx, input }) => {
//
}),
});