feat: adds image adding option to all questions (#1305)

Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
This commit is contained in:
Ronit Panda
2023-10-20 16:18:01 +05:30
committed by GitHub
parent b645418b3e
commit c2c27a7527
19 changed files with 381 additions and 162 deletions
@@ -1,6 +1,7 @@
"use client";
import { BackButtonInput } from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionCard";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { md } from "@formbricks/lib/markdownIt";
import { TSurvey, TSurveyCTAQuestion } from "@formbricks/types/v1/surveys";
import { Editor } from "@formbricks/ui/Editor";
@@ -24,24 +25,20 @@ export default function CTAQuestionForm({
updateQuestion,
lastQuestion,
isInValid,
localSurvey,
}: CTAQuestionFormProps): JSX.Element {
const [firstRender, setFirstRender] = useState(true);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
autoFocus
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
<Label htmlFor="subheader">Description</Label>
@@ -1,5 +1,6 @@
"use client";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { md } from "@formbricks/lib/markdownIt";
import { TSurvey, TSurveyConsentQuestion } from "@formbricks/types/v1/surveys";
import { Editor } from "@formbricks/ui/Editor";
@@ -20,22 +21,20 @@ export default function ConsentQuestionForm({
questionIdx,
updateQuestion,
isInValid,
localSurvey,
}: ConsentQuestionFormProps): JSX.Element {
const [firstRender, setFirstRender] = useState(true);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
<Label htmlFor="subheader">Description</Label>
@@ -1,12 +1,15 @@
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@formbricks/ui/Select";
"use client";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { cn } from "@formbricks/lib/cn";
import { TSurvey, TSurveyMultipleChoiceMultiQuestion } from "@formbricks/types/v1/surveys";
import { Button } from "@formbricks/ui/Button";
import { Label } from "@formbricks/ui/Label";
import { Input } from "@formbricks/ui/Input";
import { Label } from "@formbricks/ui/Label";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@formbricks/ui/Select";
import { PlusIcon, TrashIcon } from "@heroicons/react/24/solid";
import { createId } from "@paralleldrive/cuid2";
import { cn } from "@formbricks/lib/cn";
import { useEffect, useRef, useState } from "react";
import { TSurveyMultipleChoiceMultiQuestion, TSurvey } from "@formbricks/types/v1/surveys";
interface OpenQuestionFormProps {
localSurvey: TSurvey;
@@ -22,6 +25,7 @@ export default function MultipleChoiceMultiForm({
questionIdx,
updateQuestion,
isInValid,
localSurvey,
}: OpenQuestionFormProps): JSX.Element {
const lastChoiceRef = useRef<HTMLInputElement>(null);
const [isNew, setIsNew] = useState(true);
@@ -155,21 +159,18 @@ export default function MultipleChoiceMultiForm({
}
}, [isNew]);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
ref={questionRef}
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
ref={questionRef}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
{showSubheader && (
@@ -1,12 +1,15 @@
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@formbricks/ui/Select";
import { Button } from "@formbricks/ui/Button";
import { Label } from "@formbricks/ui/Label";
import { Input } from "@formbricks/ui/Input";
import { TrashIcon, PlusIcon } from "@heroicons/react/24/solid";
import { createId } from "@paralleldrive/cuid2";
"use client";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { cn } from "@formbricks/lib/cn";
import { TSurvey, TSurveyMultipleChoiceSingleQuestion } from "@formbricks/types/v1/surveys";
import { Button } from "@formbricks/ui/Button";
import { Input } from "@formbricks/ui/Input";
import { Label } from "@formbricks/ui/Label";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@formbricks/ui/Select";
import { PlusIcon, TrashIcon } from "@heroicons/react/24/solid";
import { createId } from "@paralleldrive/cuid2";
import { useEffect, useRef, useState } from "react";
import { TSurveyMultipleChoiceSingleQuestion, TSurvey } from "@formbricks/types/v1/surveys";
interface OpenQuestionFormProps {
localSurvey: TSurvey;
@@ -22,6 +25,7 @@ export default function MultipleChoiceSingleForm({
questionIdx,
updateQuestion,
isInValid,
localSurvey,
}: OpenQuestionFormProps): JSX.Element {
const lastChoiceRef = useRef<HTMLInputElement>(null);
const [isNew, setIsNew] = useState(true);
@@ -155,21 +159,18 @@ export default function MultipleChoiceSingleForm({
}
}, [isNew]);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
ref={questionRef}
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
ref={questionRef}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
{showSubheader && (
@@ -1,3 +1,6 @@
"use client";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { TSurvey, TSurveyNPSQuestion } from "@formbricks/types/v1/surveys";
import { Button } from "@formbricks/ui/Button";
import { Input } from "@formbricks/ui/Input";
@@ -20,24 +23,20 @@ export default function NPSQuestionForm({
updateQuestion,
lastQuestion,
isInValid,
localSurvey,
}: NPSQuestionFormProps): JSX.Element {
const [showSubheader, setShowSubheader] = useState(!!question.subheader);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
autoFocus
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
{showSubheader && (
@@ -1,12 +1,15 @@
"use client";
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import {
TSurvey,
TSurveyOpenTextQuestion,
TSurveyOpenTextQuestionInputType,
TSurvey,
} from "@formbricks/types/v1/surveys";
import { QuestionTypeSelector } from "@formbricks/ui/QuestionTypeSelector";
import { Button } from "@formbricks/ui/Button";
import { Label } from "@formbricks/ui/Label";
import { Input } from "@formbricks/ui/Input";
import { Label } from "@formbricks/ui/Label";
import { QuestionTypeSelector } from "@formbricks/ui/QuestionTypeSelector";
import { PlusIcon, TrashIcon } from "@heroicons/react/24/solid";
import { useState } from "react";
@@ -32,6 +35,7 @@ export default function OpenQuestionForm({
questionIdx,
updateQuestion,
isInValid,
localSurvey,
}: OpenQuestionFormProps): JSX.Element {
const [showSubheader, setShowSubheader] = useState(!!question.subheader);
const defaultPlaceholder = getPlaceholderByInputType(question.inputType ?? "text");
@@ -45,21 +49,17 @@ export default function OpenQuestionForm({
updateQuestion(questionIdx, updatedAttributes);
};
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
autoFocus
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
{showSubheader && (
@@ -0,0 +1,64 @@
"use client";
import { TSurveyQuestion } from "@formbricks/types/v1/surveys";
import FileInput from "@formbricks/ui/FileInput";
import { Input } from "@formbricks/ui/Input";
import { Label } from "@formbricks/ui/Label";
import { ImagePlusIcon } from "lucide-react";
import { RefObject, useState } from "react";
interface QuestionFormInputProps {
question: TSurveyQuestion;
questionIdx: number;
updateQuestion: (questionIdx: number, updatedAttributes: any) => void;
isInValid: boolean;
environmentId: string;
ref?: RefObject<HTMLInputElement>;
}
const QuestionFormInput = ({
question,
questionIdx,
updateQuestion,
isInValid,
environmentId,
ref,
}: QuestionFormInputProps) => {
const [showImageUploader, setShowImageUploader] = useState<boolean>(!!question.imageUrl);
return (
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2 flex flex-col gap-6">
{showImageUploader && (
<FileInput
allowedFileExtensions={["png", "jpeg", "jpg"]}
environmentId={environmentId}
onFileUpload={(url: string) => {
updateQuestion(questionIdx, { imageUrl: url });
}}
fileUrl={question.imageUrl || ""}
/>
)}
<div className="flex items-center space-x-2">
<Input
autoFocus
ref={ref}
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
<ImagePlusIcon
aria-label="Toggle image uploader"
className="ml-2 h-4 w-4 cursor-pointer text-slate-400 hover:text-slate-500"
onClick={() => setShowImageUploader((prev) => !prev)}
/>
</div>
</div>
</div>
);
};
export default QuestionFormInput;
@@ -1,3 +1,4 @@
import QuestionFormInput from "@/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/QuestionFormInput";
import { TSurvey, TSurveyRatingQuestion } from "@formbricks/types/v1/surveys";
import { Button } from "@formbricks/ui/Button";
import { Input } from "@formbricks/ui/Input";
@@ -22,24 +23,20 @@ export default function RatingQuestionForm({
updateQuestion,
lastQuestion,
isInValid,
localSurvey,
}: RatingQuestionFormProps) {
const [showSubheader, setShowSubheader] = useState(!!question.subheader);
const environmentId = localSurvey.environmentId;
return (
<form>
<div className="mt-3">
<Label htmlFor="headline">Question</Label>
<div className="mt-2">
<Input
autoFocus
id="headline"
name="headline"
value={question.headline}
onChange={(e) => updateQuestion(questionIdx, { headline: e.target.value })}
isInvalid={isInValid && question.headline.trim() === ""}
/>
</div>
</div>
<QuestionFormInput
environmentId={environmentId}
isInValid={isInValid}
question={question}
questionIdx={questionIdx}
updateQuestion={updateQuestion}
/>
<div className="mt-3">
{showSubheader && (
+1 -1
View File
@@ -37,7 +37,7 @@
"lru-cache": "^10.0.1",
"lucide-react": "^0.287.0",
"mime": "^3.0.0",
"next": "13.5.5",
"next": "13.5.6",
"nodemailer": "^6.9.6",
"otplib": "^12.0.1",
"posthog-js": "^1.83.1",
+15 -22
View File
@@ -21,24 +21,23 @@ x-nextauth-url: &nextauth_url http://localhost:3000
# Encryption key
# You can use: `openssl rand -base64 16` to generate one
x-formbricks-encryption-key: &formbricks_encryption_key
# Necessary if email verification and password reset are enabled.
# See further below if you want to disable these features.
# Necessary if email verification and password reset are enabled.
# See further below if you want to disable these features.
x-mail-from: &mail_from
x-smtp-host: &smtp_host
x-smtp-port: &smtp_port
# Enable SMTP_SECURE_ENABLED for TLS (port 465)
x-smtp-port: &smtp_port # Enable SMTP_SECURE_ENABLED for TLS (port 465)
x-smtp-secure-enabled: &smtp_secure_enabled
x-smtp-user: &smtp_user
x-smtp-password: &smtp_password
x-smtp-password: &smtp_password # Set the below value to your public-facing URL, e.g., https://example.com
# Set the below value to your public-facing URL, e.g., https://example.com
x-survey-base-url: &survey_base_url http://localhost:3000/s
# Set the below value if you have and want to share a shorter base URL than the x-survey-base-url
x-short-survey-base-url: &short_survey_base_url
x-short-survey-base-url:
&short_survey_base_url # Email Verification. If you enable Email Verification you have to setup SMTP-Settings, too.
# Email Verification. If you enable Email Verification you have to setup SMTP-Settings, too.
x-email-verification-disabled: &email_verification_disabled 1
# Password Reset. If you enable Password Reset functionality you have to setup SMTP-Settings, too.
@@ -53,29 +52,23 @@ x-invite-disabled: &invite_disabled 0
# Set the below values to display privacy policy, imprint and terms of service links in the footer of signup & public pages.
x-privacy-url: &privacy_url
x-terms-url: &terms_url
x-imprint-url: &imprint_url
x-imprint-url: &imprint_url # Configure Github Login
# Configure Github Login
x-github-auth-enabled: &github_auth_enabled 0
x-github-id: &github_id
x-github-secret: &github_secret
x-github-secret: &github_secret # Configure Google Login
# Configure Google Login
x-google-auth-enabled: &google_auth_enabled 0
x-google-client-id: &google_client_id
x-google-client-secret: &google_client_secret
x-google-client-secret: &google_client_secret # Disable Sentry warning
# Disable Sentry warning
x-sentry-ignore-api-resolution-error: &sentry_ignore_api_resolution_error
x-sentry-ignore-api-resolution-error: &sentry_ignore_api_resolution_error # Enable Sentry Error Tracking
# Enable Sentry Error Tracking
x-next-public-sentry-dsn: &next_public_sentry_dsn
x-next-public-sentry-dsn: &next_public_sentry_dsn # Cron Secret
# Cron Secret
x-cron-secret: &cron_secret
x-cron-secret:
&cron_secret # Configure ASSET_PREFIX_URL when you want to ship JS & CSS files from a complete URL instead of the current domain
# Configure ASSET_PREFIX_URL when you want to ship JS & CSS files from a complete URL instead of the current domain
x-asset-prefix-url: &asset_prefix_url
services:
@@ -95,7 +88,7 @@ services:
args:
DATABASE_URL: *database_url
NEXTAUTH_SECRET: *nextauth_secret
depends_on:
- postgres
ports:
@@ -26,6 +26,12 @@ export default function CTAQuestion({
}: CTAQuestionProps) {
return (
<div>
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<HtmlBody htmlString={question.html} questionId={question.id} />
@@ -28,6 +28,12 @@ export default function ConsentQuestion({
}: ConsentQuestionProps) {
return (
<div>
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<HtmlBody htmlString={question.html || ""} questionId={question.id} />
@@ -93,6 +93,12 @@ export default function MultipleChoiceSingleQuestion({
onSubmit({ [question.id]: newValue });
}}
className="w-full">
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<Subheader subheader={question.subheader} questionId={question.id} />
<div className="mt-4">
@@ -62,6 +62,12 @@ export default function MultipleChoiceSingleQuestion({
onSubmit({ [question.id]: value });
}}
className="w-full">
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<Subheader subheader={question.subheader} questionId={question.id} />
<div className="mt-4">
@@ -33,6 +33,12 @@ export default function NPSQuestion({
e.preventDefault();
onSubmit({ [question.id]: value });
}}>
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<Subheader subheader={question.subheader} questionId={question.id} />
<div className="my-4">
@@ -49,6 +49,12 @@ export default function OpenTextQuestion({
// }
}}
className="w-full">
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<Subheader subheader={question.subheader} questionId={question.id} />
<div className="mt-4">
@@ -70,6 +70,12 @@ export default function RatingQuestion({
onSubmit({ [question.id]: value });
}}
className="w-full">
{question.imageUrl && (
<div className="my-4 rounded-md">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={question.imageUrl} alt="question-image" className={"my-4 rounded-md"} />
</div>
)}
<Headline headline={question.headline} questionId={question.id} required={question.required} />
<Subheader subheader={question.subheader} questionId={question.id} />
<div className="my-4">
+1
View File
@@ -170,6 +170,7 @@ const ZSurveyQuestionBase = z.object({
type: z.string(),
headline: z.string(),
subheader: z.string().optional(),
imageUrl: z.string().optional(),
required: z.boolean(),
buttonLabel: z.string().optional(),
backButtonLabel: z.string().optional(),
+160 -35
View File
@@ -28,7 +28,7 @@ importers:
version: 3.13.0
turbo:
specifier: latest
version: 1.10.14
version: 1.10.12
apps/demo:
dependencies:
@@ -328,7 +328,7 @@ importers:
version: 0.0.7
'@sentry/nextjs':
specifier: ^7.73.0
version: 7.74.0(encoding@0.1.13)(next@13.5.5)(react@18.2.0)
version: 7.74.0(encoding@0.1.13)(next@13.5.6)(react@18.2.0)
'@t3-oss/env-nextjs':
specifier: ^0.7.1
version: 0.7.1(zod@3.22.4)
@@ -360,8 +360,8 @@ importers:
specifier: ^3.0.0
version: 3.0.0
next:
specifier: 13.5.5
version: 13.5.5(react-dom@18.2.0)(react@18.2.0)
specifier: 13.5.6
version: 13.5.6(react-dom@18.2.0)(react@18.2.0)
nodemailer:
specifier: ^6.9.6
version: 6.9.6
@@ -520,7 +520,7 @@ importers:
version: 9.0.0(eslint@8.51.0)
eslint-config-turbo:
specifier: latest
version: 1.10.14(eslint@8.51.0)
version: 1.10.15(eslint@8.51.0)
eslint-plugin-react:
specifier: 7.33.2
version: 7.33.2(eslint@8.51.0)
@@ -634,7 +634,7 @@ importers:
version: 5.0.2
next-auth:
specifier: ^4.23.2
version: 4.23.2(next@13.5.5)(nodemailer@6.9.6)(react-dom@18.2.0)(react@18.2.0)
version: 4.23.2(next@13.5.6)(nodemailer@6.9.6)(react-dom@18.2.0)(react@18.2.0)
nodemailer:
specifier: ^6.9.6
version: 6.9.6
@@ -4639,6 +4639,10 @@ packages:
resolution: {integrity: sha512-agvIhYWp+ilbScg81s/sLueZo8CNEYLjNOqhISxheLmD/AQI4/VxV7bV76i/KzxH4iHy/va0YS9z0AOwGnw4Fg==}
dev: false
/@next/env@13.5.6:
resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==}
dev: false
/@next/eslint-plugin-next@13.5.5:
resolution: {integrity: sha512-S/32s4S+SCOpW58lHKdmILAAPRdnsSei7Y3L1oZSoe5Eh0QSlzbG1nYyIpnpwWgz3T7qe3imdq7cJ6Hf29epRA==}
dependencies:
@@ -4670,6 +4674,15 @@ packages:
dev: false
optional: true
/@next/swc-darwin-arm64@13.5.6:
resolution: {integrity: sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-x64@13.5.5:
resolution: {integrity: sha512-mTqNIecaojmyia7appVO2QggBe1Z2fdzxgn6jb3x9qlAk8yY2sy4MAcsj71kC9RlenCqDmr9vtC/ESFf110TPA==}
engines: {node: '>= 10'}
@@ -4679,6 +4692,15 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64@13.5.6:
resolution: {integrity: sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-gnu@13.5.5:
resolution: {integrity: sha512-U9e+kNkfvwh/T8yo+xcslvNXgyMzPPX1IbwCwnHHFmX5ckb1Uc3XZSInNjFQEQR5xhJpB5sFdal+IiBIiLYkZA==}
engines: {node: '>= 10'}
@@ -4688,6 +4710,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu@13.5.6:
resolution: {integrity: sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-musl@13.5.5:
resolution: {integrity: sha512-h7b58eIoNCSmKVC5fr167U0HWZ/yGLbkKD9wIller0nGdyl5zfTji0SsPKJvrG8jvKPFt2xOkVBmXlFOtuKynw==}
engines: {node: '>= 10'}
@@ -4697,6 +4728,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl@13.5.6:
resolution: {integrity: sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-gnu@13.5.5:
resolution: {integrity: sha512-6U4y21T1J6FfcpM9uqzBJicxycpB5gJKLyQ3g6KOfBzT8H1sMwfHTRrvHKB09GIn1BCRy5YJHrA1G26DzqR46w==}
engines: {node: '>= 10'}
@@ -4706,6 +4746,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu@13.5.6:
resolution: {integrity: sha512-Mc2b4xiIWKXIhBy2NBTwOxGD3nHLmq4keFk+d4/WL5fMsB8XdJRdtUlL87SqVCTSaf1BRuQQf1HvXZcy+rq3Nw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-musl@13.5.5:
resolution: {integrity: sha512-OuqWSAQHJQM2EsapPFTSU/FLQ0wKm7UeRNatiR/jLeCe1V02aB9xmzuWYo2Neaxxag4rss3S8fj+lvMLzwDaFA==}
engines: {node: '>= 10'}
@@ -4715,6 +4764,15 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl@13.5.6:
resolution: {integrity: sha512-CFHvP9Qz98NruJiUnCe61O6GveKKHpJLloXbDSWRhqhkJdZD2zU5hG+gtVJR//tyW897izuHpM6Gtf6+sNgJPQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-arm64-msvc@13.5.5:
resolution: {integrity: sha512-+yLrOZIIZDY4uGn9bLOc0wTgs+M8RuOUFSUK3BhmcLav9e+tcAj0jyBHD4aXv2qWhppUeuYMsyBo1I58/eE6Dg==}
engines: {node: '>= 10'}
@@ -4724,6 +4782,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc@13.5.6:
resolution: {integrity: sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-ia32-msvc@13.5.5:
resolution: {integrity: sha512-SyMxXyJtf9ScMH0Dh87THJMXNFvfkRAk841xyW9SeOX3KxM1buXX3hN7vof4kMGk0Yg996OGsX+7C9ueS8ugsw==}
engines: {node: '>= 10'}
@@ -4733,6 +4800,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc@13.5.6:
resolution: {integrity: sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-x64-msvc@13.5.5:
resolution: {integrity: sha512-n5KVf2Ok0BbLwofAaHiiKf+BQCj1M8WmTujiER4/qzYAVngnsNSjqEWvJ03raeN9eURqxDO+yL5VRoDrR33H9A==}
engines: {node: '>= 10'}
@@ -4742,6 +4818,15 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc@13.5.6:
resolution: {integrity: sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@nicolo-ribaudo/semver-v6@6.3.3:
resolution: {integrity: sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==}
hasBin: true
@@ -6751,7 +6836,7 @@ packages:
tslib: 2.6.2
dev: false
/@sentry/nextjs@7.74.0(encoding@0.1.13)(next@13.5.5)(react@18.2.0):
/@sentry/nextjs@7.74.0(encoding@0.1.13)(next@13.5.6)(react@18.2.0):
resolution: {integrity: sha512-ZxhlBKRV8To3NgNblJ+8RL1urDIzsdV9+8k9GZqNG5BFxLN2tJvbgHaxI7iV4E4qYpJAae379dWpvCzGWUXWkw==}
engines: {node: '>=8'}
peerDependencies:
@@ -6772,7 +6857,7 @@ packages:
'@sentry/vercel-edge': 7.74.0
'@sentry/webpack-plugin': 1.20.0(encoding@0.1.13)
chalk: 3.0.0
next: 13.5.5(react-dom@18.2.0)(react@18.2.0)
next: 13.5.6(react-dom@18.2.0)(react@18.2.0)
react: 18.2.0
rollup: 2.78.0
stacktrace-parser: 0.1.10
@@ -12401,13 +12486,13 @@ packages:
resolution: {integrity: sha512-NB/L/1Y30qyJcG5xZxCJKW/+bqyj+llbcCwo9DEz8bESIP0SLTOQ8T1DWCCFc+wJ61AMEstj4511PSScqMMfCw==}
dev: true
/eslint-config-turbo@1.10.14(eslint@8.51.0):
resolution: {integrity: sha512-ZeB+IcuFXy1OICkLuAplVa0euoYbhK+bMEQd0nH9+Lns18lgZRm33mVz/iSoH9VdUzl/1ZmFmoK+RpZc+8R80A==}
/eslint-config-turbo@1.10.15(eslint@8.51.0):
resolution: {integrity: sha512-76mpx2x818JZE26euen14utYcFDxOahZ9NaWA+6Xa4pY2ezVKVschuOxS96EQz3o3ZRSmcgBOapw/gHbN+EKxQ==}
peerDependencies:
eslint: '>6.6.0'
dependencies:
eslint: 8.51.0
eslint-plugin-turbo: 1.10.14(eslint@8.51.0)
eslint-plugin-turbo: 1.10.15(eslint@8.51.0)
dev: true
/eslint-import-resolver-node@0.3.9:
@@ -12606,8 +12691,8 @@ packages:
- typescript
dev: true
/eslint-plugin-turbo@1.10.14(eslint@8.51.0):
resolution: {integrity: sha512-sBdBDnYr9AjT1g4lR3PBkZDonTrMnR4TvuGv5W0OiF7z9az1rI68yj2UHJZvjkwwcGu5mazWA1AfB0oaagpmfg==}
/eslint-plugin-turbo@1.10.15(eslint@8.51.0):
resolution: {integrity: sha512-Tv4QSKV/U56qGcTqS/UgOvb9HcKFmWOQcVh3HEaj7of94lfaENgfrtK48E2CckQf7amhKs1i+imhCsNCKjkQyA==}
peerDependencies:
eslint: '>6.6.0'
dependencies:
@@ -17582,7 +17667,7 @@ packages:
engines: {node: '>=10'}
dev: true
/next-auth@4.23.2(next@13.5.5)(nodemailer@6.9.6)(react-dom@18.2.0)(react@18.2.0):
/next-auth@4.23.2(next@13.5.6)(nodemailer@6.9.6)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-VRmInu0r/yZNFQheDFeOKtiugu3bt90Po3owAQDnFQ3YLQFmUKgFjcE2+3L0ny5jsJpBXaKbm7j7W2QTc6Ye2A==}
peerDependencies:
next: ^12.2.5 || ^13
@@ -17597,7 +17682,7 @@ packages:
'@panva/hkdf': 1.0.2
cookie: 0.5.0
jose: 4.13.1
next: 13.5.5(react-dom@18.2.0)(react@18.2.0)
next: 13.5.6(react-dom@18.2.0)(react@18.2.0)
nodemailer: 6.9.6
oauth: 0.9.15
openid-client: 5.4.0
@@ -17701,6 +17786,45 @@ packages:
- babel-plugin-macros
dev: false
/next@13.5.6(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-Y2wTcTbO4WwEsVb4A8VSnOsG1I9ok+h74q0ZdxkwM3EODqrs4pasq7O0iUxbcS9VtWMicG7f3+HAj0r1+NtKSw==}
engines: {node: '>=16.14.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
optional: true
sass:
optional: true
dependencies:
'@next/env': 13.5.6
'@swc/helpers': 0.5.2
busboy: 1.6.0
caniuse-lite: 1.0.30001547
postcss: 8.4.31
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
styled-jsx: 5.1.1(react@18.2.0)
watchpack: 2.4.0
optionalDependencies:
'@next/swc-darwin-arm64': 13.5.6
'@next/swc-darwin-x64': 13.5.6
'@next/swc-linux-arm64-gnu': 13.5.6
'@next/swc-linux-arm64-musl': 13.5.6
'@next/swc-linux-x64-gnu': 13.5.6
'@next/swc-linux-x64-musl': 13.5.6
'@next/swc-win32-arm64-msvc': 13.5.6
'@next/swc-win32-ia32-msvc': 13.5.6
'@next/swc-win32-x64-msvc': 13.5.6
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dev: false
/no-case@3.0.4:
resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
dependencies:
@@ -21729,64 +21853,65 @@ packages:
dependencies:
safe-buffer: 5.2.1
/turbo-darwin-64@1.10.14:
resolution: {integrity: sha512-I8RtFk1b9UILAExPdG/XRgGQz95nmXPE7OiGb6ytjtNIR5/UZBS/xVX/7HYpCdmfriKdVwBKhalCoV4oDvAGEg==}
/turbo-darwin-64@1.10.12:
resolution: {integrity: sha512-vmDfGVPl5/aFenAbOj3eOx3ePNcWVUyZwYr7taRl0ZBbmv2TzjRiFotO4vrKCiTVnbqjQqAFQWY2ugbqCI1kOQ==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/turbo-darwin-arm64@1.10.14:
resolution: {integrity: sha512-KAdUWryJi/XX7OD0alOuOa0aJ5TLyd4DNIYkHPHYcM6/d7YAovYvxRNwmx9iv6Vx6IkzTnLeTiUB8zy69QkG9Q==}
/turbo-darwin-arm64@1.10.12:
resolution: {integrity: sha512-3JliEESLNX2s7g54SOBqqkqJ7UhcOGkS0ywMr5SNuvF6kWVTbuUq7uBU/sVbGq8RwvK1ONlhPvJne5MUqBCTCQ==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
/turbo-linux-64@1.10.14:
resolution: {integrity: sha512-BOBzoREC2u4Vgpap/WDxM6wETVqVMRcM8OZw4hWzqCj2bqbQ6L0wxs1LCLWVrghQf93JBQtIGAdFFLyCSBXjWQ==}
/turbo-linux-64@1.10.12:
resolution: {integrity: sha512-siYhgeX0DidIfHSgCR95b8xPee9enKSOjCzx7EjTLmPqPaCiVebRYvbOIYdQWRqiaKh9yfhUtFmtMOMScUf1gg==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/turbo-linux-arm64@1.10.14:
resolution: {integrity: sha512-D8T6XxoTdN5D4V5qE2VZG+/lbZX/89BkAEHzXcsSUTRjrwfMepT3d2z8aT6hxv4yu8EDdooZq/2Bn/vjMI32xw==}
/turbo-linux-arm64@1.10.12:
resolution: {integrity: sha512-K/ZhvD9l4SslclaMkTiIrnfcACgos79YcAo4kwc8bnMQaKuUeRpM15sxLpZp3xDjDg8EY93vsKyjaOhdFG2UbA==}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
/turbo-windows-64@1.10.14:
resolution: {integrity: sha512-zKNS3c1w4i6432N0cexZ20r/aIhV62g69opUn82FLVs/zk3Ie0GVkSB6h0rqIvMalCp7enIR87LkPSDGz9K4UA==}
/turbo-windows-64@1.10.12:
resolution: {integrity: sha512-7FSgSwvktWDNOqV65l9AbZwcoueAILeE4L7JvjauNASAjjbuzXGCEq5uN8AQU3U5BOFj4TdXrVmO2dX+lLu8Zg==}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/turbo-windows-arm64@1.10.14:
resolution: {integrity: sha512-rkBwrTPTxNSOUF7of8eVvvM+BkfkhA2OvpHM94if8tVsU+khrjglilp8MTVPHlyS9byfemPAmFN90oRIPB05BA==}
/turbo-windows-arm64@1.10.12:
resolution: {integrity: sha512-gCNXF52dwom1HLY9ry/cneBPOKTBHhzpqhMylcyvJP0vp9zeMQQkt6yjYv+6QdnmELC92CtKNp2FsNZo+z0pyw==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
/turbo@1.10.14:
resolution: {integrity: sha512-hr9wDNYcsee+vLkCDIm8qTtwhJ6+UAMJc3nIY6+PNgUTtXcQgHxCq8BGoL7gbABvNWv76CNbK5qL4Lp9G3ZYRA==}
/turbo@1.10.12:
resolution: {integrity: sha512-WM3+jTfQWnB9W208pmP4oeehZcC6JQNlydb/ZHMRrhmQa+htGhWLCzd6Q9rLe0MwZLPpSPFV2/bN5egCLyoKjQ==}
hasBin: true
requiresBuild: true
optionalDependencies:
turbo-darwin-64: 1.10.14
turbo-darwin-arm64: 1.10.14
turbo-linux-64: 1.10.14
turbo-linux-arm64: 1.10.14
turbo-windows-64: 1.10.14
turbo-windows-arm64: 1.10.14
turbo-darwin-64: 1.10.12
turbo-darwin-arm64: 1.10.12
turbo-linux-64: 1.10.12
turbo-linux-arm64: 1.10.12
turbo-windows-64: 1.10.12
turbo-windows-arm64: 1.10.12
dev: true
/tw-to-css@0.0.11: