feat: add personal project list, add project settings, etc

This commit is contained in:
2024-02-24 03:55:50 +00:00
parent 49b80a2f4c
commit 751210c819
31 changed files with 877 additions and 148 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { CreateExpressContextOptions } from "@trpc/server/adapters/express";
export const createContext = async (ctx: CreateExpressContextOptions) => {
return ctx;
return { ...ctx, user: ctx.req.user };
};
export type Context = Awaited<ReturnType<typeof createContext>>;