2
0

build: 📦️ Update packages

This commit is contained in:
Baptiste Arnaud
2022-02-14 18:04:23 +01:00
parent bdfd7ac1bc
commit e7d1f5d674
15 changed files with 312 additions and 119 deletions

View File

@ -95,6 +95,7 @@ export const ItemNodesList = ({
item: ButtonItem item: ButtonItem
) => { ) => {
if (!typebot || isReadOnly) return if (!typebot || isReadOnly) return
placeholderRefs.current.splice(itemIndex + 1, 1)
deleteItem({ blockIndex, stepIndex, itemIndex }) deleteItem({ blockIndex, stepIndex, itemIndex })
setPosition(absolute) setPosition(absolute)
setRelativeCoordinates(relative) setRelativeCoordinates(relative)

View File

@ -62,7 +62,6 @@ export const StepNodesList = ({
y: clientY - mousePositionInElement.y, y: clientY - mousePositionInElement.y,
}) })
} }
useEventListener('mousemove', handleMouseMoveGlobal)
const handleMouseMoveOnBlock = (event: MouseEvent) => { const handleMouseMoveOnBlock = (event: MouseEvent) => {
if (!isDraggingOnCurrentBlock) return if (!isDraggingOnCurrentBlock) return
@ -70,7 +69,6 @@ export const StepNodesList = ({
computeNearestPlaceholderIndex(event.pageY, placeholderRefs) computeNearestPlaceholderIndex(event.pageY, placeholderRefs)
) )
} }
useEventListener('mousemove', handleMouseMoveOnBlock, blockRef.current)
const handleMouseUpOnBlock = (e: MouseEvent) => { const handleMouseUpOnBlock = (e: MouseEvent) => {
setExpandedPlaceholderIndex(undefined) setExpandedPlaceholderIndex(undefined)
@ -87,14 +85,6 @@ export const StepNodesList = ({
setDraggedStep(undefined) setDraggedStep(undefined)
setDraggedStepType(undefined) setDraggedStepType(undefined)
} }
useEventListener(
'mouseup',
handleMouseUpOnBlock,
mouseOverBlock?.ref.current,
{
capture: true,
}
)
const handleStepMouseDown = const handleStepMouseDown =
(stepIndex: number) => (stepIndex: number) =>
@ -103,6 +93,7 @@ export const StepNodesList = ({
step: DraggableStep step: DraggableStep
) => { ) => {
if (isReadOnly) return if (isReadOnly) return
placeholderRefs.current.splice(stepIndex + 1, 1)
detachStepFromBlock({ blockIndex, stepIndex }) detachStepFromBlock({ blockIndex, stepIndex })
setPosition(absolute) setPosition(absolute)
setMousePositionInElement(relative) setMousePositionInElement(relative)
@ -114,6 +105,16 @@ export const StepNodesList = ({
elem && (placeholderRefs.current[idx] = elem) elem && (placeholderRefs.current[idx] = elem)
} }
useEventListener('mousemove', handleMouseMoveGlobal)
useEventListener('mousemove', handleMouseMoveOnBlock, blockRef.current)
useEventListener(
'mouseup',
handleMouseUpOnBlock,
mouseOverBlock?.ref.current,
{
capture: true,
}
)
return ( return (
<Stack <Stack
spacing={1} spacing={1}

View File

@ -117,7 +117,7 @@ export const computeNearestPlaceholderIndex = (
? { closestIndex: index, value: mouseDistanceFromPlaceholder } ? { closestIndex: index, value: mouseDistanceFromPlaceholder }
: prev : prev
}, },
{ closestIndex: 0, value: 100 } { closestIndex: 0, value: 999999999999 }
) )
return closestIndex return closestIndex
} }

View File

@ -14,8 +14,8 @@
"workerDirectory": "public" "workerDirectory": "public"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/css-reset": "^1.1.1", "@chakra-ui/css-reset": "^1.1.2",
"@chakra-ui/react": "^1.8.1", "@chakra-ui/react": "^1.8.3",
"@codemirror/basic-setup": "^0.19.1", "@codemirror/basic-setup": "^0.19.1",
"@codemirror/lang-css": "^0.19.3", "@codemirror/lang-css": "^0.19.3",
"@codemirror/lang-html": "^0.19.4", "@codemirror/lang-html": "^0.19.4",
@ -27,7 +27,7 @@
"@giphy/js-fetch-api": "^4.1.2", "@giphy/js-fetch-api": "^4.1.2",
"@giphy/js-types": "^4.1.0", "@giphy/js-types": "^4.1.0",
"@giphy/react-components": "^5.4.0", "@giphy/react-components": "^5.4.0",
"@googleapis/drive": "^2.1.0", "@googleapis/drive": "^2.2.0",
"@next-auth/prisma-adapter": "1.0.1", "@next-auth/prisma-adapter": "1.0.1",
"@sentry/nextjs": "^6.17.7", "@sentry/nextjs": "^6.17.7",
"@stripe/stripe-js": "^1.22.0", "@stripe/stripe-js": "^1.22.0",
@ -37,29 +37,29 @@
"@udecode/plate-link": "^10.0.0", "@udecode/plate-link": "^10.0.0",
"@udecode/plate-ui-link": "^10.0.0", "@udecode/plate-ui-link": "^10.0.0",
"@udecode/plate-ui-toolbar": "^10.0.0", "@udecode/plate-ui-toolbar": "^10.0.0",
"aws-sdk": "^2.1065.0", "aws-sdk": "^2.1073.0",
"bot-engine": "*", "bot-engine": "*",
"browser-image-compression": "^1.0.17", "browser-image-compression": "^1.0.17",
"db": "*", "db": "*",
"deep-object-diff": "^1.1.7", "deep-object-diff": "^1.1.7",
"fast-equals": "^2.0.4", "fast-equals": "^3.0.0",
"focus-visible": "^5.2.0", "focus-visible": "^5.2.0",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"framer-motion": "^4", "framer-motion": "^4",
"google-auth-library": "^7.11.0", "google-auth-library": "^7.12.0",
"google-spreadsheet": "^3.2.0", "google-spreadsheet": "^3.2.0",
"got": "^12.0.1", "got": "^12.0.1",
"htmlparser2": "^7.2.0", "htmlparser2": "^7.2.0",
"immer": "^9.0.12", "immer": "^9.0.12",
"js-video-url-parser": "^0.5.1", "js-video-url-parser": "^0.5.1",
"kbar": "^0.1.0-beta.24", "kbar": "^0.1.0-beta.27",
"mailgun.js": "^4.2.1", "mailgun.js": "^4.2.1",
"micro": "^9.3.4", "micro": "^9.3.4",
"micro-cors": "^0.1.1", "micro-cors": "^0.1.1",
"models": "*", "models": "*",
"msw": "^0.36.8", "msw": "^0.36.8",
"next": "^12.0.9", "next": "^12.0.10",
"next-auth": "4.1.2", "next-auth": "4.2.1",
"nodemailer": "^6.7.2", "nodemailer": "^6.7.2",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"papaparse": "^5.3.1", "papaparse": "^5.3.1",
@ -69,36 +69,36 @@
"react-frame-component": "^5.2.1", "react-frame-component": "^5.2.1",
"react-table": "^7.7.0", "react-table": "^7.7.0",
"short-uuid": "^4.2.0", "short-uuid": "^4.2.0",
"slate": "^0.72.3", "slate": "^0.72.8",
"slate-history": "^0.66.0", "slate-history": "^0.66.0",
"slate-hyperscript": "^0.67.0", "slate-hyperscript": "^0.67.0",
"slate-react": "^0.72.7", "slate-react": "^0.72.9",
"stripe": "^8.200.0", "stripe": "^8.202.0",
"styled-components": "^5.3.3", "styled-components": "^5.3.3",
"svg-round-corners": "^0.3.0", "svg-round-corners": "^0.3.0",
"swr": "^1.2.0", "swr": "^1.2.1",
"typebot-js": "^2.1.0", "typebot-js": "^2.1.0",
"use-debounce": "^7.0.1", "use-debounce": "^7.0.1",
"use-immer": "^0.6.0", "use-immer": "^0.6.0",
"utils": "*" "utils": "*"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.18.1", "@playwright/test": "^1.19.0",
"@testing-library/cypress": "^8.0.2", "@testing-library/cypress": "^8.0.2",
"@types/google-spreadsheet": "^3.1.5", "@types/google-spreadsheet": "^3.1.5",
"@types/micro-cors": "^0.1.2", "@types/micro-cors": "^0.1.2",
"@types/node": "^16.11.9", "@types/node": "^17.0.17",
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"@types/papaparse": "^5.3.1", "@types/papaparse": "^5.3.2",
"@types/prettier": "^2.4.4", "@types/prettier": "^2.4.4",
"@types/qs": "^6.9.7", "@types/qs": "^6.9.7",
"@types/react": "^17.0.38", "@types/react": "^17.0.39",
"@types/react-table": "^7.7.9", "@types/react-table": "^7.7.9",
"@types/testing-library__cypress": "^5.0.9", "@types/testing-library__cypress": "^5.0.9",
"@typescript-eslint/eslint-plugin": "^5.10.1", "@typescript-eslint/eslint-plugin": "^5.11.0",
"dotenv": "^14.3.2", "dotenv": "^16.0.0",
"eslint": "<8.0.0", "eslint": "<8.0.0",
"eslint-config-next": "12.0.9", "eslint-config-next": "12.0.10",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1", "eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",

View File

@ -8,7 +8,13 @@ const SignInPage = () => {
return ( return (
<VStack spacing={4} h="100vh" justifyContent="center"> <VStack spacing={4} h="100vh" justifyContent="center">
<Seo title="Sign in" /> <Seo title="Sign in" />
<Heading>Sign in</Heading> <Heading
onClick={() => {
throw new Error('Sentry is working')
}}
>
Sign in
</Heading>
<AuthSwitcher type="signin" /> <AuthSwitcher type="signin" />
<SignInForm /> <SignInForm />
</VStack> </VStack>

View File

@ -1,4 +1,4 @@
import test, { expect, Page } from '@playwright/test' import test, { expect } from '@playwright/test'
import { import {
createTypebots, createTypebots,
importTypebotInDatabase, importTypebotInDatabase,
@ -65,7 +65,9 @@ test.describe.parallel('Editor', () => {
await expect(page.locator('[data-testid="step"] >> nth=1')).toHaveText( await expect(page.locator('[data-testid="step"] >> nth=1')).toHaveText(
'Hello!' 'Hello!'
) )
await page.dragAndDrop('text=Hello', 'text=Item 1') await page.dragAndDrop('text=Hello', '[data-testid="step"] >> nth=3', {
targetPosition: { x: 100, y: 0 },
})
await expect(page.locator('[data-testid="step"] >> nth=2')).toHaveText( await expect(page.locator('[data-testid="step"] >> nth=2')).toHaveText(
'Hello!' 'Hello!'
) )

View File

@ -24,7 +24,7 @@
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^12.0.10", "@next/bundle-analyzer": "^12.0.10",
"@types/node": "^17.0.16", "@types/node": "^17.0.17",
"@types/react": "^17.0.39", "@types/react": "^17.0.39",
"autoprefixer": "^10.4.2", "autoprefixer": "^10.4.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",

View File

@ -14,7 +14,7 @@
"db": "*", "db": "*",
"google-spreadsheet": "^3.2.0", "google-spreadsheet": "^3.2.0",
"models": "*", "models": "*",
"next": "^12.0.7", "next": "^12.0.10",
"nodemailer": "^6.7.2", "nodemailer": "^6.7.2",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
@ -23,17 +23,17 @@
"devDependencies": { "devDependencies": {
"@types/cors": "^2.8.12", "@types/cors": "^2.8.12",
"@types/google-spreadsheet": "^3.1.5", "@types/google-spreadsheet": "^3.1.5",
"@types/node": "^17.0.4", "@types/node": "^17.0.17",
"@types/nodemailer": "^6.4.4", "@types/nodemailer": "^6.4.4",
"@types/react": "^17.0.38", "@types/react": "^17.0.39",
"@typescript-eslint/eslint-plugin": "^5.9.0", "@typescript-eslint/eslint-plugin": "^5.11.0",
"eslint": "<8.0.0", "eslint": "<8.0.0",
"eslint-config-next": "12.0.7", "eslint-config-next": "12.0.10",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1", "eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"next-transpile-modules": "^9.0.0", "next-transpile-modules": "^9.0.0",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"typescript": "^4.5.4" "typescript": "^4.5.5"
} }
} }

View File

@ -7,11 +7,11 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"dependencies": { "dependencies": {
"db": "*", "db": "*",
"fast-equals": "^2.0.4", "fast-equals": "^3.0.0",
"models": "*", "models": "*",
"qs": "^6.10.3", "qs": "^6.10.3",
"react-frame-component": "5.2.2-alpha.0", "react-frame-component": "5.2.2-alpha.0",
"react-phone-number-input": "^3.1.45", "react-phone-number-input": "^3.1.46",
"react-scroll": "^1.8.4", "react-scroll": "^1.8.4",
"react-transition-group": "^4.4.2", "react-transition-group": "^4.4.2",
"utils": "*" "utils": "*"
@ -21,23 +21,23 @@
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0", "@rollup/plugin-typescript": "^8.3.0",
"@types/react": "^17.0.38", "@types/react": "^17.0.39",
"@types/react-phone-number-input": "^3.0.13", "@types/react-phone-number-input": "^3.0.13",
"@types/react-scroll": "^1.8.3", "@types/react-scroll": "^1.8.3",
"@types/react-transition-group": "^4.4.4", "@types/react-transition-group": "^4.4.4",
"autoprefixer": "^10.4.2", "autoprefixer": "^10.4.2",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss": "^8.4.5", "postcss": "^8.4.6",
"rollup": "^2.66.1", "rollup": "^2.67.2",
"rollup-plugin-dts": "^4.1.0", "rollup-plugin-dts": "^4.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2", "rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"tailwindcss": "^3.0.17", "tailwindcss": "^3.0.22",
"typescript": "^4.5.5", "typescript": "^4.5.5",
"@typescript-eslint/eslint-plugin": "^5.10.1", "@typescript-eslint/eslint-plugin": "^5.11.0",
"eslint": "<8.0.0", "eslint": "<8.0.0",
"eslint-config-next": "12.0.9", "eslint-config-next": "12.0.10",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1", "eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0" "eslint-plugin-prettier": "^4.0.0"

View File

@ -15,9 +15,10 @@
"scripts": { "scripts": {
"dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ", "dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ",
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio", "start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio",
"build": "yarn migration:push", "build": "yarn migration:deploy",
"migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push", "migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push",
"migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev", "migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev",
"migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset" "migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset",
"migration:deploy": "yarn prisma migrate deploy"
} }
} }

View File

@ -0,0 +1,201 @@
-- CreateEnum
CREATE TYPE "Plan" AS ENUM ('FREE', 'PRO', 'LIFETIME', 'OFFERED');
-- CreateTable
CREATE TABLE "Account" (
"id" TEXT NOT NULL,
"userId" TEXT NOT NULL,
"type" TEXT NOT NULL,
"provider" TEXT NOT NULL,
"providerAccountId" TEXT NOT NULL,
"refresh_token" TEXT,
"access_token" TEXT,
"expires_at" INTEGER,
"token_type" TEXT,
"scope" TEXT,
"id_token" TEXT,
"session_state" TEXT,
"oauth_token_secret" TEXT,
"oauth_token" TEXT,
"refresh_token_expires_in" INTEGER,
CONSTRAINT "Account_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Session" (
"id" TEXT NOT NULL,
"sessionToken" TEXT NOT NULL,
"userId" TEXT NOT NULL,
"expires" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Session_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "User" (
"id" TEXT NOT NULL,
"name" TEXT,
"email" TEXT,
"emailVerified" TIMESTAMP(3),
"image" TEXT,
"plan" "Plan" NOT NULL DEFAULT E'FREE',
"stripeId" TEXT,
CONSTRAINT "User_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Credentials" (
"id" TEXT NOT NULL,
"ownerId" TEXT NOT NULL,
"data" TEXT NOT NULL,
"name" TEXT NOT NULL,
"type" TEXT NOT NULL,
"iv" TEXT NOT NULL,
CONSTRAINT "Credentials_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "VerificationToken" (
"identifier" TEXT NOT NULL,
"token" TEXT NOT NULL,
"expires" TIMESTAMP(3) NOT NULL
);
-- CreateTable
CREATE TABLE "DashboardFolder" (
"id" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"name" TEXT NOT NULL,
"ownerId" TEXT NOT NULL,
"parentFolderId" TEXT,
CONSTRAINT "DashboardFolder_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Typebot" (
"id" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"name" TEXT NOT NULL,
"ownerId" TEXT NOT NULL,
"publishedTypebotId" TEXT,
"folderId" TEXT,
"blocks" JSONB[],
"variables" JSONB[],
"edges" JSONB[],
"theme" JSONB NOT NULL,
"settings" JSONB NOT NULL,
"publicId" TEXT,
CONSTRAINT "Typebot_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "PublicTypebot" (
"id" TEXT NOT NULL,
"typebotId" TEXT NOT NULL,
"name" TEXT NOT NULL,
"blocks" JSONB[],
"variables" JSONB[],
"edges" JSONB[],
"theme" JSONB NOT NULL,
"settings" JSONB NOT NULL,
"publicId" TEXT,
CONSTRAINT "PublicTypebot_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Result" (
"id" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"typebotId" TEXT NOT NULL,
"isCompleted" BOOLEAN NOT NULL,
CONSTRAINT "Result_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Answer" (
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"resultId" TEXT NOT NULL,
"stepId" TEXT NOT NULL,
"blockId" TEXT NOT NULL,
"content" TEXT NOT NULL
);
-- CreateTable
CREATE TABLE "Coupon" (
"userPropertiesToUpdate" JSONB NOT NULL,
"code" TEXT NOT NULL,
"dateRedeemed" TIMESTAMP(3),
CONSTRAINT "Coupon_pkey" PRIMARY KEY ("code")
);
-- CreateIndex
CREATE UNIQUE INDEX "Account_provider_providerAccountId_key" ON "Account"("provider", "providerAccountId");
-- CreateIndex
CREATE UNIQUE INDEX "Session_sessionToken_key" ON "Session"("sessionToken");
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
-- CreateIndex
CREATE UNIQUE INDEX "User_stripeId_key" ON "User"("stripeId");
-- CreateIndex
CREATE UNIQUE INDEX "Credentials_name_type_ownerId_key" ON "Credentials"("name", "type", "ownerId");
-- CreateIndex
CREATE UNIQUE INDEX "VerificationToken_token_key" ON "VerificationToken"("token");
-- CreateIndex
CREATE UNIQUE INDEX "VerificationToken_identifier_token_key" ON "VerificationToken"("identifier", "token");
-- CreateIndex
CREATE UNIQUE INDEX "Typebot_publicId_key" ON "Typebot"("publicId");
-- CreateIndex
CREATE UNIQUE INDEX "PublicTypebot_typebotId_key" ON "PublicTypebot"("typebotId");
-- CreateIndex
CREATE UNIQUE INDEX "PublicTypebot_publicId_key" ON "PublicTypebot"("publicId");
-- CreateIndex
CREATE UNIQUE INDEX "Answer_resultId_blockId_stepId_key" ON "Answer"("resultId", "blockId", "stepId");
-- AddForeignKey
ALTER TABLE "Account" ADD CONSTRAINT "Account_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Session" ADD CONSTRAINT "Session_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Credentials" ADD CONSTRAINT "Credentials_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "DashboardFolder" ADD CONSTRAINT "DashboardFolder_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "DashboardFolder" ADD CONSTRAINT "DashboardFolder_parentFolderId_fkey" FOREIGN KEY ("parentFolderId") REFERENCES "DashboardFolder"("id") ON DELETE SET NULL ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Typebot" ADD CONSTRAINT "Typebot_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Typebot" ADD CONSTRAINT "Typebot_folderId_fkey" FOREIGN KEY ("folderId") REFERENCES "DashboardFolder"("id") ON DELETE SET NULL ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "PublicTypebot" ADD CONSTRAINT "PublicTypebot_typebotId_fkey" FOREIGN KEY ("typebotId") REFERENCES "Typebot"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Result" ADD CONSTRAINT "Result_typebotId_fkey" FOREIGN KEY ("typebotId") REFERENCES "Typebot"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Answer" ADD CONSTRAINT "Answer_resultId_fkey" FOREIGN KEY ("resultId") REFERENCES "Result"("id") ON DELETE CASCADE ON UPDATE CASCADE;

View File

@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (i.e. Git)
provider = "postgresql"

View File

@ -9,7 +9,7 @@
"typescript": "^4.5.5" "typescript": "^4.5.5"
}, },
"dependencies": { "dependencies": {
"next": "^12.0.9", "next": "^12.0.10",
"db": "*" "db": "*"
}, },
"scripts": { "scripts": {

View File

@ -10,14 +10,14 @@
"@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0", "@rollup/plugin-typescript": "^8.3.0",
"rollup": "^2.66.1", "rollup": "^2.67.2",
"rollup-plugin-dts": "^4.1.0", "rollup-plugin-dts": "^4.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^4.5.5" "typescript": "^4.5.5"
}, },
"dependencies": { "dependencies": {
"models": "*", "models": "*",
"next": "^12.0.9" "next": "^12.0.10"
}, },
"scripts": { "scripts": {
"build": "yarn rollup -c", "build": "yarn rollup -c",

108
yarn.lock
View File

@ -1303,7 +1303,7 @@
"@chakra-ui/hooks" "1.8.2" "@chakra-ui/hooks" "1.8.2"
"@chakra-ui/utils" "1.10.2" "@chakra-ui/utils" "1.10.2"
"@chakra-ui/css-reset@1.1.2", "@chakra-ui/css-reset@^1.1.1": "@chakra-ui/css-reset@1.1.2", "@chakra-ui/css-reset@^1.1.2":
version "1.1.2" version "1.1.2"
resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-1.1.2.tgz#87535979aa20f72db989613a443dce17c44ea76b" resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-1.1.2.tgz#87535979aa20f72db989613a443dce17c44ea76b"
integrity sha512-7BQxaBtUQlAZsjl2gNnPtTK0p7MALb7f6/hn5C2tQR9OOy7o9tR1RQQIYd4+DsS/SGtBVdiWCix98eLdlwY/iQ== integrity sha512-7BQxaBtUQlAZsjl2gNnPtTK0p7MALb7f6/hn5C2tQR9OOy7o9tR1RQQIYd4+DsS/SGtBVdiWCix98eLdlwY/iQ==
@ -1523,7 +1523,7 @@
dependencies: dependencies:
"@chakra-ui/utils" "^1.10.2" "@chakra-ui/utils" "^1.10.2"
"@chakra-ui/react@^1.6.6", "@chakra-ui/react@^1.8.1", "@chakra-ui/react@^1.8.3": "@chakra-ui/react@^1.6.6", "@chakra-ui/react@^1.8.3":
version "1.8.3" version "1.8.3"
resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-1.8.3.tgz#a1a132a151b60fda370decb6d278582a8da933b9" resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-1.8.3.tgz#a1a132a151b60fda370decb6d278582a8da933b9"
integrity sha512-UkXy/GVM31tlqNbMKdmu+WJZk3Pn5hQVGFzHDkcf+aPuMCBvZv86BwrdghR/B5fvewKBywAS0vDrt8d8SuTI7g== integrity sha512-UkXy/GVM31tlqNbMKdmu+WJZk3Pn5hQVGFzHDkcf+aPuMCBvZv86BwrdghR/B5fvewKBywAS0vDrt8d8SuTI7g==
@ -2805,7 +2805,7 @@
stream-events "^1.0.4" stream-events "^1.0.4"
xdg-basedir "^4.0.0" xdg-basedir "^4.0.0"
"@googleapis/drive@^2.1.0": "@googleapis/drive@^2.2.0":
version "2.2.0" version "2.2.0"
resolved "https://registry.yarnpkg.com/@googleapis/drive/-/drive-2.2.0.tgz#dd74ab2fc0411298b39ef7f7c4bbf8a513327665" resolved "https://registry.yarnpkg.com/@googleapis/drive/-/drive-2.2.0.tgz#dd74ab2fc0411298b39ef7f7c4bbf8a513327665"
integrity sha512-VeyIkjICohTZmWQQLSAfnjAG9ObItSf0ypAf9UuNxPmvFk7RRL6rpf21nwng+rM2dfzF3PTucZtdQkyNnmwo9g== integrity sha512-VeyIkjICohTZmWQQLSAfnjAG9ObItSf0ypAf9UuNxPmvFk7RRL6rpf21nwng+rM2dfzF3PTucZtdQkyNnmwo9g==
@ -3018,17 +3018,10 @@
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.10.tgz#561640fd62279218ccd2798ae907bae8d94a7730" resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.10.tgz#561640fd62279218ccd2798ae907bae8d94a7730"
integrity sha512-mQVj0K6wQ5WEk/sL9SZ+mJXJUaG7el8CpZ6io1uFe9GgNTSC7EgUyNGqM6IQovIFc5ukF4O/hqsdh3S/DCgT2g== integrity sha512-mQVj0K6wQ5WEk/sL9SZ+mJXJUaG7el8CpZ6io1uFe9GgNTSC7EgUyNGqM6IQovIFc5ukF4O/hqsdh3S/DCgT2g==
"@next/eslint-plugin-next@12.0.7": "@next/eslint-plugin-next@12.0.10":
version "12.0.7" version "12.0.10"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.7.tgz#2c71bb66b8f8ff1080086342113406aa3156976f" resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.10.tgz#521ab5d05a89e818528668df8a3edb8f9df2c547"
integrity sha512-xk7eMjw4+roWWR/0ETIoToCNs2wdvCGgQUiUO390Rj33/82yxZsh+ODRSaFWkiKp8zHWQN5GCW+U5pfjt/gyQg== integrity sha512-PbGRnV5HGSfRGLjf8uTh1MaWgLwnjKjWiGVjK752ifITJbZ28/5AmLAFT2shDYeux8BHgpgVll5QXu7GN3YLFw==
dependencies:
glob "7.1.7"
"@next/eslint-plugin-next@12.0.9":
version "12.0.9"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.9.tgz#86edc490141fe3495765224d6cc25be158881802"
integrity sha512-Pi7eV7Omt4wkY1UI9Kvv3KQLvAkmWKb5EHePCE1fyR+LeYmKCNYtjVst3QTDkNeULbpPwnDqIISWu+x2y5G9EA==
dependencies: dependencies:
glob "7.1.7" glob "7.1.7"
@ -3131,7 +3124,7 @@
resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.0.1.tgz#ed0da773bd5f794d0603f5a5b5cee6d2354e5660" resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.0.1.tgz#ed0da773bd5f794d0603f5a5b5cee6d2354e5660"
integrity sha512-mMyQ9vjpuFqePkfe5bZVIf/H3Dmk6wA8Kjxff9RcO4kqzJo+Ek9pGKwZHpeMr7Eku0QhLXMCd7fNCSnEnRMubg== integrity sha512-mMyQ9vjpuFqePkfe5bZVIf/H3Dmk6wA8Kjxff9RcO4kqzJo+Ek9pGKwZHpeMr7Eku0QhLXMCd7fNCSnEnRMubg==
"@playwright/test@^1.18.1": "@playwright/test@^1.19.0":
version "1.19.0" version "1.19.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.19.0.tgz#233d635f6caa7212e1281b379ba8c8cf9aa195cb" resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.19.0.tgz#233d635f6caa7212e1281b379ba8c8cf9aa195cb"
integrity sha512-jDuWUYlasAmEdGZPz1esq8OkYanp/3fMGub4HRn5B0zlwi4aHbwhEi3DvIKjp76Ig8ygb0A9RyhDcs9pZxKWbQ== integrity sha512-jDuWUYlasAmEdGZPz1esq8OkYanp/3fMGub4HRn5B0zlwi4aHbwhEi3DvIKjp76Ig8ygb0A9RyhDcs9pZxKWbQ==
@ -4106,7 +4099,7 @@
"@types/node" "*" "@types/node" "*"
form-data "^3.0.0" form-data "^3.0.0"
"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0", "@types/node@>=8.1.0", "@types/node@^17.0.16", "@types/node@^17.0.4", "@types/node@^17.0.5": "@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0", "@types/node@>=8.1.0", "@types/node@^17.0.17", "@types/node@^17.0.5":
version "17.0.17" version "17.0.17"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.17.tgz#a8ddf6e0c2341718d74ee3dc413a13a042c45a0c" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.17.tgz#a8ddf6e0c2341718d74ee3dc413a13a042c45a0c"
integrity sha512-e8PUNQy1HgJGV3iU/Bp2+D/DXh3PYeyli8LgIwsQcs1Ar1LoaWHSIT6Rw+H2rNJmiq6SNWiDytfx8+gYj7wDHw== integrity sha512-e8PUNQy1HgJGV3iU/Bp2+D/DXh3PYeyli8LgIwsQcs1Ar1LoaWHSIT6Rw+H2rNJmiq6SNWiDytfx8+gYj7wDHw==
@ -4116,11 +4109,6 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.11.tgz#9bd810a959e1728d78df0f68b5c825b8ea7156f4" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.11.tgz#9bd810a959e1728d78df0f68b5c825b8ea7156f4"
integrity sha512-zCoCEMA+IPpsRkyCFBqew5vGb7r8RSiB3uwdu/map7uwLAfu1MTazW26/pUDWoNnF88vJz4W3U56i5gtXNqxGg== integrity sha512-zCoCEMA+IPpsRkyCFBqew5vGb7r8RSiB3uwdu/map7uwLAfu1MTazW26/pUDWoNnF88vJz4W3U56i5gtXNqxGg==
"@types/node@^16.11.9":
version "16.11.24"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.24.tgz#9624338b685fea65fb1aba6c7b7eb45ca2df7188"
integrity sha512-Ezv33Rl4mIi6YdSHfIRNBd4Q9kUe5okiaw/ikvJiJDmuQZNW5kfdg7+oQPF8NO6sTcr3woIpj3jANzTXdvEZXA==
"@types/nodemailer@^6.4.4": "@types/nodemailer@^6.4.4":
version "6.4.4" version "6.4.4"
resolved "https://registry.yarnpkg.com/@types/nodemailer/-/nodemailer-6.4.4.tgz#c265f7e7a51df587597b3a49a023acaf0c741f4b" resolved "https://registry.yarnpkg.com/@types/nodemailer/-/nodemailer-6.4.4.tgz#c265f7e7a51df587597b3a49a023acaf0c741f4b"
@ -4133,7 +4121,7 @@
resolved "https://registry.yarnpkg.com/@types/nprogress/-/nprogress-0.2.0.tgz#86c593682d4199212a0509cc3c4d562bbbd6e45f" resolved "https://registry.yarnpkg.com/@types/nprogress/-/nprogress-0.2.0.tgz#86c593682d4199212a0509cc3c4d562bbbd6e45f"
integrity sha512-1cYJrqq9GezNFPsWTZpFut/d4CjpZqA0vhqDUPFWYKF1oIyBz5qnoYMzR+0C/T96t3ebLAC1SSnwrVOm5/j74A== integrity sha512-1cYJrqq9GezNFPsWTZpFut/d4CjpZqA0vhqDUPFWYKF1oIyBz5qnoYMzR+0C/T96t3ebLAC1SSnwrVOm5/j74A==
"@types/papaparse@^5.3.1": "@types/papaparse@^5.3.2":
version "5.3.2" version "5.3.2"
resolved "https://registry.yarnpkg.com/@types/papaparse/-/papaparse-5.3.2.tgz#6ccace6eac8ddb03a6fd06883b84dd6c6561f69f" resolved "https://registry.yarnpkg.com/@types/papaparse/-/papaparse-5.3.2.tgz#6ccace6eac8ddb03a6fd06883b84dd6c6561f69f"
integrity sha512-BNbCHJkTE4RwmAFkCxEalET4mDvGr/1ld7ZtQ4i/laWI/iiVt+GL07stdvufle4KfywyvloqqpIiJscXNCrKxA== integrity sha512-BNbCHJkTE4RwmAFkCxEalET4mDvGr/1ld7ZtQ4i/laWI/iiVt+GL07stdvufle4KfywyvloqqpIiJscXNCrKxA==
@ -4203,7 +4191,7 @@
dependencies: dependencies:
"@types/react" "*" "@types/react" "*"
"@types/react@*", "@types/react@^17.0.38", "@types/react@^17.0.39": "@types/react@*", "@types/react@^17.0.39":
version "17.0.39" version "17.0.39"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.39.tgz#d0f4cde092502a6db00a1cded6e6bf2abb7633ce" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.39.tgz#d0f4cde092502a6db00a1cded6e6bf2abb7633ce"
integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug== integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==
@ -4361,7 +4349,7 @@
dependencies: dependencies:
"@types/node" "*" "@types/node" "*"
"@typescript-eslint/eslint-plugin@^5.10.1", "@typescript-eslint/eslint-plugin@^5.9.0": "@typescript-eslint/eslint-plugin@^5.11.0":
version "5.11.0" version "5.11.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.11.0.tgz#3b866371d8d75c70f9b81535e7f7d3aa26527c7a" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.11.0.tgz#3b866371d8d75c70f9b81535e7f7d3aa26527c7a"
integrity sha512-HJh33bgzXe6jGRocOj4FmefD7hRY4itgjzOrSs3JPrTNXsX7j5+nQPciAUj/1nZtwo2kAc3C75jZO+T23gzSGw== integrity sha512-HJh33bgzXe6jGRocOj4FmefD7hRY4itgjzOrSs3JPrTNXsX7j5+nQPciAUj/1nZtwo2kAc3C75jZO+T23gzSGw==
@ -5094,7 +5082,7 @@ autoprefixer@^10.3.5, autoprefixer@^10.3.7, autoprefixer@^10.4.2:
picocolors "^1.0.0" picocolors "^1.0.0"
postcss-value-parser "^4.2.0" postcss-value-parser "^4.2.0"
aws-sdk@^2.1065.0: aws-sdk@^2.1073.0:
version "2.1073.0" version "2.1073.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1073.0.tgz#96c0c25c89f814c4aa4262e6eeef20eec9fda0da" resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1073.0.tgz#96c0c25c89f814c4aa4262e6eeef20eec9fda0da"
integrity sha512-TtyHDL4ZEs8Zh/DqWY/hv745DTWrIwOyBAvfjBJ45RE9h0TjpWqCIowEtb6gRPAKyPPyfGH4s+rEYu07vNK1Hg== integrity sha512-TtyHDL4ZEs8Zh/DqWY/hv745DTWrIwOyBAvfjBJ45RE9h0TjpWqCIowEtb6gRPAKyPPyfGH4s+rEYu07vNK1Hg==
@ -6835,10 +6823,10 @@ dotenv-expand@^5.1.0:
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
dotenv@^14.3.2: dotenv@^16.0.0:
version "14.3.2" version "16.0.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-14.3.2.tgz#7c30b3a5f777c79a3429cb2db358eef6751e8369" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.0.tgz#c619001253be89ebb638d027b609c75c26e47411"
integrity sha512-vwEppIphpFdvaMCaHfCEv9IgwcxMljMw2TnAQBB4VWPvzXQLTb82jwmdOKzlEVUL3gNFT4l4TPKO+Bn+sqcrVQ== integrity sha512-qD9WU0MPM4SWLPJy/r2Be+2WgQj8plChsyrCNQzW/0WjvcJQiKQJ9mH3ZgB3fxbUUxgc/11ZJ0Fi5KiimWGz2Q==
dotenv@^8.1.0: dotenv@^8.1.0:
version "8.6.0" version "8.6.0"
@ -7058,27 +7046,12 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-config-next@12.0.7: eslint-config-next@12.0.10:
version "12.0.7" version "12.0.10"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.7.tgz#985f06c3d749673f6b4b214db6b9321da1bf0b5f" resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.10.tgz#f201f8f4514018f7ef46f454f56b81cf5c790379"
integrity sha512-kWOaym5qjyzR190zFKkZMaHetmiRORmzJiKML7Kr9CL213S6SwkrHHCEL58TRdpx0NA+HzrsFR9zgcV2pvV2Yg== integrity sha512-l1er6mwSo1bltjLwmd71p5BdT6k/NQxV1n4lKZI6xt3MDMrq7ChUBr+EecxOry8GC/rCRUtPpH8Ygs0BJc5YLg==
dependencies: dependencies:
"@next/eslint-plugin-next" "12.0.7" "@next/eslint-plugin-next" "12.0.10"
"@rushstack/eslint-patch" "^1.0.8"
"@typescript-eslint/parser" "^5.0.0"
eslint-import-resolver-node "^0.3.4"
eslint-import-resolver-typescript "^2.4.0"
eslint-plugin-import "^2.25.2"
eslint-plugin-jsx-a11y "^6.5.1"
eslint-plugin-react "^7.27.0"
eslint-plugin-react-hooks "^4.3.0"
eslint-config-next@12.0.9:
version "12.0.9"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.9.tgz#97ca3f651d8eabbaa8a5b3a6e48cc942c3b518d3"
integrity sha512-mhpFUsdctLw9PPOVF6S45n7uEzeRth9Xub6CbsKG8Bmr4QFTs1vhbFjp3cjdFIxjMQNuY8hcu66XFlvBB768Iw==
dependencies:
"@next/eslint-plugin-next" "12.0.9"
"@rushstack/eslint-patch" "^1.0.8" "@rushstack/eslint-patch" "^1.0.8"
"@typescript-eslint/parser" "^5.0.0" "@typescript-eslint/parser" "^5.0.0"
eslint-import-resolver-node "^0.3.4" eslint-import-resolver-node "^0.3.4"
@ -7516,11 +7489,16 @@ fast-diff@^1.1.2:
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
fast-equals@^2.0.3, fast-equals@^2.0.4: fast-equals@^2.0.3:
version "2.0.4" version "2.0.4"
resolved "https://registry.yarnpkg.com/fast-equals/-/fast-equals-2.0.4.tgz#3add9410585e2d7364c2deeb6a707beadb24b927" resolved "https://registry.yarnpkg.com/fast-equals/-/fast-equals-2.0.4.tgz#3add9410585e2d7364c2deeb6a707beadb24b927"
integrity sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w== integrity sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==
fast-equals@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/fast-equals/-/fast-equals-3.0.0.tgz#efbe679d4c0d74040f61d4dda3e6bcb3bdccab82"
integrity sha512-Af7nSOpf7617idrFg0MJY6x7yVDPoO80aSwtKTC0afT8B/SsmvTpA+2a+uPLmhVF5IHmY5NPuBAA3dJrp55rJA==
fast-glob@^3.2.11, fast-glob@^3.2.7, fast-glob@^3.2.9: fast-glob@^3.2.11, fast-glob@^3.2.7, fast-glob@^3.2.9:
version "3.2.11" version "3.2.11"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9"
@ -8147,7 +8125,7 @@ google-auth-library@^6.1.3:
jws "^4.0.0" jws "^4.0.0"
lru-cache "^6.0.0" lru-cache "^6.0.0"
google-auth-library@^7.0.0, google-auth-library@^7.0.2, google-auth-library@^7.11.0, google-auth-library@^7.6.1, google-auth-library@^7.9.2: google-auth-library@^7.0.0, google-auth-library@^7.0.2, google-auth-library@^7.12.0, google-auth-library@^7.6.1, google-auth-library@^7.9.2:
version "7.12.0" version "7.12.0"
resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-7.12.0.tgz#7965db6bc20cb31f2df05a08a296bbed6af69426" resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-7.12.0.tgz#7965db6bc20cb31f2df05a08a296bbed6af69426"
integrity sha512-RS/whvFPMoF1hQNxnoVET3DWKPBt1Xgqe2rY0k+Jn7TNhoHlwdnSe7Rlcbo2Nub3Mt2lUVz26X65aDQrWp6x8w== integrity sha512-RS/whvFPMoF1hQNxnoVET3DWKPBt1Xgqe2rY0k+Jn7TNhoHlwdnSe7Rlcbo2Nub3Mt2lUVz26X65aDQrWp6x8w==
@ -9538,7 +9516,7 @@ jws@^4.0.0:
jwa "^2.0.0" jwa "^2.0.0"
safe-buffer "^5.0.1" safe-buffer "^5.0.1"
kbar@^0.1.0-beta.24: kbar@^0.1.0-beta.27:
version "0.1.0-beta.27" version "0.1.0-beta.27"
resolved "https://registry.yarnpkg.com/kbar/-/kbar-0.1.0-beta.27.tgz#6fec637054599dc4c6aa5a0cfc4042a50b3e32d1" resolved "https://registry.yarnpkg.com/kbar/-/kbar-0.1.0-beta.27.tgz#6fec637054599dc4c6aa5a0cfc4042a50b3e32d1"
integrity sha512-4knRJxDQqx3LUduhjuJh9EDGxnFpaQKjXt11UOsjKQ4ByXTTQpPjfAaKagVcTp9uVwEXGDhvGrsGbMfrI+6/Kg== integrity sha512-4knRJxDQqx3LUduhjuJh9EDGxnFpaQKjXt11UOsjKQ4ByXTTQpPjfAaKagVcTp9uVwEXGDhvGrsGbMfrI+6/Kg==
@ -10333,10 +10311,10 @@ neo-async@^2.6.2:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
next-auth@4.1.2: next-auth@4.2.1:
version "4.1.2" version "4.2.1"
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.1.2.tgz#9ae50e2b6ccbbbac02b7f627a6568fd29b56ac66" resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.2.1.tgz#042e4858d9f67b4f702d3a55bae0d2f04db3cac3"
integrity sha512-r5Km0eIDgGad+yhegk6OpulAnf7pyxsIpLec3xYB3PIb7F3bUTsvgWm/n/wAvlT0aAF1xKQWOgqhwPjrjte89g== integrity sha512-XDtt7nqevkNf4EJ2zKAKkI+MFsURf11kx11vPwxrBYA1MHeqWwaWbGOUOI2ekNTvfAg4nTEJJUH3LV2cLrH3Tg==
dependencies: dependencies:
"@babel/runtime" "^7.16.3" "@babel/runtime" "^7.16.3"
"@panva/hkdf" "^1.0.1" "@panva/hkdf" "^1.0.1"
@ -10356,7 +10334,7 @@ next-transpile-modules@^9.0.0:
enhanced-resolve "^5.7.0" enhanced-resolve "^5.7.0"
escalade "^3.1.1" escalade "^3.1.1"
next@^12.0.10, next@^12.0.7, next@^12.0.9: next@^12.0.10:
version "12.0.10" version "12.0.10"
resolved "https://registry.yarnpkg.com/next/-/next-12.0.10.tgz#fcc4584177418bd777ce157f3165b7ba5e7708f7" resolved "https://registry.yarnpkg.com/next/-/next-12.0.10.tgz#fcc4584177418bd777ce157f3165b7ba5e7708f7"
integrity sha512-1y3PpGzpb/EZzz1jgne+JfZXKAVJUjYXwxzrADf/LWN+8yi9o79vMLXpW3mevvCHkEF2sBnIdjzNn16TJrINUw== integrity sha512-1y3PpGzpb/EZzz1jgne+JfZXKAVJUjYXwxzrADf/LWN+8yi9o79vMLXpW3mevvCHkEF2sBnIdjzNn16TJrINUw==
@ -11912,7 +11890,7 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1:
dependencies: dependencies:
"@babel/runtime" "^7.10.3" "@babel/runtime" "^7.10.3"
react-phone-number-input@^3.1.45: react-phone-number-input@^3.1.46:
version "3.1.46" version "3.1.46"
resolved "https://registry.yarnpkg.com/react-phone-number-input/-/react-phone-number-input-3.1.46.tgz#f25ba70ff83ffb413c824062c5b46f891ee451bc" resolved "https://registry.yarnpkg.com/react-phone-number-input/-/react-phone-number-input-3.1.46.tgz#f25ba70ff83ffb413c824062c5b46f891ee451bc"
integrity sha512-afYl7BMy/0vMqWtzsZBmOgiPdqQAGyPO/Z3auorFs4K/zgFSBq3YoaASleodBkeRO/PygJ4ML8Wnb4Ce+3dlVQ== integrity sha512-afYl7BMy/0vMqWtzsZBmOgiPdqQAGyPO/Z3auorFs4K/zgFSBq3YoaASleodBkeRO/PygJ4ML8Wnb4Ce+3dlVQ==
@ -12551,7 +12529,7 @@ rollup-pluginutils@^2.8.2:
dependencies: dependencies:
estree-walker "^0.6.1" estree-walker "^0.6.1"
rollup@^2.66.1: rollup@^2.67.2:
version "2.67.2" version "2.67.2"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.67.2.tgz#d95e15f60932ad21e05a870bd0aa0b235d056f04" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.67.2.tgz#d95e15f60932ad21e05a870bd0aa0b235d056f04"
integrity sha512-hoEiBWwZtf1QdK3jZIq59L0FJj4Fiv4RplCO4pvCRC86qsoFurWB4hKQIjoRf3WvJmk5UZ9b0y5ton+62fC7Tw== integrity sha512-hoEiBWwZtf1QdK3jZIq59L0FJj4Fiv4RplCO4pvCRC86qsoFurWB4hKQIjoRf3WvJmk5UZ9b0y5ton+62fC7Tw==
@ -12965,7 +12943,7 @@ slate-hyperscript@^0.67.0:
dependencies: dependencies:
is-plain-object "^5.0.0" is-plain-object "^5.0.0"
slate-react@^0.72.7: slate-react@^0.72.9:
version "0.72.9" version "0.72.9"
resolved "https://registry.yarnpkg.com/slate-react/-/slate-react-0.72.9.tgz#b05dd533bd29dd2d4796b614a8d8e01f214bb714" resolved "https://registry.yarnpkg.com/slate-react/-/slate-react-0.72.9.tgz#b05dd533bd29dd2d4796b614a8d8e01f214bb714"
integrity sha512-FEsqB+D1R/h+w1eCtHH367Krw2X7vju2GjMRL/d0bUiCRXlV50J9I9TJizvi7aaZyqBY8BypCuIiq9nNmsulCA== integrity sha512-FEsqB+D1R/h+w1eCtHH367Krw2X7vju2GjMRL/d0bUiCRXlV50J9I9TJizvi7aaZyqBY8BypCuIiq9nNmsulCA==
@ -12979,7 +12957,7 @@ slate-react@^0.72.7:
scroll-into-view-if-needed "^2.2.20" scroll-into-view-if-needed "^2.2.20"
tiny-invariant "1.0.6" tiny-invariant "1.0.6"
slate@^0.72.3: slate@^0.72.8:
version "0.72.8" version "0.72.8"
resolved "https://registry.yarnpkg.com/slate/-/slate-0.72.8.tgz#5a018edf24e45448655293a68bfbcf563aa5ba81" resolved "https://registry.yarnpkg.com/slate/-/slate-0.72.8.tgz#5a018edf24e45448655293a68bfbcf563aa5ba81"
integrity sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw== integrity sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw==
@ -13395,7 +13373,7 @@ strip-json-comments@~2.0.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
stripe@^8.200.0: stripe@^8.202.0:
version "8.202.0" version "8.202.0"
resolved "https://registry.yarnpkg.com/stripe/-/stripe-8.202.0.tgz#884760713a690983d5a3128ea3cbeb677ee2645f" resolved "https://registry.yarnpkg.com/stripe/-/stripe-8.202.0.tgz#884760713a690983d5a3128ea3cbeb677ee2645f"
integrity sha512-3YGHVnUatEn/At5+aRy+REdB2IyVa96/zls2xvQrKFTgaJzRu1MsJcK0GKg0p2B0y0VqlZo9gmdDEqphSHHvtA== integrity sha512-3YGHVnUatEn/At5+aRy+REdB2IyVa96/zls2xvQrKFTgaJzRu1MsJcK0GKg0p2B0y0VqlZo9gmdDEqphSHHvtA==
@ -13537,7 +13515,7 @@ svgo@^2.5.0, svgo@^2.7.0:
picocolors "^1.0.0" picocolors "^1.0.0"
stable "^0.1.8" stable "^0.1.8"
swr@^1.2.0: swr@^1.2.1:
version "1.2.1" version "1.2.1"
resolved "https://registry.yarnpkg.com/swr/-/swr-1.2.1.tgz#c21a4fe2139cb1c4630450589b5b5add947a9d41" resolved "https://registry.yarnpkg.com/swr/-/swr-1.2.1.tgz#c21a4fe2139cb1c4630450589b5b5add947a9d41"
integrity sha512-1cuWXqJqXcFwbgONGCY4PHZ8v05009JdHsC3CIC6u7d00kgbMswNr1sHnnhseOBxtzVqcCNpOHEgVDciRer45w== integrity sha512-1cuWXqJqXcFwbgONGCY4PHZ8v05009JdHsC3CIC6u7d00kgbMswNr1sHnnhseOBxtzVqcCNpOHEgVDciRer45w==
@ -13553,7 +13531,7 @@ table@^6.0.9:
string-width "^4.2.3" string-width "^4.2.3"
strip-ansi "^6.0.1" strip-ansi "^6.0.1"
tailwindcss@^3.0.17: tailwindcss@^3.0.22:
version "3.0.22" version "3.0.22"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.0.22.tgz#5f1aac83810261300ae5b2f98fd4a2fa2ded2c42" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.0.22.tgz#5f1aac83810261300ae5b2f98fd4a2fa2ded2c42"
integrity sha512-F8lt74RlNZirnkaSk310+vGQta7c0/hgx7/bqxruM4wS9lp8oqV93lzavajC3VT0Lp4UUtUVIt8ifKcmGzkr0A== integrity sha512-F8lt74RlNZirnkaSk310+vGQta7c0/hgx7/bqxruM4wS9lp8oqV93lzavajC3VT0Lp4UUtUVIt8ifKcmGzkr0A==
@ -13930,7 +13908,7 @@ typedarray-to-buffer@^3.1.5:
dependencies: dependencies:
is-typedarray "^1.0.0" is-typedarray "^1.0.0"
typescript@^4.5.4, typescript@^4.5.5: typescript@^4.5.5:
version "4.5.5" version "4.5.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==