Add login flow

This commit is contained in:
KMKoushik
2024-04-28 18:55:04 +10:00
parent f608669f04
commit 3a462fb50b
13 changed files with 618 additions and 8 deletions

45
pnpm-lock.yaml generated
View File

@@ -106,6 +106,9 @@ importers:
'@hono/zod-openapi':
specifier: ^0.10.0
version: 0.10.0(hono@4.2.2)(zod@3.22.4)
'@hookform/resolvers':
specifier: ^3.3.4
version: 3.3.4(react-hook-form@7.51.3)
'@prisma/client':
specifier: ^5.11.0
version: 5.11.0(prisma@5.11.0)
@@ -166,6 +169,9 @@ importers:
react-dom:
specifier: 18.2.0
version: 18.2.0(react@18.2.0)
react-hook-form:
specifier: ^7.51.3
version: 7.51.3(react@18.2.0)
recharts:
specifier: ^2.12.5
version: 2.12.5(react-dom@18.2.0)(react@18.2.0)
@@ -287,6 +293,9 @@ importers:
packages/ui:
dependencies:
'@hookform/resolvers':
specifier: ^3.3.4
version: 3.3.4(react-hook-form@7.51.3)
'@radix-ui/react-dialog':
specifier: ^1.0.5
version: 1.0.5(@types/react-dom@18.2.22)(@types/react@18.2.66)(react-dom@18.2.0)(react@18.2.0)
@@ -320,6 +329,9 @@ importers:
clsx:
specifier: ^2.1.0
version: 2.1.0
input-otp:
specifier: ^1.2.4
version: 1.2.4(react-dom@18.2.0)(react@18.2.0)
lucide-react:
specifier: ^0.359.0
version: 0.359.0(react@18.2.0)
@@ -329,6 +341,9 @@ importers:
pnpm:
specifier: ^8.15.5
version: 8.15.5
react-hook-form:
specifier: ^7.51.3
version: 7.51.3(react@18.2.0)
react-syntax-highlighter:
specifier: ^15.5.0
version: 15.5.0(react@18.2.0)
@@ -341,6 +356,9 @@ importers:
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.1)
zod:
specifier: ^3.22.4
version: 3.22.4
devDependencies:
'@types/eslint':
specifier: ^8.56.5
@@ -1554,6 +1572,14 @@ packages:
zod: 3.22.4
dev: false
/@hookform/resolvers@3.3.4(react-hook-form@7.51.3):
resolution: {integrity: sha512-o5cgpGOuJYrd+iMKvkttOclgwRW86EsWJZZRC23prf0uU2i48Htq4PuT73AVb9ionFyZrwYEITuOFGF+BydEtQ==}
peerDependencies:
react-hook-form: ^7.0.0
dependencies:
react-hook-form: 7.51.3(react@18.2.0)
dev: false
/@humanwhocodes/config-array@0.11.14:
resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
engines: {node: '>=10.10.0'}
@@ -5384,6 +5410,16 @@ packages:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
dev: true
/input-otp@1.2.4(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-md6rhmD+zmMnUh5crQNSQxq3keBRYvE3odbr4Qb9g2NWzQv9azi+t1a3X4TBTbh98fsGHgEEJlzbe1q860uGCA==}
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
dev: false
/install@0.13.0:
resolution: {integrity: sha512-zDml/jzr2PKU9I8J/xyZBQn8rPCAY//UOYNmR01XwNwyfhEWObo2SWfSl1+0tm1u6PhxLwDnfsT/6jB7OUxqFA==}
engines: {node: '>= 0.10'}
@@ -6517,6 +6553,15 @@ packages:
scheduler: 0.23.0
dev: false
/react-hook-form@7.51.3(react@18.2.0):
resolution: {integrity: sha512-cvJ/wbHdhYx8aviSWh28w9ImjmVsb5Y05n1+FW786vEZQJV5STNM0pW6ujS+oiBecb0ARBxJFyAnXj9+GHXACQ==}
engines: {node: '>=12.22.0'}
peerDependencies:
react: ^16.8.0 || ^17 || ^18
dependencies:
react: 18.2.0
dev: false
/react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}