Add a manage page with tabs

This commit is contained in:
2025-08-23 17:39:54 +01:00
parent 8806f72f2a
commit 42caeb8834
38 changed files with 798 additions and 110 deletions

View File

@@ -13,7 +13,7 @@ export const photosRouter = createTRPCRouter({
.input(
z
.object({
limit: z.number().nonnegative().default(1),
limit: z.number().nonnegative().default(2),
cursor: z.number().nonnegative().default(0),
})
.optional()
@@ -36,5 +36,5 @@ export const photosRouter = createTRPCRouter({
next,
};
}),
update: protectedProcedure.query(update),
update: publicProcedure.query(update),
});