⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
Added user authentication.
Daniele5ed2ec5db8b
diff --git a/.env b/.envindex 081adb08..f2c01faa 100644--- a/.env+++ b/.env@@ -1 +1,2 @@-DATABASE_URL="postgresql://daniel:password@localhost:5432/mydb?schema=public"\ No newline at end of file+DATABASE_URL="postgresql://daniel:password@localhost:5432/mydb?schema=public"+NEXTAUTH_SECRET=very_sensitive_secret\ No newline at end of filediff --git a/middleware.ts b/middleware.tsnew file mode 100644index 00000000..90dc1258--- /dev/null+++ b/middleware.ts@@ -0,0 +1,3 @@+export { default } from "next-auth/middleware";++export const config = { matcher: ["/"] };diff --git a/next.config.js b/next.config.jsindex a843cbee..91ef62f0 100644--- a/next.config.js+++ b/next.config.js@@ -1,6 +1,6 @@/** @type {import('next').NextConfig} */const nextConfig = {reactStrictMode: true,-}+};-module.exports = nextConfig+module.exports = nextConfig;diff --git a/package.json b/package.jsonindex fe5150eb..aff7d38f 100644--- a/package.json+++ b/package.json@@ -18,14 +18,17 @@"@types/node": "18.11.18","@types/react": "18.0.27","@types/react-dom": "18.0.10",+ "bcrypt": "^5.1.0","eslint": "8.33.0","eslint-config-next": "13.1.6","next": "13.1.6",+ "next-auth": "^4.19.1","react": "18.2.0","react-dom": "18.2.0","typescript": "4.9.4"},"devDependencies": {+ "@types/bcrypt": "^5.0.0","autoprefixer": "^10.4.13","postcss": "^8.4.21","prisma": "^4.9.0",diff --git a/pages/_app.tsx b/pages/_app.tsxindex 39ac0e99..cfb96307 100644--- a/pages/_app.tsx+++ b/pages/_app.tsx@@ -1,17 +1,17 @@import "@/styles/globals.css";+import { SessionProvider } from "next-auth/react";import type { AppProps } from "next/app";import Head from "next/head";export default function App({ Component, pageProps }: AppProps) {return (- <>+ <SessionProvider session={pageProps.session}><Head>- <title>Create Next App</title>- <meta name="description" content="Generated by create next app" />+ <title>Linkwarden</title><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="icon" href="/favicon.ico" /></Head><Component {...pageProps} />- </>+ </SessionProvider>);}diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].tsnew file mode 100644index 00000000..ded3e963--- /dev/null+++ b/pages/api/auth/[...nextauth].ts@@ -0,0 +1,63 @@+import { prisma } from "@/lib/db";+import NextAuth from "next-auth/next";+import CredentialsProvider from "next-auth/providers/credentials";+import { AuthOptions } from "next-auth";+import bcrypt from "bcrypt";++export const authOptions: AuthOptions = {+ session: {+ strategy: "jwt",+ },+ providers: [+ CredentialsProvider({+ type: "credentials",+ credentials: {},+ async authorize(credentials, req) {+ const { email, password } = credentials as {+ email: string;+ password: string;+ };++ console.log(email, password);++ const findUser = await prisma.user.findFirst({+ where: {+ email: email,+ },+ });++ console.log(findUser);++ // const findUser = await prisma.user.findMany({+ // where: {+ // email: email,+ // },+ // include: {+ // collections: {+ // include: {+ // collection: true,+ // },+ // },+ // },+ // });++ // console.log("BOOM!", findUser[0].collections);++ let passwordMatches: boolean = false;++ if (findUser?.password) {+ passwordMatches = bcrypt.compareSync(password, findUser.password);+ }++ if (passwordMatches) {+ return { name: findUser?.name, email: findUser?.email };+ } else return null as any;+ },+ }),+ ],+ pages: {+ signIn: "/auth/login",+ },+};++export default NextAuth(authOptions);diff --git a/pages/api/auth/register.ts b/pages/api/auth/register.tsnew file mode 100644index 00000000..535429d6--- /dev/null+++ b/pages/api/auth/register.ts@@ -0,0 +1,56 @@+import { prisma } from "@/lib/db";+import type { NextApiRequest, NextApiResponse } from "next";+import bcrypt from "bcrypt";++interface Data {+ message: string | object;+}++interface User {+ name: string;+ email: string;+ password: string;+}++export default async function handler(+ req: NextApiRequest,+ res: NextApiResponse<Data>+) {+ const body: User = req.body;++ const checkIfUserExists = await prisma.user.findFirst({+ where: {+ email: body.email,+ },+ });++ if (!checkIfUserExists) {+ const saltRounds = 10;++ const hashedPassword = bcrypt.hashSync(body.password, saltRounds);++ await prisma.user.create({+ data: {+ name: body.name,+ email: body.email,+ password: hashedPassword,+ collections: {+ create: [+ {+ role: "owner",+ collection: {+ create: {+ name: "First Collection",+ },+ },+ },+ ],+ },+ },+ });++ res.status(201).json({ message: "User successfully created." });+ } else {+ res.status(400).json({ message: "User already exists." });+ }+}diff --git a/pages/api/hello.ts b/pages/api/hello.tsindex 3cffb976..b170c053 100644--- a/pages/api/hello.ts+++ b/pages/api/hello.ts@@ -1,13 +1,26 @@import type { NextApiRequest, NextApiResponse } from "next";+import { getServerSession } from "next-auth/next";+import { authOptions } from "pages/api/auth/[...nextauth]";type Data = {- name: string;+ message: string;+ data?: object;};export default async function handler(req: NextApiRequest,res: NextApiResponse<Data>) {- console.log("Triggered hello.ts");- res.status(200).json({ name: "John Doe" });+ const session = await getServerSession(req, res, authOptions);++ console.log(session);++ if (!session) {+ res.status(401).json({ message: "You must be logged in." });+ return;+ }++ return res.json({+ message: "Success",+ });}diff --git a/pages/api/register.ts b/pages/api/register.tsdeleted file mode 100644index 79694759..00000000--- a/pages/api/register.ts+++ /dev/null@@ -1,43 +0,0 @@-import { prisma } from "@/lib/db";-import type { NextApiRequest, NextApiResponse } from "next";--interface Data {- name: string;-}--interface User {- name: string;- username: string;- password: string;-}--export default async function handler(- req: NextApiRequest,- res: NextApiResponse<Data>-) {- const data: User = req.body;-- const createUser = await prisma.user.create({- data: {- name: data.name,- username: data.username,- password: data.password,- collections: {- create: [- {- role: "owner",- collection: {- create: {- name: "First Collection",- },- },- },- ],- },- },- });-- console.log(createUser);-- res.status(200).json(createUser);-}diff --git a/pages/api/routes/collections/getCollections.ts b/pages/api/routes/collections/getCollections.tsnew file mode 100644index 00000000..f57cc242--- /dev/null+++ b/pages/api/routes/collections/getCollections.ts@@ -0,0 +1,26 @@+import type { NextApiRequest, NextApiResponse } from "next";+import { getServerSession } from "next-auth/next";+import { authOptions } from "pages/api/auth/[...nextauth]";++type Data = {+ message: string;+ data?: object;+};++export default async function handler(+ req: NextApiRequest,+ res: NextApiResponse<Data>+) {+ const session = await getServerSession(req, res, authOptions);++ if (!session) {+ res.status(401).json({ message: "You must be logged in." });+ return;+ }++ console.log(session?.user?.email);++ return res.json({+ message: "Success",+ });+}diff --git a/pages/auth/login.tsx b/pages/auth/login.tsxnew file mode 100644index 00000000..db1013e0--- /dev/null+++ b/pages/auth/login.tsx@@ -0,0 +1,80 @@+import { signIn } from "next-auth/react";+import Link from "next/link";+import { useEffect, useState } from "react";+import { useSession } from "next-auth/react";+import { useRouter } from "next/router";++interface FormData {+ email: string;+ password: string;+}++export default function Login() {+ const session = useSession();+ const router = useRouter();++ useEffect(() => {+ if (session.status === "authenticated") {+ router.push("/");+ console.log("Already logged in.");+ }+ }, []);++ const [form, setForm] = useState<FormData>({+ email: "",+ password: "",+ });++ async function loginUser() {+ console.log(form);+ if (form.email != "" && form.password != "") {+ const res = await signIn("credentials", {+ email: form.email,+ password: form.password,+ redirect: false,+ });++ if (res?.ok) {+ setForm({+ email: "",+ password: "",+ });++ router.push("/");+ } else {+ console.log("User not found or password does not match.", res);+ }+ } else {+ console.log("Please fill out all the fields.");+ }+ }++ return (+ <div className="p-5">+ <p className="text-3xl font-bold text-center mb-10">Linkwarden</p>+ <input+ type="text"+ placeholder="Email"+ value={form.email}+ onChange={(e) => setForm({ ...form, email: e.target.value })}+ className="border border-gray-700 rounded block m-2 mx-auto p-2"+ />+ <input+ type="text"+ placeholder="Password"+ value={form.password}+ onChange={(e) => setForm({ ...form, password: e.target.value })}+ className="border border-gray-700 rounded block m-2 mx-auto p-2"+ />+ <div+ className="mx-auto bg-black w-min p-3 m-5 text-white rounded cursor-pointer"+ onClick={loginUser}+ >+ Login+ </div>+ <Link href={"/auth/register"} className="block mx-auto w-min">+ Register+ </Link>+ </div>+ );+}diff --git a/pages/register.tsx b/pages/auth/register.tsxsimilarity index 50%rename from pages/register.tsxrename to pages/auth/register.tsxindex 28f170de..f1b34b15 100644--- a/pages/register.tsx+++ b/pages/auth/register.tsx@@ -1,34 +1,58 @@-import { useState } from "react";+import Link from "next/link";+import { useEffect, useState } from "react";+import { useSession } from "next-auth/react";+import { useRouter } from "next/router";interface FormData {name: string;- username: string;+ email: string;password: string;}export default function Register() {+ const session = useSession();+ const router = useRouter();++ useEffect(() => {+ if (session.status === "authenticated") {+ router.push("/");+ console.log("Already logged in.");+ }+ }, [session]);+const [form, setForm] = useState<FormData>({name: "",- username: "",+ email: "",password: "",});- function registerUser() {+ async function registerUser() {+ let success: boolean = false;console.log(form);- if (form.name != "" && form.username != "" && form.password != "") {- fetch("/api/register", {++ if (form.name != "" && form.email != "" && form.password != "") {+ await fetch("/api/auth/register", {body: JSON.stringify(form),headers: {"Content-Type": "application/json",},method: "POST",- });+ })+ .then((res) => {+ success = res.ok;+ return res.json();+ })+ .then((data) => console.log(data));++ if (success) {+ setForm({+ name: "",+ email: "",+ password: "",+ });- setForm({- name: "",- username: "",- password: "",- });+ router.push("/auth/login");+ }} else {console.log("Please fill out all the fields.");}@@ -46,9 +70,9 @@ export default function Register() {/><inputtype="text"- placeholder="Username"- value={form.username}- onChange={(e) => setForm({ ...form, username: e.target.value })}+ placeholder="Email"+ value={form.email}+ onChange={(e) => setForm({ ...form, email: e.target.value })}className="border border-gray-700 rounded block m-2 mx-auto p-2"/><input@@ -59,11 +83,14 @@ export default function Register() {className="border border-gray-700 rounded block m-2 mx-auto p-2"/><div- className="mx-auto bg-gray-700 w-min p-3 m-5 text-white rounded cursor-pointer"+ className="mx-auto bg-black w-min p-3 m-5 text-white rounded cursor-pointer"onClick={registerUser}>Register</div>+ <Link href={"/auth/login"} className="block mx-auto w-min">+ Login+ </Link></div>);}diff --git a/pages/login.tsx b/pages/login.tsxdeleted file mode 100644index e69de29b..00000000diff --git a/prisma/migrations/20230130215222_/migration.sql b/prisma/migrations/20230131171711_/migration.sqlsimilarity index 96%rename from prisma/migrations/20230130215222_/migration.sqlrename to prisma/migrations/20230131171711_/migration.sqlindex c4440fcd..4aff8b87 100644--- a/prisma/migrations/20230130215222_/migration.sql+++ b/prisma/migrations/20230131171711_/migration.sql@@ -2,7 +2,7 @@CREATE TABLE "User" ("id" TEXT NOT NULL,"name" TEXT NOT NULL,- "username" TEXT NOT NULL,+ "email" TEXT NOT NULL,"password" TEXT NOT NULL,CONSTRAINT "User_pkey" PRIMARY KEY ("id")diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex a0de59d5..29df03b2 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -13,7 +13,7 @@ datasource db {model User {id String @id @default(cuid())name String- username String+ email Stringpassword Stringcollections UserAndCollection[]}diff --git a/yarn.lock b/yarn.lockindex 67f46399..51cd4ecf 100644--- a/yarn.lock+++ b/yarn.lock@@ -2,7 +2,7 @@# yarn lockfile v1-"@babel/runtime@^7.20.7":+"@babel/runtime@^7.16.3", "@babel/runtime@^7.20.7":version "7.20.13"resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b"integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==@@ -43,6 +43,21 @@resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==+"@mapbox/node-pre-gyp@^1.0.10":+ version "1.0.10"+ resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.10.tgz#8e6735ccebbb1581e5a7e652244cadc8a844d03c"+ integrity sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA==+ dependencies:+ detect-libc "^2.0.0"+ https-proxy-agent "^5.0.0"+ make-dir "^3.1.0"+ node-fetch "^2.6.7"+ nopt "^5.0.0"+ npmlog "^5.0.1"+ rimraf "^3.0.2"+ semver "^7.3.5"+ tar "^6.1.11"+"@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/env/-/env-13.1.6.tgz#c4925609f16142ded1a5cb833359ab17359b7a93"@@ -146,6 +161,11 @@"@nodelib/fs.scandir" "2.1.5"fastq "^1.6.0"+"@panva/hkdf@^1.0.1":+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.0.2.tgz#bab0f09d09de9fd83628220d496627681bc440d6"+ integrity sha512-MSAs9t3Go7GUkMhpKC44T58DJ5KGk2vBo+h1cqQeqlMfdGkxaVB78ZWpv9gYi/g2fa4sopag9gJsNvS8XGgWJA==+"@pkgr/utils@^2.3.1":version "2.3.1"resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03"@@ -187,11 +207,23 @@dependencies:tslib "^2.4.0"+"@types/bcrypt@^5.0.0":+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/@types/bcrypt/-/bcrypt-5.0.0.tgz#a835afa2882d165aff5690893db314eaa98b9f20"+ integrity sha512-agtcFKaruL8TmcvqbndlqHPSJgsolhf/qPWchFlgnW1gECTN/nKbFcoFnvKAQRFfKbh+BO6A3SWdJu9t+xF3Lw==+ dependencies:+ "@types/node" "*"+"@types/json5@^0.0.29":version "0.0.29"resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==+"@types/node@*":+ version "18.11.19"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.19.tgz#35e26df9ec441ab99d73e99e9aca82935eea216d"+ integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw==+"@types/[email protected]":version "18.11.18"resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f"@@ -267,6 +299,11 @@"@typescript-eslint/types" "5.49.0"eslint-visitor-keys "^3.3.0"+abbrev@1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"+ integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==+acorn-jsx@^5.3.2:version "5.3.2"resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"@@ -296,6 +333,13 @@ acorn@^8.8.0:resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==+agent-base@6:+ version "6.0.2"+ resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"+ integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==+ dependencies:+ debug "4"+ajv@^6.10.0, ajv@^6.12.4:version "6.12.6"resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"@@ -326,6 +370,19 @@ anymatch@~3.1.2:normalize-path "^3.0.0"picomatch "^2.0.4"+"aproba@^1.0.3 || ^2.0.0":+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"+ integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==++are-we-there-yet@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c"+ integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==+ dependencies:+ delegates "^1.0.0"+ readable-stream "^3.6.0"+arg@^5.0.2:version "5.0.2"resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c"@@ -429,6 +486,14 @@ balanced-match@^1.0.0:resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==+bcrypt@^5.1.0:+ version "5.1.0"+ resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-5.1.0.tgz#bbb27665dbc400480a524d8991ac7434e8529e17"+ integrity sha512-RHBS7HI5N5tEnGTmtR/pppX0mmDSBpQ4aCBsj7CEQfYXDcO74A8sIBYcJMuCsis2E81zDxeENYhv66oZwLiA+Q==+ dependencies:+ "@mapbox/node-pre-gyp" "^1.0.10"+ node-addon-api "^5.0.0"+binary-extensions@^2.0.0:version "2.2.0"resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"@@ -505,6 +570,11 @@ chokidar@^3.5.3:optionalDependencies:fsevents "~2.3.2"+chownr@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"+ integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==+version "0.0.1"resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"@@ -522,11 +592,26 @@ color-name@^1.1.4, color-name@~1.1.4:resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==+color-support@^1.1.2:+ version "1.1.3"+ resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"+ integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==+version "0.0.1"resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==+console-control-strings@^1.0.0, console-control-strings@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"+ integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==++cookie@^0.5.0:+ version "0.5.0"+ resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"+ integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==+cross-spawn@^7.0.2, cross-spawn@^7.0.3:version "7.0.3"resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"@@ -551,6 +636,13 @@ damerau-levenshtein@^1.0.8:resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7"integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==+debug@4, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:+ version "4.3.4"+ resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"+ integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==+ dependencies:+ ms "2.1.2"+debug@^3.2.7:version "3.2.7"resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"@@ -558,13 +650,6 @@ debug@^3.2.7:dependencies:ms "^2.1.1"-debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:- version "4.3.4"- resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"- integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==- dependencies:- ms "2.1.2"-deep-equal@^2.0.5:version "2.2.0"resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.0.tgz#5caeace9c781028b9ff459f33b779346637c43e6"@@ -611,6 +696,16 @@ defined@^1.0.0:resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.1.tgz#c0b9db27bfaffd95d6f61399419b893df0f91ebf"integrity sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==+delegates@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"+ integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==++detect-libc@^2.0.0:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd"+ integrity sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==+detective@^5.2.1:version "5.2.1"resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034"@@ -656,6 +751,11 @@ electron-to-chromium@^1.4.251:resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592"integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==+emoji-regex@^8.0.0:+ version "8.0.0"+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"+ integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==+emoji-regex@^9.2.2:version "9.2.2"resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"@@ -1054,6 +1154,13 @@ fraction.js@^4.2.0:resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950"integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==+fs-minipass@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"+ integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==+ dependencies:+ minipass "^3.0.0"+fs.realpath@^1.0.0:version "1.0.0"resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"@@ -1084,6 +1191,21 @@ functions-have-names@^1.2.2:resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==+gauge@^3.0.0:+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395"+ integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==+ dependencies:+ aproba "^1.0.3 || ^2.0.0"+ color-support "^1.1.2"+ console-control-strings "^1.0.0"+ has-unicode "^2.0.1"+ object-assign "^4.1.1"+ signal-exit "^3.0.0"+ string-width "^4.2.3"+ strip-ansi "^6.0.1"+ wide-align "^1.1.2"+get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3:version "1.2.0"resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f"@@ -1242,6 +1364,11 @@ has-tostringtag@^1.0.0:dependencies:has-symbols "^1.0.2"+has-unicode@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"+ integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==+has@^1.0.3:version "1.0.3"resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"@@ -1249,6 +1376,14 @@ has@^1.0.3:dependencies:function-bind "^1.1.1"+https-proxy-agent@^5.0.0:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6"+ integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==+ dependencies:+ agent-base "6"+ debug "4"+ignore@^5.2.0:version "5.2.4"resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"@@ -1275,7 +1410,7 @@ inflight@^1.0.4:once "^1.3.0"wrappy "1"-inherits@2:+inherits@2, inherits@^2.0.3:version "2.0.4"resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==@@ -1357,6 +1492,11 @@ is-extglob@^2.1.1:resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==+is-fullwidth-code-point@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"+ integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==+is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:version "4.0.3"resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"@@ -1473,6 +1613,11 @@ isexe@^2.0.0:resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==+jose@^4.10.0, jose@^4.9.3:+ version "4.11.2"+ resolved "https://registry.yarnpkg.com/jose/-/jose-4.11.2.tgz#d9699307c02e18ff56825843ba90e2fae9f09e23"+ integrity sha512-njj0VL2TsIxCtgzhO+9RRobBvws4oYyCM8TpvoUQwl/MbIM3NFJRR9+e6x0sS5xXaP1t6OCBkaBME98OV9zU5A==+js-sdsl@^4.1.4:version "4.3.0"resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711"@@ -1566,6 +1711,13 @@ lru-cache@^6.0.0:dependencies:yallist "^4.0.0"+make-dir@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"+ integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==+ dependencies:+ semver "^6.0.0"+merge2@^1.3.0, merge2@^1.4.1:version "1.4.1"resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"@@ -1591,6 +1743,31 @@ minimist@^1.2.0, minimist@^1.2.6:resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18"integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==+minipass@^3.0.0:+ version "3.3.6"+ resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a"+ integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==+ dependencies:+ yallist "^4.0.0"++minipass@^4.0.0:+ version "4.0.2"+ resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.2.tgz#26fc3364d5ea6cb971c6e5259eac67a0887510d1"+ integrity sha512-4Hbzei7ZyBp+1aw0874YWpKOubZd/jc53/XU+gkYry1QV+VvrbO8icLM5CUtm4F0hyXn85DXYKEMIS26gitD3A==++minizlib@^2.1.1:+ version "2.1.2"+ resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"+ integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==+ dependencies:+ minipass "^3.0.0"+ yallist "^4.0.0"++mkdirp@^1.0.3:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"+ integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==+version "2.1.2"resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"@@ -1611,6 +1788,21 @@ natural-compare@^1.4.0:resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==+next-auth@^4.19.1:+ version "4.19.1"+ resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.19.1.tgz#4b5dca8fd7dc25d2c099e4a8401dafb20d1bf8ae"+ integrity sha512-Wo0b1tWtEh1ORR+AzTtBHSPxAA2zKqynoMS/nQQVrT5RD/umVzpXz25fOkoRrO9t+Is+scU2DmKeyFIkhx45WQ==+ dependencies:+ "@babel/runtime" "^7.16.3"+ "@panva/hkdf" "^1.0.1"+ cookie "^0.5.0"+ jose "^4.9.3"+ oauth "^0.9.15"+ openid-client "^5.1.0"+ preact "^10.6.3"+ preact-render-to-string "^5.1.19"+ uuid "^8.3.2"+version "13.1.6"resolved "https://registry.yarnpkg.com/next/-/next-13.1.6.tgz#054babe20b601f21f682f197063c9b0b32f1a27c"@@ -1636,11 +1828,30 @@ [email protected]:"@next/swc-win32-ia32-msvc" "13.1.6""@next/swc-win32-x64-msvc" "13.1.6"+node-addon-api@^5.0.0:+ version "5.1.0"+ resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762"+ integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==++node-fetch@^2.6.7:+ version "2.6.9"+ resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6"+ integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==+ dependencies:+ whatwg-url "^5.0.0"+node-releases@^2.0.6:version "2.0.8"resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae"integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==+nopt@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"+ integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==+ dependencies:+ abbrev "1"+normalize-path@^3.0.0, normalize-path@~3.0.0:version "3.0.0"resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"@@ -1651,11 +1862,31 @@ normalize-range@^0.1.2:resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==+npmlog@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0"+ integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==+ dependencies:+ are-we-there-yet "^2.0.0"+ console-control-strings "^1.1.0"+ gauge "^3.0.0"+ set-blocking "^2.0.0"++oauth@^0.9.15:+ version "0.9.15"+ resolved "https://registry.yarnpkg.com/oauth/-/oauth-0.9.15.tgz#bd1fefaf686c96b75475aed5196412ff60cfb9c1"+ integrity sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA==+object-assign@^4.1.1:version "4.1.1"resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==+object-hash@^2.0.1:+ version "2.2.0"+ resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5"+ integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==+object-hash@^3.0.0:version "3.0.0"resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9"@@ -1724,6 +1955,11 @@ object.values@^1.1.6:define-properties "^1.1.4"es-abstract "^1.20.4"+oidc-token-hash@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/oidc-token-hash/-/oidc-token-hash-5.0.1.tgz#ae6beec3ec20f0fd885e5400d175191d6e2f10c6"+ integrity sha512-EvoOtz6FIEBzE+9q253HsLCVRiK/0doEJ2HCvvqMQb3dHZrP3WlJKYtJ55CRTw4jmYomzH4wkPuCj/I3ZvpKxQ==+once@^1.3.0:version "1.4.0"resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"@@ -1740,6 +1976,16 @@ open@^8.4.0:is-docker "^2.1.1"is-wsl "^2.2.0"+openid-client@^5.1.0:+ version "5.3.2"+ resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-5.3.2.tgz#fcc2c16f9681fa5f03ee0581b0935f88fc49f11f"+ integrity sha512-nXXt+cna0XHOw+WqjMZOmuXw/YZEMwfWD2lD7tCsFtsBjMQGVXA+NZABA3upYBET1suhIsmfd7GnxG4jCAnvYQ==+ dependencies:+ jose "^4.10.0"+ lru-cache "^6.0.0"+ object-hash "^2.0.1"+ oidc-token-hash "^5.0.1"+optionator@^0.9.1:version "0.9.1"resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499"@@ -1875,11 +2121,28 @@ postcss@^8.4.18, postcss@^8.4.21:picocolors "^1.0.0"source-map-js "^1.0.2"+preact-render-to-string@^5.1.19:+ version "5.2.6"+ resolved "https://registry.yarnpkg.com/preact-render-to-string/-/preact-render-to-string-5.2.6.tgz#0ff0c86cd118d30affb825193f18e92bd59d0604"+ integrity sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw==+ dependencies:+ pretty-format "^3.8.0"++preact@^10.6.3:+ version "10.11.3"+ resolved "https://registry.yarnpkg.com/preact/-/preact-10.11.3.tgz#8a7e4ba19d3992c488b0785afcc0f8aa13c78d19"+ integrity sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==+prelude-ls@^1.2.1:version "1.2.1"resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==+pretty-format@^3.8.0:+ version "3.8.0"+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385"+ integrity sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==+prisma@^4.9.0:version "4.9.0"resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.9.0.tgz#295954b2a89cd35a0e6bcf66b2b036dbf80c75ee"@@ -1938,6 +2201,15 @@ read-cache@^1.0.0:dependencies:pify "^2.3.0"+readable-stream@^3.6.0:+ version "3.6.0"+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"+ integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==+ dependencies:+ inherits "^2.0.3"+ string_decoder "^1.1.1"+ util-deprecate "^1.0.1"+readdirp@~3.6.0:version "3.6.0"resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"@@ -2006,6 +2278,11 @@ run-parallel@^1.1.9:dependencies:queue-microtask "^1.2.2"+safe-buffer@~5.2.0:+ version "5.2.1"+ resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"+ integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==+safe-regex-test@^1.0.0:version "1.0.0"resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295"@@ -2022,18 +2299,23 @@ scheduler@^0.23.0:dependencies:loose-envify "^1.1.0"-semver@^6.3.0:+semver@^6.0.0, semver@^6.3.0:version "6.3.0"resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==-semver@^7.3.7:+semver@^7.3.5, semver@^7.3.7:version "7.3.8"resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==dependencies:lru-cache "^6.0.0"+set-blocking@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"+ integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==+shebang-command@^2.0.0:version "2.0.0"resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"@@ -2055,6 +2337,11 @@ side-channel@^1.0.4:get-intrinsic "^1.0.2"object-inspect "^1.9.0"+signal-exit@^3.0.0:+ version "3.0.7"+ resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"+ integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==+slash@^3.0.0:version "3.0.0"resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"@@ -2077,6 +2364,15 @@ stop-iteration-iterator@^1.0.0:dependencies:internal-slot "^1.0.4"+"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3:+ version "4.2.3"+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"+ integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==+ dependencies:+ emoji-regex "^8.0.0"+ is-fullwidth-code-point "^3.0.0"+ strip-ansi "^6.0.1"+string.prototype.matchall@^4.0.8:version "4.0.8"resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3"@@ -2109,6 +2405,13 @@ string.prototype.trimstart@^1.0.6:define-properties "^1.1.4"es-abstract "^1.20.4"+string_decoder@^1.1.1:+ version "1.3.0"+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"+ integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==+ dependencies:+ safe-buffer "~5.2.0"+strip-ansi@^6.0.1:version "6.0.1"resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"@@ -2187,6 +2490,18 @@ tapable@^2.2.0:resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==+tar@^6.1.11:+ version "6.1.13"+ resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b"+ integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==+ dependencies:+ chownr "^2.0.0"+ fs-minipass "^2.0.0"+ minipass "^4.0.0"+ minizlib "^2.1.1"+ mkdirp "^1.0.3"+ yallist "^4.0.0"+text-table@^0.2.0:version "0.2.0"resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"@@ -2207,6 +2522,11 @@ to-regex-range@^5.0.1:dependencies:is-number "^7.0.0"+tr46@~0.0.3:+ version "0.0.3"+ resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"+ integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==+tsconfig-paths@^3.14.1:version "3.14.1"resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a"@@ -2285,11 +2605,29 @@ uri-js@^4.2.2:dependencies:punycode "^2.1.0"-util-deprecate@^1.0.2:+util-deprecate@^1.0.1, util-deprecate@^1.0.2:version "1.0.2"resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==+uuid@^8.3.2:+ version "8.3.2"+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"+ integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==++webidl-conversions@^3.0.0:+ version "3.0.1"+ resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"+ integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==++whatwg-url@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"+ integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==+ dependencies:+ tr46 "~0.0.3"+ webidl-conversions "^3.0.0"+which-boxed-primitive@^1.0.2:version "1.0.2"resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"@@ -2330,6 +2668,13 @@ which@^2.0.1:dependencies:isexe "^2.0.0"+wide-align@^1.1.2:+ version "1.1.5"+ resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3"+ integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==+ dependencies:+ string-width "^1.0.2 || 2 || 3 || 4"+word-wrap@^1.2.3:version "1.2.3"resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"