drop notification, reget deps

This commit is contained in:
2026-06-03 14:05:27 -04:00
parent 203591ca05
commit a07c004f2d
19 changed files with 298 additions and 1155 deletions

View File

@@ -14,7 +14,6 @@ import {
deleteUser,
createUserWithPassword,
authenticateUser,
authenticateWithGoogle,
authenticateWithApple,
refreshAccessToken,
forgotPassword,
@@ -39,10 +38,6 @@ const SignupSchema = object({
password: string([minLength(8)]),
});
const GoogleAuthSchema = object({
idToken: string([minLength(1)]),
});
const AppleAuthSchema = object({
identityToken: string([minLength(1)]),
authorizationCode: string([minLength(1)]),
@@ -75,12 +70,6 @@ export const userRouter = createTRPCRouter({
return createUserWithPassword(input.name, input.email, input.password);
}),
googleAuth: publicProcedure
.input(wrap(GoogleAuthSchema))
.mutation(async ({ input }) => {
return authenticateWithGoogle(input.idToken);
}),
appleAuth: publicProcedure
.input(wrap(AppleAuthSchema))
.mutation(async ({ input }) => {