diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-18 10:01:45 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-18 10:01:45 +0100 |
| commit | deba31ee010f785a9739fd4df8a64a3056c9593d (patch) | |
| tree | 647499476af517b045a784591e0f8538551f69a4 /packages/trpc/routers/users.ts | |
| parent | 81fc4c45269fcd2b9cb9b6a001f8208f6b2b04a3 (diff) | |
| download | karakeep-deba31ee010f785a9739fd4df8a64a3056c9593d.tar.zst | |
refactor: Move the shared types to the shared package
Diffstat (limited to 'packages/trpc/routers/users.ts')
| -rw-r--r-- | packages/trpc/routers/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/trpc/routers/users.ts b/packages/trpc/routers/users.ts index e7f0a59d..51f9429e 100644 --- a/packages/trpc/routers/users.ts +++ b/packages/trpc/routers/users.ts @@ -7,6 +7,7 @@ import { SqliteError } from "@hoarder/db"; import { users } from "@hoarder/db/schema"; import { deleteUserAssets } from "@hoarder/shared/assetdb"; import serverConfig from "@hoarder/shared/config"; +import { zSignUpSchema } from "@hoarder/shared/types/users"; import { hashPassword, validatePassword } from "../auth"; import { @@ -15,7 +16,6 @@ import { publicProcedure, router, } from "../index"; -import { zSignUpSchema } from "../types/users"; export const usersAppRouter = router({ create: publicProcedure |
