add resource page view that more info redirects to

This commit is contained in:
Brandon Egger
2023-03-17 23:14:35 -05:00
parent 4c5466d673
commit 8de276bde5
8 changed files with 136 additions and 77 deletions

View File

@ -1,4 +1,4 @@
import { SkillLevel, Skill, Platform } from "@prisma/client";
import { SkillLevel, Skill, Platform, AuditoryResource } from "@prisma/client";
import { z } from "zod";
import {
@ -15,7 +15,7 @@ export const auditoryResourceRouter = createTRPCRouter({
}
});
return { ...resource };
return { ...resource } as AuditoryResource;
}),
getAll: publicProcedure.query(({ ctx }) => {